[SLICE 02][CORE-A] Stabilize library facade, SWI pack layout, store lifecycle, and backend SPI #29

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

Parent epic: #12
Depends on: #1

Goal

Turn the current implementation into a clean reusable library surface before deeper semantics land.

Implement/normalize:

  • library(symbolic_memory) facade;
  • narrow internal modules for domain/source/authority/storage/audit;
  • memory_store_open/2, close/cleanup semantics, default-store policy if any;
  • backend registration/selection through a closed trusted SPI;
  • atomic domain transaction contract independent of bootstrap backend;
  • structured errors/outcomes and deterministic IDs/fingerprints;
  • SWI pack metadata + Nix/dev test entrypoint.

Acceptance

  • direct library remember/get path uses only the public facade;
  • backend-specific predicates do not leak into public domain APIs;
  • store cleanup works on success/error/cancel paths;
  • fake/in-memory backend proves SPI substitutability;
  • no MCP/model/provider dependency.
Parent epic: #12 Depends on: #1 ## Goal Turn the current implementation into a clean reusable library surface before deeper semantics land. Implement/normalize: - `library(symbolic_memory)` facade; - narrow internal modules for domain/source/authority/storage/audit; - `memory_store_open/2`, close/cleanup semantics, default-store policy if any; - backend registration/selection through a closed trusted SPI; - atomic domain transaction contract independent of bootstrap backend; - structured errors/outcomes and deterministic IDs/fingerprints; - SWI pack metadata + Nix/dev test entrypoint. ## Acceptance - direct library remember/get path uses only the public facade; - backend-specific predicates do not leak into public domain APIs; - store cleanup works on success/error/cancel paths; - fake/in-memory backend proves SPI substitutability; - no MCP/model/provider dependency.
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#29
No description provided.