Functions§
- check_
completion_ candidate - Checks if the agent’s response is a candidate for completion handling.
- check_
for_ response_ loop - Check for repetitive text in assistant responses to catch non-tool-calling loops. Returns true if a loop is detected.
- recoverable_
status_ recap_ phrasing - Shared recoverable status-recap vocabulary for tracker continuation.
- tracker_
adoption_ succeeded - Observe adoption before tool output or conversation history is compacted.
- tracker_
final_ text_ is_ policy_ handoff - Permission, policy, safety, and credential handoffs remain terminal even when a pending-verification block can recover with fresh execution budget. Verification wording is handled separately by the turn’s recovery gate.
- tracker_
final_ text_ is_ safety_ handoff - True when assistant text is a genuine safety/permission handoff that must
not be auto-continued, even if
task_trackerstill has incomplete steps. - tracker_
final_ text_ requires_ user_ input - True when final assistant text asks the user for a decision/confirmation.
- tracker_
was_ adopted - Successful tracker mutations establish adoption within the caller’s current request history. Listing, rejected calls, and unrelated tool results do not.