-
-
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 #111
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 |
|---|---|---|
|
|
@@ -37,9 +37,9 @@ jobs: | |
| COUNT=$(find . -type f -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" | ||
| 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 | ||
| if find . -name '*.a2ml' -not -path './.git/*' | grep -q .; then | ||
| if find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | grep -q .; then | ||
| echo "::error::Deprecated .a2ml files present; migrate to .deed" | ||
| exit 1 | ||
|
Comment on lines
+42
to
44
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 | 🟠 Major | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: sed -n '25,65p' .github/workflows/dogfood-gate.yml
git diff -- .github/workflows/dogfood-gate.ymlRepository: hyperpolymath/panoply Length of output: 1839 🏁 Script executed: printf '%s\n' '--- matching manifest files ---'
find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' -print
printf '%s\n' '--- tracked relevant files ---'
git ls-files | grep -E '(^|/)(panoply_chora\.deed|0-AI-MANIFEST\.a2ml)$' || true
printf '%s\n' '--- workflow context ---'
cat -n .github/workflows/dogfood-gate.yml | sed -n '1,75p'Repository: hyperpolymath/panoply Length of output: 9699 Restrict the deprecated-file check to non-legacy The 🤖 Prompt for AI Agents |
||
| fi | ||
|
|
@@ -54,7 +54,7 @@ jobs: | |
| cat <<'EOF' >> "$GITHUB_STEP_SUMMARY" | ||
| ## DEED Validation | ||
|
|
||
| :warning: **No manifest found.** Every RSR-compliant repo should have at least `0-AI-MANIFEST.deed`. | ||
| :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 | ||
|
|
@@ -101,7 +101,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 K9 validation. Line 104 is shown when 🤖 Prompt for AI Agents |
||
|
|
||
| Generate contracts with: `k9iser generate .` | ||
| EOF | ||
|
|
||
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 | 🟠 Major | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: hyperpolymath/panoply
Length of output: 3112
Count both manifest extensions.
COUNTincludes only*.deed, but the warning and gate refer to both.a2mland.deed. A repository containing only0-AI-MANIFEST.a2mltherefore gets a false warning, andsteps.detect.outputs.count > 0remains false, so validation is skipped. Use the same.a2mland.deedfile set forCOUNT, the validation condition, and the summary.🤖 Prompt for AI Agents