πŸ“ Subsystem Deep Dive

tools/ExitPlanModeTool/

πŸ“ tools/ExitPlanModeTool/ πŸ“„ 6 files

Tutorial: ExitPlanModeTool

The ExitPlanModeTool acts as a formal checkpoint in the agent's workflow, signaling the transition from a Planning phase to a Coding phase. It ensures a plan is saved to disk and orchestrates the workflow based on the agent's role: solo users exit immediately, while Teammate agents must submit their plan for a Team Lead's approval. The tool integrates strict prompt instructions and dynamic UI feedback to manage this critical lifecycle event.

flowchart TD A0["Tool Definition & Lifecycle"] A1["Plan Mode State Transition"] A2["Teammate Approval Protocol"] A3["Prompt Engineering"] A4["CLI UI Rendering"] A0 -->|"Uses instructions from"| A3 A0 -->|"Triggers state change"| A1 A0 -->|"Enforces approval rules"| A2 A0 -->|"Renders output via"| A4

Chapters

  1. Tool Definition & Lifecycle
  2. Plan Mode State Transition
  3. Teammate Approval Protocol
  4. Prompt Engineering
  5. CLI UI Rendering

Generated by Code IQ

Files in this section