Commit 859f7fe
fix(governance): rename CLAUDE.md TypeScript exemptions heading to match workflow regex
The governance-reusable.yml workflow scans .claude/CLAUDE.md for a section
heading matching the regex `TypeScript [Ee]xemptions` to find the exemption
table. The heading was `### TypeScript / JavaScript Exemptions (Approved)`,
which does not match because "/ JavaScript " sits between the two words.
Consequence: the parser fell through to the next mention of the phrase
("the TypeScript exemptions above") in the Runtime Exemptions section's
prose, then parsed the Runtime Exemptions table (2 entries: `mod.js`,
`editors/vscode/test/**/*.js`) instead of the TypeScript Exemptions
table (3 entries including `affinescript-deno-test/*.ts`).
Result: `affinescript-deno-test/{cli,example/smoke_driver,lib/{compile,discover,runner}}.ts`
were reported as bad on every PR, blocking the `governance / Language /
package anti-pattern policy` check estate-wide.
Rename to `### TypeScript Exemptions (Approved)`. JS exemptions already
live in their own `### Runtime Exemptions (Approved)` section just below.
Verified locally: parser now picks up 3 exemptions; 0 bad .ts files reported.
Refs gitbot-fleet#148 (unblocks affinescript #370/#371/#372/#373 et al)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4b83c1a commit 859f7fe
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments