Repository navigation
feat(verify): Phase 2 data-plane zero-copy pipelines, concurrency, and formal verification - #220
Merged
Merged
Conversation
vxfemboy
temporarily deployed
to
benchmark-approval
November 13, 2026 17:45 — with
GitHub Actions
Inactive
vxfemboy
temporarily deployed
to
benchmark-approval
November 13, 2026 17:45 — with
GitHub Actions
Inactive
vxfemboy
temporarily deployed
to
benchmark-approval
November 13, 2026 18:33 — with
GitHub Actions
Inactive
vxfemboy
temporarily deployed
to
benchmark-approval
November 13, 2026 18:33 — with
GitHub Actions
Inactive
vxfemboy
temporarily deployed
to
benchmark-approval
November 13, 2026 19:30 — with
GitHub Actions
Inactive
vxfemboy
temporarily deployed
to
benchmark-approval
November 13, 2026 19:30 — with
GitHub Actions
Inactive
vxfemboy
had a problem deploying
to
benchmark-approval
November 13, 2026 20:28 — with
GitHub Actions
Error
vxfemboy
temporarily deployed
to
benchmark-approval
November 13, 2026 20:28 — with
GitHub Actions
Inactive
vxfemboy
temporarily deployed
to
benchmark-approval
November 13, 2026 20:33 — with
GitHub Actions
Inactive
vxfemboy
temporarily deployed
to
benchmark-approval
November 13, 2026 20:33 — with
GitHub Actions
Inactive
vxfemboy
temporarily deployed
to
benchmark-approval
November 13, 2026 20:53 — with
GitHub Actions
Inactive
vxfemboy
temporarily deployed
to
benchmark-approval
November 13, 2026 20:53 — with
GitHub Actions
Inactive
vxfemboy
temporarily deployed
to
benchmark-approval
November 13, 2026 21:50 — with
GitHub Actions
Inactive
vxfemboy
temporarily deployed
to
benchmark-approval
November 13, 2026 21:50 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements Phase 2 of the verification and optimization architecture as specified in docs/superpowers/plans/2026-11-13-phase2-zero-copy-and-formal-verification.md:
Ingress Zero-Copy AEAD Decryption (perf(crypto): in-place zero-copy AEAD decryption via open_into for dataplane ingress #209):
yip_wire::FrameRefandCodec::deframe_borrowed.inner_scratchandcontrol_scratch) withSession::open_intofor zero heap allocations on ingress hotpaths.assert_no_alloc!inbin/yipd/tests/ingress_zero_alloc_test.rs.Zero-Allocation Transmit Scratch Arena for FecEncoder (perf(transport): zero-allocation scratch arena for FecEncoder on packet transmit path #208):
FecScratchArenawith pre-allocated shard buffers and reusableSymbolrecords.repair_row_intoandencode_repair_intoincrates/yip-transport/src/rs.rs.assert_no_alloc!incrates/yip-transport/tests/fec_zero_alloc_test.rs.Bounded Circular ObjectTable & Zero-Copy Repair Buffering (perf(transport): zero-copy repair shard buffering and circular ring-buffer ObjectTable for FEC reassembler #213):
ObjectTablewith candidate-associative bounded buckets (4 ways, max 2 candidate buckets), ensuring O(1) worst-case lookup, insert, and eviction without cascades or memory leaks.ObjStatewith reusable buffer pooling and stack-allocated repair reference slices inFecReassembler.crates/yip-transport/tests/object_table_test.rs.O(1) Tail-Eviction MacTable Sweep & Monotonic SentLog Accounting (perf(dataplane): O(1) tail-eviction MAC table sweep and monotonic binary search for SentLog accounting #214):
MacTable::sweepwith O(k) tail eviction using pre-allocated slab free capacity.SentLog::count_classes_in_rangewithpartition_pointbinary search acrossVecDequering slices.bin/yipd/tests/mac_table_sweep_test.rs.Loom Weak-Memory SPSC Concurrency Verification:
crates/yip-io/src/spsc.rsunder#[cfg(loom)]with conditional atomic and UnsafeCell abstractions.crates/yip-io/tests/loom_spsc.rsand added a dedicated Loom verification step in CI workflows.Miri Strict-Provenance & Kani Symbolic Verification:
crates/yip-transport/src/rs_simd_kani.rswith Kani symbolic proofs and 65,536 exhaustive test cases verifying SIMD Galois Field equivalence against scalargf256::mul.crates/yip-verify/src/syscall.rsundernot(miri).-Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation) in CI workflows.Verification