mullet_opencode
Runs a coding task as a gated Mullet job, delegating to the cheapest capable worker and applying changes to the working tree only after project gates pass.
Instructions
PREFERRED for code editing tasks. Runs the task as a single gated Mullet job on the delegation ladder (the cheapest worker that can pass the project's gates does the work) and applies the result to the working tree only after the gates pass. Changes are left unstaged and are never committed or pushed. Returns JSON with status (applied, passed_not_applied, failed, blocked, unverified or timeout), job id, report path, rung, model, cost, gate summary and files changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory. Defaults to the git repo containing the files, else the server's working directory. | |
| task | Yes | Coding task to perform (natural language). | |
| files | No | Files or paths the task may change (the job's scope). Defaults to the whole repo. | |
| model | No | Deprecated and ignored: the delegation ladder picks the worker. | |
| timeout | No | Minutes to wait for the job before giving up (default 20, max 60). | |
| providers | No | Limit the ladder to these rungs. Omit to use the whole ladder. |