Skip to content

docs: make 'bootstrap first' explicit in GETTING_STARTED#2

Merged
robercano merged 1 commit into
mainfrom
docs/bootstrap-first
Jun 11, 2026
Merged

docs: make 'bootstrap first' explicit in GETTING_STARTED#2
robercano merged 1 commit into
mainfrom
docs/bootstrap-first

Conversation

@robercano

Copy link
Copy Markdown
Owner

Problem

GETTING_STARTED.md Step 3 tells you to sanity-check gate.sh build|lint|test, but on a freshly generated repo there's no build system yet — so real gate commands fail rather than skip (pnpm -r build with no workspace, forge test with no foundry.toml, etc.). The first pilot run then can't go green, and a red test_affected blocks the Stop hook.

Hit this directly when adapting the template to a new project — had to scaffold a buildable skeleton before the gates and the pilot would work.

Fix

Add a short "Bootstrap first" callout to Step 3 with two acceptable paths:

  • Scaffold a minimal buildable skeleton first (workspace manifest + stub packages that build and pass a trivial test), then wire real gate commands — gives parallel workers a green baseline. (Recommended.)
  • Or keep gates empty ("" = skipped) until an explicit "bootstrap the workspace" ticket lands.

Plus the rule of thumb: never point a gate at a command that can't pass yet.

Docs-only change.

🤖 Generated with Claude Code

On a freshly generated repo there's no build system yet, so real gate
commands fail rather than skip. Add a note to Step 3: either scaffold a
minimal buildable skeleton before wiring real gates, or keep gates empty
until a bootstrap task lands — and never point a gate at a command that
can't pass (a red test_affected blocks the Stop hook and every 'done').

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant