Skip to content

chore: sync from the current RSR template (35233e2) - #36

Merged
hyperpolymath merged 3 commits into
mainfrom
chore/template-sync-35233e2
Nov 15, 2026
Merged

hyperpolymath merged 3 commits into
mainfrom
chore/template-sync-35233e2

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Syncs Apodeixis.jl from the current RSR template (35233e2) by three-way merge, base 48671ce (the deed's :template-commit). 63 files. 12 conflicts resolved by hand.

This also moves apodeixis onto the template's fixes for the problems found here: the K9 badge is deployed with Pages instead of written to governance-badges (the 409 "Code coverage checks require a pull request"), and pages.yml builds with ddraig-ssg (verified working in the template: real run succeeded, site live).

Resolutions

  • Template side: pages.yml, scripts/governance-badge.js, tests/workflows/governance_badge_test.js (a superset of the local fix(badges): accept the legacy K9 badge label when publishing #35 change; it also migrates the K9 L0–L2 label), extract.sh, aspect_tests.sh. hypatia-rule-order.json merged structurally.
  • Apodeixis's own, kept: persist-credentials: false on the pages.yml checkout; the Hypatia pin 6693f9a in dogfood-gate.yml (matches hypatia-scan.yml, fork-governance.yml, verdict-grid-publish.yml); README.adoc; launcher.sh; the deed (its (ply) clause already matches); TEST-NEEDS wording. REPOSITORY-MAP.adoc keeps both its deed row and the template's .uuid-v8-exempt row.
  • actions.lock repaired with scripts/lock-sync-fix.sh, plus the template's own record for the pinned upload-pages-artifact.
  • Licences untouched.

Behaviour change to review

pages.yml no longer uses casket-ssg + Pandoc (cold build had needed a 60-minute timeout). Apodeixis has no site/ directory, so the site was only a README seed; the template seed is now a one-heading page pointing at the README (ddraig reads Markdown only, and certifies each page). The published site content therefore changes.

Verified locally

check-lock-sync, check-workflow-edges, check-ijson-jcs, check-no-a2ml, check-identity, check-hypatia-rule-order rc 0; 21 new or changed test files pass; governance_badge_test.js 251 passed, 0 failed.

Not passing (neither is wired into any workflow, so no CI effect)

  • readme_badge_prose_test — README has no "Governance badges" section.
  • test_needs_minted_test — assumes the template's unminted TEST-NEEDS title; not child-safe (template-side finding).

Not verified

A real Actions run on apodeixis (Docker/ghcr on the runner, Dogfood Gate, Pages, the publisher now gone). The deed :template-commit is left at 48671ce.

Template findings (not changed here)

  • Template dogfood-gate.yml pins Hypatia 51539abf while its other three files pin 6693f9a; apodeixis unified on 6693f9a locally. Which is right is unverified.
  • Template pages.yml lacks persist-credentials: false, which apodeixis had.

Generated by Claude Code

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
@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Hypatia grid green

🟢 clean · commit 2cf5b9260113 · run 43662324280 · scope: this change (63 file(s))

Advisory: 11 row(s), worst 🔴 high (0 critical, 9 high in grid scope) — reported, never grading the change.

Unique graded findings across gating and advisory rows: 41 (41 reporter observations; 26 without sufficient identity to corroborate). Row counts remain per reporter; unique totals do not change gating.
Raw Hypatia alert-derived observations: 36 (code-scanning, Dependabot and secret-scanning; some may also be in SARIF; not an extra total).

Reporter Gate Status Critical High Medium Minor Since previous revision
Hypatia scan gating 🟢 clean 0 0 0 0 — same commit (no revision comparison)
panic-attack assail advisory 🟡 medium 0 0 1 0 — same commit (no revision comparison)
pons asinorum advisory 🟢 clean 0 0 0 0 — same commit (no revision comparison)
echidnabot advisory ⚪ not applicable 0 0 0 0 — same commit (no revision comparison)
rhodibot (RSR compliance) advisory 🟢 clean 0 0 0 0 — same commit (no revision comparison)
panicbot advisory ⚪ not applicable 0 0 0 0 — same commit (no revision comparison)
sustainabot advisory ⚪ not applicable 0 0 0 0 — same commit (no revision comparison)
glambot (presentation quality) advisory 🔵 minor 0 0 0 10 — same commit (no revision comparison)
seambot advisory ⚪ not applicable 0 0 0 0 — same commit (no revision comparison)
finishingbot (release readiness) advisory 🔴 high 0 9 19 2 — same commit (no revision comparison)
cipherbot advisory ⚪ not applicable 0 0 0 0 — same commit (no revision comparison)
accessibilitybot advisory ⚪ not applicable 0 0 0 0 — same commit (no revision comparison)
Hypatia scan: 1 finding(s)
  • 1 further finding(s) in files this change does not touch: reported, not graded (0 critical, 0 high).
panic-attack assail: 21 finding(s)
  • medium InputBoundary — tests/workflows/governance_badge_test.js — 8 JSON.parse call(s) with 7 try block(s) in tests/workflows/governance_badge_test.js — JSON.parse throws SyntaxError on malformed input; wrap in try-catch
  • 20 further finding(s) in files this change does not touch: reported, not graded (0 critical, 1 high).
pons asinorum: 9 finding(s)
  • 9 further finding(s) in files this change does not touch: reported, not graded (0 critical, 0 high).
echidnabot: not_applicable — template default: enrol once the repository carries proofs and an ECHIDNA engine is configured
  • ⚪ not applicable: template default: enrol once the repository carries proofs and an ECHIDNA engine is configured
rhodibot (RSR compliance): 11 finding(s)
  • 11 further finding(s) in files this change does not touch: reported, not graded (0 critical, 10 high).
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
  • ⚪ 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)
  • ⚪ not applicable: reserved fleet slot; no adapter exists (gitbot-fleet bots/sustainabot/README.adoc)
glambot (presentation quality): 90 finding(s)
  • info GS-001 — Install git-seo for comprehensive SEO analysis: https://github.com/hyperpolymath/git-seo
  • info MACH-007 — ECOSYSTEM.scm not found in .machine_readable/ directory.
  • info MACH-007 — META.scm not found in .machine_readable/ directory.
  • info MACH-007 — STATE.scm not found in .machine_readable/ directory.
  • info MACH-005 — No robots.txt found. Consider adding one for crawler control.
  • info VIS-005 — CLAUDE.md:7 — Line 82 characters exceeds max length of 80.
  • info VIS-005 — docs/architecture/REPOSITORY-MAP.adoc:26 — Line 81 characters exceeds max length of 80.
  • info VIS-005 — docs/status/PROOF-STATUS.adoc:8 — Line 82 characters exceeds max length of 80.
  • info VIS-005 — docs/practice/AI-CONVENTIONS.adoc:5 — Line 84 characters exceeds max length of 80.
  • info VIS-005 — CHANGELOG.adoc:59 — Line 89 characters exceeds max length of 80.
  • 80 further finding(s) in files this change does not touch: reported, not graded (0 critical, 2 high).
seambot: not_applicable — template default: enrol once a seam register exists at spec/seams/seam-register.json
  • ⚪ not applicable: template default: enrol once a seam register exists at spec/seams/seam-register.json
finishingbot (release readiness): 173 finding(s)
  • high V1-DOC-ROADMAP.adoc — Required file ROADMAP.adoc not found (Project roadmap).
  • high TOOL-001 — .tool-versions file not found for asdf/mise version management.
  • high SCM-001-NEUROSYM.scm — Required SCM file NEUROSYM.scm not found (Neurosymbolic AI documentation).
  • high SCM-001-AGENTIC.scm — Required SCM file AGENTIC.scm not found (Agentic AI integration documentation).
  • high SCM-001-PLAYBOOK.scm — Required SCM file PLAYBOOK.scm not found (Operational playbooks and procedures).
  • high SCM-001-ECOSYSTEM.scm — Required SCM file ECOSYSTEM.scm not found (Project's place in the ecosystem).
  • high SCM-001-META.scm — Required SCM file META.scm not found (Meta-level information and architectural decisions).
  • high SCM-001-STATE.scm — Required SCM file STATE.scm not found (Project state and progress tracking).
  • high PH-100 — Found 124 placeholders, exceeds maximum allowed (0)
  • medium V1-COM-CONTRIBUTING.md — CONTRIBUTING.md file not found (Contribution guidelines).
  • medium V1-COM-CODE_OF_CONDUCT.md — CODE_OF_CONDUCT.md file not found (Code of conduct).
  • medium V1-SEC-001 — SECURITY.md not found for responsible disclosure.
  • medium TEST-001 — Could not determine if this is a Rust or Deno project.
  • medium REL-004 — No SECURITY.md file found
  • medium CLM-006 — CHANGELOG.adoc — Documentation references non-existent file: e2e.yml.template
  • medium CLM-006 — CHANGELOG.adoc — Documentation references non-existent file: hypatia-scan.yml
  • medium CLM-006 — CHANGELOG.adoc — Documentation references non-existent file: dogfood-gate.yml
  • medium CLM-006 — CHANGELOG.adoc — Documentation references non-existent file: security-policy.yml
  • medium PH-001 — build/container/README.adoc:13 — Found 'TODO' in: two `FROM …:latest` lines and a body of TODO comments: it could not build, and
  • medium PH-001 — build/just/validate.just:200 — Found 'TODO' in: echo "INCOMPLETE: $README has $README_TODOS unfilled [TODO-AI-INSTALL] markers"
  • 10 more graded finding(s); see the structured report in the artifact.
  • 143 further finding(s) in files this change does not touch: reported, not graded (0 critical, 4 high).
cipherbot: not_applicable — template default: enrol once the repository implements cryptography
  • ⚪ not applicable: template default: enrol once the repository implements cryptography
accessibilitybot: not_applicable — template default: enrol once the repository serves HTML
  • ⚪ 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.

…pository 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
…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
Repository owner deleted a comment from coderabbitai Bot Nov 15, 2026
@hyperpolymath
hyperpolymath marked this pull request as ready for review November 15, 2026 08:37
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-15T08:46:38.558390Z 6cf02ab Draft marked ready
🔒 Security Review ✅ Completed 2026-11-15T08:41:16.994543Z 6cf02ab Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@hyperpolymath
hyperpolymath merged commit bda5520 into main Nov 15, 2026
47 checks passed
@hyperpolymath
hyperpolymath deleted the chore/template-sync-35233e2 branch November 15, 2026 08:38
@sonarqubecloud

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The 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.

Share

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6cf02abf60

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

jq -cnS \
--arg canonical_name "$canonical_name" \
--arg prefixed_name "$prefixed_name" \
--arg clade_aid "$clade_aid" \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep the extractor schema aligned with the Nickel renderer

The extractor now emits clade_aid and removes prefixed_name, clade_primary, and clade_secondary, but .machine_readable/arrival-pack/arrival-pack.ncl still reads all three removed fields at lines 82–84. Consequently, every just claude-md or just validate-claude-md invocation fails during Nickel evaluation instead of rendering the arrival pack; update the renderer to consume the new schema or retain the old fields until both sides change together.

Useful? React with 👍 / 👎.

"$RUNNER_TEMP/gitleaks" detect \
--source . \
--no-git \
--max-target-megabytes 5 \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Scan or reject files larger than 5 MB

When a commit contains a credential in a file larger than 5 MB, the newly added limit makes the checked working-tree, history, and AsciiDoc-mirror passes silently omit that file while the job can still report success. The official Gitleaks CLI help defines --max-target-megabytes as “files larger than this will be skipped”; remove the cap or add a fail-closed size check so an unscanned oversized file cannot satisfy the secret gate.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants