Skip to content

Commit 22cdb37

Browse files
committed
fix(dogfood-gate): validate DEED via deed-ecosystem, not a2ml-era naming
1 parent d3ce393 commit 22cdb37

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

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

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,47 +18,47 @@ permissions:
1818

1919
jobs:
2020
# ---------------------------------------------------------------------------
21-
# Job 1: A2ML manifest validation
21+
# Job 1: DEED manifest validation
2222
# ---------------------------------------------------------------------------
23-
a2ml-validate:
24-
name: Validate A2ML manifests
23+
deed-validate:
24+
name: Validate DEED manifests
2525
runs-on: ubuntu-latest
2626

2727
steps:
2828
- name: Checkout repository
2929
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
3030

31-
- name: Check for A2ML files
31+
- name: Check for manifest files (.a2ml/.deed)
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 — a2ml retired: standards #837"
3838
fi
3939
40-
- name: Validate A2ML manifests
40+
- name: Validate DEED manifests
4141
if: steps.detect.outputs.count > 0
42-
uses: hyperpolymath/a2ml-ecosystem/validate-action@aa4b836bd969df2bc58128cb8e3d20bbc88d5e79 # main
42+
uses: hyperpolymath/deed-ecosystem/validate-action@aa4b836bd969df2bc58128cb8e3d20bbc88d5e79 # main
4343
with:
4444
path: '.'
4545
strict: 'false'
4646

4747
- name: Write summary
4848
run: |
49-
A2ML_COUNT="${{ steps.detect.outputs.count }}"
50-
if [ "$A2ML_COUNT" -eq 0 ]; then
49+
MANIFEST_COUNT="${{ steps.detect.outputs.count }}"
50+
if [ "$MANIFEST_COUNT" -eq 0 ]; then
5151
cat <<'EOF' >> "$GITHUB_STEP_SUMMARY"
52-
## A2ML Validation
52+
## DEED Manifest Validation
5353
5454
:warning: **No .a2ml files found.** Every RSR-compliant repo should have at least `0-AI-MANIFEST.a2ml`.
5555
56-
Create one with: `a2mliser init` or copy from [rsr-template-repo](https://github.com/hyperpolymath/rsr-template-repo).
56+
Copy it from [rsr-template-repo](https://github.com/hyperpolymath/rsr-template-repo). Manifests are validated against the DEED grammar (standards `1-formats/deed/`); the `.a2ml` → `.deed` extension migration is tracked in standards #837 — the deed validator scans both.
5757
EOF
5858
else
59-
echo "## A2ML Validation" >> "$GITHUB_STEP_SUMMARY"
59+
echo "## DEED Manifest Validation" >> "$GITHUB_STEP_SUMMARY"
6060
echo "" >> "$GITHUB_STEP_SUMMARY"
61-
echo "Scanned **${A2ML_COUNT}** .a2ml file(s). See step output for details." >> "$GITHUB_STEP_SUMMARY"
61+
echo "Scanned **${MANIFEST_COUNT}** .a2ml/.deed manifest(s). See step output for details." >> "$GITHUB_STEP_SUMMARY"
6262
fi
6363
6464
# ---------------------------------------------------------------------------
@@ -301,7 +301,7 @@ jobs:
301301
dogfood-summary:
302302
name: Dogfooding compliance summary
303303
runs-on: ubuntu-latest
304-
needs: [a2ml-validate, k9-validate, empty-lint, groove-check, eclexiaiser-validate]
304+
needs: [deed-validate, k9-validate, empty-lint, groove-check, eclexiaiser-validate]
305305
if: always()
306306

307307
steps:
@@ -313,12 +313,12 @@ jobs:
313313
SCORE=0
314314
MAX=6
315315
316-
# A2ML manifest present?
317-
if find . -name '*.a2ml' -not -path './.git/*' | head -1 | grep -q .; then
316+
# DEED manifest present?
317+
if find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | head -1 | grep -q .; then
318318
SCORE=$((SCORE + 1))
319-
A2ML_STATUS=":white_check_mark:"
319+
DEED_STATUS=":white_check_mark:"
320320
else
321-
A2ML_STATUS=":x:"
321+
DEED_STATUS=":x:"
322322
fi
323323
324324
# K9 contracts present?
@@ -368,7 +368,7 @@ jobs:
368368
369369
| Tool/Format | Status | Notes |
370370
|-------------|--------|-------|
371-
| A2ML manifest (0-AI-MANIFEST.a2ml) | ${A2ML_STATUS} | Required for all RSR repos |
371+
| DEED manifest (<reponame>_chora.deed, or legacy .a2ml) | ${DEED_STATUS} | Required for all RSR repos |
372372
| K9 contracts | ${K9_STATUS} | Required for repos with config files |
373373
| .editorconfig | ${EC_STATUS} | Required for all repos |
374374
| Groove endpoint | ${GROOVE_STATUS} | Required for service repos |

0 commit comments

Comments
 (0)