Skip to main content

Module paths

Module paths 

Source
Expand description

Resolve the shared registry directory (<shared_home>/agents/registry/).

Functions§

resolve_global_shared_root
The global, channel-independent <home>/shared root. Deliberately UNAFFECTED by isolated_auth_enabled() — callers that need the true ~/.agentmux home (e.g. migrations/runner.rs’s MigrationContext.home) must call this directly rather than deriving it from resolve_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. See docs/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 None when it shares the host’s: any build but a task dev one, or a dev build with AGENTMUX_ISOLATED_WORK=0. See crate::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 of resolve_shared_container_agent_folders_dir it 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 as siblings (SPEC_LAN_FLEET_FEED_2026_10_03.md §3). Beside agents/, 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.