Skip to content

Commit 0ba6772

Browse files
fix(gates): gate on the DEED grammar, per the template and standards#837 (#72)
## 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 87e3e51 commit 0ba6772

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
@@ -18,7 +18,7 @@ jobs:
1818
# Job 1: A2ML manifest validation
1919
# ---------------------------------------------------------------------------
2020
a2ml-validate:
21-
name: Validate A2ML manifests
21+
name: Validate DEED manifests
2222
runs-on: ubuntu-latest
2323
timeout-minutes: 15
2424
steps:
@@ -30,7 +30,7 @@ jobs:
3030
COUNT=$(find . -type f \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | wc -l)
3131
echo "count=$COUNT" >> "$GITHUB_OUTPUT"
3232
if [ "$COUNT" -eq 0 ]; then
33-
echo "::warning::No .deed manifest files found. Every RSR repo should have 0-AI-MANIFEST.deed (.a2ml is legacy and no longer authored)"
33+
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"
3434
fi
3535
- name: Validate A2ML manifests
3636
if: steps.detect.outputs.count > 0
@@ -42,7 +42,7 @@ jobs:
4242
cat <<'EOF' >> "$GITHUB_STEP_SUMMARY"
4343
## A2ML Validation
4444
45-
: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.)
45+
:warning: **No .a2ml/.deed manifest files found.** Every RSR-compliant repo should have a repo deed (`<reponame>_chora.deed`) at its root.
4646
4747
Copy one from [rsr-template-repo](https://github.com/hyperpolymath/rsr-template-repo).
4848
EOF
@@ -84,7 +84,7 @@ jobs:
8484
cat <<'EOF' >> "$GITHUB_STEP_SUMMARY"
8585
## K9 Contract Validation
8686
87-
:warning: **No K9 contract files found.** Repos with configuration files should have K9 contracts.
87+
:warning: **No .a2ml/.deed manifest files found.** Every RSR-compliant repo should have a repo deed (`<reponame>_chora.deed`) at its root.
8888
8989
Generate contracts with: `k9iser generate .`
9090
EOF

0 commit comments

Comments
 (0)