- Display plan section after result table, before code
- Plan is shown for both new tasks and resume flows
- Helps users understand what was planned before seeing code
Add clean UI with agent progress, copyable code, and results table
- Previous fix only checked last message
- Now validates entire conversation for proper tool_use→tool_result pairs
- Skips any assistant message with tool_use that lacks following tool_result
- Create fresh orchestrator for each new task (not clarification answers)
- Prevents stale context from previous tasks being reused
- Each new message gets a clean slate
Fix max_iterations causing premature failure before Reviewer runs
- Increase max_iterations from 3 to 10
- The iteration counter was incrementing for every state transition
- With max_iterations=3, workflow failed before Reviewer could run:
EXPLORING(1) → CLARIFYING → PLANNING(2) → CODING(3) → FAILED
Fix tool_use/tool_result mismatch error when resuming after clarification
- Add validation in Claude client to remove dangling tool_use blocks
- Recreate fresh agent instances when resuming after clarification
- Prevents stale conversation state from causing API errors
v3.3.3: Simplify Coder - only receives task + plan (no exploration context)