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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user