docs: propose role-scoped memory with internal scope model#127
Closed
MatrixAdventurer wants to merge 2 commits intomatrixorigin:mainfrom
Closed
docs: propose role-scoped memory with internal scope model#127MatrixAdventurer wants to merge 2 commits intomatrixorigin:mainfrom
MatrixAdventurer wants to merge 2 commits intomatrixorigin:mainfrom
Conversation
Contributor
Author
|
Closing this in favor of a cleaner future consolidation. This proposal overlaps with other role-scope drafts and has been stale for a while, so leaving it open adds confusion more than signal. |
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.
What type of PR is this?
Which issue(s) this PR fixes
Related to #126
What this PR does / why we need it
This PR adds a design note for role-scoped memory spaces with inheritance.
The main idea is to separate:
The document proposes a model where clients can create a role like:
so recalls can use:
mainwriterwithout encoding role semantics in raw content or fragmenting memory into separate user IDs.
It also sketches a minimum API / CLI surface for future implementation.
Local validation
cargo test -p memoria-api --test api_e2e test_remote_store_retrieve -- --nocapture