Skip to content

Nightly maintenance: also try to re-bootstrap each member repo - #150

Merged
missingbulb merged 1 commit into
mainfrom
claude/nike-claudonite-bootstrap-x47z09
Jul 7, 2026
Merged

Nightly maintenance: also try to re-bootstrap each member repo#150
missingbulb merged 1 commit into
mainfrom
claude/nike-claudonite-bootstrap-x47z09

Conversation

@missingbulb

Copy link
Copy Markdown
Owner

Closes #149.

Problem

The single nightly fleet routine (routines/auto-all-repos-maintenance.md) sequenced only two things across the fleet: the growth lifecycle and the repo tidy-up. Nothing re-bootstrapped consumers, so each member repo's Claudinite wiring drifted from canon until re-bootstrapped by hand — the sync-claudinite.sh generated artifact, the settings.json hook registrations, the .claude/skills/ symlinks, the gitignore rules, and the pack declaration. Method B re-syncs the corpus contents every session but never this wiring; Method A's pinned submodule drifts in both.

Change

Add re-bootstrap as a third independent step the nightly routine sequences, mirroring the repo tidy-up:

  • Independent, concurrent — no ordering dependency on the growth phases; one isolated subagent per member repo, run over the GitHub API (never a clone).
  • Members only, never the canon — unlike the repo tidy-up (which also runs against the home repo), re-bootstrap targets consumers only; the canon doesn't mount itself.
  • Defers to existing mechanics — re-runs the idempotent bootstrap (bootstrap.md, the content of the adopt-claudinite skill). The routine only sequences it.
  • Unattended → PR — opens a PR against the member's default branch for the owner to approve, separate from any growth PR (disjoint files). Opens nothing when nothing drifted, so most days it's a no-op — the owner's "try to re-bootstrap."
  • Skips the enrollment issue — a repo the routine reached is provably already on the maintenance access list, so bootstrap's Part 4 enrollment-issue step is skipped. That step is scoped to first-adoption in bootstrap.md, where the enrollment logic lives.

Files

  • routines/auto-all-repos-maintenance.md — new step 3 in "What it sequences"; the run-the-flow step, launcher prompt, and never-do guardrails updated.
  • bootstrap.md — Part 4 scoped to first-adoption (re-bootstrap skips it).

Full check sweep (node checks/run.mjs) passes clean (exit 0).

🤖 Generated with Claude Code

https://claude.ai/code/session_01HzjetxNGYuN5wwF1vRdkA8


Generated by Claude Code

The single nightly fleet routine sequenced only the growth lifecycle and
the repo tidy-up, so a consumer's Claudinite *wiring* (the sync hook
generated artifact, settings.json hook registrations, skill symlinks,
gitignore, pack declaration) drifted from canon until someone re-bootstrapped
by hand — Method B re-syncs the corpus contents each session but never this
wiring, and Method A's pinned submodule drifts in both.

Add re-bootstrap as a third independent step the routine sequences, mirroring
the repo tidy-up: no ordering dependency on the growth phases, one isolated
subagent per member repo, over the API, opening a PR only when something
drifted (usually a no-op — hence "try to"). It runs against members only,
never the home repo/canon (which doesn't mount itself).

On re-bootstrap the enrollment-issue step is skipped: a repo the routine
reached is provably already on the maintenance access list, so there is
nothing to request. Scope that step to first-adoption in bootstrap.md, where
the enrollment logic lives.

Refs #149

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HzjetxNGYuN5wwF1vRdkA8
@missingbulb
missingbulb marked this pull request as ready for review July 7, 2026 10:22
@missingbulb
missingbulb merged commit 14e7beb into main Jul 7, 2026
1 check passed
@missingbulb
missingbulb deleted the claude/nike-claudonite-bootstrap-x47z09 branch July 7, 2026 10:22
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.

Nightly fleet maintenance should also try to re-bootstrap Claudinite in each member repo

2 participants