The recoveries only the launcher sees, kept for the user
(docs/specs/SPEC_RECOVERY_NOTICES_AND_TOASTS_2026_10_16.md ยง4.4, Phase C):
the window process restarted after it stopped, with or without graphics
acceleration; the background service restarted; and AgentMux giving up.
agentmux.exe --configure-lan-firewall and --remove-lan-firewall: the one elevated step that lets other computers
reach AgentMux on Windows (docs/specs/SPEC_LAN_FIREWALL_SETUP_2026_10_01.md 4.1).
A deep link the operating system started the launcher with: a person clicked agentmux://โฆ in a web page, a mail
or a chat (docs/specs/SPEC_DEEP_LINKS_ONE_FRAMEWORK_2026_11_20.md R18, G4e; build 4). It is taken out of the
arguments the host gets, and handed over once:
โDisable the splashโ preference, resolved by the launcher before it spawns
the splash (and before the host/srv exist), per
SPEC_SPLASH_USERINFO_AND_DISABLE_2026_06_21.md ยง6.
Shared startup-splash timeline logic: the row model, event application
with same-tick count-up deferral, a frozen-row finalizer, duration
formatting, and total/other reconciliation โ used identically by all
three platform splash renderers (splash.rs Windows, splash_mac.rs
macOS, splash_linux/ Linux).
Identity shown in the splash footer: user@host and v<version> (+ a dev
label on non-stable builds). Gathered once in the launcher and handed to each
platformโs splash backend, so the three render identical content.
Software text blitter for the splash footer โ shared by the Linux software
buffers (splash_linux) and the Win32 layered-window DIB (splash.rs).
macOS uses native NSTextField instead, so it does not use this module.
Platform host-supervision loops. The Windows and Unix supervisors are
fully #[cfg]-gated in separate files; only the flow spine
(launcher_main) lives at the crate root.
The โUpdating to โ window of an in-app upgrade that has to stop the running launcher first: a
setup.exe install on Windows, a .dmg install on macOS.
quiesce_srv: the launcherโs one way of stopping srv, used on every
quit by both supervisors and on โUpgrade & restartโ. It returns only once
the OS has genuinely reaped the process (Child::wait()โs own contract),
never after a fixed sleep: data must never change while a srv may still
hold it (341faa981โs data-loss incident).
The Linux side of โUpgrade & restartโ
(docs/specs/SPEC_UPGRADE_FOR_USERS_AND_AGENTS_2026_10_15.md ยง4.2, phase
3e), for upgrade_restart: checking what srv names to start (a portableโs
AgentMux/agentmux.sh, or an AppImage), asking the user with zenity or
kdialog, and what the new version must not inherit.
The macOS side of โUpgrade & restartโ
(docs/specs/SPEC_UPGRADE_FOR_USERS_AND_AGENTS_2026_10_15.md ยง4.2, phase
3c), for upgrade_restart: checking the .dmg srv downloaded and verified,
asking the user with a native dialog (osascript), and the script that
replaces AgentMux.app once this launcher has exited.
The launcherโs half of upgrading a .deb or .rpm install from the app
(docs/specs/SPEC_LINUX_PACKAGE_UPGRADE_AND_REPOSITORY_2026_10_24.md ยง3.1,
phase 3g-1).
โUpgrade & restartโ (docs/specs/SPEC_UPGRADE_FOR_USERS_AND_AGENTS_2026_10_15.md
ยง4.1, phases 3b, 3c and 3d): restart a Windows portable into the newer
release srv downloaded, verified and unpacked next to it, run the newer
releaseโs installer on a setup.exe install, or replace a macOS
AgentMux.app from the releaseโs .dmg (upgrade_macos;
backend/update/download.rs).
Process entry point. suppress_os_crash_dialogs() runs FIRST โ before the
Tokio runtime is built. The runtime is built explicitly here (rather than
via #[tokio::main], whose generated wrapper would construct it before any
of our code runs) so a fault during runtime construction canโt surface the
Windows crash modal either. Spec:
docs/specs/SPEC_SERVICE_SUPERVISION_AND_RECOVERY_2026_05_20.md.
The fake stages --splash-selftest plays into the splash (prep, migrations with two sub-rows, backend), on the
calling thread, with the pauses a real start has. The macOS branch adds the host stage after it.
--splash-selftest: show the splash with no srv/host behind it, hold it for a
few seconds (or AGENTMUX_SPLASH_HOLD_MS), then exit. A demo/dev affordance
for eyeballing the footer + centering without launching the whole app.