Skip to content

Commit 8c1d0d7

Browse files
fix(gates): gate on the DEED grammar, per the template and standards#837 (#90)
## Why The guard in `dogfood-gate.yml` counted `.a2ml` files only: ``` COUNT=$(find . -name '*.a2ml' -not -path './.git/*' | wc -l) ``` so a repo whose manifest is written in the current grammar is reported as having none, and the summary/compliance row is skipped by the same predicate (`if find . -name '*.a2ml' ... | grep -q .`). The validator itself has scanned both grammars for a while -- the caller's predicate is the bug. ## Authority - `rsr-template-repo/.github/workflows/deed-validate.yml` (the mint source) is what this wording is copied from, byte for byte, including `-type f`-free `find` and the dual-accept stance. - `standards#837` — "DEED conversion campaign", campaign step 4: *"flip ... RSR gates from `.a2ml` presence to `.deed` presence alongside". Gate predicates, not document contents. - `deed-ecosystem/README.adoc`: *"The DEED format name and `.deed` extension are final, not A2ML."* ## Deliberately not done - No `.a2ml` file is translated or renamed. #837 makes classification into the four DEED forms and per-family mapping specs a prerequisite for mass translation; that is not this PR. - No gate that *reads* a retained file is touched (`CLAIMS.a2ml`, `.machine_readable/Debtfile.a2ml`, `contractiles/INDEX.a2ml`); rewriting those would fail gates that currently pass. - No job-id or shell-var renames (`a2ml-validate`, `A2ML_COUNT`): they are referenced from `needs:` and `${{ needs.*.outputs }}`. The Checks-UI label is updated, as it has no references. _Estate-wide `.deed` gate convergence, 2026-09-21. Script: `estate-audit/engine/deed_gate_migration.py`._
1 parent 8279ddc commit 8c1d0d7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/dogfood-gate.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# Job 1: A2ML manifest validation
2525
# ---------------------------------------------------------------------------
2626
a2ml-validate:
27-
name: Validate A2ML manifests
27+
name: Validate DEED manifests
2828
runs-on: ubuntu-latest
2929

3030
steps:
@@ -37,7 +37,7 @@ jobs:
3737
COUNT=$(find . -type f \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | wc -l)
3838
echo "count=$COUNT" >> "$GITHUB_OUTPUT"
3939
if [ "$COUNT" -eq 0 ]; then
40-
echo "::warning::No .deed manifest files found. Every RSR repo should have 0-AI-MANIFEST.deed (.a2ml is legacy and no longer authored)"
40+
echo "::warning::No .a2ml/.deed manifest files found. Every RSR repo should have a repo deed (<reponame>_chora.deed); legacy 0-AI-MANIFEST.a2ml accepted mid-migration — standards #837"
4141
fi
4242
4343
- name: Validate A2ML manifests
@@ -50,7 +50,7 @@ jobs:
5050
cat <<'EOF' >> "$GITHUB_STEP_SUMMARY"
5151
## A2ML Validation
5252
53-
:warning: **No manifest found.** Every RSR-compliant repo should have at least `0-AI-MANIFEST.deed`. (`.a2ml` still validates as legacy but is no longer authored.)
53+
:warning: **No .a2ml/.deed manifest files found.** Every RSR-compliant repo should have a repo deed (`<reponame>_chora.deed`) at its root.
5454
5555
Copy one from [rsr-template-repo](https://github.com/hyperpolymath/rsr-template-repo).
5656
EOF
@@ -95,7 +95,7 @@ jobs:
9595
cat <<'EOF' >> "$GITHUB_STEP_SUMMARY"
9696
## K9 Contract Validation
9797
98-
:warning: **No K9 contract files found.** Repos with configuration files should have K9 contracts.
98+
:warning: **No .a2ml/.deed manifest files found.** Every RSR-compliant repo should have a repo deed (`<reponame>_chora.deed`) at its root.
9999
100100
Generate contracts with: `k9iser generate .`
101101
EOF

0 commit comments

Comments
 (0)