conformance(v2:shred): local conformance for v2 shred parse harness #1715
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 326 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.346
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1715"
general
weight: 0.35
yewman
Intent
Bring the v2 shred parse pipeline to differential-fuzz parity with agave on the local
shred_parsefixture corpus.The work splits three ways:
conformance/src/shred_parse.zig. Implementsol_compat_shred_parse_v1end-to-end: decodeShredParseContext, drive every shred through the v2 Receiver, and emitShredParseEffects(per-FEC-set outcomes + block-level verdict) derived from Receiver admission state and the replay-sideMerkleForest. Adds parent-offset-conflict / SIMD-0340 chained-root / equivocation reconstruction,VersionedBlockMarkervalidation for emptyEntryBatchpayloads, the half-epoch future-slot bound, and mirrors agave's order-dependentLastIndexConflictadmission check.v2/lib/shred/receiver.zig,v2/lib/shred.zig. Tighten protocol-invariant enforcement surfaced by the corpus: pinchained_merkle_rooton the FEC-set ctx (reject disagreement, emit the pinned value); id-secondary erasure-set routing so case-A equivocation and sig-verify-off signature collisions still collapse to one ctx perFecSetId; re-run structural / positional / variant checks on RS-recovered data shreds (with awire_receivedsnapshot so the guard sees the pre-decode bitset, and anerrdeferthat retires the ctx on failure); rejectLAST_SHRED_IN_SLOTat misaligned data index; drop data shreds whose parent slot sits below the current root; acceptparent_offset == slotat any slot (chaining to genesis); widen theheader + payload + trailerbound check to u32 to match agave'smerkle::get_data.v2/lib/replay.zig,v2/services/replay.zig. ExtractMerkleForest(LCRS tree ofMerkleNodes, orphan adoption viachained_merkle_root) into a standalone library module so the harness can walk cross-FEC-set invariants without pulling in the replay service. GainsMerkleForest.reset(harness reuses one forest across fixtures) and sibling attachment for equivocating(slot, fec_set_idx)entries so consumers detect equivocation structurally.Notes
-Ddebug-skip-shred-sig-verify=true; shred-version enforcement stays on.processPacketare not visible to the harness's tick-verify path — a known fidelity gap versus agave's blockstore-driven reconstruction.MerkleForest), not in the Receiver.BlockComponentdecoding lives in the harness pending first-class support in sig.