In five additional one-row controls on SQLite 3.45.1, changing
balance -5 USD to balance 5 USD left the external-content
check with rank=1 passing. The exact UTF-8 body changed, but
unicode61 produced the same token instances. Removing the accent
from café also passed. Changing a token or reversing two words was rejected
with SQLITE_CORRUPT_VTAB (267), so the external comparison was active.
With detail=full, the pinned implementation compares a representation
that includes token positions, not original character offsets.
[15] A completed backup preserved each changed body
and its observed index state. Rebuilding the destination restored current-content
index agreement in the rejecting controls but did not restore the original minus
sign. These are in-memory, single-writer controls, not storage-durability tests
or a newly discovered SQLite defect.
Our recovery recommendation is to test current index agreement and historical content preservation separately. Keep a trusted prior byte or semantic reference with an explicit encoding and scope. A search index can represent its current document correctly even when an unwanted edit has changed that document's meaning.