Telling records not yet received from records that don’t exist
While records arrive in parts, one that hasn’t arrived yet can look like one that doesn’t exist. To tell them apart, the app now starts only after it has read all of the account’s records.
While records were being received from the server in pieces, the screen showed only what had arrived, and buttons could still be pressed. If the app treats a record it hasn't received yet as nonexistent, the user's action starts from a wrong fact. “None” and “don't know yet” aren't the same thing just because both look empty on screen.
So we made Whole, the proof that one account's records have all been read once, into a type. Without this proof, the app doesn't start. Instead of a person marking it as read, the proof can be made only after the records have really been read. We deleted the function that could make the proof just by being handed an empty list, because we can't tell whether an empty list means “truly none” or “not read yet.”
How much did the type prove?
The compiler now stops other modules from making this proof. But the independent audit found ten paths where the proof doesn't guarantee all the data it actually relies on. A proof that can't be forged is different from a proof that holds every fact it's needed for.
We also checked the judgments made in review again with replay. One made us accept an action tapped on an old screen, and another blocked deleting a set, which people can do in the released app. Both were wrong, so we reverted them. Even when we ran the full replay three times, each run turned up new differences in different orders. That's why one pass doesn't mean we're done.
Written from that day’s point of view, using the documents and change history of the time. Published 2026.12.01.
