Skip to main content

Module agent_bundle_sidecar

Module agent_bundle_sidecar 

Source
Expand description

Which bundle is an agent’s own bundle (its ABF bundle), across channels (SPEC_MEMORY_FOLLOWS_THE_AGENT_2026_09_24.md §2.1.6, phase M4).

db_agents.default_memory_id lives in each channel’s object store, so migration m0021 minted a new bundle for an agent in every channel it ran in — “Name — ABF”, “Name — ABF (2)”, … in the one shared store. The id belongs with the agent, but not in DefinitionRecordV1: that would need a schema bump older builds reject. So it goes in a sidecar zone in the global store, agent-uid:<uid>:bundle, holding {memory_id}. It was written when the agent’s bundle was provisioned; a new agent has no bundle now, so this is only read: m0021 binds a recorded bundle (m0047 then moves it into the agent’s picks), and m0046 keeps every recorded bundle when it removes the empty ones nothing points at.