Setup Environment
HARD GATE — HARD GATE — Environment setup must be idempotent and reproducible. If setup fails, provide clear error messages and remediation steps. Do NOT assume prior state.
Idempotent prep so BUILD phase commands succeed on first run.
Checklist
- Read
CLAUDE.md/CONVENTIONS.mdfor required runtimes and commands. - Verify runtime versions (
node -v,swift --version, etc.). - Install dependencies (
npm ci,bundle install, etc.) — prefer lockfile installs. - Copy
.env.example→.envif documented; never commit secrets. - Run smoke: lint + one fast test or
--versionon key tools. - Record versions in
specs/state.yamlunder Environment.
BCP Plus Counter (optional)
The big-counter tool is an optional dependency for BCP Plus 13-dimension story sizing:
# Install from PyPI (recommended)
pip install big-counter
# Or from npm
npm install -g big-counter
Verify the install: big-counter --version
Skip if BCP Plus sizing is not needed for this project.
Verify
→ verify: test -f CLAUDE.md && grep -q Test CLAUDE.md