Skip to content

chore: instantiate from the RSR template by hand, keeping project work - #9

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

Copy link
Copy Markdown
Owner

Summary

bactrian 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.
  • Project work unchanged:
    • .machine_readable/bactrian/authorities.lock
    • the 3 BACTRIAN plan, spec and ultraplan documents
    • scripts/bactrian/doctor.sh and its test
    • docs/README.adoc
    • the arrival-pack doctrine 16 edit
    • the Dependabot workflow bumps
    • No licence file or SPDX licence id was changed.
  • Pure template files: about 115 files take the mint result. The deed is renamed to bactrian_chora.deed. The build/docs-seed pages move to docs/. archetypes/ and build/templates/ are deleted.
  • Deed: (canon) is 2.1.5. Identity and clade stay UNASSIGNED.
  • Other:
    • tests/workflows/julia_library_test.sh is deleted, because it tests the deleted julia archetype. Its entry is removed from .machine_readable/mint-verbatim.txt, because the stale entry failed non_interactive_mint_test.sh.
    • CLAUDE.md and the repository map are regenerated.

RSR Quality Checklist

Required

  • No licence change.
  • No project work removed or rewritten.

As Applicable

  • Generated files 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 (161 files)
  • Canon lockstep (local equivalent of the CI check): "This template implements the canon at HEAD"
  • Every bash step in estate-rules.yml, except the three below.

Not run, or limited by this machine:

  • tests/e2e/use_template_mint_test.sh: uuidgen is missing here. CI installs it.
  • kyaml_ratchet_test.sh: fails with the same jq error on unmodified main.
  • The kyaml-format.sh --check step: it needs a script that CI downloads.

Open point: tests/e2e/julia_mint_test.sh and julia_fmt_test.sh still refer to the deleted archetype. No workflow in estate-rules.yml runs them.

Screenshots

Not applicable.


Generated by Claude Code

… work)

bactrian was cut from hyperpolymath/rsr-template-repo at 889f7f7 but
its repo-init mint was never run, leaving rsr-template-repo_chora.deed
and unfilled {{TOKEN}} placeholders (OpenSSF Compliance and Canon
lockstep failed). The mint was run on a scratch copy and its result
applied here; all project files (Bactrian docs, doctor script and test,
authorities.lock, dependabot bumps in workflows and actions.lock) are
kept byte for byte.

- deed renamed to bactrian_chora.deed; identity and clade stay UNASSIGNED
- (canon) set to 2.1.5; (provenance) and :parent-pin name the template
  commit 889f7f7 and tree 0b6f966
- template-only archetypes/julia-library removed with its test and its
  mint-verbatim entry
- CLAUDE.md and docs/architecture/REPOSITORY-MAP.adoc regenerated

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 142 files, which is 42 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 8b74040 and 254f1cd.

Files ignored due to path filters: 1

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

  • .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
  • CHANGELOG.adoc
  • CITATION.cff
  • CLAUDE.md
  • CONTRIBUTING.adoc
  • Justfile
  • README.adoc
  • 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
  • bactrian_chora.deed
  • 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/AI_INSTALLATION_GUIDE.adoc
  • docs/MAINTAINERS.adoc
  • docs/QUICKSTART.adoc
  • docs/RSR-PHILOSOPHY.adoc
  • docs/SETUP.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/ROADMAP.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

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 here ("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

Copy link
Copy Markdown
Owner Author

CI on b636343, 3 failures:

  • estate-rules: this PR caused it, and it is fixed in 2403c71. tests/e2e/use_template_mint_test.sh has a negative control that deletes archetypes/, and a minted repo no longer has that directory, so the control could never pass. rsr-template-repo main already replaced that control with a self-made control file. 2403c71 ports that block unchanged. The full test passes locally (rc 0, with uuidgen installed as CI does).
  • Hypatia neurosymbolic scan, and Deposit findings for gitbot-fleet, which only fails because it has no Hypatia findings to download: this PR did not cause these. The "Run Hypatia scan" step of Static Analysis Gate also fails on main (8b74040, run 43156816339, and 368b1a7 before it). This PR does not touch that workflow or the scanner. There is no fix in this PR.

Generated by Claude Code

Filling {{SERVICE_NAME}} left quoted keys ("bactrian") that KYAML writes
unquoted, so Estate Rules' "Converted YAML stays KYAML" failed. The
current template's repo-init runs scripts/format-container-kyaml.sh for
exactly this; this repo's older recipe did not. Formatted with the
pinned standards kyaml-format.sh (75bd599, sha256 5fddd58f...) and yq
4.53.3, as CI uses. Only 3 keys change; values are unchanged.

kyaml-format.sh --check on the 3 converted files: all KYAML.

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:16.269785Z
We couldn’t complete this review. Comment @codex review to try again.
254f1cd 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 e0b9b65 into main Nov 12, 2026
22 of 24 checks passed
@hyperpolymath
hyperpolymath deleted the chore/instantiate-template branch November 12, 2026 16:18
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