Hylix encoded insertion and byte moves

Source candidate b5b4cf05429f1b37ae68bd365d70934df2b8582a, based on the renamed engine control a093354c. Its exact Wasm fcc518933d2b… passes the matched full Heavy16 workload and all five lifecycle gates. Selected source is integrated in 69297887. Actual MAIN Hylix 0069950f986328d9… reproduces the instruction, latency, page-fee and memory vectors below and passes all five lifecycle gates. Its complete cycle total is 807 higher; exact cycle equality is not claimed. Actual MAIN Nyxus 8292eb70c3f475f5… remains exactly 105,264,785,076 instructions /49 rounds, including all 14 audit/67 workload vectors and all 25,091 replicated rows except sequence numbers; life5 passes. Fresh MAIN native/doc checks pass 194 SDK +139 RRts with no failures, ignored or filtered tests. The selected receipt pins the actual artifacts and evidence.

Complete Heavy16 metric Control Encoded moves
Instructions, including maintenance 513,930,901,471 461,760,732,091
Complete rounds 85 78
Admission p50 / p95 / max, seconds 32.4 / 41.4 / 45.0 27.0 / 37.2 / 40.8
Root receipt p50 / p95 / max, seconds 33.6 / 42.6 / 46.2 28.2 / 37.8 / 42.0
Physical calls 2,570 2,415
Fleet-grown heap capacity, bytes 269,484,032 269,484,032
Fleet-grown stable capacity, bytes 288,882,688 292,880,384

Complete instructions fall 10.1512%; all latency quantiles improve. The 3,997,696-byte stable-capacity increase is a measured tradeoff, not a new reserve. The exact 19,200 workflows, 594,000 visits, 202,800 attempts, 180,000 endpoint messages, 360,000 frames and 27,600 blocks remain; 1,024 canonical blocks are checked. There are zero traps, rejections or reoffers. The frozen old PocketIC server and ordinary cooperative 500M body budget match the control. Finished replicated entries include ordinary maintenance, exclude queries, aborted DTS and scheduler-only accounting. Exported heap fees are included; their residual does not isolate computation or stable fees.

Independent review checks all 44,867 candidate execution rows, 18 outputs, 605 source/archive inputs, exact workload/configuration and unchanged-source guards. Lifecycle covers drained KEEP, new work after KEEP, pending-work rejection without state loss, and continuation followed by successful KEEP. The central comparison and lifecycle receipt retain exact artifact and source identities. The other standalone cache/SIMD screens saved 1.95%/1.19% instructions but worsened latency and are not selected.

The separate current map probe populates three interleaved maps with 100,000 rows each in earlier committed calls. Across 219 measured updates, encoded moves uses 501,980,008 instructions versus 502,306,937 (−0.0651%); single-insert mean falls 1.17%, while distant separate lookup and single transfer rise 1.33% and 0.62%. These are complete call means, with loading noops before uninterrupted sequences, no noop subtraction and unchanged 41,025,536 stable bytes. This does not establish a broad read-performance improvement. The exact result uses a separate newer diagnostic PocketIC server and is compared only with its matching probe control.

The same artifacts also pass a three-million-row screen: 1,000,000 rows per interleaved map, 409,665,536 stable bytes. The full 219-update sequence costs 531,130,739 /535,337,089 instructions (+0.792%); single insertion improves 1.165%. Some read batches cost 160,003 extra instructions: exactly one additional 64-KiB heap region (page 50), charged 80,000 each for access and dirtying, plus three instructions. Mixed-map batches already touch that region in both runs. A bounded exact replay then attributes the extra access/dirty pair to the Rc<Segment> strong-count load/store in WorkingSet::load's cache-hit path. Its dictionary, installed opcodes and all call totals/page sets match; the exact allocation address inside the region is not retained. This is cache control metadata, rather than the pooled payload or stack. See the diagnostic evidence. Noop baselines are not subtracted. Capacities and final lengths match; all request/result and raw trace checks pass.

Map/Set insertion now retains one initialized encoded workspace per visited node. Insertion opens a key/value slot by shifting the later child and value planes before the key plane. Splits copy exact existing encodings into left/right and parent planes. The node layout, capacity, ordering and allocation identities are unchanged. Only probed keys and a returned displaced value decode; only a new key/value encodes. Newly encoded spans are zero-initialized, including codec padding. Existing-key replacement keeps its single-value write. Removal, retirement and bulk conversion still use their necessary decoded working nodes; the replaced insertion implementation is removed.

The new object-safe provider method is:

fn copy_bytes(&mut self, source: Block, source_at: u64,
              target: Block, target_at: u64, len: u64) -> Result<()>;

Its default checks both complete logical ranges and generations through the provider before any write. It preserves observing read/write wrappers. Arena checks headers once, then uses the checked physical WorkingSet path. A contained same-segment move uses overlap-safe copy_within and dirties only destination bytes. Other moves reuse at most 4,080 initialized stack bytes, copy backward when required, release source reads before destination lookup and bound each destination write to a segment. A write error, including a partial first write, traps; a later read error also traps. Before mutation, invalid ranges/generations return errors. No byte move retains, retires or decodes an owner. Queue growth and Vec insert/remove use this operation; Vec insertion uses the existing bounded record encoder for its new row. No module-state boundaries or Nyxus code change.

Native evidence is outside the checkout under /srv/shared/code/icrustmem/rrt/tmp/hylix-round1-20261021/encoded-moves/. Both complete SDK and RRts locked offline metadata resolutions passed without --no-deps. All builds source ver1/tools/env.sh, use the pinned compiler, checksum/content freshness, the exclusive native-b lease and MAIN's native target.

  • SDK Hylix/Collections/Store suite with working-set-profile: 194 passing tests, including 30 doctests; no failures or ignored tests. The earlier candidate note undercounted doctests; fresh MAIN logs confirm 164 behavior checks plus 30 doctests. Fresh MAIN compile: 11.00 s.
  • RRts Common/Reactor/Rechain/Takt suite: 139 passing tests, including five doctests; no failures or ignored tests. Build: 26.14 s.
  • New behavioral checks cover overlap and cross-allocation transfers across one-slot 512-byte segments, stale identities, whole-range preflight, query immutability, null zero-size copies and failure after the first write.
  • New map checks cover deterministic codec padding and 1,024 scrambled inserts through multiple tree levels. Each insertion decodes zero existing values, encodes exactly its one new value and performs zero retain/retire events. Replacement decodes/encodes one value; retirement releases every owner once. Existing ordering, split/rotation/merge, nested ownership, shared counts, migration/conversion, rollback simulation and borrow-exclusion suites pass.

These operation counts establish removed materialization; the complete workload above establishes its measured IC benefit. Storage wrappers using the default method continue their checked read/write observation and may be slower than the Arena specialization; forwarding a specialization must preserve those counters. The independent IC review covers padding, complete preflight, overlap, source-pin lifetime and partial-mutation failure behavior. Core cache-path integration must reconcile its static decode_header helper and private WorkingSet indexing changes.