zara-memory: scoped symbolic-memory adapter contract #479

Open
nsaspy wants to merge 9 commits from rage/7-zara-memory into main
Owner

Advances #7 without creating a parallel memory store.

RED-first domain contract delegates persistence/projection cleanup to an external backend compatible with lost-rob0t/symbolic-memory, while enforcing Zara-side scope/owner isolation and plugin schema boundaries. Tests cover all initial scopes, stable IDs/provenance/full text, schema scope/predicate denial, projection cleanup on forget, and the rule that transient context is never persisted implicitly.

The upstream symbolic-memory main branch currently publishes durable memory_remember/memory_get while recall/search/forget remain deferred; this PR will keep unsupported backend capabilities honest rather than reimplementing them locally.

Advances #7 without creating a parallel memory store. RED-first domain contract delegates persistence/projection cleanup to an external backend compatible with `lost-rob0t/symbolic-memory`, while enforcing Zara-side scope/owner isolation and plugin schema boundaries. Tests cover all initial scopes, stable IDs/provenance/full text, schema scope/predicate denial, projection cleanup on forget, and the rule that transient context is never persisted implicitly. The upstream symbolic-memory main branch currently publishes durable `memory_remember`/`memory_get` while recall/search/forget remain deferred; this PR will keep unsupported backend capabilities honest rather than reimplementing them locally.
Some checks failed
CI / test (pull_request) Failing after 21s
This pull request has changes conflicting with the target branch.
  • plugins/zara-memory/README.md
  • plugins/zara-memory/lib/zara_memory/domain.py
  • plugins/zara-memory/lib/zara_memory/plugin.py
  • plugins/zara-memory/test/test_memory.py
  • plugins/zara-memory/test/test_plugin.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin rage/7-zara-memory:rage/7-zara-memory
git switch rage/7-zara-memory

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff rage/7-zara-memory
git switch rage/7-zara-memory
git rebase main
git switch main
git merge --ff-only rage/7-zara-memory
git switch rage/7-zara-memory
git rebase main
git switch main
git merge --no-ff rage/7-zara-memory
git switch main
git merge --squash rage/7-zara-memory
git switch main
git merge --ff-only rage/7-zara-memory
git switch main
git merge rage/7-zara-memory
git push origin main
Sign in to join this conversation.
No description provided.