Skip to content

Commit 04596e5

Browse files
fix(ci): unbreak main — A2ML gate dialect exclusion for the classification registry (#276)
Follow-up to #275, which merged before this CI fix was pushed — **main is currently red** on "Validate A2ML manifests": `audits/assail-classifications.a2ml` (landed in #275) is panic-attack's user-classification registry — an S-expression dialect per that tool's spec, not the TOML-like manifest A2ML the dogfood gate validates. Excluded via the validate action's `paths-ignore` (the action's defaults are restated, since a custom value replaces them) and the detect-count `find`. Also adds the REUSE copyright line to the registry header. https://claude.ai/code/session_01EzjC8MEx3Kzf3pdMhaQSks --- _Generated by [Claude Code](https://claude.ai/code/session_01EzjC8MEx3Kzf3pdMhaQSks)_
2 parents 08a743f + 0c30c48 commit 04596e5

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

.github/workflows/dogfood-gate.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ jobs:
3131
- name: Check for A2ML files
3232
id: detect
3333
run: |
34-
COUNT=$(find . -name '*.a2ml' -not -path './.git/*' | wc -l)
34+
# audits/assail-classifications.a2ml is panic-attack's user-classification
35+
# registry — an S-expression dialect by that tool's spec (see panic-attack
36+
# CLAUDE.md), not the TOML-like manifest A2ML this gate validates. Exclude
37+
# it rather than feeding it to a validator for a different dialect.
38+
COUNT=$(find . -name '*.a2ml' -not -path './.git/*' -not -name 'assail-classifications.a2ml' | wc -l)
3539
echo "count=$COUNT" >> "$GITHUB_OUTPUT"
3640
if [ "$COUNT" -eq 0 ]; then
3741
echo "::warning::No .a2ml manifest files found. Every RSR repo should have 0-AI-MANIFEST.a2ml"
@@ -43,6 +47,19 @@ jobs:
4347
with:
4448
path: '.'
4549
strict: 'false'
50+
# Re-state the action's default carve-outs (a custom value REPLACES
51+
# the default list), plus panic-attack's user-classification
52+
# registry: that file is an S-expression dialect by panic-attack's
53+
# spec, not the TOML-like manifest A2ML this action validates.
54+
paths-ignore: |
55+
vendor/
56+
vendored/
57+
verified-container-spec/
58+
.audittraining/
59+
integration/fixtures/
60+
test/fixtures/
61+
tests/fixtures/
62+
assail-classifications.a2ml
4663
4764
- name: Write summary
4865
run: |

0 commit comments

Comments
 (0)