sica-fondt/docs/plans/E2-variant-stores.md
Claude 20e99f434c
docs/plans: remaining component specs — Identity, Cognition, Border, Storage, Periphery, Cross-cutting
Wave 1 remainder + Wave 2 design-first specs, completing one build plan per sub-organ:
- B1 tarot emulator, B2 SOUL/Big-3, B3 Celtic Cross
- C2 4+4 metacog, C3 inference cycle, C4 Brain
- D1 Ada border, D2 the medium, D3 mini-rag
- E1 3 GnuCOBOL invariant stores, E2 VARIANT stores, E3 RAG family
- F1 MoRAG, F2 SAE monitor, F3 subagents
- G1 stress-loop contract, G2 governance, G3 defense model

Each: contract + stubs for independent build; unfitted constants marked C1.

https://claude.ai/code/session_015hmgREHNsxYCuim33yUF2c
2026-06-13 20:08:19 +00:00

1.9 KiB

E2 — VARIANT stores (DESIGN-FIRST)

1. Component

The shifting self: several stores — beliefs · relationships · memories · self-image — and the (unspecified) mechanism by which they combine into "who you are now."

2. Status / certainty

DESIGN-FIRST · set C3 (the four stores are named), combine-mechanism + backing C1 ("projected together" was the nearest label, not the mechanism).

3. Language & location

TBD · new location e.g. src/variant/. Backing undeclared (not GnuCOBOL — that's the invariant E1).

4. Does / does-not

  • Does: hold the four shifting stores; supply the memory that Eth-Int's conviction array (A7) and PS+'s priors (A5) derive from; combine into the live self-state.
  • Does-not: be the invariant core (E1) or the identity face (B2 SOUL.md is the standing self; this is the shifting substrate).

5. Interface contract (proposed)

  • Four stores: beliefs, relationships, memories, self_image; each read/write behind Ada (D1).
  • combine(beliefs, relationships, memories, self_image) -> who_you_are_nowmechanism undefined (C1).
  • No append-only logs anywhere (arch §10).

6. Dependencies & stubs

E1 invariant (bedrock) — stub: in-memory. Consumers A5/A7 — stub: seed entries.

7. Invariants / laws

  • L1 (C4): all memory sits behind Ada; writes carry provenance.
  • L2 (C5): no append-only logs anywhere.
  • L3 (C1): the combine-mechanism (how four stores → one self-now) — undefined.

8. Build steps

  1. Choose backing. 2. Define the four store schemas. 3. Design the combine-mechanism (the hard open part).
  2. Wire A5/A7 to derive from it.

9. Tests

Per-store read/write behind a D1 stub; no-append-only assertion; combine() determinism once defined.

10. Open items

  • Combine-mechanism (C1, the central unknown). Backing (C1). Relationship to E1 invariant (C1).