Skip to main content

Module dreams_handlers

Module dreams_handlers 

Source
Expand description

agent:memory:dreams_list and agent:memory:dream_get: the Dreams record, read by the Memory pane (docs/specs/SPEC_DREAMS_BACKGROUND_MEMORY_ORGANIZING_2026_11_27.md §9).

agent:memory:dream_apply, dream_reject and dream_revert are what the person decides about a dream there.

All are window-only, like adopting memory: an opened dream holds quotes from the agent’s sessions and the text of memory files, which is the person’s to read and not another agent’s.

Constants§

PAGE 🔒
The most dreams a page holds, and what a list with no limit returns.
WHY 🔒
WHY_DECIDE 🔒

Functions§

decide 🔒
The three decisions run on a blocking thread: they read and write files and the record.
decision 🔒
What the person decided, from the dream’s state after it: the files a plan could not run on, or the new state.
dream_get 🔒
dream_now 🔒
Queue a dream of one agent’s memory (the pass itself runs in the loop).
dream_reject 🔒
dreams_list 🔒
register