Expand description
srv’s boot gate: whether this version’s data needs agentmux-srv migrate --prepare before srv may open it (S1c of
docs/specs/SPEC_FAST_STARTUP_UPGRADE_OWNS_MIGRATIONS_AND_UPDATES_2026_09_15.md §10).
Read-only, and fail-closed (invariants S1b and S1c there): it only opens stores read-only, creates nothing, and any doubt (a store it cannot read) counts as “needs preparing”, so srv never boots onto data it couldn’t check. A boot with nothing to prepare costs two read-only opens, in place of the read-write pending count it replaces.
Functions§
- data_
needs_ preparing - Why
data_dirneeds preparing, orNonewhen srv can open it as it is. - refuse_
if_ real_ home_ would_ move - [
refuse_on_real_home] for the stores this process would open. Called before the startup count of pending migrations, which opens the shared store like any other writer.