openai / gpt-6-astra / max / max effort preferred over openai / gpt-6-astra / medium / medium effort · close win.
Primary judge: Sol 6.1, requested Low. Effective provider effort and internal attempts were not verified. A close win is still a scored preference; it does not establish a material defect.
Reviewed public evidence
Task goal
Read-only debugging analysis. An event stream sends sequence41,42,43. Client persists its last seen sequence before applying an event. It disconnects after persisting42 but before applying42; reconnect requests events after42. Server may duplicate events, retains only a bounded window and can restart with a new epoch. Design a minimal durable cursor/application contract, duplicate handling and gap/epoch recovery without asserting exactlyonce transport. Give two crash interleavings and state the invariant. No tools, edits or executed-test claims. Three numbered items, under180words.
openai / gpt-6-astra / max / max effort answer
1. **Independent assessment:** persisting 42 before applying it can skip it on reconnect (source line 1). Store `(epoch, sequence)` as the highest contiguous committed application position. Atomically commit application state and cursor; reconnect strictly after that cursor. External effects require transactional outbox intents and stable-key idempotency at the destination.
2. Within one epoch, discard sequences ≤cursor; apply only cursor+1. A jump triggers replay without cursor advancement. The server must identify its epoch and retention floor. For expired history or an epoch change, pause and atomically install an authoritative snapshot with its matching cursor, then replay a suffix available from that boundary. If recovery data is unavailable, fail explicitly.
3. **Crash A:** applying 42 before transaction commit → rollback leaves state/cursor at 41; replay 42. **Crash B:** state/cursor 42 commit, then crash before acknowledgment → any repeated 42 is discarded. **Invariant:** the cursor represents a contiguous durably committed application prefix, including any snapshot baseline and pending outbox obligations; receipt alone never advances it. This does not assert exactly-once transport.
openai / gpt-6-astra / medium / medium effort answer
1. Independent analysis: persisting42 before applying42 loses event42 on reconnect (supplied source, line1). Persist an **applied cursor `(epoch, sequence)`**, atomically with application state. Invariant: within an epoch, cursor `s` represents a contiguous applied prefix through `s`; it never advances beyond durable effects. External effects require transactional outbox plus destination idempotency, or an equivalent durable protocol.
2. Serialize processing: apply only the next sequence; atomically commit effects and cursor. Ignore duplicates at or below the cursor within the same epoch. Crash interleavings: **before commit**, both effects and cursor roll back; reconnect from41 replays42. **after commit but before acknowledgement**, effects and cursor42 survive; replayed42 is ignored. This provides duplicate-safe application, not exactly-once transport.
3. Server responses must identify epoch and replay availability, explicitly rejecting expired cursors. A sequence gap pauses application and requests missing events. If retention prevents replay, or epoch changes, obtain a consistent authoritative snapshot with its epoch/cursor; atomically replace state and cursor, then resume after that boundary. Snapshot-to-replay coverage must be guaranteed; otherwise retry recovery rather than silently skipping events.
Primary judge's stated reason
B receives a forced, slight preference because its unified invariant makes the durable meaning of the cursor marginally easier to apply across normal processing, snapshots, and outbox delivery. This is not an established material quality gap; A's surrounding explanation largely supplies the same assurance, and an independent review could reasonably reject the preference.
This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.
Battle wave: 8632e6ae-fcb8-43ca-8b4e-7b0cf9e263a3. Pair: brp1_1f1afbf1c6cf45a147c78a29c9c70d66437674d9058952af242903b832f0f2eb. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.