[EPIC][CORE-A] Library/runtime foundation: package surface, source memory, namespaces, principals, authority, and storage SPI #37

Open
opened 2026-09-08 01:57:02 +00:00 by nsaspy · 0 comments
Owner

Parent: #11
Consumes existing slice: #1

Goal

Establish the reusable library/runtime foundation that every other Symbolic Memory subsystem depends on.

Own:

  • SWI pack/module layout and stable public facade;
  • store open/close/lifecycle;
  • backend-neutral storage SPI and transaction contract;
  • exact immutable source-memory records;
  • namespace/project/global/session identity;
  • principals/capabilities/read-write authority;
  • trust/provenance metadata;
  • append-only audit events;
  • deterministic IDs/fingerprints and structured errors;
  • test/dev/Nix ergonomics.

Do not own semantic compilation, reasoning, embeddings, federation, or MCP semantics.

Hard invariants

path != project identity
knowing id != read authority
source trust != semantic interpretation trust
remember success != semantic projection success
registered backend != authority
library API != transport API

#1 remains the first vertical implementation slice and should be reconciled into this epic rather than duplicated.

Acceptance

A fresh checkout can open a store, remember/get exact source under namespace/authority policy, restart, retrieve the same bytes/metadata/audit lineage, and run the same library calls without MCP or a model provider.

Parent: #11 Consumes existing slice: #1 ## Goal Establish the reusable library/runtime foundation that every other Symbolic Memory subsystem depends on. Own: - SWI pack/module layout and stable public facade; - store open/close/lifecycle; - backend-neutral storage SPI and transaction contract; - exact immutable source-memory records; - namespace/project/global/session identity; - principals/capabilities/read-write authority; - trust/provenance metadata; - append-only audit events; - deterministic IDs/fingerprints and structured errors; - test/dev/Nix ergonomics. Do not own semantic compilation, reasoning, embeddings, federation, or MCP semantics. ## Hard invariants ```text path != project identity knowing id != read authority source trust != semantic interpretation trust remember success != semantic projection success registered backend != authority library API != transport API ``` #1 remains the first vertical implementation slice and should be reconciled into this epic rather than duplicated. ## Acceptance A fresh checkout can open a store, remember/get exact source under namespace/authority policy, restart, retrieve the same bytes/metadata/audit lineage, and run the same library calls without MCP or a model provider.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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/symbolic-memory#37
No description provided.