Skip to main content

Module present_plan

Module present_plan 

Source
Expand description

Present plan tool — present a plan file for user approval.

After a Planner subagent writes a plan to a file, the main agent calls this tool to present the plan and get user sign-off before implementation.

On approval the tool:

  1. Registers the plan in the PlanIndex for session tracking
  2. Stores the plan file to ~/.opendev/plans/

Todo creation is deferred to the LLM’s write_todos call after approval, which produces better hierarchical grouping than automated parsing.

Structs§

PresentPlanTool
Tool for presenting a completed plan to the user for approval.