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

Copy Markdown

Intercepts unfulfilled commitments in agent responses.

When the LLM returns end_turn with text like "Let me analyze..." but hasn't used any tools, this stage catches it before the response reaches the user. It broadcasts the commitment text as a "thinking" indicator and re-enters the pipeline with a nudge to follow through.

Placed after ToolExecutor in the pipeline -- only fires on the end_turn path (no pending tool calls).