What problem does it solve?
It prevents overnight failures in the Thompson Family Management (TBM) system from going unnoticed by running an automated daily check that audits the repo, verifies the live smoke endpoint, and detects error-log growth or deployed-version drift.
Core Features & Use Cases
- Automated daily repo audit: Runs a static audit (
audit-source.sh) and surfaces FAIL/WARN signals for early correction.
- Endpoint smoke testing with retries: Calls the live GAS endpoint (
?action=runTests) and distinguishes production downtime (non-200) from intermittent endpoint issues (timeouts/empty responses).
- Operational monitoring signals: Scans the last 24 hours of ErrorLog entries and compares deployed versions (from
?action=version) against git HEAD to detect version drift.
- Actionable alerting: Sends a single Pushover summary with severity tuned to audit/smoke results and error-log thresholds.
Quick Start
Tell the morning-health-check skill to run the daily 6am TBM health check that pulls main, audits the source, performs the runTests smoke call with retries, scans ErrorLog for the last 24 hours, and reports audit/smoke/errorlog/version-drift status via Pushover.