Agentic.Loop.Stages.PlanTracker (agentic v0.2.2)

Copy Markdown

Tracks plan step completion for :agentic_planned mode.

Only active when ctx.mode == :agentic_planned and ctx.phase == :execute. Sits after ToolExecutor in the pipeline.

Responsibilities:

  • After each LLM response, determine which plan step was just worked on
  • Increment ctx.plan_step_index when a step appears complete
  • Inject a progress message into the conversation
  • When all steps are complete, transition to :verify phase
  • Call :on_step_complete callback if provided