From 02d0275e339ee6330b6a02de7ffdb02de6c5ead4 Mon Sep 17 00:00:00 2001 From: hyperpolymath <6759885+hyperpolymath@users.noreply.github.com> Date: Tue, 26 May 2026 09:47:02 +0100 Subject: [PATCH] fix(governance): enumerate banned-language demos in .hypatia-ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- .hypatia-ignore | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .hypatia-ignore diff --git a/.hypatia-ignore b/.hypatia-ignore new file mode 100644 index 0000000..14384d4 --- /dev/null +++ b/.hypatia-ignore @@ -0,0 +1,27 @@ +# SPDX-License-Identifier: MPL-2.0 +# +# Estate-policy exemptions for the absolute-zero language-demonstration +# repo. This repo intentionally ships example files in many banned and +# allowed languages — it is the canonical "what NOT to use, here is what +# you'd get" exemplar. Each entry below is a language-demo file under +# `examples/` or a one-off interpreter implementation, not load-bearing +# code. +# +# After standards#180 (file_pattern glob support in in_baseline()) merges, +# this whole file collapses to a single `examples/**` file_pattern entry +# in .hypatia-baseline.json. Tracked in the standards repo as a follow-up. + +# ReScript demonstration files (banned 2026-04-30 — kept as historical +# examples until the .res→.affine migration ships). +cicd_rules/banned_language_file:src/AuditTrail.res +cicd_rules/banned_language_file:interpreters/rescript/malbolgeInterpreter.res +cicd_rules/banned_language_file:examples/SafeDOMExample.res + +# Banned-language example files used to demonstrate the cross-language +# nop-semantics study. None are imported into the toolchain build. +cicd_rules/banned_language_file:examples/go/nop.go +cicd_rules/banned_language_file:examples/java/Nop.java +cicd_rules/banned_language_file:examples/java/BalancedOps.java +cicd_rules/banned_language_file:examples/kotlin/Nop.kt +cicd_rules/banned_language_file:examples/kotlin/BalancedOps.kt +cicd_rules/banned_language_file:examples/swift/Nop.swift