Real-server snapshot benchmark driver

Requirements: macOS on Apple silicon, Node chosen by the checkout, vp dependencies installed in each checkout.
Base: 65cd6446233a8001c8c4f8e06cb4eee987cac0e9
Head: 390d12c3dd1bb64b12e917304a089c5f9341bd47

1. Run setup.mjs BASE_CHECKOUT SYNTHETIC_HOME PORT replay.mjs 12831 1736.
   This creates a new isolated home, git workspace, project and replay turn through the real CLI/provider adapter/orchestrator. No existing application database is read.
2. With the setup server stopped, duplicate this synthetic home into two isolated homes. Both revisions have the same migration level. This preserves identical UUIDs, timestamps and projection rows for byte-for-byte comparison.
3. Run run.mjs BASE_CHECKOUT BASE_HOME PORT RESULTS/base/run1 gzip,identity 20.
4. Run run.mjs HEAD_CHECKOUT HEAD_HOME PORT RESULTS/head/run1 gzip,identity 20.
5. Repeat steps 3 and 4 into run2, reversing the order to identity,gzip.
   Each server process first gets three warmup requests per encoding. Measured requests alternate encodings and wait 250 ms between requests. Only one server runs at a time.
6. python3 summarize.py RESULTS writes summary.json and per-request annotated.json.

Requests use Authorization: Bearer (issued by the local CLI) and x-t3-orchestration-protocol: 2.
bench.mjs measures headers and final byte using a monotonic clock, hashes the decompressed body, and records transfer framing and byte counts.
sampler.mjs records process memory and timer gaps every 5 ms, plus samples at each outgoing ServerResponse.write/end. Per-request memory is the largest heapUsed+external sample during that request; absolute memory includes the existing projection and process overhead. Event-loop gaps can include instrumentation overhead. No GC is forced.
The sampler also records the actual application writes before TCP segmentation, so identity chunk sizes are observable rather than inferred from network reads.
Raw server logs and authentication tokens are private and excluded from evidence uploads.
