Skip to content

chore(hypatia): exempt examples/SafeDOMExample.res from banned-language scanner#43

Merged
hyperpolymath merged 1 commit into
mainfrom
chore/hypatia-ignore-rescript-example
May 26, 2026
Merged

chore(hypatia): exempt examples/SafeDOMExample.res from banned-language scanner#43
hyperpolymath merged 1 commit into
mainfrom
chore/hypatia-ignore-rescript-example

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

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 #67actions/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

🤖 Generated with Claude Code

Adds a governance-bundle exemption for the existing ReScript example file.
The file is scheduled for ReScript→AffineScript migration tracked in the
affinescript#57 corpus run; flagging it as a banned-language file until
then blocks unrelated PRs (e.g. dependabot bumps like #67).

Format: `<rule>:<path>` whole-line fixed-string match per
hyperpolymath/standards/.github/workflows/governance-reusable.yml is_exempt().

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath
hyperpolymath merged commit 5fe16a7 into main May 26, 2026
20 of 24 checks passed
@hyperpolymath
hyperpolymath deleted the chore/hypatia-ignore-rescript-example branch May 26, 2026 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant