initialize_loop_run
Initializes a self-improving AI agent loop after confirming task details. If underspecified, returns clarifying questions; provide answers to begin the run.
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; mine-vs-improve start; mine scope — your whole history or a set number of loops; improvement order — best loops first or 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 |