Skip to content

feat: add the init verb to scaffold hubs and spokes - #50

Merged
radiusred-cody[bot] merged 1 commit into
mainfrom
task/49-document-the-greenfield-bootstrap
Aug 22, 2026
Merged

radiusred-cody[bot] merged 1 commit into
mainfrom
task/49-document-the-greenfield-bootstrap

Conversation

@radiusred-cody

Copy link
Copy Markdown
Contributor

Closes #49. Delivers M4-R3: the greenfield bootstrap is automated, and onboarding logic now has one home — the init verb, per the operator's Decision on #49.

  • codecrew init (hub mode): scaffolds .codecrew.yml with the full ~-routed four-role table (the Let a solo operator satisfy the verdict gate #42 routing-at-onboarding rule, materialized — onboarding starts explicit, with comments explaining ~ and delegation), the ROADMAP.md seed table milestone new appends to, the four role contracts, and a generic AGENTS.md entry point. codecrew init --hub owner/repo (spoke mode): the two-line pointer only. Idempotent — existing files are kept and reported, never touched.
  • Contracts ship in the binary: a root-level package embeds roles/*.md (go:embed can't reach parent dirs from internal/cli), so adopters get the contracts at their installed release with no copies to drift.
  • Tests in the same PR (per the contract set on feat: request review from the reviewer-role holder #46): scaffold logic is pure over a target directory + fake contract FS; hub mode, spoke mode, and idempotent re-run covered. Smoke-tested live: fresh dir → 7 files; re-run → all kept; spoke → pointer only.
  • Docs: SPEC §6 verb row; §5's onboarding paragraph and docs/identities.md now name init as the materialization of the orchestrator-prompts-for-routing rule.

The quickstart (#48) can now open with two commands: gh extension install radiusred/gh-codecrew and gh codecrew init.

Deviations: none.

🤖 Generated with Claude Code

@radiusred-cody
radiusred-cody Bot requested a review from davison August 22, 2026 14:04
@radiusred-cody radiusred-cody Bot linked an issue Aug 22, 2026 that may be closed by this pull request
@radiusred-cody
radiusred-cody Bot enabled auto-merge (rebase) August 22, 2026 14:04
@radiusred-cody
radiusred-cody Bot merged commit d4a6e64 into main Aug 22, 2026
2 checks passed
@davison
davison deleted the task/49-document-the-greenfield-bootstrap branch August 26, 2026 19:02
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.

Document the greenfield bootstrap

1 participant