Agentic.Loop.ContinuationDetector
(agentic v0.2.2)
Copy Markdown
Detects plan steps and completion signals in LLM text output.
Ported from Homunculus ContinuationDetector. Uses regex patterns to detect when the agent signals step completion or task completion.
Detection Categories
- Step completion — "Step 1 is complete", "Completed step 2"
- Task completion — "All done", "Task finished", "Nothing left to do"
- Continuation intent — "Let me continue", "Moving on to"
- Blockers — "I can't proceed", "I need clarification"
- Summary signals — "In summary", "To summarize"
Summary
Functions
Returns true if a blocker is detected.
Detect continuation signals in text. Returns a list of detections sorted
by confidence (highest first). Pass steps: false to suppress step detection.
Extract the first step number mentioned as complete.
Returns true if any step completion is detected.
Returns true if task completion is detected.
Types
Functions
Returns true if a blocker is detected.
Detect continuation signals in text. Returns a list of detections sorted
by confidence (highest first). Pass steps: false to suppress step detection.
Extract the first step number mentioned as complete.
Returns true if any step completion is detected.
Returns true if task completion is detected.