Expand description
Durable, location-consistent mirror of each agent’s native (Claude Code) memory files. See db_agent_native_memory in migrations.rs (SHARED_STORE_SCHEMA_VERSION v6 / OBJECT_SCHEMA_VERSION v14) and docs/specs/SPEC_NATIVE_MEMORY_DURABLE_SYNC_2026_08_07.md for the full design.
Keyed by (agent_id, filename), where agent_id is the stable
AgentDefinition.id — NOT any live filesystem path, which is
channel-relative by design and therefore not the same across
channels/instances for the same logical agent.
Structs§
- Native
Memory Mirror Row - Native
Memory Mirror RowWith Agent - One
db_agent_native_memoryrow, with itsagent_id— the shapeagent_native_memory_list_all_rowsreturns for the (not agent-scoped) full-table scan a one-time migration needs; every other reader in this module is scoped to a singleagent_idand doesn’t need this.