Skip to content

Commit 5fe16a7

Browse files
chore(hypatia): exempt examples/SafeDOMExample.res from banned-language scanner (#43)
## Summary Adds `.hypatia-ignore` with a single carve-out for `examples/SafeDOMExample.res` so dependabot bumps and unrelated PRs aren't blocked by an existing ReScript file pending the AffineScript migration. ## Why The governance bundle's banned-language scanner flags `examples/SafeDOMExample.res` on every PR (see e.g. dependabot #67 — `actions/github-script` 8→9 was blocked by this exact failure). The file is in scope for the ReScript→AffineScript migration tracked in affinescript#57; until that conversion lands, the right move is to exempt it explicitly so it doesn't block unrelated work. ## What - Adds `.hypatia-ignore` with one entry: `cicd_rules/banned_language_file:examples/SafeDOMExample.res` - Header comment explains the format and references the migration tracker ## Effect on #67 Once this merges, the `governance / Language / package anti-pattern policy` job on the next CI run for #67 (and any other open PR) will treat the file as acknowledged, no longer blocking. ## Test plan - [ ] CI: governance Language anti-pattern policy passes on this PR - [ ] Trigger a re-run of #67 to confirm it now goes green 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 1859085 commit 5fe16a7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.hypatia-ignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Hypatia governance bundle exemptions
2+
# Format: <rule>:<path> — whole-line fixed-string match (grep -qxF)
3+
# Detail: hyperpolymath/standards/.github/workflows/governance-reusable.yml `is_exempt()`
4+
#
5+
# examples/SafeDOMExample.res — pre-existing ReScript example, scheduled for
6+
# ReScript→AffineScript migration tracked in the affinescript#57 corpus run.
7+
# Keeping the example until the migration assistant is ready to convert it
8+
# in-place; flagging it as a banned-language file would block unrelated PRs
9+
# (e.g. dependabot bumps).
10+
cicd_rules/banned_language_file:examples/SafeDOMExample.res

0 commit comments

Comments
 (0)