ops: v20r1 monitor [3] widen heartbeat window past stale-metadata storm

This commit is contained in:
codex
2026-08-26 22:06:57 +02:00
parent 80bb60f24b
commit 36009fcd91

View File

@@ -28,8 +28,10 @@ ps -p "$PID_WRAPPER","$PID_KERNEL" -o pid,ppid,stat,etime,args 2>/dev/null || ec
echo "[2] EXCLUSIVE-WRITER LEASE (${LEASE})"
ls -la "$LEASE" 2>/dev/null && cat "$LEASE" 2>/dev/null || echo " !! lease file absent"
echo "[3] HEARTBEAT (runner.log tail — TPSL ticker + latest BAR; stale-metadata noise excluded here, surfaced in [6])"
tail -n 12 "$LOG" 2>/dev/null | grep -vE "RuntimeWarning|stddev|warnings.warn|c /= stddev|numpy|stale.*metadata" || echo " (log unreadable)"
echo "[3] HEARTBEAT (runner.log tail — TPSL ticker + latest BAR; stale-metadata noise excluded, surfaced in [6])"
# Sample a wide window then strip the per-200ms stale-metadata spam so the real
# heartbeat/TBAR lines survive even during the current steady-state warning storm.
tail -n 80 "$LOG" 2>/dev/null | grep -vE "RuntimeWarning|stddev|warnings.warn|c /= stddev|numpy|stale.*metadata" | tail -n 12 || echo " (log unreadable)"
echo "[4] FORCE_ENGAGE cadence (synthetic SHORT firehose)"
printf ' synthetic-enter log lines: '; grep -c "FORCE_ENGAGE: SYNTHETIC ENTER" "$LOG" 2>/dev/null || echo 0