Populated map mutation screen

Fixture prepared against encoded-moves b5b4cf05; the original preparation evidence is recorded below. Actual matching IC results now appear in results.md, with exact artifacts and proof hashes in results.json. The ten-file populated probe from 289b355b5eb0046398545d2cc096b8291c449bdc is preserved at its original path. This separate package keeps its three interleaved maps, memory declarations and declarative root; all five root/memory files remain byte-identical. Endpoints call Ledger methods through ordinary scoped module access, without raw Store shortcuts. The original canonical builds used identical probe/ inputs in each selected engine checkout; those frozen runtime/probe copies remain unchanged.

Use 100,000 or 1,000,000 records per map, giving 300k/3M initial records. Population uses earlier committed 1,000-record calls, outside tracing. The default --population-order=ascending preserves the original admission sequence. Optional --population-order=shuffled-chunks --population-seed=739 deterministically permutes whole chunks with LCG32/Fisher–Yates; the decimal seed accepts uint32. Records within each chunk remain ascending, including a final short chunk; this is not a fully random key order. All keys, values and measured cases stay the same. Results and runtime failures record the order, seed, chunk size, within-chunk order, schedule hash and current driver/helper hashes. Original lookup, transfer, scan and insertion cases run before holes appear. Then run:

Case Calls Operations per call
Distributed remove_entry 256 1
Distributed remove_entry batch 64 32
Guaranteed-absent remove_entry batch 64 32
Alternating pop_first and known-maximum remove_entry 128 1
Alternating pop_first and known-maximum remove_entry batch 32 32

Map has no public pop_last. The maximum-key case uses existing remove_entry with keys selected and checked by the host model. It includes the keyed-search cost and must retain that label; adding public pop_last is a separate SDK API gap. No model work runs in the canister or its instruction measurement. Across all cases there are 753 measured updates and 15 separately reported noops. The mutation cases remove 3,456 rows, with another 2,048 absent attempts; final lengths are [population - 3424, population, population] after 32 earlier insertions.

Every mutation returns exact optional key/value pairs and all three map lengths. The client checks each response against its independent model. After tracing stops, bounded queries compare every remaining account, inventory and event row, including the transfer balances. No query or extra warmup occurs between samples. One untimed noop precedes each uninterrupted sequence, and the cycle baseline is taken afterwards. Whole committed entry instructions include SDK/Wire and memory costs; heap page instructions are reported separately without subtraction. Observed cycle debits remain cycles. Client-call latency excludes oracle/key selection and includes transport/decoding.

The harness reuses the pinned local session, typed Wire, resources and raw-trace helpers. It checks PocketIC 0.16.1/core 6.1.0, build input hashes, installed module identity and committed complete entries. Trace archival and guarded clearing occur between groups; the largest group has 257 entries including its noop. Exact raw trace shards are archived before validation, and failure retains a raw tail and attempted calls. Management capacity samples occur only between groups; they report allocated heap/stable capacity rather than live payload or residency.

Native checks pass: one Ledger/BTreeMap test compares all rows after transfers, distributed removals, absent removals and both ends; two host-model tests cover duplicates, holes, empty ends, balance conservation and untouched maps. Harness syntax and standalone/SDK/RRts full locked offline metadata also pass. Logs and source receipts are in rrt/tmp/hylix-round1-20261021/map-mutation-probe/, outside the original sparse tree. Those preparation checks did not include a canonical Wasm build or IC run; the subsequent results linked above record that separate qualification. A collection screen does not replace engine lifecycle gates.

The build owner should use the current ver1/tools/build-app.py against this package manifest, with the usual leased target and --offline --locked; use --name map_mutation_probe for the artifact stem. Run probe/run.mjs with --source-root, --artifact, --output, --pocket-ic, --population and an explicit RRT_PIC_SERVER_URL. Link the chosen checkout's pinned chat-rsx node_modules first, as required by AGENTS. Run the same source/case order for every engine and population; retain all calls in the primary mean.

This fixture keeps its original ascending seed contract. The driver rejects population-order options before contacting a server. Earlier results retain commit 8bab0ab94310e6680f57a181b990fb9636d6f359 and harness SHA-256 1ec18bb21a3de61db5cb76e52cae7cafc8ef683b38612f5a94f3f5b070c84c7e; the current guard changes no measured case. Check the host model with node --test research/experiments/2026-10-21-hylix-map-mutation/probe/*.test.mjs. For shuffled chunk admission use the separate population fixture, rebuilt identically for every compared engine. Historical ascending artifacts cannot accept disjoint seed ranges; the rejected attempt produced no measurements.