mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 20:53:06 +00:00
020248fbda
IME re-runs remediation policies on its own schedule for as long as the device is up, so an enrollment that waits for its user reported every run of every policy. The tracker now emits a policy's first run and every run whose result differs from the last reported one (compliance, exit code, stderr, remediation status, error code); repeats are counted and surface as one script_recurrence_summary per policy when the tracker stops. The start signal of a known policy is held until its result is known, because the running indicators pair a start with a later result; a start without any result is still emitted after a grace. The counters live in the tracker state file next to the file positions, so a hard kill rolls both back together. Platform scripts are untouched. The summary does not count as enrollment activity. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>