zara-memory: symbolic scoped memory integration #7

Open
opened 2026-08-31 18:42:42 +00:00 by lost-rob0t · 2 comments
lost-rob0t commented 2026-08-31 18:42:42 +00:00 (Migrated from github.com)

Plugin

zara-memory

Goal

Provide Zara with scoped symbolic memory that can store structured facts plus lossless text when needed, while keeping memory separate from transient context.

Memory scopes

Support at minimum:

  • session
  • user
  • project
  • machine
  • global

Operations

  • remember
  • recall
  • forget
  • assert_fact
  • retract_fact
  • explain_memory
  • list/search by scope, type and provenance

Integrate with lost-rob0t/symbolic-memory where appropriate rather than building an incompatible parallel memory model.

Semantics

  • facts have stable IDs/provenance/timestamps;
  • natural-language payloads can be retained losslessly;
  • symbolic projection is the default retrieval surface where possible;
  • forgetting a memory must remove/repair related projections instead of leaving orphan facts;
  • plugin consumers can define memory schemas without gaining unrestricted access to every scope.

Integration

  • zara-context supplies short-lived context but does not auto-persist it;
  • zara-coding can read/write project-scoped workflow facts;
  • zara-contacts, zara-home and other domains can contribute typed facts;
  • zara-expert can query relevant memory projections through explicit boundaries.

Acceptance criteria

  • all initial scopes are represented and isolated
  • structured facts and full-text memories are both supported
  • recall returns provenance and stable IDs
  • forgetting cleans associated symbolic projections
  • plugin-specific schemas can be registered safely
  • transient context is not persisted implicitly
  • deterministic tests cover scope isolation, update and forgetting
  • README documents storage backend/configuration and privacy semantics
  • registry validation, plugin tests and nix flake check pass
## Plugin `zara-memory` ## Goal Provide Zara with scoped symbolic memory that can store structured facts plus lossless text when needed, while keeping memory separate from transient context. ## Memory scopes Support at minimum: - session - user - project - machine - global ## Operations - `remember` - `recall` - `forget` - `assert_fact` - `retract_fact` - `explain_memory` - list/search by scope, type and provenance Integrate with `lost-rob0t/symbolic-memory` where appropriate rather than building an incompatible parallel memory model. ## Semantics - facts have stable IDs/provenance/timestamps; - natural-language payloads can be retained losslessly; - symbolic projection is the default retrieval surface where possible; - forgetting a memory must remove/repair related projections instead of leaving orphan facts; - plugin consumers can define memory schemas without gaining unrestricted access to every scope. ## Integration - `zara-context` supplies short-lived context but does not auto-persist it; - `zara-coding` can read/write project-scoped workflow facts; - `zara-contacts`, `zara-home` and other domains can contribute typed facts; - `zara-expert` can query relevant memory projections through explicit boundaries. ## Acceptance criteria - [ ] all initial scopes are represented and isolated - [ ] structured facts and full-text memories are both supported - [ ] recall returns provenance and stable IDs - [ ] forgetting cleans associated symbolic projections - [ ] plugin-specific schemas can be registered safely - [ ] transient context is not persisted implicitly - [ ] deterministic tests cover scope isolation, update and forgetting - [ ] README documents storage backend/configuration and privacy semantics - [ ] registry validation, plugin tests and `nix flake check` pass
Owner

Auto-RAGE dependency check after merging #85: the Zara-side scoped adapter, registry/Nix packaging, lifecycle/degraded status, scope/schema enforcement, and deterministic fake-backend tests are green. I am leaving #7 open because the canonical lost-rob0t/symbolic-memory main README still explicitly says full-corpus memory_search, symbolic-first memory_recall, and natural-language forgetting are not implemented. zara-memory will not invent a parallel persistence/retrieval model or falsely expose those operations as available. Next dependency-ready slice is to bind those capabilities once the canonical backend publishes them; until then unsupported recall/forget paths continue to fail explicitly.

Auto-RAGE dependency check after merging #85: the Zara-side scoped adapter, registry/Nix packaging, lifecycle/degraded status, scope/schema enforcement, and deterministic fake-backend tests are green. I am leaving #7 open because the canonical `lost-rob0t/symbolic-memory` main README still explicitly says full-corpus `memory_search`, symbolic-first `memory_recall`, and natural-language forgetting are not implemented. `zara-memory` will not invent a parallel persistence/retrieval model or falsely expose those operations as available. Next dependency-ready slice is to bind those capabilities once the canonical backend publishes them; until then unsupported recall/forget paths continue to fail explicitly.
Owner

Native symbolic-memory integration advanced in merged #91 (600aa339…). Zara now has approval-gated memory.remember plus authorized memory.get through the current stateless MCP contract, with host-bound authority, fixed argv/no shell, secret-minimized child env, writable-state rejection under /nix/store, and explicit native scope limits (session/project/global).

#7 remains open intentionally: current symbolic-memory still does not implement full-corpus search, symbolic-first recall, or forgetting/projection cleanup, so Zara does not emulate or claim those acceptance items.

Native symbolic-memory integration advanced in merged #91 (`600aa339…`). Zara now has approval-gated `memory.remember` plus authorized `memory.get` through the current stateless MCP contract, with host-bound authority, fixed argv/no shell, secret-minimized child env, writable-state rejection under `/nix/store`, and explicit native scope limits (`session/project/global`). #7 remains open intentionally: current symbolic-memory still does not implement full-corpus search, symbolic-first recall, or forgetting/projection cleanup, so Zara does not emulate or claim those acceptance items.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/zara-plugins#7
No description provided.