Commit 0221f4e
## Summary
The `governance / Language / package anti-pattern policy` job (in
`hyperpolymath/standards`'s `governance-reusable.yml`) was failing on 8
in-tree ReScript files:
-
`panll/src/{commands/BojCmd,components/Boj,core/BojEngine,model/BojModel,modules/BojModule}.res`
(5 files — VSCode panel MVC for the BoJ clade panel)
-
`cartridges/orchestrator-lsp-mcp/panels/src/{Extension,LanguageClient,VscodeApi}.res`
(3 files — VSCode webview glue)
All 8 predate the 2026-04-30 no-new-ReScript policy and are already
tracked as migration debt under #67.
## Fix
Created `.hypatia-ignore` declaring per-file exemptions using the
canonical `cicd_rules/banned_language_file:<relpath>` form that the
upstream workflow's `is_exempt()` honours (same escape hatch as the
Hypatia static scanner — `grep -qxF "${rule}:${f}" .hypatia-ignore`).
## Not a policy widening
Each exemption line names a single specific file already on `main`. New
`.res` additions still fail the gate. Each file's removal will close one
line in `.hypatia-ignore`; the file disappears when #67 is fully
discharged.
## Test plan
- [ ] CI: `governance / Language / package anti-pattern policy` green
- [ ] CI: no regression on other `governance / *` jobs (Security,
Code-quality, Workflow-linter, Well-Known, Guix-primary)
Refs #67.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b9decb2 commit 0221f4e
1 file changed
Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments