What Changed
Working Principles added to every project CLAUDE.md
Setup now appends a Working Principles section to your CLAUDE.md with three rules:
- Autonomous bug fixing - Just fix it. Read logs, trace the error, resolve it. Zero hand-holding.
- Staff engineer bar - Before marking anything done, ask: Would a staff engineer approve this? Run tests, check logs, prove correctness.
- Re-evaluate on failure - If an approach is not working after 2 attempts, stop and re-evaluate rather than pushing through.
plansDirectory configured automatically
.claude/settings.json now gets plansDirectory: "./docs/plans" so Claude plan mode saves plans to a git-tracked location instead of a temp directory. Existing custom values are preserved.
Propagation to existing projects
Both changes propagate via setup_refresh() on version change - existing projects pick them up on their next ralph run after updating, not just fresh installs.