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 # ---------------------------------------------------------------------------
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
@@ -242,7 +242,7 @@ jobs:
242242 MAX=5
243243
244244 # A2ML manifest present?
245- if find . -name '*.a2ml' -not -path './.git/*' | head -1 | grep -q .; then
245+ if find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | head -1 | grep -q .; then
246246 SCORE=$((SCORE + 1))
247247 A2ML_STATUS=":white_check_mark:"
248248 else
@@ -288,7 +288,7 @@ jobs:
288288
289289 | Tool/Format | Status | Notes |
290290 |-------------|--------|-------|
291- | A2ML manifest (0-AI-MANIFEST.a2ml ) | ${A2ML_STATUS} | Required for all RSR repos |
291+ | DEED repo deed (`<reponame>_chora.deed` ) | ${A2ML_STATUS} | Required for all RSR repos |
292292 | K9 contracts | ${K9_STATUS} | Required for repos with config files |
293293 | .editorconfig | ${EC_STATUS} | Required for all repos |
294294 | Groove endpoint | ${GROOVE_STATUS} | Required for service repos |
0 commit comments