Verify a finished task
verify_taskChecks a task's produced files against a JSON definition-of-done spec, then returns pass, partial, or fail with a replayable evidence bundle for deterministic completion review.
Instructions
Judge whether a task is finished by checking the files it produced against a spec file that states the definition of done. Returns pass, partial or fail, plus a replayable evidence bundle. Deterministic: no model is consulted.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spec_path": "<spec_path>"
},
"name": "verify_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_path | Yes | Path to the task definition JSON. | |
| evidence_dir | No | Where to write the evidence bundle. Defaults to <spec directory>/evidence. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | Yes | ||
| task_id | No | ||
| verdict | Yes | ||
| warnings | No | ||
| judged_by | Yes | ||
| model_calls | Yes | ||
| evidence_dir | Yes | ||
| replay_command | No | ||
| evidence_digest | Yes |