Run the consolidation pass
Reviews the store, repairs what SQL proves wrong, folds duplicate entity names, and
asks about the rest. Every run is one undoable unit: the report names the run id, and
/memory/reconcile/{id}/revert puts back exactly what it did.
mode defaults to dry_run, which changes nothing and never calls a model, returning
what the paid passes would have cost in estimate. The memloom reconcile CLI
command defaults the other way and applies.
Passes come from the saved settings unless passes overrides them: two free ones on,
three paid ones off. With the contradiction re-check on a run takes minutes, so use the
stream variant rather than holding this request open. See
Reconciliation.
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
What the run found and what it changed.
One run's own words. This is what the CLI prints and the Settings tab renders.
One run, and what it did.
What re-checking everything currently due would cost, from the real prompt template and the actual content lengths. A dry run reports this instead of spending it. One run is capped at 200 beliefs, so on a store with a backlog this is what several runs add up to.
The passes this run actually ran.
Findings recorded but not surfaced, because a per-run cap was reached.
What one resolution pass did.
Present when the uncertain entity pairs pass ran.
Present when the memory conflicts pass ran.
Present when the contradiction re-check ran.