task_complete
Submit a task for verification through the Completion Gate. Runs tests, inspects git diff, enforces contract rules, and creates an automatic repair task if checks fail.
Instructions
Submits a task for verification through the Completion Gate. Runs tests, executes the observable harness, inspects git diff, and enforces contract rules. If verification fails, an automatic repair task is created.
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": {
"taskId": "<taskId>"
},
"name": "task_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory of the workspace | |
| taskId | Yes | ID of the task to complete | |
| workerId | No | Worker submitting completion | |
| customTestCommand | No | Optional specific test command to execute during gate evaluation |