Explicit Tripwire byte reuse — 2026-10-29
This continues the first Heavy16 port, whose complete instruction cost regressed 7.34%. The original run stays frozen. The SDK keeps explicit reads: the application retains accepted bytes once and passes slices rather than adding a source cache.
Implemented changes
SDK 58fe22f45e3189ea374ddfc012c5b5a9fd701965 adds a bounded nested source,
one-allocation immutable Nyxus payload construction and UTF-8 owner adoption.
The RRT candidate copies each admitted peer body directly into its final shared
allocation, sizes outgoing data once, avoids temporary Nat owners for Observe,
and borrows the Command already present in its prepared identity when recording
an Action. Native tests check byte identity, bounds, initialization and cleanup.
Generated schemas also use two scalar constant stores. A tiny pinned wasm64 code-generation probe confirms that its static path has no schema data load; its dynamic control retains the old vector load. The static probe still copies its returned array through the stack. This proves emitted instructions for this probe, not a complete-call page saving. See the disassembly. The probe manifest retains its original relative experiment path and is evidence, not a standalone build fixture.
Profile findings
Bounded findings separate actual API copies, Wasm computation and heap fees. A 16-frame receiver made 52 argument copies; an ACK made only one 42-byte copy. Repeated IC copies cannot explain the ACK's page-dominated cost. The initial ingress reply's extra read-only region was opened by a schema constant; the ACK's was opened by a Source vtable, but other later accesses also used that region. Removing one first opener does not prove a fee disappears. No broad Source dispatch rewrite was adopted.
SDK review records the direct-initialization and
lifetime proof. Focused native tests, full Tripwire tests/doctests and generated
byte-equivalence tests passed; logs are retained here. The complete optimized
Heavy16 audit passed. The report
records 100.73B → 95.99B instructions (−4.71%), identical work/latency, and
the remaining 2.28% regression versus Wire. The full port stays isolated
at 51d416d7f708d9ca1c04369263519795458b2998; the SDK additions are committed.
A single postpatch startup profile confirms the schema access-only region disappeared: 985,252 → 905,280 instructions, with unchanged argument-copy calls/bytes and 28 extra static instructions. The actual full artifact also emits scalar schema helpers; official disassembly excerpts preserve that proof.
Raw trace references list local paths and hashes. These reductions and receipts are not a standalone raw-trace archive; truncated profile stacks and origin maps remain explicitly qualified in the findings.
Checkout recovery limitation
Preparing the control worktree accidentally removed ignored local crypto output. Tracked source and the Tripwire/RRT evidence were preserved. Recovery notes and the manifest record 84 exact-hash files restored to their original ignored paths. Sixteen linked historical raw receipts remain unavailable; they were not reconstructed from summary tables. The full harness documentation check therefore continues to report those 16 missing links, while the SDK documentation check passes.