Expand description
Plan mode tools for entering, exiting, and managing planning workflow
These tools allow the agent to programmatically enter and exit plan mode. The agent can:
- Enter plan mode to switch to read-only exploration
- Exit plan mode (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 plan mode implementation:
- Plan files are written to a dedicated directory
- The agent edits its own plan file during planning
- Exiting plan mode reads the plan file and starts execution
- User confirmation is required before transitioning to execution (HITL)
Structs§
- Enter
Plan Mode Args - Arguments for entering plan mode
- Enter
Plan Mode Tool - Tool for entering plan mode
- Exit
Plan Mode Args - Arguments for exiting plan mode
- Exit
Plan Mode Tool - Tool for exiting plan mode
- Persisted
Plan Draft - Plan
Mode State - Shared state for plan mode across tools
- Plan
Validation Report