Skip to content

Commit 732680c

Browse files
fix(gates): gate on the DEED grammar, per the template and standards#837 (#76)
## 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`._ --------- Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 7ced327 commit 732680c

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
@@ -36,7 +36,7 @@ jobs:
3636
COUNT=$(find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | wc -l)
3737
echo "count=$COUNT" >> "$GITHUB_OUTPUT"
3838
if [ "$COUNT" -eq 0 ]; then
39-
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 — a2ml retired: standards #837"
39+
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"
4040
fi
4141
4242
- name: Validate DEED manifests
@@ -102,7 +102,7 @@ jobs:
102102
cat <<'EOF' >> "$GITHUB_STEP_SUMMARY"
103103
## K9 Contract Validation
104104
105-
:warning: **No K9 contract files found.** Repos with configuration files should have K9 contracts.
105+
:warning: **No .k9/.k9.ncl contract files found.** Generate contracts with `k9iser generate .`.
106106
107107
Generate contracts with: `k9iser generate .`
108108
EOF
@@ -253,7 +253,7 @@ jobs:
253253
MAX=5
254254
255255
# DEED manifest present?
256-
if find . -name '*.a2ml' -not -path './.git/*' | head -1 | grep -q .; then
256+
if find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | head -1 | grep -q .; then
257257
SCORE=$((SCORE + 1))
258258
DEED_STATUS=":white_check_mark:"
259259
else
@@ -299,7 +299,7 @@ jobs:
299299
300300
| Tool/Format | Status | Notes |
301301
|-------------|--------|-------|
302-
| DEED manifest (<reponame>_chora.deed, or legacy .a2ml) | ${DEED_STATUS} | Required for all RSR repos |
302+
| DEED repo deed (`<reponame>_chora.deed`) | ${DEED_STATUS} | Required for all RSR repos |
303303
| K9 contracts | ${K9_STATUS} | Required for repos with config files |
304304
| .editorconfig | ${EC_STATUS} | Required for all repos |
305305
| Groove endpoint | ${GROOVE_STATUS} | Required for service repos |

0 commit comments

Comments
 (0)