Skip to content

chore: instantiate the RSR template by hand, keeping the package's work - #11

Merged
hyperpolymath merged 3 commits into
mainfrom
chore/instantiate-template
Nov 12, 2026
Merged

hyperpolymath merged 3 commits into
mainfrom
chore/instantiate-template

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

apodeixis.jl was created from rsr-template-repo, but its repo-init (mint) never ran. It still had rsr-template-repo_chora.deed and about 100 files with {{TOKEN}} placeholders, so OpenSSF Compliance and Canon lockstep failed.

The owner chose "hand-instantiate, keep the work" (selector, 2026-11-12). The mint ran only in a scratch copy. The branch takes its result only for files that are still pure template files. This follows hyperpolymath/sholes#7, which came from the same template era and passed all 37 CI checks.

Changes

  • Template match: the repo's first commit has the same tree as template commit 889f7f79 (tree 0b6f9661). (provenance) and :parent-pin name that commit.
  • The package's work is unchanged: Project.toml, src/, test/, scripts/apodeixis.jl, README.adoc, the docs/architecture/APODEIXIS-* pages and the workflows the repo changed.
    • The mint replaced docs/status/ROADMAP.adoc with the template stub. It also rewrote "rsr-template-repo" in the prose of docs/SETUP.adoc. Both changes were refused.
    • No licence file or SPDX licence id was changed.
  • Pure template files: they take the mint result. archetypes/, build/templates/ and tests/workflows/julia_library_test.sh are deleted. That test only exercised the template's julia archetype, not this package.
  • Repo name (commit d26a838):
    • The deed is Apodeixis.jl_chora.deed, with :canonical-name "Apodeixis.jl". That follows the GitHub name, which CI uses to find the deed, and matches EpistemicTypes.jl.
    • Repo URLs, slugs and the Sonar key (hyperpolymath_Apodeixis.jl) use the same case.
    • Container image names and tags stay lowercase, because the container tools require lowercase.
  • Deed: (canon) is 2.1.5. Identity and clade stay UNASSIGNED: there is no registry enrolment and no invented id.
  • CLAUDE.md: regenerated with just claude-md. The hand-written preamble is kept. Only its now-false sentence about an uninstantiated deed is corrected.
  • Mint test (commit 9f047e2): tests/e2e/use_template_mint_test.sh gets the current template's map-staleness control. The old control deleted archetypes/, which a minted repo no longer has, so it could never pass.
  • Other: the deleted test's entry is removed from .machine_readable/mint-verbatim.txt. The repository map is regenerated.

RSR Quality Checklist

Required

  • No licence change.
  • No package source, test or prose removed or rewritten.

As Applicable

  • Generated files (CLAUDE.md and the repository map) are regenerated, not edited by hand.

Testing

Run locally after git add -A. These pass:

  • scripts/check-no-placeholders.sh
  • scripts/check-lock-sync.sh
  • just verify
  • just validate-claude-md
  • scripts/check-adoc-renders.sh
  • Canon lockstep (local equivalent of the CI check), for hyperpolymath/Apodeixis.jl: "This template implements the canon at HEAD"
  • The estate-rules bash steps
  • tests/e2e/use_template_mint_test.sh
  • kyaml-format.sh --check on the converted container files, with the pinned standards script and yq 4.53.3

Failing or not run:

  • kyaml_ratchet_test.sh fails locally with a jq error. It fails the same way on unmodified main.
  • test/runtests.jl was not run, because julia is missing here.

The UUID v8 and v7 jobs are red on main too. They flag the package's own v4 UUID in Project.toml, which this PR does not change. See the comment on this PR.

Open points for the owner:

  • docs/SETUP.adoc and docs/status/ROADMAP.adoc are now partly out of date. They are your prose, so they are left as they are.
  • tests/e2e/julia_mint_test.sh now refers to the deleted archetype. No workflow runs it.

Screenshots

Not applicable.

🤖 Generated with Claude Code

https://claude.ai/code/session_0136P7ZohGxQnA5cbBZyi8Wp

apodeixis.jl was cut from rsr-template-repo 889f7f7 but never minted, so
rsr-template-repo_chora.deed and about 100 {{TOKEN}} placeholders remained,
failing OpenSSF Compliance and Canon lockstep.

The mint recipe was run in a scratch copy and its result applied selectively:
files unchanged since the first commit take the mint result; the package's
own files (Project.toml, src/, test/, README.adoc, docs/, ROADMAP, SETUP,
workflows it edited) are kept as they were. Identity and clade stay
UNASSIGNED. The (canon) pin moves to 2.1.5. julia_library_test.sh and its
mint-verbatim entry are removed with the archetype it tested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0136P7ZohGxQnA5cbBZyi8Wp
@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 138 files, which is 38 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

Run configuration

Commits

Reviewing files that changed from the base of the PR and between b240f03 and 9f047e2.

Files ignored due to path filters: 1

  • archetypes/julia-library/actions.lock is excluded by !**/*.lock
Files selected for processing: 138

  • .clinerules
  • .cursorrules
  • .devcontainer/Containerfile
  • .devcontainer/README.adoc
  • .devcontainer/devcontainer.json
  • .devcontainer/docker/devcontainer.json
  • .editorconfig
  • .envrc
  • .gitattributes
  • .github/CODEOWNERS
  • .github/CODE_OF_CONDUCT.md
  • .github/CONTRIBUTING.md
  • .github/GOVERNANCE.md
  • .github/ISSUE_TEMPLATE/config.yml
  • .github/SECURITY.md
  • .github/SUPPORT.md
  • .github/copilot-instructions.md
  • .github/dependabot.yml
  • .github/settings.yml
  • .github/workflows/dogfood-gate.yml
  • .github/workflows/sonarqube.yml
  • .machine_readable/ai/PLACEHOLDERS.adoc
  • .machine_readable/coaptation/coapt.ncl
  • .machine_readable/coaptation/coapt.sh
  • .machine_readable/coaptation/receipts/latest.toml
  • .machine_readable/coaptation/witness-map.ncl
  • .machine_readable/compliance/reuse/dep5
  • .machine_readable/configs/eclexiaiser.toml
  • .machine_readable/configs/git-cliff/cliff.toml
  • .machine_readable/configs/stapeln.toml
  • .machine_readable/contractiles/Justfile
  • .machine_readable/contractiles/README.adoc
  • .machine_readable/contractiles/adjust/adjust.k9.ncl
  • .machine_readable/contractiles/bust/bust.k9.ncl
  • .machine_readable/contractiles/dust/dust.k9.ncl
  • .machine_readable/contractiles/intend/intend.k9.ncl
  • .machine_readable/contractiles/must/must.k9.ncl
  • .machine_readable/contractiles/trust/trust.k9.ncl
  • .machine_readable/descriptiles/anchors/README.adoc
  • .machine_readable/descriptiles/provisioning_praxis.deed
  • .machine_readable/mint-verbatim.txt
  • .machine_readable/root-allow.txt
  • .machine_readable/scripts/maintenance/maint-assault.sh
  • .machine_readable/self-validating/README.adoc
  • .machine_readable/self-validating/examples/ci-config.k9.ncl
  • .machine_readable/self-validating/examples/project-metadata.k9.ncl
  • .machine_readable/self-validating/examples/setup-repo.k9.ncl.in
  • .machine_readable/self-validating/methodology-guard.k9.ncl
  • .machine_readable/self-validating/template-hunt.k9.ncl.in
  • .machine_readable/self-validating/template-kennel.k9.ncl.in
  • .machine_readable/self-validating/template-yard.k9.ncl.in
  • .mailmap
  • .windsurfrules
  • Apodeixis.jl_chora.deed
  • CHANGELOG.adoc
  • CITATION.cff
  • CLAUDE.md
  • CONTRIBUTING.adoc
  • Justfile
  • archetypes/README.adoc
  • archetypes/julia-library/julia-library_praxis.deed
  • archetypes/julia-library/overlay/.github/workflows/julia-ci.yml.in
  • archetypes/julia-library/overlay/.github/workflows/julia-docs.yml.in
  • archetypes/julia-library/overlay/Project.toml.in
  • archetypes/julia-library/overlay/src/PACKAGE.jl.in
  • archetypes/julia-library/overlay/test/cases/smoke.jl
  • archetypes/julia-library/overlay/test/runtests.jl
  • build/container/Containerfile
  • build/container/README.adoc
  • build/container/compose.yaml
  • build/container/entrypoint.sh
  • build/container/stapeln/.gatekeeper.yaml
  • build/container/stapeln/compose.toml
  • build/container/stapeln/ct-build.sh
  • build/container/stapeln/deploy.k9.ncl.in
  • build/container/stapeln/manifest.toml
  • build/container/stapeln/rokur.toml
  • build/container/stapeln/vordr.toml
  • build/docs-seed/README.adoc
  • build/guix.scm
  • build/just/groove.just
  • build/just/provision-lib.sh
  • build/manifest.scm
  • build/templates/ROADMAP.adoc.in
  • build/templates/identity.deed.in
  • docs/AFFIRMATION.adoc
  • docs/MAINTAINERS.adoc
  • docs/QUICKSTART.adoc
  • docs/RSR-PHILOSOPHY.adoc
  • docs/architecture.adoc
  • docs/architecture/REPOSITORY-MAP.adoc
  • docs/architecture/THREAT-MODEL.adoc
  • docs/attribution/CITATIONS.adoc
  • docs/contributing.adoc
  • docs/decisions/0000-template.adoc
  • docs/decisions/0001-adopt-rsr-standard.adoc
  • docs/decisions/0001-template.adoc
  • docs/developer/ABI-FFI-README.adoc
  • docs/governance/CRG-AUDIT-TEMPLATE.adoc
  • docs/governance/TEMPLATE-LINEAGE-AUDIT.adoc
  • docs/onboarding/QUICKSTART-DEV.adoc
  • docs/onboarding/QUICKSTART-MAINTAINER.adoc
  • docs/onboarding/QUICKSTART-USER.adoc
  • docs/onboarding/llm-warmup-dev.adoc
  • docs/onboarding/llm-warmup-maintainer.adoc
  • docs/onboarding/llm-warmup-user.adoc
  • docs/practice/AI-CONVENTIONS.adoc
  • docs/practice/STATE-VISUALIZER-GUIDE.adoc
  • docs/practice/ci-cost-reduction.adoc
  • docs/reports/audit/pillar-audit-2026-04-15.adoc
  • docs/status/PROOF-NEEDS.adoc
  • docs/status/PROOF-STATUS.adoc
  • docs/status/READINESS.adoc
  • docs/status/TEST-NEEDS.adoc
  • docs/troubleshooting.adoc
  • docs/usage.adoc
  • launcher.sh
  • mise.toml
  • scripts/campaigns/www-bundle.campaign
  • scripts/check-no-placeholders.sh
  • scripts/validate-template.sh
  • sonar-project.properties
  • src/interface/ffi/src/main.zig
  • tests/aspect_tests.sh
  • tests/e2e.sh
  • tests/e2e/use_template_mint_test.sh
  • tests/workflows/container_kyaml_test.sh
  • tests/workflows/devcontainer_test.sh
  • tests/workflows/julia_library_test.sh
  • www/.well-known/aibdp.json
  • www/.well-known/humans.txt
  • www/.well-known/security.txt
  • www/README.adoc
  • www/dns/records/example.invalid.zone
  • www/policies/acceptable-use.adoc
  • www/policies/ai-use.adoc
  • www/policies/privacy.adoc
  • www/public/index.html

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

k9-deed L0–L2 green

🟢 conformant · commit 9f047e2d3030 · run 43256131761 · validator hyperpolymath/standards@7641c7fdb014

Category Status Pass Fail Indeterminate N/A Since previous revision
K9 contract typecheck 🟢 conformant 1 0 0 0 ↔ unchanged
K9 validator self-test 🟢 conformant 49 0 0 0 ↔ unchanged
K9 live corpus (L0–L2) 🟢 conformant 13 0 0 0 ↔ unchanged

Scope: K9 components L0–L2 against contract v1.0.0 at the named standards commit. L3 signature verification and routed coordination-dialect files are not certified. Green is limited to this scope. Orange is missing evidence; yellow is grandfathered debt or warnings; grey is an explicit scope exclusion. report.json, badge.json and the validator logs are in the k9-grid artifact on the linked run.

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Hypatia grid yellow

🟡 medium · commit 9f047e2d3030 · run 43256132382 · scope: this change (139 file(s)) · excludes 9-archive/

Advisory: 2 row(s), worst 🟡 medium (0 critical, 0 high in grid scope) — reported, never grading the change.

Unique graded findings across gating and advisory rows: 3 (3 reporter observations; 2 without sufficient identity to corroborate). Row counts remain per reporter; unique totals do not change gating.
Raw Hypatia alert-derived observations: 3 (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 🟡 medium 0 0 2 0 — no comparable baseline (no prior PR grid or unreadable snapshot)
panic-attack assail advisory 🟡 medium 0 0 1 0 — no comparable baseline (no prior PR grid or unreadable snapshot)
pons asinorum advisory 🟢 clean 0 0 0 0 — no comparable baseline (no prior PR grid or unreadable snapshot)
Hypatia scan: 3 finding(s)
  • medium workflow_hardening/WH006 — .github/workflows/dogfood-gate.yml:656 — workflow .github/workflows/dogfood-gate.yml:656 job `rsr-score-self` has no `timeout-minutes:` — defaults to 360 min on hang
  • medium workflow_audit/missing_timeout_minutes — .github/workflows/dogfood-gate.yml — Job `rsr-score-self` in dogfood-gate.yml has no `timeout-minutes:` declaration. Default is 6 hours — a stuck codeload fetch or runner hang can burn budget. Add `timeout-minutes: 10` (or proportional).
  • 1 further finding(s) in files this change does not touch: reported, not graded (0 critical, 0 high).
panic-attack assail: 11 finding(s)
  • medium InsecureProtocol — tests/workflows/container_kyaml_test.sh — 5 HTTP (non-HTTPS) URLs in tests/workflows/container_kyaml_test.sh
  • 10 further finding(s) in files this change does not touch: reported, not graded (2 critical, 1 high).

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.

Copy link
Copy Markdown
Owner Author

CI status on this head (878512e):

  • governance / UUID v8 conformance and UUID v7 conformance: these failures are not from this PR. Both flag ./Project.toml (7d8c4f3a-..., the package's own v4 UUID), and this PR does not change Project.toml. main at b240f03 fails the same 2 jobs (Governance run 43156805348). Ruling D320 re-mints an unregistered Julia package's UUID as v8, but that changes the package identity, so it is an owner decision and not part of this PR.
  • Canon lockstep: this failure is from this PR. CI looks for Apodeixis.jl_chora.deed, matching the GitHub repo name, but the deed is named apodeixis.jl_chora.deed. A fix commit that uses the GitHub case for the deed name and the repo identifiers follows on this branch.

Generated by Claude Code

The repository is hyperpolymath/Apodeixis.jl. CI derives the deed name from
it, so Canon lockstep could not find apodeixis.jl_chora.deed. Rename the deed
to Apodeixis.jl_chora.deed and use the GitHub case wherever the mint wrote the
repo name as this repository's identifier (URLs, slugs, Sonar key, deed
references). The mint was re-run in a scratch copy with the cased slug and its
differences applied; container image names and tags, toolbox names, the Guix
package name, the Justfile `project` variable and the deed `:service` stay
lowercase. Generated files (CLAUDE.md, repo map) were regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0136P7ZohGxQnA5cbBZyi8Wp
The negative control in use_template_mint_test.sh deleted archetypes/
and expected the stale map to list it. A minted repo no longer has
archetypes/, so the control could never pass ("this check is vacuous").
rsr-template-repo main already fixed this by creating its own control
file; this ports that block unchanged, including the worktree mode check.

bash tests/e2e/use_template_mint_test.sh: PASS (rc 0).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0136P7ZohGxQnA5cbBZyi8Wp
@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 12, 2026 16:18
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-12T16:18:08.433312Z
We couldn’t complete this review. Comment @codex review to try again.
9f047e2 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@hyperpolymath
hyperpolymath merged commit 5ea961b into main Nov 12, 2026
64 of 66 checks passed
@hyperpolymath
hyperpolymath deleted the chore/instantiate-template branch November 12, 2026 16:18
@hyperpolymath hyperpolymath mentioned this pull request Nov 14, 2026
5 of 8 tasks
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