Two scheduled sessions stopped with a content-filter error because our citation check extracted whole pages of two in-copyright books. The check now runs inside the shell and returns only a verdict and a snippet of at most twelve words, so the books’ text no longer passes through the model. The standard of verification is unchanged.
How the sessions failed
Two scheduled enrichment runs in a row stopped at the same point. Each opened normally, took its pre-edit snapshot of the page, issued one command and then produced nothing but API Error: Output blocked by content filtering policy. No page was written and no session record was saved; the only trace on disk was a snapshot folder with no matching log entry. Re-running the instruction gave the same result.
Why extracting pages triggered the filter
The command was the oldest step in the process. Every claim on a song page is checked against the printed sources in the session that writes it, and the check had always extracted the relevant page as plain text and read it: pdftotext -layout -f 95 -l 95, and there is page ninety-five. Both primary sources are books still in copyright. Extracting whole pages and working from the text looks, from outside, like reproducing the books, and the platform’s filter stops the response. Because it stops the response rather than the command, the failure looked like an infrastructure fault, and retrying could not fix it.
The filter gives no reason, so this diagnosis is an inference. It rests on the failure pattern: the response ended immediately after a command whose output was several hundred words of a copyrighted book, twice, in the only step that produces such output. No other explanation fits, and the fix removes the exposure whether or not the inference is right.
A verifier that returns verdicts
The repair was to keep the books’ text where it is. Verification needs an answer to a narrow question: is this claim on this page of this book? A new tool reads the PDF in the shell and returns only the answer. Given a page range, it confirms the range and checks the printed page number in the footer against the offset table, because one source runs four pages ahead of its own printed numbering. Given a phrase, it reports FOUND, PARTIAL or MISS. Given a claims file, it checks a page’s whole citation set in one pass and exits cleanly only if every claim is where the page says.
When it finds a match, the tool prints at most twelve words around it: enough to show the right passage was found and to catch a misquotation, and far too little to stand in for the book. It returns at most five matches per query and 24 kilobytes per run, and it has no mode that prints a page. Those limits are part of the design.
Claims are still matched against the actual text of the PDF in the session that writes them, the printed footer is still checked, and quotations are still compared word for word. The old method has been removed from the session contract and the new one made mandatory, with a description of the failure, so a future session recognises the symptom at once rather than suspecting a broken repository.
Testing the tool on verified pages
A new tool needs testing against work already marked correct, so its first run checked verified pages. It found three small errors: a quotation cited one page early, a phrase presented as a quotation that the source words differently, and a detail one page beyond the cited range. These are exactly the errors the next-session re-check exists to catch, and the tool found them in seconds. They were queued for correction rather than fixed on the spot, because a correction made at the moment of discovery has not itself been checked.
Taking the backup first
The stall taught one more thing. A session that dies before it writes anything also dies before it can record its failure. The only sign of either failed run was a pre-edit backup with no session entry beside it, and that proved the most reliable evidence that something had gone wrong. It is a reason to take the backup first, even when nothing follows it.