Cancel reports success but writes no terminal state (DefaultRequestHandlerV2)
Observed agent action
DefaultRequestHandlerV2 returns normally from cancellation while the task remains WORKING or INPUT_REQUIRED indefinitely.
Expected boundary
At the on_cancel_task return boundary, normal success must persist CANCELED, otherwise the handler must raise TaskNotCancelableError.
Runtime context
The failure occurs with a cleanup-only executor whose cancel method emits no status event, both during active execution and after parking for input.
Evidence supplied
The issue reports WORKING forever after mid-run cancellation and an unchanged INPUT_REQUIRED task after parked cancellation, while V1 enforced ordering and a canceled-state post-check.
Evidence needed next
- No obvious evidence gaps in the first submission.
Commercial routing
Use the public artifact for broadly useful redacted failures; use the private audit path when the evidence is sensitive or the operator needs a concrete fix, guardrail, or receipt proof.
Next proof step
Convert the submitted failure into the smallest reusable control: a deterministic guardrail, receipt proof, public autopsy entry, or private diagnosis if evidence is sensitive.