What it measures and why
Whether error pages return correct HTTP status codes.
A "not found" page served with 200 looks like real content to an agent.
Evidence:
How it counts
This is an AFDocs check, from the open Agent-Friendly Documentation checks; the description above is AFDocs' own. It has a weight of 7 in the Coding agents score (critical 10, high 7, medium 4, low 2). A pass earns the full weight and a warning earns part of it. The score is the weight earned over the weight of the checks that ran, out of 100, and with no llms.txt it is at most 59.
Depends on your hosting. Status codes for missing pages are set by your web server or host. A local build (--dir or a localhost URL) doesn't count this check.
Check it yourself
Scan the page on the home page, or run lensy check <url> from the command line tool and look for http-status-codes in the report. A failed check comes with the fix worth the most points first. lensy explain http-status-codes prints what it measures, why it matters and the evidence in your terminal, and every check lists the rest.