Skip to main content

note_interrupted

Function note_interrupted 

Source
pub fn note_interrupted(data_dir: &Path, agents: u32, restart_id: Option<&str>)
Expand description

Tell the user how many agents scan_orphans found, in the notice the launcher writes for the restart that started this srv (restart_id, from agentmux_common::incidents::RESTART_ID_ENV; SPEC_RECOVERY_NOTICES_AND_TOASTS_2026_10_16.md §4.4). Nothing is written for none, or for a start the launcher didn’t make as a restart (a cold start has no id, and its count would belong to no notice): the launcher’s own words then stand. Best-effort, like every incident write.