cultcache-ts: a load and an index registration name the least violation of the resulting state #103
Loading…
Reference in a new issue
No description provided.
Delete branch "hands/variants-pair-order-ts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TS side of variants:cut_spec:cut-pair-order-ts.r1. A load and an index registration name the least violation of the state they would leave (RULE: variants❓unique-index-refusal-pair-rule, option least-pair), by UTF-16 code unit.
refuseLeastIndexSharingin cult-cache.ts, used bypullAllBackingStores(once, over the would-be state, before the swap) and#deriveTypeLookups(registerIndex / registerNameLookup). The per-record judge no longer runs on the load path; a single put keeps it (#writeNow). The first-group throw in#deriveTypeLookupsis gone.vectors refusals.msgpack: every row TS can performwalks the 18 rows TS can perform (5, 8-13, 19-22, 24, 25, 27, 29, 31-33; no batch commit) and asserts 18. Two superseded tests deleted (text-informational verdict parity; key order carried by row 5).Verification: unique-index.test.js 21/21; whole package 202 pass, 4 skipped, 1 fail (browser-entry: esbuild reads an empty /var/lib/mind-libby-self/package.json up-tree, a Self-seat artifact unrelated to this diff). Row 8 fails at origin/main. Hand mutants (localeCompare keys/alias, code-point keys, first-found, greatest, alias ignored, case-insensitive holders, unsorted keys): 8/8 killed.
Round 2: 12 hand mutants (case-insensitive holders, group without type, value lowercase/trim/NFC/NFKC, holder NFC, key sort NFD, alias order desc/case-fold/code-point, case-insensitive held-key exclusion): 10 killed by named rows; 2 survive (key sort by NFD; alias order by code point), both equivalent on the vector's data.
🤖 Generated with Claude Code