Expand description
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.
Written to the same file the host keeps (agentmux_common::incidents)
before the replacement starts, so its first window lists the incident and
shows its notice; after a give-up, the next start does. Each did line is
something this path did.
Enums§
- Gave
UpOn - Which process a give-up was about.
- SrvStop
- Why srv stopped before the launcher started it again.
Constants§
Statics§
- PATH 🔒
Functions§
- crash_
give_ up - The launcher stopped trying:
whatkept stopping,restartstimes withinwindow_secs. - exit_
cause - Why a process exited, from its exit code: the Windows faults AgentMux sees
in words, any other code as it is.
Nonefor a plain failure exit (1), which says nothing. - host_
restarted - The window process stopped and the launcher started it again; with
safe_mode, without graphics acceleration, because it stopped the same way twice in a row. - host_
restarted_ low_ memory - The window process stopped because the computer ran out of memory, and the launcher started it again once memory was back, without graphics acceleration.
- init
- Start recording in
data_dir, the folder the host records in too. - memory_
give_ up - The launcher stopped trying: the computer stayed out of memory.
- record
- Record
incident(built by one of the functions below). Best-effort: a failure is logged, never raised, since the callers are recovery paths. - srv_
restarted - srv stopped and the launcher started it again (then the window, which was connected to the old one).