loop_start
Initialize a loop run for iterative image refinement. Provide a brief describing the goal and an optional gate for objective evaluation. Returns a run ID.
Instructions
Open a loop run — do this BEFORE the first submit (loop step 0).
brief is what "right" means, in the user's words; you'll be judged against it.
gate is the objective test IF the brief has one ("must tile seamlessly",
"exactly 3 apples", "identity preserved") — leave empty for purely aesthetic work.
Returns a run_id. Pass it to loop_record every pass. This is what makes the ratchet real: your best graph is stored HERE, not in your context, so it survives compaction and can actually be reverted to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gate | No | ||
| brief | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |