Skip to content

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

refactor(doctor): drop dead GROUP_HEADERS after audit-render rewrite

Matt Van Horned49713e4dbd
diff --git a/skills/last30days/scripts/lib/doctor.py b/skills/last30days/scripts/lib/doctor.py
index f1c2ca8f..69280514 100644
--- a/skills/last30days/scripts/lib/doctor.py
+++ b/skills/last30days/scripts/lib/doctor.py
@@ -72,15 +72,10 @@ TIER_BY_STATUS: Dict[str, str] = {
health.ERROR: TIER_ERROR,
}
+# Tier -> glyph, still used by the cached-report shape validator to confirm a
+# record carries a known tier. The user-facing render uses AUDIT_GLYPHS below.
GLYPHS = {TIER_OK: "✓", TIER_WARN: "!", TIER_OFF: "○", TIER_ERROR: "✗"}
-GROUP_HEADERS = (
- (TIER_OK, "Ready"),
- (TIER_WARN, "Degraded"),
- (TIER_OFF, "Off"),
- (TIER_ERROR, "Errors"),
-)
-
# Four-state audit (R1). A presentation layer derived from the tier rollup +
# last-run evidence + optional live probe - it augments the per-source records,
# it does not replace them (the tier/status fields stay in the record and JSON).