Cancel the active operation without confusing it with deletion of reviewed evidence.
Practical procedure
- Identify which work is active: a draft research plan, an approved plan, or a durable work order. Read its current state first.
- Use the corresponding supported decision or cancellation route. For work orders, provide a reason through /work-orders/{work_order_id}/cancel.
- Record the cancellation result and preserve partial reviewed output with its limitations. Delete retained evidence only through a separate deliberate retention action.
Use a governed work order
A GoCux work order records an outcome, context and acceptance criteria. Use it for durable work that needs the optional Cloud Worker, rather than assuming that every chat turn starts a background job. Select the project and data classification when creating the request. Keep the returned work-order identity so progress, decisions and attachments remain tied to the same operation.
Contract example
Developer examples below describe routes on an authorized, configured GoCux control-plane base URL. They are request shapes or operation references, not claims that a particular public hostname exposes the API. Use the workspace for the corresponding human workflow; availability and permissions depend on the actual deployment.
Operation reference for this workflow
POST /work-orders/{work_order_id}/cancel
Content-Type: application/json
{"reason":"The collection scope is being revised."}Inspect the result
A recorded or accepted work order is not proof of completed execution. Read its state, progress and attachments through the task views. Review the output against the acceptance criteria before using it. If a structured result was requested, inspect its validation state separately from the narrative answer.
What to keep explicit
Stopping execution does not undo external effects that already occurred or erase all source documents. Keep cancellation and deletion distinct in the interface.
Handle incomplete and refused work
A missing worker or an unavailable dispatch ledger can refuse durable execution while normal chat remains independent. Reuse an operation key only for the same request. After a lost response, reconcile the original operation rather than blindly dispatching new work. A configured maxCost is recorded as context; the work-order schema does not claim it is an enforced monetary ceiling.
Continue with related guides
Bring this workflow into your workspace.
Set the scope. Review the evidence. Approve the steps that need it.