memory_dream
Consolidate recent memories into canonical facts and graph structure. Manage the dream pipeline: check status, pull unconsolidated memories, commit cursor, run extraction, or deep-consolidate the corpus.
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)
— read them, write slot-shaped facts via memory_fact_set,
then commit.
commit: advance the dream cursor to cursor (newest
timestamp from the pull).
run: one server-side dream with the configured extractor
(loop until pulled=0 to drain).
deep: full-corpus graph consolidation. Dry-run by default;
apply=true snapshots the graph tables first (refuses if it
can't). Settle returned candidates via memory_graph_review;
snippets=false omits evidence. Also lists lesson/world
duplicate slots for hand curation (never auto-deleted).
Returns: per-action dict; {error} on a bad action or missing cursor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| limit | No | ||
| action | Yes | ||
| cursor | No | ||
| snippets | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||