Expand description
Resolve the shared registry directory (<shared_home>/agents/registry/).
Functions§
- resolve_
global_ shared_ root - The global, channel-independent
<home>/sharedroot. Deliberately UNAFFECTED byisolated_auth_enabled()— callers that need the true~/.agentmuxhome (e.g.migrations/runner.rs’sMigrationContext.home) must call this directly rather than deriving it fromresolve_shared_store_path(), which DOES vary with isolation. - resolve_
identity_ store_ path - Resolve
~/.agentmux/shared/identity-store.db— the permanently-global store for agent→account links, bundles, drone definitions, muxbus credentials, per-agent M2M credentials, native memory, and cron jobs. Seedocs/specs/SPEC_IDENTITY_STORE_SPLIT_2026_08_17.md. - resolve_
isolated_ work_ store_ path - Where this channel keeps its own work store (the Kanban queue, Presence
claims, coordination posts, the Jobs ledger and scheduled jobs), or
Nonewhen it shares the host’s: any build but atask devone, or a dev build withAGENTMUX_ISOLATED_WORK=0. Seecrate::registry::work_store. - resolve_
shared_ container_ agent_ folders_ dir - The GLOBAL
<home>/shared/container-agent-folders/directory: one small file per folder a container agent has run in (backend::mcp_folder_rule). Every version and channel of an install reads the same marks, and an upgrade, the removal of an old version and the deletion of an agent leave them. A mark is plain text, written once and never changed, the same whichever srv writes it: so it is read and written by a srv that has given the shared stores up to a srv of another version too. - resolve_
shared_ definitions_ dir - Resolve the GLOBAL
<home>/shared/agents/definitions/directory. - resolve_
shared_ folder_ overlap_ choices_ dir - The GLOBAL
<home>/shared/folder-overlap-choices/directory: one small file per pair of agents whose folders overlap (backend::folder_overlap), written when the person goes ahead. Like the marks ofresolve_shared_container_agent_folders_dirit outlives an upgrade and is bound into no container. - resolve_
shared_ instances_ dir - Resolve the GLOBAL
<home>/shared/instances/directory: one record per running srv on this machine, agents or not, so one instance can name and reach another (backend::instance_registry). Not the LAN sibling directory above, which lists only LAN-enabled instances and holds the LAN key instead of the auth key. - resolve_
shared_ lan_ instances_ dir - Resolve the GLOBAL
<home>/shared/lan/instances/directory: one file per LAN-enabled AgentMux instance on this host, so whichever instance holds the UDP probe port can list the others assiblings(SPEC_LAN_FLEET_FEED_2026_10_03.md §3). Besideagents/, not inside the reactive registry: these are instances, not agents. - resolve_
shared_ reactive_ dir - Resolve the GLOBAL
<home>/shared/agents/reactive/directory — the cross-channel presence registry for live reactive-injection targets (agent_id -> local_url/block_id/pid/auth_key, one entry per channel), used by MuxBus Tier 2b same-host cross-channel delivery (issue #1916 / PR #2350) and by agent admission’s other-instance probe. - resolve_
shared_ registry_ dir - Resolve the GLOBAL
<home>/shared/agents/registry/directory. - resolve_
shared_ store_ path - Resolve
~/.agentmux/shared/store.db— the global store for accounts, bundles, drone definitions, and MuxBus credentials. - resolve_
shared_ transcripts_ dir - Resolve the GLOBAL
<home>/shared/agents/transcripts/directory. - shared_
root_ ignoring_ deferral - The same root while this srv has given the folder up: only for a plain file it reads and never writes (the jekt audit file), where an earlier srv’s lines are still the account’s record.