Windowed module protocol: every op admitted inside a 3.4s window after the firmware's observed temp poll (cadence 3.5-4.2s measured, stuck-at-last-fetch stale mechanism proven and avoided), acquire/window with panic on dead heartbeat; noise column shows green on/off cycle phase, cable-missing state unchanged

This commit is contained in:
flamingcow
2026-08-13 14:04:16 -07:00
parent d81594ffbf
commit a9f10d3055
8 changed files with 104 additions and 48 deletions
+12
View File
@@ -304,6 +304,18 @@ func correctedFlag(v uint64) string {
return paint("warn", cYellow)
}
// Green either way while the cable is present — the cycle's phase is state,
// not health. Red stays what it was: the cable missing.
func noiseCell(nv noiseView) string {
switch {
case nv.missing > 0:
return paint("ERR", cRed)
case nv.on:
return paint("on", cGreen)
}
return paint("off", cGreen)
}
// Per-interval rates jitter by a couple of percent at line rate, so green has
// to cover that. Yellow means a real shortfall, red means badly off.
const (