Add AutoDream durable memory to builtin _memory plugin#1323
Closed
3clyp50 wants to merge 1 commit intoagent0ai:developmentfrom
Closed
Add AutoDream durable memory to builtin _memory plugin#13233clyp50 wants to merge 1 commit intoagent0ai:developmentfrom
3clyp50 wants to merge 1 commit intoagent0ai:developmentfrom
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement AutoDream in the builtin
_memoryplugin 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.mdindex, records a lightweight.dream-log.mdchangelog, 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.