Skip to content

memory

memory

Score-level memory: key (GH #496, spec 03 Interfaces 1).

A score declares named memory attachments here. The models only fix the shape; value rules that have their own validator code (system, scope, access, phases, caps bounds) are checked by V340-V347 so an author gets one named message instead of a schema dump. The conductor reads this key at dispatch (marianne.daemon.baton.memory_gate): each sheet gets a session per active attachment, delivered as an MCP server to instruments that accept an MCP config.

core/ stays free of marianne.memory: scope and access grammars are checked in :mod:marianne.validation.checks.memory, which reuses the helpers in marianne.memory.

Classes

MemoryCaps

Bases: BaseModel

Per-attachment caps; each value clamps the score-level default.

MemoryDefaults

Bases: BaseModel

Score-level defaults that each attachment's caps are clamped against.

MemoryBackendDecl

Bases: BaseModel

One named memory attachment.

MemoryConfig

Bases: BaseModel

The top-level memory: key. memory: {} is legal.