Skip to main content

SUPERVISOR_PREPARES_ENV

Constant SUPERVISOR_PREPARES_ENV 

Source
pub const SUPERVISOR_PREPARES_ENV: &str = "AGENTMUX_SUPERVISOR_PREPARES";
Expand description

Set to 1 by a supervisor that runs agentmux-srv migrate --prepare itself (the launcher). srv then never copies, snapshots or migrates at boot: it checks read-only and exits NEEDS_PREPARE_EXIT when the data needs it. Without it (headless srv, task dev:standalone) srv prepares in-process.