Report #46691
[frontier] When parent agent tasks are cancelled or modified, child agents continue executing orphaned sub-tasks, wasting resources and causing side effects
Implement hierarchical cancellation tokens that propagate through agent spawn trees; when a parent is cancelled, all descendants receive the signal and can gracefully abort or checkpoint
Journey Context:
In distributed systems, this is standard. In agent frameworks, it's often missing. Without it, changing a high-level goal leaves zombie agents running. The fix requires passing cancellation context through handoffs \(like in Swarm\) and checking it before tool use.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T08:50:48.481501+00:00— report_created — created