memory_dream
Consolidate recent memories into canonical facts and graph structure. Review status, run consolidation, deep-consolidate, or rollback to keep long-term memory coherent.
Instructions
Drive the dream — consolidation of recent memories into canonical facts and graph structure.
Actions:
status: backlog + whether a sweep would fire. Read-only.
pull: unconsolidated memories (oldest-first, up to limit);
write facts via memory_fact_set, then commit with the
newest pulled timestamp as cursor.
run: a server-side dream with the configured extractor
(loop to drain).
deep: full-corpus graph consolidation, dry-run unless
apply=true (snapshots graph tables first). Settle
candidates via memory_graph_review; snippets=false
omits evidence; duplicate lesson/world slots listed for
hand curation.
runs: recent dream passes (tallies, status).
rollback: revert the newest committed pass from its journal
(facts + events; traces/cursor kept). run_id optional.
Returns: per-action dict; {error} on bad input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| limit | No | ||
| action | Yes | ||
| cursor | No | ||
| run_id | No | ||
| snippets | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||