Skip to content

Add AutoDream durable memory to builtin _memory plugin#1323

Closed
3clyp50 wants to merge 1 commit intoagent0ai:developmentfrom
3clyp50:dream
Closed

Add AutoDream durable memory to builtin _memory plugin#1323
3clyp50 wants to merge 1 commit intoagent0ai:developmentfrom
3clyp50:dream

Conversation

@3clyp50
Copy link
Contributor

@3clyp50 3clyp50 commented Mar 25, 2026

Implement AutoDream in the builtin _memory plugin as a background durable-memory pass that runs after top-level chats, inspired by https://github.com/dp-web4/snarc.

It gathers recent saved sessions from usr/chats, recent non-knowledge vector memories, semantically related older vector memories, and existing durable memory files, then uses the utility model to consolidate, update, or prune durable markdown memories.

The feature writes scoped durable notes under the AutoDream folder, regenerates a compact Claude-compatible MEMORY.md index, records a lightweight .dream-log.md changelog, and reloads durable memories back into vector recall. It also adds soft memory-scope and rename/orphan hints, improves AutoDream file import so frontmatter metadata is preserved without embedding raw YAML headers, and clears the relevant import cache so updated durable memories are reindexed correctly.

This also wires AutoDream into preload/import paths, adds the background trigger extension and prompt contract, exposes settings in the Memory UI, adds default config values, updates documentation.

AutoDream remains off by default and can be enabled in Memory settings.

Implement AutoDream in the builtin `_memory` plugin as a background durable-memory pass that runs after top-level chats, inspired by https://github.com/dp-web4/snarc.

It gathers recent saved sessions from `usr/chats`, recent non-knowledge vector memories, semantically related older vector memories, and existing durable memory files, then uses the utility model to consolidate, update, or prune durable markdown memories.

The feature writes scoped durable notes under the AutoDream folder, regenerates a compact Claude-compatible `MEMORY.md` index, records a lightweight `.dream-log.md` changelog, and reloads durable memories back into vector recall. It also adds soft memory-scope and rename/orphan hints, improves AutoDream file import so frontmatter metadata is preserved without embedding raw YAML headers, and clears the relevant import cache so updated durable memories are reindexed correctly.

This also wires AutoDream into preload/import paths, adds the background trigger extension and prompt contract, exposes settings in the Memory UI, adds default config values, updates documentation.

AutoDream remains off by default and can be enabled in Memory settings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant