start_run
Launch a background harness run for planning, building, or grading tasks, returning a run ID for status polling. Configure it with a chain name and working-directory paths.
Instructions
Start a harness run in the background. Returns the run id to poll with run_status, or started:false with the exit code and log tail if the run stopped at once. chain is a chain name as list_chains shows it (never a path); leave it out to use the default chain, and the answer names it. task, draft, context and from_run are paths inside your working directory (tasks/x.md, context/my-project, runs/); anything outside it, or on the secret/credential denylist, is refused. draft + from_run + rounds=1 makes a panel-only grading pass.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| chain | No | ||
| draft | No | path to a draft to review instead of building one | |
| rounds | No | ||
| context | No | ||
| max_usd | No | the figure to suggest as the run's spending limit, in USD, a positive number. For a paid chain the limit is the number the person types in the dialog; this figure is only the suggestion, and "none" is refused (nothing started). Left out, the dialog suggests MAX_USD_PER_RUN (a user who set COUNCIL_MAX_USD_LIMIT gets the lesser of the two, with $7 for an unset MAX_USD_PER_RUN); with neither set it suggests nothing. A chain with no paid seat has no dialog: there this figure is the run's ceiling ($7 when nothing sets it) and "none" removes it. A figure above COUNCIL_MAX_USD_LIMIT is refused, and so is "none" on a chain with no paid seat where the user set that limit; 0 is refused. The run stops cleanly before any stage that could pass its limit, and resumes with a higher total. | |
| from_run | No | reuse this earlier run's criteria | |
| allow_unfenced | No | waive the artifact gate: true for the whole task, or a list of file names that are only locations, not content the panel needs |