6. Layer 3: Memory

MMP defines three memory layers with graduated disclosure:

LayerNameSharedDescription
L0EventsNoRaw events, sensor data, interaction traces. Local only.
L1StructuredVia evaluationContent + tags + source. Shared via memory-share frames, gated by SVAF (Layer 4).
L2CognitiveVia state-syncCfC hidden state vectors. Exchanged via state-sync frames. Input to coupling.

L0 data MUST NOT leave the node. L1 data MUST be evaluated by SVAF before storage. L2 data is exchanged on every handshake and periodically (default: every 30,000 ms). The h1 and h2 vectors in state-sync frames MUST have equal dimension. The dimension is implementation-defined (reference implementations use 64). Peers with mismatched dimensions MUST reject the state-sync frame and SHOULD log the mismatch.