Why
Prompt and MCP timeouts return while underlying requests remain un-aborted, and agent tool subprocesses ignore their supplied signal.
Scope
Propagate Effect cancellation and timeout signals through command, model, MCP and agent execution; ensure resources and subprocess groups are cleaned up.
Approach
Turn the audit reproduction into a repository regression, fix the runtime boundary, and verify callers and adjacent hooks tests using Bun 1.3.14. Keep the user's existing working-tree edits outside this delivery.
Acceptance
Timeout/cancellation aborts underlying model and MCP signals and stops actual child work; success, deadline and instance-disposal tests pass.
Why
Prompt and MCP timeouts return while underlying requests remain un-aborted, and agent tool subprocesses ignore their supplied signal.
Scope
Propagate Effect cancellation and timeout signals through command, model, MCP and agent execution; ensure resources and subprocess groups are cleaned up.
Approach
Turn the audit reproduction into a repository regression, fix the runtime boundary, and verify callers and adjacent hooks tests using Bun 1.3.14. Keep the user's existing working-tree edits outside this delivery.
Acceptance
Timeout/cancellation aborts underlying model and MCP signals and stops actual child work; success, deadline and instance-disposal tests pass.