Build uptime monitoring whose first design rule is that it must not share fate with what it watches. Stack: your choice, SQLite is enough, Docker Compose. The README must open with the deployment rule: run this on a different provider, in a different region, from the infrastructure it monitors, and say why. Checks: HTTP with an expected status and optional body match, TCP port, DNS record resolving to an expected value, TLS certificate expiry in days, and a heartbeat endpoint for cron jobs that alerts when a job does not check in on time. Run each on its interval, store every result with the response time, and require N consecutive failures before an incident opens — configurable per check, defaulting to two, because one failure is usually the network. Incidents: open on the failure threshold, close on recovery, storing start, end and every result in between. Compute uptime percentage from incidents rather than from the raw sample count, which is what makes a monthly figure defensible. Alerting, with an escalation policy: first notification to a webhook, and after M minutes still failing, escalate to SMS through a provider whose credentials you supply. Send a recovery notification always. Deduplicate so one incident sends one alert per channel per escalation step, and log every delivery attempt with the provider's response — an alert you believe was sent and was not is the worst possible failure of this tool. Self-check: the monitor pings its own heartbeat to an external free service, so the thing watching everything is itself watched. Say in the README that this is not optional. Status page: static output regenerated after each check, published to hosting separate from both the monitor and the monitored site. Show 90 days of daily status, current state, and open incidents with a timeline. Maintenance windows suppress alerts but still record results, marked as such, so the uptime figure can be computed either way. Write tests for the consecutive-failure threshold, for uptime computed across an incident spanning midnight, for alert deduplication, and for maintenance windows suppressing notification but not recording. Do not build real user monitoring or a browser-recorded transaction editor.