test(web-benchmark): re-record agent recordings for the conservative/6 cache key
The web agent suite replays nothing on main. #732 (3bf295e4) bumped REPLAY_POLICY_VERSION to conservative/6 (packages/e2e/src/cache/relocate.ts:28) and added the agent name and context digest to the key (packages/e2e/src/cache/identity.ts:192-194). Every committed entry sat under an old hash, so each lookup was no-entry and the step ran live.
- Re-recorded
tests-agent/live: 29 new entries. - Deleted the 29 entries orphaned under the old keys. None of them was rewritten by the new run.
- Cache JSON only.
Not recorded, and why
| Step | Result | Why |
|---|---|---|
cart totals act | missed | By design: the next step is an agent.assert that has to fail on the planted bug, so the trace is never confirmed (flushStagedTraces, cache/context.ts) |
wishlist act | missed | By design: the act runs into the planted bug and fails, so nothing gets written |
| shadow-dom-form, iframe-form | missed at a gap | The value comes from the screen at run time (minted-token, whole-node), so the agent types it |
| lying-labels, async-states | handed off at a gap | Same, but at a later action (pixels, minted-token) |
control inventory pick Express delivery (#788) | no entry | A recorder bug, details below |
The gap steps match main before #732, which had 25 replayed, 2 handed off, and 4 missed.
pick Express delivery cannot replay (follow-up)
The recording stores goneAnchors: [{ "text": "Express" }] (the radio label) next to endAnchors: [{ "role": "status", "name": "Delivery state", "text": "Express" }]. describeDelta compares exact keys, so the label counts as gone. deltaHolds uses fieldsEqual, which skips fields the anchor leaves out, so { text: "Express" } matches the status output. The recording's own end state fails its own check, and every replay ends in end-mismatch. Under --strict-cache that is REPLAY_STALE. I left the entry out, so this step runs live as it does on main. The fix belongs in deltaSide (packages/e2e/src/cache/anchors.ts), in a separate PR.
--strict-cache also does not catch a key change: a no-entry step runs live by design. That gap is a separate follow-up too.
Verified
Ran it locally: yes
- Web benchmark,
CI=1 e2e run --config e2e.agent.config.ts --strict-cache(read-only, same as CI), run twice on this branch. - The "main" column is the recording run against main's cache: every lookup missed.
| main | this branch, run 1 | this branch, run 2 | this branch, CI web agent | |
|---|---|---|---|---|
| Tests | 33 passed | 33 passed | 33 passed | 33 passed |
| Replayed | 0 | 25 | 25 | 25 |
| Handed off | 0 | 2 | 2 | - |
| Missed | 32 | 5 | 5 | - |
| Model calls | 126 | 20 | 21 | 21 |
| Cost | $0.0322 | $0.0035 | $0.0037 | $0.0035 |
Tests 33 passed (33)
AI 79.9k tokens · 94% cached · $0.0035 · 20 model calls · gateway/openai/gpt-6-luna-fast
Cache 25 replayed · 2 handed off · 5 missed
Duration 170.60s (2m 51s, startup 665ms)