fix(governance): enumerate banned-language demos in .hypatia-ignore#44
Merged
Merged
Conversation
absolute-zero is the estate's canonical language-demonstration repo — it ships example files in ~9 banned languages by design. Since standards#168 merged (governance-reusable.yml + extended language-policy covering Java/Kotlin/Swift/Dart/V-lang/ATS2/Makefile in addition to ReScript/Go/Python), every push to main has gone red on the language-policy step. Adds 9 enumerated exemptions covering all current banned-language demos: - 3 .res (ReScript demo + interpreter + SafeDOMExample) - 1 .go (nop semantics) - 2 .java + 2 .kt (BalancedOps + Nop, cross-language nop study) - 1 .swift (Nop) Each file is a language-demo scaffold, not load-bearing code — none are imported into the toolchain build. Follow-up: standards#180 adds file_pattern glob matching to in_baseline(). Once that merges, this enumerated list collapses to a single `examples/**` file_pattern entry in .hypatia-baseline.json (with the .res files migrating to .affine separately under the existing 2026-Q3 plan). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
🔍 Hypatia Security ScanFindings: 67 issues detected
View findings[
{
"reason": "Stray AI.a2ml in root -- use 0-AI-MANIFEST.a2ml only",
"type": "banned",
"file": "AI.a2ml",
"action": "delete",
"rule_module": "root_hygiene",
"severity": "high"
},
{
"reason": "Superseded by 0-AI-MANIFEST.a2ml",
"type": "banned",
"file": "AI.djot",
"action": "delete",
"rule_module": "root_hygiene",
"severity": "high"
},
{
"reason": "No test directory or test files found",
"type": "no_tests",
"file": "/home/runner/work/absolute-zero/absolute-zero",
"action": "flag",
"rule_module": "honest_completion",
"severity": "high",
"deduction": 20
},
{
"reason": "Action hyperpolymath/standards/.github/workflows/governance-reusable.yml@main needs attention",
"type": "unpinned_action",
"file": "governance.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Action actions/checkout@v6.0.2 needs attention",
"type": "unpinned_action",
"file": "jekyll-gh-pages.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action actions/configure-pages@v6 needs attention",
"type": "unpinned_action",
"file": "jekyll-gh-pages.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action actions/jekyll-build-pages@v1 needs attention",
"type": "unpinned_action",
"file": "jekyll-gh-pages.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action actions/upload-pages-artifact@v5 needs attention",
"type": "unpinned_action",
"file": "jekyll-gh-pages.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action actions/deploy-pages@v5 needs attention",
"type": "unpinned_action",
"file": "jekyll-gh-pages.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action actions/checkout@v6.0.2 needs attention",
"type": "unpinned_action",
"file": "language-policy.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
.hypatia-ignorewith 9 exemptions for the cross-language demonstration files this repo ships by design (examples/{java,kotlin,swift,go}/*+ the 3 legacy.resfiles).Why
absolute-zero is the estate's language-demonstration repo — it ships example files in ~9 banned languages on purpose, to illustrate "what NOT to use." Since standards#168 merged (governance-reusable.yml now covers Java/Kotlin/Swift/Dart/V-lang/ATS2/Makefile in addition to ReScript/Go/Python), every push to
mainhas gone red ongovernance / Language / package anti-pattern policy.Latest 3 runs on main: all failure (governance.yml runs 26407681719, 26371098456, 26333708931).
Files exempted
src/AuditTrail.res.affinemigrationinterpreters/rescript/malbolgeInterpreter.resexamples/SafeDOMExample.resexamples/go/nop.goexamples/java/Nop.javaexamples/java/BalancedOps.javaexamples/kotlin/Nop.ktexamples/kotlin/BalancedOps.ktexamples/swift/Nop.swiftNone are imported into the toolchain build.
Follow-up
Once standards#180 (file_pattern glob matching in
in_baseline()) merges, this whole enumerated list can collapse to a singleexamples/**file_patternentry in.hypatia-baseline.json. The.resfiles will migrate to.affineseparately under the existing 2026-Q3 plan.Test plan
🤖 Generated with Claude Code