Files
amethyst/quartz/src
Claude 7ca4fbab33 Cover the dense-second step-past the new guard sits in front of
The step-past path had no test, and it is the one thing the ignored-cursor
guard could plausibly break: both cases reach the same `delivered == 0`
branch. They are told apart by WHERE the events landed — a dense boundary
second returns them AT the boundary, so `aboveBoundary` stays 0 while
`received` is 1 and the guard holds its fire; only a relay answering ABOVE
the boundary is not paging at all.

Scripted end to end: a second the relay's page cap can only ever return the
head of, the step strictly past it, and the empty EOSEd page below. Also
proves the documented cost is still paid rather than silently changed — the
unreachable tail of that second is lost, and `downloaded` says so.

`event()` grows a nonce so two events can share one `created_at`; the id was
derived from the timestamp alone, which collapsed them into one event and made
a dense second impossible to script.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HPSzniNdvJxkhRsCe1QcyT
2026-08-09 23:48:56 +00:00
..