Skip to content

Commit ff378b1

Browse files
fix(gates): gate on the DEED grammar, per the template and standards#837 (#389)
## 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 f44775d commit ff378b1

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
@@ -30,7 +30,7 @@ jobs:
3030
# Job 1: A2ML manifest validation
3131
# ---------------------------------------------------------------------------
3232
a2ml-validate:
33-
name: Validate A2ML manifests
33+
name: Validate DEED manifests
3434
runs-on: ubuntu-latest
3535
timeout-minutes: 10
3636

@@ -44,7 +44,7 @@ jobs:
4444
COUNT=$(find . -type f \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | wc -l)
4545
echo "count=$COUNT" >> "$GITHUB_OUTPUT"
4646
if [ "$COUNT" -eq 0 ]; then
47-
echo "::warning::No .deed manifest files found. Every RSR repo should have 0-AI-MANIFEST.deed (.a2ml is legacy and no longer authored)"
47+
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"
4848
fi
4949
5050
- name: Validate A2ML manifests
@@ -57,7 +57,7 @@ jobs:
5757
cat <<'EOF' >> "$GITHUB_STEP_SUMMARY"
5858
## A2ML Validation
5959
60-
: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.)
60+
:warning: **No .a2ml/.deed manifest files found.** Every RSR-compliant repo should have a repo deed (`<reponame>_chora.deed`) at its root.
6161
6262
Copy one from [rsr-template-repo](https://github.com/hyperpolymath/rsr-template-repo).
6363
EOF
@@ -103,7 +103,7 @@ jobs:
103103
cat <<'EOF' >> "$GITHUB_STEP_SUMMARY"
104104
## K9 Contract Validation
105105
106-
:warning: **No K9 contract files found.** Repos with configuration files should have K9 contracts.
106+
:warning: **No .a2ml/.deed manifest files found.** Every RSR-compliant repo should have a repo deed (`<reponame>_chora.deed`) at its root.
107107
108108
Generate contracts with: `k9iser generate .`
109109
EOF

0 commit comments

Comments
 (0)