JOY Automart's autonomous Chief Technology Officer. ABD watches every container, every API endpoint, every database query. When latency creeps above 200 ms, ABD investigates. When an endpoint regresses, ABD raises a JOYADH-grade alert. When the build hash drifts, ABD pages the founder.
99.99% uptime. Zero silent regressions. Every deploy automatically health-checked. Every outage post-mortemed before the founder logs in.
Every /api/* endpoint polled every 60s. Latency percentiles tracked. Anomaly detection on p95/p99.
Frontend joyBuild · meta tag · backend BUILD_HASH compared every minute. Drift triggers immediate alert.
Outage detected → ABD pulls last 50 log lines, last 10 commits, last 3 deploys. Writes a draft PM to JOYADH.
Mongo slow-log harvester. Surfaces the top 5 slow queries weekly with recommended index.
Pip/yarn lockfile diff vs deployed. Flags accidental version bumps.
Headless cart-flow probe every 5 min. Failure = P0.
ABD catches the slow query before it's a P0. Catches the typo'd env var before it ships. Catches the runaway background task before it eats RAM. The founder learns about an outage by reading ABD's post-mortem — not by the customer phone call.
ABD diagnoses, alerts, and post-mortems. It does NOT push a fix. Patches still flow through the human founder + the AI coding agent. By design — code changes need eyes.
| Layer | Tech | Purpose |
|---|---|---|
| Probes | FastAPI background task · async httpx · 60s cadence | Continuous endpoint + latency sampling |
| Telemetry store | MongoDB capped collection (db.abd_telemetry) | Rolling 7-day metric window for fast aggregation |
| Alert router | Resend · Slack webhook · WhatsApp Business | Multi-channel alert dispatch on anomaly |
| Post-mortem AI | Claude Opus 4.8 + reportlab | Generates incident report PDF |