HTTP/2 & QUIC • Interactive studio
Follow a page to your phone
Make a prediction
Change the experiment
Edit the rule as one line of code
Your predictions on this device
Three Ways In · Layer 3 of 3 · Node.js 22+ · Zero Dependencies
Build With Your Coding Agent — 5 Rungs + Planted Traps
Build the transport machinery behind modern page loads with your coding agent across five rungs: fair frame multiplexing, per-stream vs. single-pipe head-of-line delivery, packet-number RTT estimation, stream + connection flow-control credit, and QUIC connection-migration path validation. Each rung gives you an architect prompt for Claude Code, Codex, or Cursor, a planted bug that unguided agents write, and a deterministic test suite that catches it.
- Frame multiplexing: Chunked frame scheduler interleaving urgent small streams past large downloads — Planted trap: Queueing one giant frame per write so a banner monopolizes the wire.
- Independent stream delivery: Per-stream reassembly delivering ready QUIC streams while a lost stream waits — Planted trap: Stalling unrelated streams on TCP-style gaps or delivering out-of-order bytes past a missing offset.
- Monotonic packet-number RTT: Distinct packet numbers per retransmission for exact RTT measurement — Planted trap: Overwriting original send timestamps on retry (the TCP retransmission ambiguity trap).
- Dual flow-control credit: Simultaneous enforcement of stream-level and connection-level receive windows — Planted trap: Checking per-stream window credit while ignoring exhausted connection-wide credit.
- Connection migration: Challenge-response path validation when a phone switches from Wi-Fi to cellular — Planted trap: Switching active send path to an unvalidated source address before PATH_RESPONSE arrives.
unzip agent-project.zip && cd http2-quic-lab/agent-track
node --test test/*.test.mjs
mkdir -p work
QUIC_WORK=./work node --test test/rung-01.test.mjs
Download 5-Rung Agent Track (agent-project.zip) Read AGENT-TRACK.md on GitHub Open agent-track/README.md on GitHub