No wall-clock timeout or cancel for a spawned subagent #153
Labels
No labels
already-shipped
bug
documentation
duplicate
enhancement
external-review
good first issue
help wanted
in progress
invalid
needs-decision
proposal
question
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: crenshawdev/cadence-archived#153
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: strict re-review C-02
Verdict: DISPUTE - not a Cadence defect, closing
Claim as reviewed
Spawn-agent has a 200-turn bound but no wall-clock timeout and no cancel, so a single hanging tool call can hold the workflow indefinitely.
At HEAD
f354864(v3.3.0)Accurate, and Cadence says so itself:
cadence-core/references/seams.md:56-59- "A turn bound, but no timeout and no cancel. Everyagents/*.mdcarriesmaxTurns: 200... no wall-clock kill, and no way to cancel a dispatch already running."Note
This is a host capability Cadence does not have, not a control it implemented badly.
maxTurns: 200is the whole of what the seam can set. Cadence already deletedsubagent_timeoutrather than keep an unenforceable knob.Reopen if the host ever exposes cancellation.