Define the recovery target before accepting a rebuilt index

A fresh index can agree with the wrong historical data. Hesela replayed the existing token-normalization, checksum-collision and maintenance cases under one explicit contract: preserve the original identifier-to-text mapping and match every stored token instance to a separate index of the current rows. Both measured SQLite builds, 3.45.1 and 3.53.1, produced the same comparison results.

Of 59 dependent states from 17 deliberately chosen cases per build, 13 passed PRAGMA integrity_check, the internal FTS5 check and the external rank=1 check while failing that contract. Seven rebuilt states matched the current text but not the original mapping. These are counterexamples, not estimates of failure frequency.

Keep the historical baseline separate from the repair target. Rebuilding a search index can restore present consistency without recovering a lost minus sign or an earlier document ID. A manifest created after the change cannot establish what existed before it. The demonstrator uses known fixture inputs and a fresh index in the same SQLite engine; it is not an independent implementation or a general-purpose database certification tool.