Compact generated Tripwire — 29 October 2026

The later Stage C experiment has separate source and capture pins. This A/B evidence remains frozen.

Both required stages are measured and independently audited. The completed Tripwire change saves 5.9852% of instructions and 10.7892% of cycles against its frozen packet control. Against separately rebuilt Stage B Wire it uses 9.0833% fewer instructions and 3.8477% more cycles. Worst root receipt-to-completion grows by one 600 ms round; complete work, root p50/p95, workflow latency and grown memory match. See the dated benchmark report for the five-cohort instruction, page, byte, cycle, latency and artifact tables.

  1. Stage A, codec only: compiled scalar positions and cumulative payload ends replace per-message framing and offset/length pairs. The fixed area is F + 4 × max(V − 1, 0), with the final end inferred from exact source length. Constant-time named getters, selective IC reads, scoped borrowing and final retained copies remain. Original 114-byte rows, padded principals, all Response/Event origins and retained storage are preserved in this capture.
  2. Stage B, envelopes: only after Stage A passed, origin moved into Request/Notify variants in Wire, Tripwire and retained state. Generated Request/Reply/Expired/Notify/Event rows occupy 114/37/29/97/29 bytes. Publication also removes its unused origin. One checked table scan preserves count/last-sequence behavior; producer/address/kind/route authority, expiry, accepted-prefix ordering and exact retries remain intact.
Tripwire stage Complete instructions Complete cycles Isolated reduction in instructions / cycles
Frozen packet control 90,207,425,197 419,634,857,394 —
Stage A 86,850,614,108 397,495,200,216 3.7212% / 5.2759%
Stage B 84,808,319,769 374,359,683,538 2.3515% / 5.8203%

Matched Stage B Wire records 93,281,376,994 instructions and 360,489,265,988 cycles. Its included page instructions increase 2.6088% against original Wire; other instructions improve enough for a 0.1900% total instruction reduction. Every capture completes the same 18,000 roots, 1200 children, 594,000 steps, 202,800 attempts, 180,000 endpoint messages, 27,600 dispatches and 360,000 protocol items, with 1024 verified canonical blocks and no recorded rejection, trap or reoffered frame. Complete model time is 29,400 ms and grown fleet Wasm/stable bytes are 269,484,032/0. Model time and grown memory have their usual limits; they are not mainnet capacity or live-payload measurements.

The previous packet qualification remains the frozen control: SDK 09e68c714fa7966704d2d776df4d7e89a9091efc, recorded factory 4f60af6a7cae5ae68aab0ac7b1db33059c474760, consolidated as a5417109. Stage A is 98534b453104890c534132b38c8785d20baa0eb0; both Stage B artifacts are f756fca53a40f6271bf0b5d22ac0e1d1d769f6b1. A/B use fixed SDK 4847007fcd6bd95c41b98a179f3affe77cf065d4 and frozen PocketIC 6a9a75ad9b4551d2b0f4a0d954ffb8bd5bbd0ebc44ac00290679b06ad0b2f8e6. The control artifacts were reused by hash. Each new artifact has its own fresh source/build/result receipts and zero compatibility aliases. Protocol and retained-layout replacement is a fresh prototype contract; memory/upgrade admission remains separate.

  • Five-cohort comparison and exact cycle components, full metric table and read-only cost collector. Each cost ledger verifies 1648 compressed/raw shards and reconciles actual cycle events with zero residual. Completed trace-index receipts preserve the exact local shard paths and hashes for all five captures.
  • Stage A: source/native review, actual artifact review, trace audit, cost ledger, archived capture and exact source.
  • Stage B Tripwire: source/native review, actual artifact review, trace audit, cost ledger, archived capture and exact source.
  • Matched Wire B: actual artifact review, trace audit, cost ledger, archived capture and exact source.
  • Native evidence: SDK checks, Stage A application checks and Stage B application checks. Actual IC evidence: Stage A callback/storage/KEEP qualification and Stage B 15-check callback/recovery qualification.

The independent 100-method build receipt and macro/codegen experiments are outside these A/B measurements. The combined cold-executor candidate was rejected after runtime qualification. Later selections are recorded in the Stage C report and typed API experiment.