Repository navigation
fix(badges): accept the legacy K9 badge label when publishing - #35
Conversation
"Publish the lane badges" fails on every push to main: governance-badge.js refuses to overwrite badges/k9.json on the governance-badges branch, because its label is "k9-deed L0–L2" (written by the earlier renderer), not "K9". rsr-template-repo a20fdb2 (#381) already fixed this in the template: the legacy label is accepted and replaced, and any other label is still refused. Both files were unchanged from template 48671ce here, so they now match rsr-template-repo main exactly. tests/workflows/governance_badge_test.sh: exit 1 with the old script and the new test, exit 0 with this change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZoZwvZCfM387TZQ5kY
|
Caution Review failedThe pull request is closed. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
|
🟢 clean · commit Advisory: 11 row(s), worst 🟠 indeterminate (0 critical, 0 high in grid scope) — reported, never grading the change. Unique graded findings across gating and advisory rows: 1 (1 reporter observations; 1 without sufficient identity to corroborate). Row counts remain per reporter; unique totals do not change gating.
Hypatia scan: 1 finding(s)
panic-attack assail: 21 finding(s)
pons asinorum: 9 finding(s)
echidnabot: not_applicable — template default: enrol once the repository carries proofs and an ECHIDNA engine is configured
rhodibot (RSR compliance): not_run — enrolled, but no report-back was received
panicbot: not_applicable — panic-attack is already graded by the verdict grid's own panic-attack row, from static-analysis-gate.yml evidence; enrolling panicbot would report one scanner twice and give two rows that can disagree
sustainabot: not_applicable — reserved fleet slot; no adapter exists (gitbot-fleet bots/sustainabot/README.adoc)
glambot (presentation quality): not_run — enrolled, but no report-back was received
seambot: not_applicable — template default: enrol once a seam register exists at spec/seams/seam-register.json
finishingbot (release readiness): not_run — enrolled, but no report-back was received
cipherbot: not_applicable — template default: enrol once the repository implements cryptography
accessibilitybot: not_applicable — template default: enrol once the repository serves HTML
Scope: static findings reported by each row's tool at the named commit. The table grades only findings in files this change touches, so the colour answers "does this change introduce anything?", not "what does the whole repository still carry?". Standing findings are counted in each accordion and in report.json; the baseline filter remains the place where acknowledged debt is recorded. The lane state is the worst GATING row; advisory rows are listed and counted but never set it. Purple, red, yellow and blue grade the worst GRADED finding present; orange is evidence missing, malformed or a scanner that did not run; grey is an explicit scope exclusion with its reason. No row is a security certification. report.json, badge.json and the raw findings are in the verdict-grid artifact on the linked run. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
* chore: sync from the current RSR template (35233e2) Three-way merge, base 48671ce (the :template-commit in the deed), target 35233e2. 12 conflicts resolved by hand as below; the rest replaced, added or merged cleanly. Taken from the template: pages.yml (ddraig-ssg build, freshness gate, badge deployed with Pages), governance-badge.js and governance_badge_test.js (a superset of the local #35 change: the template also migrates the "K9 L0-L2" label), extract.sh, aspect_tests.sh. hypatia-rule-order.json merged structurally. actions.lock repaired with scripts/lock-sync-fix.sh plus the template's own record for the pinned upload-pages-artifact. Kept apodeixis's own: persist-credentials: false on the pages.yml checkout, the repository-wide Hypatia pin 6693f9a in dogfood-gate.yml (same as hypatia-scan.yml, fork-governance.yml and verdict-grid-publish.yml), README.adoc, launcher.sh, the deed ((ply) already matches), TEST-NEEDS wording. REPOSITORY-MAP keeps both its deed row and the template's .uuid-v8-exempt row. Licences untouched. Verified locally: check-lock-sync, check-workflow-edges, check-ijson-jcs, check-no-a2ml, check-identity, check-hypatia-rule-order all rc 0; 21 new or changed test files pass; governance_badge_test.js 251 passed, 0 failed. NOT passing, neither wired into CI: readme_badge_prose_test, test_needs_minted_test. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7Zk1VxiWdKq68AQx2Ev * fix(sync): take the template's verbatim list whole; regenerate the repository map CI on this PR failed two gates, both caused by my merge: - openssf-compliance: tests/workflows/julia_library_test.sh carries a {{PACKAGE_UUID}} fixture. The template lists it in mint-verbatim.txt, but apodeixis's list (built by hand, so not truly at the 48671ce base) lacked the entry and a delta-from-base merge could not add it. Apodeixis had no entries of its own in that file, so it now takes the template's file whole. - estate-rules / repo_map_determinism_test: REPOSITORY-MAP.adoc is generated (just repo-map); my hand-merged copy was stale. Regenerated with scripts/gen-repo-map.sh. Verified locally: repo_map_determinism_test rc 0, check-no-placeholders rc 0 (both were failing). Still failing, and not fixable here: check-mint-tokens (1 token in test_needs_minted_test.sh), fixed in rsr-template-repo#414. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7Zk1VxiWdKq68AQx2Ev * fix(sync): carry test_needs_minted_test.sh verbatim, as the template now does mint-gates failed on the one unfilled token in a minted tree, tests/workflows/test_needs_minted_test.sh: {{project}}. The template's own fix (rsr-template-repo#414) lists the file in mint-verbatim.txt; this takes that one line, nothing else from the template's newer commits. Verified locally: check-mint-tokens rc 1 -> 0; check-no-placeholders rc 0. Not verified: a CI run. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7Zk1VxiWdKq68AQx2Ev --------- Co-authored-by: Claude <noreply@anthropic.com>



Summary
The "Publish the lane badges" job in the Dogfood Gate fails on every push to
main. For example, run 88 one31f740failed with:An earlier renderer wrote
badges/k9.json, and this repo'sgovernance-badge.js(from template 48671ce) does not know the old label. The template already fixed this in rsr-template-repoa20fdb2(#381). The legacy label is accepted and replaced, and any other label is still refused.Changes
scripts/governance-badge.jsandtests/workflows/governance_badge_test.js: copied from rsr-template-repomain. Both files were unchanged from template 48671ce in this repo, so this brings them exactly to the template's current version. No other file changes.The badge file on the
governance-badgesbranch is not edited by hand. The next run onmainafter this merges replaces it.RSR Quality Checklist
Required
tests/workflows/governance_badge_test.sh(see below). I did not runjust test, becausejustis not installed in this session.unsafeblocks without// SAFETY:comments.envfiles includedTesting
The real proof is the "Publish the lane badges" job on the first
mainpush after merge.Generated by Claude Code