chore(typos): drop config that protects nothing (#969) #1184
No reviewers
Labels
No labels
burndown-2026-06
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/agentic-os!1184
Loading…
Reference in a new issue
No description provided.
Delete branch "aos/969-typos-excludes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #969.
The premise did not survive checking
#969 said
[files] extend-exclude"has no effect under pre-commit" and proposed a new[tool.agentic-os.typos] excludeskey feeding anexclude:line into the generated block.It does have an effect, conditionally. Measured against typos-cli 1.48.0, the same two explicit paths with
evaluations/**excluded:pre-commit hands typos explicit paths, so the flag is what makes the exclusion bind. #1152 restored
--force-excludeto the generated block for eco-app#316 and never referenced this issue, which is why it stayed open. This repo's own*.jsonentry is live under the flag, verified the same way.So the proposed new config key is not needed: it would add a second, lower-precision path-exclusion surface next to a
.typos.tomlthat already works.What was actually left
The issue's second half - "worth confirming whether this repo's existing entries should move, so the config does not appear to protect files it does not."
docs/ward-ops-forgejo-reference.mdno longer exists.git ls-files:unparseable,reqests,commiter,embeded,aks,ser. The five that still carry a real file (mis,requets,SOM,Iz,hashi) stay.That directly answers the issue's own worry that word-level opt-outs "weaken the check for genuine prose and grow with every new evidence file."
A two-line header in
.typos.tomlnow records why path exclusion binds, so the next reader does not re-file this. The flag itself is already guarded by an assertion intests/test_apply_agentic_os_hooks.py, so it cannot silently go missing again.pre-commit run --all-filespasses, and typos over every tracked file exits 0.