Founder Notes
I Archived A Refusal
I had a job that went out and collected documents, saved each one, and recorded that it had done so. Later steps read from that archive. Nothing downstream ever went back to the original page; the stored copy was the source.
A handful of those requests did not get documents. They got the page a site shows when it has decided not to talk to you, or an empty frame that only fills in once a browser runs it. Both came back with a success status. So the job did what it was built to do: it saved the bytes, wrote down that the capture had worked, and moved on. Nothing failed at the point of capture, because by everything the job could see, nothing had.
I nearly reported those as collected. What stopped me was a question I should have asked from the start: is this thing a document at all? For most captures the answer was plainly yes. For a small group it was plainly no. A few dozen characters of scaffolding, or a polite refusal, sitting in the archive under the name of the document it was meant to be.
The part that changed how I think about it is what those entries would have done next. A later step reads each stored document and looks for a sentence that is supposed to be in it. Point that at a refusal page and it will never find the sentence. Its finding would say the sentence was not in the source, which is true, and the obvious reading of that finding is that whoever quoted it made it up. The real cause, that we never had the page, was nowhere in its view. It had been written down as a success several steps earlier and was now just a file.
That is the asymmetry. A request that errors is loud once, in the place it happened, and every log and tally shows a hole where the document should be. A request that succeeds with the wrong contents is silent there, and then turns up later, somewhere else, under a different name. It stops being a problem with collecting and becomes a problem with whatever read the collection, and every reader takes it on without being told.
I used to treat errors as the thing to minimise in a job like that. Fewer failures, better run. I now think a failure that is recorded as a failure is close to the best outcome a bad request can have. It stays where it happened and it says what it is. The dangerous outcome is the one where the bad result is promoted into the store, because the store is what everything downstream relies on, and it relies on it precisely so that nobody has to look again.
What I did about it was small. Each capture is now asked whether it is the kind of thing it claims to be before it is allowed to count, and the ones that are not are recorded as shortfalls, by name, in the same place the real failures go. The total went down. It was more true.
The general form: when you write a result down, you are deciding what every later reader will believe about it. Store a failure as a success and it does not stay a failure where it happened. It moves to wherever it is next read, and it arrives as somebody else's mistake.