Make a task request precise enough to review when it finishes.
Practical procedure
- Put the requested outcome in goal and supporting context in body. Use acceptance for independently checkable conditions, such as required evidence and a list of unanswered questions.
- Declare projectId at creation and select the correct dataClassification. A task cannot be moved into a project later by merely changing a label in your client.
- Choose a positive wall-time bound and a sensible tool-call bound. A zero tool-call limit means no tool calls, rather than an unlimited budget.
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.
POST /work-orders — example request body; supply an operation-specific Idempotency-Key
{
"goal": "Review the supplied project notes",
"body": "Use only the provided project context.",
"acceptance": [
"Identify claims with their supporting source",
"List unanswered questions separately"
],
"dataClassification": "public",
"projectId": "project-id",
"max_wall_seconds": 300,
"max_tool_calls": 20
}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
Avoid an acceptance criterion that simply repeats the goal. Ask for observable evidence, a usable output format and an explicit account of limitations.
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.