Skip to content

Commit 40aa170

Browse files
committed
fix(gates): converge the manifest guard on the template's DEED wording
Mirrors `rsr-template-repo/.github/workflows/deed-validate.yml` and standards#837 step 4. No `.a2ml` document is translated and no retained-input gate is touched.
1 parent c556989 commit 40aa170

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
@@ -20,7 +20,7 @@ jobs:
2020
# Job 1: A2ML manifest validation
2121
# ---------------------------------------------------------------------------
2222
a2ml-validate:
23-
name: Validate A2ML manifests
23+
name: Validate DEED manifests
2424
runs-on: ubuntu-latest
2525

2626
steps:
@@ -30,10 +30,10 @@ jobs:
3030
- name: Check for A2ML files
3131
id: detect
3232
run: |
33-
COUNT=$(find . -name '*.a2ml' -not -path './.git/*' | wc -l)
33+
COUNT=$(find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | wc -l)
3434
echo "count=$COUNT" >> "$GITHUB_OUTPUT"
3535
if [ "$COUNT" -eq 0 ]; then
36-
echo "::warning::No .a2ml manifest files found. Every RSR repo should have 0-AI-MANIFEST.a2ml"
36+
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"
3737
fi
3838
3939
- name: Validate A2ML manifests
@@ -46,14 +46,14 @@ jobs:
4646
cat <<'EOF' >> "$GITHUB_STEP_SUMMARY"
4747
## A2ML Validation
4848
49-
:warning: **No .a2ml files found.** Every RSR-compliant repo should have at least `0-AI-MANIFEST.a2ml`.
49+
:warning: **No .a2ml/.deed manifest files found.** Every RSR-compliant repo should have a repo deed (`<reponame>_chora.deed`) at its root.
5050
51-
Create one with: `a2mliser init` or copy from [rsr-template-repo](https://github.com/hyperpolymath/rsr-template-repo).
51+
Copy it from [rsr-template-repo](https://github.com/hyperpolymath/rsr-template-repo).
5252
EOF
5353
else
5454
echo "## A2ML Validation" >> "$GITHUB_STEP_SUMMARY"
5555
echo "" >> "$GITHUB_STEP_SUMMARY"
56-
echo "Scanned **${A2ML_COUNT}** .a2ml file(s). See step output for details." >> "$GITHUB_STEP_SUMMARY"
56+
echo "Scanned **${A2ML_COUNT}** manifest file(s) (.deed, or legacy .a2ml). See step output for details." >> "$GITHUB_STEP_SUMMARY"
5757
fi
5858
5959
# ---------------------------------------------------------------------------
@@ -91,7 +91,7 @@ jobs:
9191
cat <<'EOF' >> "$GITHUB_STEP_SUMMARY"
9292
## K9 Contract Validation
9393
94-
:warning: **No K9 contract files found.** Repos with configuration files should have K9 contracts.
94+
:warning: **No .a2ml/.deed manifest files found.** Every RSR-compliant repo should have a repo deed (`<reponame>_chora.deed`) at its root.
9595
9696
Generate contracts with: `k9iser generate .`
9797
EOF
@@ -305,7 +305,7 @@ jobs:
305305
MAX=6
306306
307307
# A2ML manifest present?
308-
if find . -name '*.a2ml' -not -path './.git/*' | head -1 | grep -q .; then
308+
if find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | head -1 | grep -q .; then
309309
SCORE=$((SCORE + 1))
310310
A2ML_STATUS=":white_check_mark:"
311311
else
@@ -359,7 +359,7 @@ jobs:
359359
360360
| Tool/Format | Status | Notes |
361361
|-------------|--------|-------|
362-
| A2ML manifest (0-AI-MANIFEST.a2ml) | ${A2ML_STATUS} | Required for all RSR repos |
362+
| DEED repo deed (`<reponame>_chora.deed`) | ${A2ML_STATUS} | Required for all RSR repos |
363363
| K9 contracts | ${K9_STATUS} | Required for repos with config files |
364364
| .editorconfig | ${EC_STATUS} | Required for all repos |
365365
| Groove endpoint | ${GROOVE_STATUS} | Required for service repos |

0 commit comments

Comments
 (0)