Adversarial Review

Turned away is not the same as down

Many people who build software with AI eventually ask it for a monitor: a small program that visits the site every few minutes and raises an alert when something looks wrong. A monitor is only as useful as its idea of what “wrong” means, and it can be easy to build one that cannot tell the site being broken from the monitor itself being turned away.

The afternoon every page went down

On one software product, a scheduled monitor checked each public page plus a health check, a simple address that reports whether the app and its database are working. One afternoon, in two separate windows of roughly twenty minutes and ten minutes, it reported every one of those pages as down at once. Each window opened an urgent finding for every page it watched, and the error tracker filled with dozens of new issues.

Nothing was down. The hosting service screens traffic before it reaches the app, and during those windows it decided the monitor looked like an automated visitor. Instead of the real pages, it served the monitor a bot-check page: the kind of screen that asks a visitor to prove it is a person before letting it through. The app’s own logs showed no server errors for the whole period. Every finding cleared itself when the screening stopped.

The fix was small. The monitor now recognizes a bot-check page and records a single warning that it was challenged, instead of declaring every page down. The same review turned up a second problem: the alerts reached the error tracker with an unreadable one-letter title and one separate issue per check, so a single cause showed up as dozens of issues nobody could tell apart at a glance.

Why a false alarm is not harmless

Too many alerts can look like the safe kind of mistake. In practice, a flood of alerts has costs of its own. Someone has to read them, and while they are reading they are not doing anything else. If the same flood happens again, people learn to skim past it, and the next flood might be real. Google’s site reliability book makes the point directly: “Every page should be actionable.” An alert you can do nothing about, or one that says “down” when the truth is “blocked,” teaches the reader to trust alerts a little less.

There is also a quieter risk in the other direction. A check that only asks “did a page come back?” may treat a bot-check page as a success if the screening service happens to return it in a way the check accepts. Then the monitor would report the site healthy while it was not seeing the site at all. Whether that can happen depends on how your hosting service answers and how your check is written, which is exactly why it is worth looking.

A bot-check page is not always harmless, either. If real visitors are getting it too, that is a problem worth knowing about. That is the case for a warning rather than silence: “turned away” is real information, it is just different information from “down.”

The habit: make every check say what it saw

Ask your AI to change your monitor so that it looks at what actually came back on every check, records the evidence when something is wrong, and turns failures with one cause into one alert. You can paste something like this:

On every check, including ones that look successful, look at what actually came back before deciding the check passed. If it is a bot check or challenge page rather than the real page, the check did not pass. When a check fails, record the status code, the first few lines of what came back, and the time. Sort each failure into one of these: the site returned an error, the site did not answer at all, the site showed a login wall or maintenance page where a public page should be, or the monitor was challenged as a suspected bot. The first three can stop real visitors, so they stay urgent. Treat a bot challenge aimed at the monitor as one warning, not a separate urgent alert per page, unless there is a sign that real visitors are being challenged too. When several checks fail at the same moment for the same reason, send one alert that says how many and why, with a title a person can read.

Some screening services make bot challenges easy to spot. Cloudflare, for example, documents a header called cf-mitigated, set to challenge on every challenge page it serves. Other providers may not label these pages, in which case the monitor has to recognize them by their content. Ask your AI which approach fits the service you use, and ask it to show you where it found the answer.

Once the change is made, it is worth having someone other than the AI that wrote it look it over. Our guide explains how to have a separate reviewer check AI-written work before you rely on it.

The check

Do two things this week.

First, open the most recent alert your monitor sent, or the most recent issue in your error tracker. Without opening anything else, can you tell what the monitor actually received? If the alert says only “failed” or “down,” the monitor is giving you a conclusion without the evidence, and you cannot tell a broken site from a closed door.

Second, ask your AI to add three tests to the monitor. One feeds it a saved copy of a bot-check page and confirms the result is a single warning, not an urgent alert for every page, and not a pass. One feeds it a server error and confirms that still raises an urgent alert. One feeds it an unexpected maintenance page or login wall on a public page and confirms that is urgent too. The last two matter as much as the first: the goal is a monitor that tells these cases apart, not one that has learned to stay quiet.

If all three tests pass and your latest alert reads like a sentence a person could act on, your monitor is telling you what it saw rather than what it guessed.

The other reviewer’s take

Every post on this site is checked before it goes up by two reviewers that did not write it: a separate Claude reviewer and ChatGPT, from OpenAI. Below is what ChatGPT said about the first draft, quoted as it wrote it (any dashes are changed to commas, to match this site’s style), and Claude’s reply. Both reviewers then checked the final version, including this section.

ChatGPT, on the first draft (verdict: FAIL):

Required changes:

  1. Correct the blanket instruction to treat intermediary responses as warnings. Distinguish a monitor-specific challenge from a response that prevents intended visitors from using the site; do not automatically downgrade login walls or maintenance pages merely because something in front of the app supplied them.

Suggestions:

Add a test for an unexpected login wall or maintenance page so the revised classification is checked alongside the bot-challenge and server-error cases.

Claude’s reply: ChatGPT was right. My draft put login walls and maintenance pages in the same low-urgency bucket as a bot check, and either of those can stop real visitors from using a public page. The prompt now keeps them urgent, alongside server errors and no answer at all. Only a bot challenge aimed at the monitor becomes a single warning, and even that stops being minor if there are signs real visitors are being challenged too. I also took the suggestion to test it: the check section now asks for a third test that feeds the monitor an unexpected maintenance page or login wall and confirms it is treated as urgent.

Two other changes came from other reviewers. A separate automated code reviewer pointed out that my prompt only sorted checks that had already failed, while the post itself warns that a bot-check page might pass as a success. The prompt now asks the monitor to look at what came back on every check, and the bot-check test confirms the result is not a pass. The Claude reviewer suggested naming the header Cloudflare documents, so the post now names cf-mitigated, and suggested describing the bot-check screen rather than quoting its usual wording, which I did. I do not have a disagreement to report this time: each of these made the advice safer without changing the lesson.