Skip to content

Commit 2304fa4

Browse files
fix(dogfood-gate): validate DEED via deed-ecosystem, not a2ml-era naming (#62)
a2ml is retired (owner ruling R-H3; standards #836/#837) and the a2ml-ecosystem repo was renamed to deed-ecosystem. This gate still spoke a2ml in its job/step names, its detect step, its summary and scorecard, and it called the old repo name. Repointed and renamed; legacy .a2ml files are still scanned mid-migration, so nothing regresses.
1 parent 8f534dd commit 2304fa4

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
@@ -17,47 +17,47 @@ permissions:
1717

1818
jobs:
1919
# ---------------------------------------------------------------------------
20-
# Job 1: A2ML manifest validation
20+
# Job 1: DEED manifest validation
2121
# ---------------------------------------------------------------------------
22-
a2ml-validate:
23-
name: Validate A2ML manifests
22+
deed-validate:
23+
name: Validate DEED manifests
2424
runs-on: ubuntu-24.04
2525

2626
steps:
2727
- name: Checkout repository
2828
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2929

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

4646
- name: Write summary
4747
run: |
48-
A2ML_COUNT="${{ steps.detect.outputs.count }}"
49-
if [ "$A2ML_COUNT" -eq 0 ]; then
48+
MANIFEST_COUNT="${{ steps.detect.outputs.count }}"
49+
if [ "$MANIFEST_COUNT" -eq 0 ]; then
5050
cat <<'EOF' >> "$GITHUB_STEP_SUMMARY"
51-
## A2ML Validation
51+
## DEED Manifest Validation
5252
5353
:warning: **No .a2ml files found.** Every RSR-compliant repo should have at least `0-AI-MANIFEST.a2ml`.
5454
55-
Create one with: `a2mliser init` or copy from [rsr-template-repo](https://github.com/hyperpolymath/rsr-template-repo).
55+
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.
5656
EOF
5757
else
58-
echo "## A2ML Validation" >> "$GITHUB_STEP_SUMMARY"
58+
echo "## DEED Manifest Validation" >> "$GITHUB_STEP_SUMMARY"
5959
echo "" >> "$GITHUB_STEP_SUMMARY"
60-
echo "Scanned **${A2ML_COUNT}** .a2ml file(s). See step output for details." >> "$GITHUB_STEP_SUMMARY"
60+
echo "Scanned **${MANIFEST_COUNT}** .a2ml/.deed manifest(s). See step output for details." >> "$GITHUB_STEP_SUMMARY"
6161
fi
6262
6363
# ---------------------------------------------------------------------------
@@ -334,7 +334,7 @@ jobs:
334334
dogfood-summary:
335335
name: Dogfooding compliance summary
336336
runs-on: ubuntu-24.04
337-
needs: [a2ml-validate, k9-validate, empty-lint, groove-check, eclexiaiser-validate]
337+
needs: [deed-validate, k9-validate, empty-lint, groove-check, eclexiaiser-validate]
338338
if: always()
339339

340340
steps:
@@ -346,12 +346,12 @@ jobs:
346346
SCORE=0
347347
MAX=6
348348
349-
# A2ML manifest present?
350-
if find . -name '*.a2ml' -not -path './.git/*' | head -1 | grep -q .; then
349+
# DEED manifest present?
350+
if find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | head -1 | grep -q .; then
351351
SCORE=$((SCORE + 1))
352-
A2ML_STATUS=":white_check_mark:"
352+
DEED_STATUS=":white_check_mark:"
353353
else
354-
A2ML_STATUS=":x:"
354+
DEED_STATUS=":x:"
355355
fi
356356
357357
# K9 contracts present?
@@ -401,7 +401,7 @@ jobs:
401401
402402
| Tool/Format | Status | Notes |
403403
|-------------|--------|-------|
404-
| A2ML manifest (0-AI-MANIFEST.a2ml) | ${A2ML_STATUS} | Required for all RSR repos |
404+
| DEED manifest (<reponame>_chora.deed, or legacy .a2ml) | ${DEED_STATUS} | Required for all RSR repos |
405405
| K9 contracts | ${K9_STATUS} | Required for repos with config files |
406406
| .editorconfig | ${EC_STATUS} | Required for all repos |
407407
| Groove endpoint | ${GROOVE_STATUS} | Required for service repos |

0 commit comments

Comments
 (0)