Commit graph

4 commits

Author SHA1 Message Date
boyreau
41c98fc1ab Track bare-symbol values across a modulus instead of skipping
A line like `x = <formula> mod N` can't be solved for x (it's just a
name for "whatever this reduces to"), so the chain handler gave up on
any modular equation once a bare symbol was involved. That silently
passed over real errors in exactly the shape a CRT reconstruction
produces: `x = 2*77*2+... mod 231` followed by a contradicting
`x ≡ 57+66+126 mod 231` (the latter reduces to a different value mod
231) went unflagged.

Now, when exactly one side of the chain is a bare single letter and
every other side is a plain number, its reduced value is tracked in
known_vars the same way solved variables already are - catching the
mismatch as a contradiction without ever needing to solve for x.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-08 12:39:32 +01:00
boyreau
e819e230e4 README: HTTP git is now allowed on the Forgejo instance
DISABLE_HTTP_GIT was lifted, so the https:// marketplace URL works
for cloning too, not just for browsing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-08 12:34:04 +01:00
boyreau
f672241e9c Fix subscripted-variable false positives; finalize plugin metadata
verify-calculations.sh mistook subscripted/numbered variables (x_1, x1,
3x_1) for bare numeric equations, flagging e.g. "x_1 = 0" as the false
claim "1 = 0". The single-letter variable regex only excluded adjacent
letters, not trailing digits/underscores, and the prose segment
extractor could start a fresh match right after such a break, mining a
free digit out of the identifier.

Also carries over the author/repository metadata and the SSH-vs-HTTP
install note for the Forgejo marketplace (DISABLE_HTTP_GIT blocks the
https URL; the ssh:// path has no /forgejo/ segment).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-08 12:22:18 +01:00
claude-math
318644f4b0 Plugin claude-math : exercices et vérification de calculs
Plugin Claude Code regroupant :

- le skill `math-exercises` (génération et correction de séries d'exercices
  progressifs, suivi de progression et des notions à revoir) ;
- la commande `/exos`, qui force Opus via son frontmatter `model:` ;
- un hook `UserPromptSubmit` qui vérifie automatiquement les affirmations
  mathématiques tapées dans un message (chaînes d'égalités et de congruences,
  divisibilité, primalité, pgcd/ppcm/φ) et rend un verdict ligne par ligne.

Le dépôt sert à la fois de plugin et de marketplace à entrée unique, pour
pouvoir être installé directement depuis son URL.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-11-07 19:12:25 +01:00