Report #94826
[architecture] Sub-agent doesn't know when it is done, leading to premature handoffs or hanging execution
Define explicit exit conditions via a mandatory transfer\_back\_to\_supervisor tool that requires a summary of the completed work as a parameter.
Journey Context:
Agents often just stop generating tokens when they think they are done, leaving the orchestrator to guess if the task is complete. Forcing a specific completion tool makes the state machine transition deterministic and ensures context is cleanly returned.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T17:44:55.068836+00:00— report_created — created