Finish work
finish_workCapture completion evidence and atomically transition tasks to handoff, review-ready, or closed outcomes, rejecting stale versions.
Instructions
Record completion evidence and atomically leave the task active as a handoff, mark it review-ready, or close it with a complete/closed outcome.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Audited terminal reason; defaults to the change summary | |
| outcome | No | Final task state; handoff records evidence without changing lifecycle state | complete |
| task_id | Yes | Stable task identifier, e.g. TASK-12 | |
| agent_id | No | Usually omit — Concord derives your identity from your session. Pass only the id your client told you (Codex); a session Concord can see always wins. | |
| decisions | No | Notable decisions and why | |
| diff_size | No | Rough diff size, e.g. +120 / -30 | |
| tests_run | No | Test commands run | |
| next_steps | No | Remaining work or follow-ups | |
| provenance | No | Evidence source for review claims | |
| assumptions | No | Assumptions made | |
| known_risks | No | Known risks introduced | |
| what_changed | Yes | Concise summary of what changed | |
| workspace_id | No | Workspace id returned by a Concord operation. Omit to use the automatically resolved repository workspace. | |
| changed_files | No | Files that changed | |
| open_questions | No | Unresolved review questions | |
| expected_version | Yes | Task version last read by the caller; stale versions are rejected | |
| reported_outcome | No | Optional measured acceptance, integration, or intervention result | |
| needs_review_from | No | Who should review | |
| guardrails_checked | No | Guardrails checked |