Expand description
Short id injectivity: the one-time scan and repair.
Releases before v1.8.3 could mint two short ids for one identity, leaving stale reverse rows in both families, ghost entries in a few compressed states, and auth chains cached from both allocations. The migration measures that residue, repairs what matches the shapes it handles, and marks itself complete like any other. Every release through v1.8.3 also memoized auth chains truncated at a missing ancestor, which no scan tells from a whole one, so the cache is discarded once on a marker of its own.
Modulesยง
Constantsยง
- PASSES ๐
- Scan passes one boot allows before giving up on convergence.
Staticsยง
- CLEAR_
MARKER ๐ - Global marker recording the one-time auth chain cache clear.
- MARKER ๐
- Global marker recording the repair ran to completion.
Functionsยง
- clear_
chain_ ๐cache - Discards auth chains cached before walk completeness was enforced.
- clear_
chains ๐ - Deletes every auth chain cache row under one cork.
- fix ๐
- Runs the one-time chain cache clear, then the injectivity scan, heal,
and repair behind
MARKER. - mark_
clean ๐ - Stamps both markers on a fresh database.