pub fn lock_dir() -> Option<PathBuf>
~/.agentmux/shared/locks/build, the lock’s own folder, or AGENTMUX_BUILD_SLOT_DIR when that is set (the script honours it too).
~/.agentmux/shared/locks/build
AGENTMUX_BUILD_SLOT_DIR