Repository navigation
fix(gates): gate on the DEED grammar, per the template and standards#837 #78
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 |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ jobs: | |
| # Job 1: A2ML manifest validation | ||
| # --------------------------------------------------------------------------- | ||
| a2ml-validate: | ||
| name: Validate A2ML manifests | ||
| name: Validate DEED manifests | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
|
|
@@ -33,7 +33,7 @@ jobs: | |
| COUNT=$(find . -type f \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | wc -l) | ||
| echo "count=$COUNT" >> "$GITHUB_OUTPUT" | ||
| if [ "$COUNT" -eq 0 ]; then | ||
| echo "::warning::No .deed manifest files found. Every RSR repo should have 0-AI-MANIFEST.deed (.a2ml is legacy and no longer authored)" | ||
| 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 A2ML manifests | ||
|
|
@@ -46,7 +46,7 @@ jobs: | |
| cat <<'EOF' >> "$GITHUB_STEP_SUMMARY" | ||
| ## A2ML Validation | ||
|
|
||
| :warning: **No manifest found.** Every RSR-compliant repo should have at least `0-AI-MANIFEST.deed`. (`.a2ml` still validates as legacy but is no longer authored.) | ||
| :warning: **No .a2ml/.deed manifest files found.** Every RSR-compliant repo should have a repo deed (`<reponame>_chora.deed`) at its root. | ||
|
|
||
| Copy one from [rsr-template-repo](https://github.com/hyperpolymath/rsr-template-repo). | ||
| EOF | ||
|
|
@@ -91,7 +91,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. | ||
|
Contributor
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 Keep the K9 summary tied to the K9 condition. This branch runs when 🤖 Prompt for AI Agents |
||
|
|
||
| Generate contracts with: `k9iser generate .` | ||
| EOF | ||
|
|
@@ -387,7 +387,7 @@ jobs: | |
|
|
||
| | Tool/Format | Status | Notes | | ||
| |-------------|--------|-------| | ||
| | DEED manifest (0-AI-MANIFEST.deed) | ${A2ML_STATUS} | Required for all RSR repos | | ||
| | DEED repo deed (`<reponame>_chora.deed`) | ${A2ML_STATUS} | Required for all RSR repos | | ||
|
Contributor
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 '20,60p' .github/workflows/dogfood-gate.yml
sed -n '320,405p' .github/workflows/dogfood-gate.yml
rg -n 'repo deed|_chora\.deed|0-AI-MANIFEST|MANIFEST_COUNT|A2ML_COUNT|DEED' .github README* docs 2>/dev/nullRepository: hyperpolymath/betlangiser Length of output: 8020 🏁 Script executed: sed -n '1,115p' .github/workflows/dogfood-gate.yml
sed -n '150,195p' .github/hooks/validate-a2ml.sh
rg -n -i 'chora|deed|a2ml|migration|standards.?`#837`|repo deed' .github docs README* . 2>/dev/null | head -160
printf '\nRoot manifest/deed files:\n'
find . -maxdepth 2 -type f \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' -print | sortRepository: hyperpolymath/betlangiser Length of output: 22778 🤖 get_repo_knowledge executed:
Length of output: 2256 Do not label generic manifest detection as an exact DEED check. The predicates recursively accept any 🤖 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.
🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift
Do not label this job as DEED validation until the validator supports
.deed.COUNTincludes.deedfiles, so a repository with only a.deedenters this job. Line 41 runs.github/hooks/validate-a2ml.sh, which discovers only*.a2ml, reports zero files, and exits successfully. The gate can therefore pass without validating the DEED. Extend the validator to process both extensions, or exclude.deedfrom this job until support exists.🤖 Prompt for AI Agents