-
-
Notifications
You must be signed in to change notification settings - Fork 0
fix(gates): gate on the DEED grammar, per the template and standards#837 #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -33,7 +33,7 @@ jobs: | |||||
| COUNT=$(find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | wc -l) | ||||||
| echo "count=$COUNT" >> "$GITHUB_OUTPUT" | ||||||
| if [ "$COUNT" -eq 0 ]; then | ||||||
| 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" | ||||||
| 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" | ||||||
| fi | ||||||
|
|
||||||
| - name: Validate DEED manifests | ||||||
|
|
@@ -50,7 +50,7 @@ jobs: | |||||
| cat <<'EOF' >> "$GITHUB_STEP_SUMMARY" | ||||||
| ## DEED Manifest Validation | ||||||
|
|
||||||
| :warning: **No .a2ml files found.** Every RSR-compliant repo should have at least `0-AI-MANIFEST.a2ml`. | ||||||
| :warning: **No .a2ml/.deed manifest files found.** Every RSR-compliant repo should have a repo deed (`<reponame>_chora.deed`) at its root. | ||||||
|
|
||||||
| 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. | ||||||
| EOF | ||||||
|
|
@@ -99,7 +99,7 @@ jobs: | |||||
| cat <<'EOF' >> "$GITHUB_STEP_SUMMARY" | ||||||
| ## K9 Contract Validation | ||||||
|
|
||||||
| :warning: **No K9 contract files found.** Repos with configuration files should have K9 contracts. | ||||||
| :warning: **No .a2ml/.deed manifest files found.** Every RSR-compliant repo should have a repo deed (`<reponame>_chora.deed`) at its root. | ||||||
|
|
||||||
| Generate contracts with: `k9iser generate .` | ||||||
| EOF | ||||||
|
|
@@ -367,7 +367,7 @@ jobs: | |||||
|
|
||||||
| | Tool/Format | Status | Notes | | ||||||
| |-------------|--------|-------| | ||||||
| | DEED manifest (<reponame>_chora.deed, or legacy .a2ml) | ${DEED_STATUS} | Required for all RSR repos | | ||||||
| | DEED repo deed (`<reponame>_chora.deed`) | ${DEED_STATUS} | Required for all RSR repos | | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: sed -n '285,380p' .github/workflows/dogfood-gate.yml
rg -n -C 3 'DEED_STATUS|find .*a2ml|find .*deed|chora\.deed' .github/workflows/dogfood-gate.ymlRepository: hyperpolymath/squeakwell Length of output: 6358 🏁 Script executed: sed -n '1,125p' .github/workflows/dogfood-gate.yml; printf '\\n--- root manifest candidates ---\\n'; find . -maxdepth 2 \\( -name '*.a2ml' -o -name '*.deed' \\) -not -path './.git/*' -print | sortRepository: hyperpolymath/squeakwell Length of output: 520 🤖 get_repo_knowledge executed:
Length of output: 12118 Align the DEED scorecard label with its predicate.
Suggested change- | DEED repo deed (`<reponame>_chora.deed`) | ${DEED_STATUS} | Required for all RSR repos |
+ | DEED manifest (`.a2ml` or `.deed`, repository-wide) | ${DEED_STATUS} | Required for all RSR repos |📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| | K9 contracts | ${K9_STATUS} | Required for repos with config files | | ||||||
| | .editorconfig | ${EC_STATUS} | Required for all repos | | ||||||
| | Groove endpoint | ${GROOVE_STATUS} | Required for service repos | | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Keep the K9 summary specific to K9 contracts.
This branch runs when
K9_COUNTis zero. The new text reports missing.a2ml/.deedmanifests and tells the user to add a repo deed. A repository can have a valid repo deed and still have zero K9 contracts, so the summary reports the wrong failure and omits the K9 remediation. Restore a K9-specific message here.🤖 Prompt for AI Agents