Skip to content

Commit 701c11f

Browse files
chore(hypatia): exempt vendored absolute-zero Java/Kotlin demos (#71)
## Summary Adds 4 absolute-zero/examples/{java,kotlin}/ entries to `.hypatia-ignore`, exempting the vendored language-demonstration files that the new `governance-reusable.yml` (standards#168) now flags via its language-policy step. Same rationale as the existing `.res` / `.go` entries — these are language-demonstration scaffolds, not load-bearing code. They mirror files in the standalone `absolute-zero` repo's own example tree. ## Why Dependabot rust-toolchain bump #69 has been red on `governance / Language / package anti-pattern policy` since standards#168 merged. The failure surfaces `absolute-zero/examples/java/Nop.java`, `absolute-zero/examples/java/BalancedOps.java`, `absolute-zero/examples/kotlin/Nop.kt`, and `absolute-zero/examples/kotlin/BalancedOps.kt` — all vendored demonstration files. ## Follow-up Once standards#180 (file_pattern glob matching in `in_baseline()`) merges, this whole `.hypatia-ignore` can collapse to one `absolute-zero/examples/**` `file_pattern` entry in `.hypatia-baseline.json`. Filed as a known follow-up. ## Test plan - [ ] CI: governance/Language-policy step passes (with 9 exempt entries now visible in the run log instead of 5 violations) - [ ] Dependabot #69 unblocked once this merges 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b834329 commit 701c11f

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.hypatia-ignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,15 @@ cicd_rules/banned_language_file:aletheia/examples/SafeDOMExample.res
1717
# subdirectory. Mirrors the file in the standalone absolute-zero repo's
1818
# own .hypatia-ignore.
1919
cicd_rules/banned_language_file:absolute-zero/examples/go/nop.go
20+
21+
# Java/Kotlin/Swift demonstration files in the absolute-zero examples
22+
# tree. Same rationale as the .res/.go entries above — these are part of
23+
# the vendored language-demo subtree, not load-bearing code. Will
24+
# collapse to a single `absolute-zero/examples/**` file_pattern entry in
25+
# .hypatia-baseline.json once standards#180 (file_pattern glob matching
26+
# in in_baseline()) merges.
27+
cicd_rules/banned_language_file:absolute-zero/examples/java/Nop.java
28+
cicd_rules/banned_language_file:absolute-zero/examples/java/BalancedOps.java
29+
cicd_rules/banned_language_file:absolute-zero/examples/kotlin/Nop.kt
30+
cicd_rules/banned_language_file:absolute-zero/examples/kotlin/BalancedOps.kt
31+
cicd_rules/banned_language_file:absolute-zero/examples/swift/Nop.swift

0 commit comments

Comments
 (0)