task_done
Mark a Reado review task resolved after a change, optionally run a verify command to confirm the fix and archive it; failures stay unverified for human review.
Instructions
Mark a task resolved once your change addresses it, recording how. With verify, Reado runs that command in the project root: exit 0 marks the task done and archives it; a failure — or no verify at all — leaves it resolved-but-unverified, visible for the human to check. Answers the task's id, state and resolution as JSON. If the attempt didn't work use task_fail; if you need the human, task_block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The task's id, from `reado://tasks`. | |
| model | No | The model that made the change, for provenance. Defaults to $READO_MODEL. | |
| verify | No | A shell command that proves the fix, e.g. `pnpm test src/lib/api.test.ts`. | |
| diffRef | No | The commit or ref holding the change, e.g. a SHA, shown to the reviewer. |