Run the consolidation pass (NDJSON stream)
The same run, reported as it goes. NDJSON: one {"type":"item"} per belief checked, a
{"type":"ping"} every 15 seconds so the pipe never times out, and a final
{"type":"done"} carrying the report. A mid-stream failure arrives as
{"type":"error"}, since the response has already started.
Disconnecting stops the run, so nothing more is spent. Every belief already checked stays checked. The first event names the run id.
Body
What to run. Every field is optional.
dry_run reports and changes nothing, and never calls a model. apply acts.
dry_run, apply Recorded on the run, so the history says who started it.
manual, idle, startup Run exactly these passes, ignoring the saved settings. Omit to use the settings, which is what every shipped surface does. This overrides the settings for the three paid passes too, so a caller can start a run that spends money while the Settings toggles are off. RECONCILE_ENABLED=0 still refuses it.
invariants, entities, llm_entities, llm_conflicts, llm_recheck Keep re-checking past the per-run ceiling until nothing is due or this much has been billed, measured against the provider's own reported cost. Omit for one page and stop, which is the default. Capped at 50 because a typo here spends real money.
x <= 50Response
NDJSON progress stream ending with a done (or error) event.
The response is of type string.
"{\"type\":\"item\",\"runId\":\"0f2c7b18\",\"pass\":\"llm_recheck\",\"checked\":1,\"total\":200,\"found\":0}\n{\"type\":\"item\",\"runId\":\"0f2c7b18\",\"pass\":\"llm_recheck\",\"checked\":2,\"total\":200,\"found\":1}\n{\"type\":\"done\",\"run\":{\"id\":\"0f2c7b18\",\"mode\":\"apply\",\"status\":\"success\"},\"actions\":[]}\n"