initialize_loop_run
Confirms the task and begins a self-improving loop run. If underspecified, returns clarifying questions; call with answers to start.
Instructions
Ask-once gate. Confirms the task before any loop runs. If the task is underspecified, returns one brief explanation plus a few short questions once (goal; PATH — improve an existing loop / discover-or-find a loop, optionally scouting a public loop library / mine your whole history; the loop or domain to start from; corpus scope — whole history or a set number of loops, and best-first vs in-order; what "better" means; any task-specific hard limit; and a deeper-explanation offer); call again with { answers } to begin. It never asks the operator to choose the model, promotion mode, benchmark policy, deterministic-vs-subjective routing, or the standing guarantees — the supervisor decides those from the task. Stores every user message locally with a sha256 hash. After initialization it does not ask again or mark the campaign complete; the operator remains the stop condition and the dashboard stays available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | what to improve/build | |
| model | No | frontier route; defaults to claude-opus-4-8 | |
| runId | No | reuse to continue a run; omit to create one | |
| config | No | { failurePatience(10-15), comparisonRule, promotion:{...}, mode } | |
| answers | No | answers to the ask-once questions | |
| userMessages | No | verbatim operator messages — stored + hashed for the hook | |
| acceptanceCriteria | No |