Skip to content

Commit 02d0275

Browse files
hyperpolymathclaude
andcommitted
fix(governance): enumerate banned-language demos in .hypatia-ignore
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>
1 parent ef523e0 commit 02d0275

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.hypatia-ignore

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
#
3+
# Estate-policy exemptions for the absolute-zero language-demonstration
4+
# repo. This repo intentionally ships example files in many banned and
5+
# allowed languages — it is the canonical "what NOT to use, here is what
6+
# you'd get" exemplar. Each entry below is a language-demo file under
7+
# `examples/` or a one-off interpreter implementation, not load-bearing
8+
# code.
9+
#
10+
# After standards#180 (file_pattern glob support in in_baseline()) merges,
11+
# this whole file collapses to a single `examples/**` file_pattern entry
12+
# in .hypatia-baseline.json. Tracked in the standards repo as a follow-up.
13+
14+
# ReScript demonstration files (banned 2026-04-30 — kept as historical
15+
# examples until the .res→.affine migration ships).
16+
cicd_rules/banned_language_file:src/AuditTrail.res
17+
cicd_rules/banned_language_file:interpreters/rescript/malbolgeInterpreter.res
18+
cicd_rules/banned_language_file:examples/SafeDOMExample.res
19+
20+
# Banned-language example files used to demonstrate the cross-language
21+
# nop-semantics study. None are imported into the toolchain build.
22+
cicd_rules/banned_language_file:examples/go/nop.go
23+
cicd_rules/banned_language_file:examples/java/Nop.java
24+
cicd_rules/banned_language_file:examples/java/BalancedOps.java
25+
cicd_rules/banned_language_file:examples/kotlin/Nop.kt
26+
cicd_rules/banned_language_file:examples/kotlin/BalancedOps.kt
27+
cicd_rules/banned_language_file:examples/swift/Nop.swift

0 commit comments

Comments
 (0)