Problem
make spelling (chained into make lint and make markdownlint) runs
scripts/generate_typos_config.py, which rewrites the tracked typos.toml.
The regenerated file drops the inline-code exemption pattern
"`[^`\n]+`" from extend-ignore-re. Three backtick-wrapped identifiers
then trip the gate (artifact x2, color x1) in files otherwise untouched,
and the working tree is left dirty with the generator's edit.
Reproduced on a pristine origin/main worktree on 2026-08-07: identical three
failures, exit 123. Two independent agents hit it on different branches the
same day, so it is not branch-specific.
Impact
make lint and make markdownlint are red on a clean checkout of main.
- Every branch inherits the failure, and the dirty
typos.toml risks being
committed accidentally.
Likely fix
Per AGENTS.md, typos.toml is generated and must not be hand-edited — which is
presumably how the pattern got there. Move the inline-code exemption into
typos.local.toml (the input the generator honours) so regeneration preserves
it, or teach the generator to emit it.
Note PR #259 owns the spelling-policy tooling and rewrote the generator and
config; the fix likely belongs there or immediately after it.
Evidence
- Failing pattern:
extend-ignore-re loses "`[^`\n]+`" on regeneration.
- Failures:
artifact (x2), color (x1), all inside backtick code spans.
- Clean-checkout reproduction: exit 123 on
origin/main, 2026-08-07.
Problem
make spelling(chained intomake lintandmake markdownlint) runsscripts/generate_typos_config.py, which rewrites the trackedtypos.toml.The regenerated file drops the inline-code exemption pattern
"`[^`\n]+`"fromextend-ignore-re. Three backtick-wrapped identifiersthen trip the gate (
artifactx2,colorx1) in files otherwise untouched,and the working tree is left dirty with the generator's edit.
Reproduced on a pristine
origin/mainworktree on 2026-08-07: identical threefailures, exit 123. Two independent agents hit it on different branches the
same day, so it is not branch-specific.
Impact
make lintandmake markdownlintare red on a clean checkout ofmain.typos.tomlrisks beingcommitted accidentally.
Likely fix
Per AGENTS.md,
typos.tomlis generated and must not be hand-edited — which ispresumably how the pattern got there. Move the inline-code exemption into
typos.local.toml(the input the generator honours) so regeneration preservesit, or teach the generator to emit it.
Note PR #259 owns the spelling-policy tooling and rewrote the generator and
config; the fix likely belongs there or immediately after it.
Evidence
extend-ignore-reloses"`[^`\n]+`"on regeneration.artifact(x2),color(x1), all inside backtick code spans.origin/main, 2026-08-07.