Auto-deploy pipeline, AI-powered bug triage, health monitoring, test suite, security layer, and 3 AI agent skills for status checks, incident response, and deploy management. The systems that keep production running without a dedicated ops team.
Push to main auto-deploys frontend (Render static CDN) and backend (Render web service). Feature branches deploy to staging environments. Database migrations run automatically on deploy. Zero manual intervention.
Render
Git push
Auto-migrate
Auto-seed
Autonomous Node.js agent polls GitHub issues hourly via macOS launchd. Spawns Claude Code instances (Agent SDK) to investigate bug reports โ reads codebase, traces errors, creates fix branches + draft PRs for valid bugs, comments and closes invalid ones. POSTs results to server for email notifications.
Claude Agent SDK
launchd
GitHub API
DRY_RUN mode
4-state health machine: healthy โ suspicious โ down โ recovering. Heartbeat polling (60s healthy, 5s suspicious), exponential backoff (2sโ30s when down), recovery requires 3 consecutive successes. Admin-toggled (default OFF). Fixed overlay preserves app tree state.
State Machine
Admin Toggle
Exponential Backoff
789+ tests across frontend (Vitest/jsdom) and backend (supertest). Covers lesson JSON validation, interactive components, palette utilities, hooks, forum endpoints, admin API, auth flows. Run before every deploy.
Vitest
supertest
jsdom
789+ tests
Multi-layer security: prompt injection guards (sanitizeForPrompt), HTML sanitization, content moderation (profanity + link spam via moderateContent), CSS color validation, input size limits via Zod, XML delimiter wrapping for AI inputs.
Zod
sanitizeForPrompt
moderateContent
HTML sanitizer
Quick 10-second production health probe. Curls API, frontend, and DB endpoints in parallel. Checks last deploy status and recent error count. Traffic light verdict: green/yellow/red.
/devops-status
--full
Render MCP
Traces production errors from Render logs through the codebase to root cause. Classifies severity (critical/high/medium), identifies the breaking commit, proposes or implements fixes on a feature branch.
/devops-incident
--fix
--dry-run
Pre-deploy safety checklist (tests, migrations, env vars, breaking changes), post-deploy health verification, deploy history, and rollback guidance. The safety net before pushing to main.
/devops-deploy
check | verify | rollback
history
Roadmap
3 AI skills active. Next: Sentry error monitoring integration, external uptime probes with status page, automated incident runbooks.