Expand description
Planning workflow tools for entering, exiting, and managing planning workflow
These tools allow the agent to programmatically enter and exit planning workflow. The agent can:
- Enter planning workflow to switch to read-only exploration
- Exit planning workflow (triggering plan review) to start implementation
- Persist canonical plans under
.vtcode/plans/by default (with optional custom path)
Based on insights from Claude Code’s planning workflow implementation:
- Plan files are written to a dedicated directory
- The agent edits its own plan file during planning
- Exiting planning workflow reads the plan file and starts execution
- User confirmation is required before transitioning to execution (HITL)
Structs§
- Finish
Planning Args - Arguments for exiting planning workflow
- Finish
Planning Tool - Tool for exiting planning workflow
- Persisted
Plan Draft - Plan
Validation Report - Planning
Workflow State - Shared state for planning workflow across tools
- Start
Planning Args - Arguments for entering planning workflow
- Start
Planning Tool - Tool for entering planning workflow