Claude Code planner and OpenCode executor use PLAN.md contract

reddit.com2 min read

The author presents a workflow that splits planning and execution into two separate AI coding CLI sessions running side by side, using Claude Code as the planner and OpenCode as the executor. The planner reads the codebase and writes a restricted contract file called PLAN.md without editing source files, while the executor processes steps sequentially and halts rather than rewriting the plan when reality diverges. This separation prevents the execution session from losing design context and modifying unintended files. Open article →