mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 12:42:38 +00:00
a561f56a2a
Design note + implementation plan for splitting the 5h maintenance-sweep "Failed" bucket into three states. Evidence (crcins.com, 90d): 90.7% of "failures" are 5h inactivity timeouts with no explicit failure event; 99.1% of those had DeviceSetup fully provisioned (device enrolled) and simply had the agent go silent during the user/Account-Setup phase. True failure rate ~4-5%, not 57.2%. Proposal (backend + stats only, no agent change / no heartbeat): - add AwaitingUser (non-terminal) + Incomplete (terminal, non-failure) states - classify timed-out sessions from the ESP subcategory rollup the agent already emits (gate on subcategories, not the unreliable categorySucceeded) - passive grace window owned by the backend; reconcile late completions to Succeeded; exclude Incomplete from the failure-rate denominator