complete_subtask
Finish a claimed subtask in a shared task ledger, attaching code changes and verdicts, and passing on unfinished items and learned preferences.
Instructions
Finish a claimed subtask. Changed code? pass repo (owner/name), branch, commit and/or diff: they land in the job's workspace (/jobs///) with your result. Gate tasks need verdict approve|reject (or a 'VERDICT:' line in result). leftovers: unfinished items to carry forward. preferences: user preferences you learned. success=false only when you could not do the work (it is retried); a review or test that finds problems is success=true with the findings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| diff | No | ||
| repo | No | ||
| agent | No | ||
| model | No | ||
| branch | No | ||
| commit | No | ||
| result | Yes | ||
| tokens | No | ||
| api_key | No | ||
| success | No | ||
| verdict | No | ||
| leftovers | No | ||
| tokens_in | No | ||
| subtask_id | Yes | ||
| preferences | No |