Skip to content

Commit b225e80

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

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# Job 1: A2ML manifest validation
2222
# ---------------------------------------------------------------------------
2323
a2ml-validate:
24-
name: Validate A2ML manifests
24+
name: Validate DEED manifests
2525
runs-on: ubuntu-latest
2626

2727
steps:
@@ -31,10 +31,10 @@ jobs:
3131
- name: Check for A2ML files
3232
id: detect
3333
run: |
34-
COUNT=$(find . -name '*.a2ml' -not -path './.git/*' | wc -l)
34+
COUNT=$(find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | wc -l)
3535
echo "count=$COUNT" >> "$GITHUB_OUTPUT"
3636
if [ "$COUNT" -eq 0 ]; then
37-
echo "::warning::No .a2ml manifest files found. Every RSR repo should have 0-AI-MANIFEST.a2ml"
37+
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"
3838
fi
3939
4040
- name: Validate A2ML manifests
@@ -47,14 +47,14 @@ jobs:
4747
cat <<'EOF' >> "$GITHUB_STEP_SUMMARY"
4848
## A2ML Validation
4949
50-
:warning: **No .a2ml files found.** Every RSR-compliant repo should have at least `0-AI-MANIFEST.a2ml`.
50+
:warning: **No .a2ml/.deed manifest files found.** Every RSR-compliant repo should have a repo deed (`<reponame>_chora.deed`) at its root.
5151
52-
Create one with: `a2mliser init` or copy from [rsr-template-repo](https://github.com/hyperpolymath/rsr-template-repo).
52+
Copy it from [rsr-template-repo](https://github.com/hyperpolymath/rsr-template-repo).
5353
EOF
5454
else
5555
echo "## A2ML Validation" >> "$GITHUB_STEP_SUMMARY"
5656
echo "" >> "$GITHUB_STEP_SUMMARY"
57-
echo "Scanned **${A2ML_COUNT}** .a2ml file(s). See step output for details." >> "$GITHUB_STEP_SUMMARY"
57+
echo "Scanned **${A2ML_COUNT}** manifest file(s) (.deed, or legacy .a2ml). See step output for details." >> "$GITHUB_STEP_SUMMARY"
5858
fi
5959
6060
# ---------------------------------------------------------------------------
@@ -92,7 +92,7 @@ jobs:
9292
cat <<'EOF' >> "$GITHUB_STEP_SUMMARY"
9393
## K9 Contract Validation
9494
95-
:warning: **No K9 contract files found.** Repos with configuration files should have K9 contracts.
95+
:warning: **No K9 contract files found.** Generate contracts with `k9iser generate .`.
9696
9797
Generate contracts with: `k9iser generate .`
9898
EOF
@@ -306,7 +306,7 @@ jobs:
306306
MAX=6
307307
308308
# A2ML manifest present?
309-
if find . -name '*.a2ml' -not -path './.git/*' | head -1 | grep -q .; then
309+
if find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | head -1 | grep -q .; then
310310
SCORE=$((SCORE + 1))
311311
A2ML_STATUS=":white_check_mark:"
312312
else
@@ -360,7 +360,7 @@ jobs:
360360
361361
| Tool/Format | Status | Notes |
362362
|-------------|--------|-------|
363-
| A2ML manifest (0-AI-MANIFEST.a2ml) | ${A2ML_STATUS} | Required for all RSR repos |
363+
| DEED repo deed (`<reponame>_chora.deed`) | ${A2ML_STATUS} | Required for all RSR repos |
364364
| K9 contracts | ${K9_STATUS} | Required for repos with config files |
365365
| .editorconfig | ${EC_STATUS} | Required for all repos |
366366
| Groove endpoint | ${GROOVE_STATUS} | Required for service repos |

0 commit comments

Comments
 (0)