/ralph-loop "Read thoughts/ARCHITECTURE.md. Do one iteration of architecture design: scope the next open question into a hypothesis, research it, create experiment, run it, validate results, update ARCHITECTURE.md. Output <promise>ARCHITECTURE_COMPLETE</promise> when no open questions remain." --max-iterations 10 --completion-promise "ARCHITECTURE_COMPLETE"
Context
We want to use Claude Code's built-in Ralph loop (
/ralph-loop) to iteratively design Dual's architecture through hypothesis-driven experimentation.Setup Created
thoughts/ARCHITECTURE.md— Living architecture doc with seed question.claude/agents/architecture-scoper.md— Agent to generate testable hypotheses.claude/commands/architecture_loop.md— Command spec (may not be needed if built-in works)Test Plan
Restart Claude instance to pick up new agent
Test
/ralph-loopwith architecture design prompt:Observe behavior and iterate on prompt/approach
Success Criteria
References