claude-code-cli / claude-haiku-5-5 / medium / medium effort preferred over claude-code-cli / claude-opus-5-5 / low / low 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 review analysis. An exporter sends a batch of10events, then writes its cursor. The server inserts all10but the ACK is lost; the exporter restarts with the oldcursor. Event IDs are stable and the server returns per-event inserted/duplicate statuses. State the smallest reliable retry/cursor contract, what must be preserved after an uncertain response, and why regenerating IDs or advancing before ACK fails. Give two recovery verification cases. No tools, edits or executed-test claims. Three numbered items, under180words.
claude-code-cli / claude-haiku-5-5 / medium / medium effort answer
1. **Contract:** Keep the batch and its stable event IDs in durable pending state. Advance the cursor only after the server returns a definitive status (inserted or duplicate) for every event ID in the batch. After a lost or uncertain ACK, leave the cursor unchanged and resend the same batch with the same IDs. The server must enforce uniqueness on event ID so retries are idempotent.
2. **Preserve after an uncertain response:** Keep the exact batch contents, event IDs, ordering, and the old cursor. Do not reconstruct the batch from source state, since that can change it.
3. **Why the alternatives fail:**
- Regenerating IDs makes the retry look like 10 new events, so the server inserts duplicates and its dedupe check is bypassed.
- Advancing before the ACK loses events silently if the send fails, because the cursor has moved past them.
**Recovery cases:**
- (a) Server inserted all 10, ACK lost. Restart with the old cursor and resend the same IDs. All 10 return duplicate, the cursor advances to 10, and the table has exactly 10 rows.
- (b) Server inserted 6 before the failure. The retry returns 6 duplicates and 4 inserts. The final count is 10 with no duplicates, and the cursor advances only after all 10 statuses are known.
claude-code-cli / claude-opus-5-5 / low / low effort answer
1. **Contract:** Treat a batch as uncertain until every event has a status of inserted or duplicate. Both statuses count as durable, so duplicate means success. Advance the cursor only after that, and only to the highest contiguous acknowledged event. Retries resend the exact same events, IDs and payloads, from the old cursor. The server deduplicates on the stable event ID.
2. **Preserve after an uncertain response:** the old cursor, the batch boundaries, each event's original ID, and its payload or hash. If IDs are regenerated, the server sees ten new events and inserts them again. If the cursor advances before the ACK and the send then fails, the events are lost.
3. **Verification cases** (proposed, not run):
- **Lost ACK:** The server inserts all 10 and the ACK is dropped. After restart, the retry returns 10 duplicates. The cursor then advances once, and there are exactly 10 rows.
- **Partial failure:** The server inserts 6 and the connection drops. The retry returns 6 duplicates and 4 inserted. The cursor advances only after all 10 are acknowledged, with no gaps and no extra rows.
Confidence is high. The packet doesn't show how the server handles the same ID arriving with a different payload. That case should be rejected and flagged, not silently counted as a duplicate.
Primary judge's stated reason
B receives a slight forced preference because its durable-pending formulation makes restart-safe replay more immediately actionable without leaving the reader to reconcile payload preservation with a hash-only option. This is not an established material quality gap; A's exact-replay instruction largely resolves the ambiguity, and an independent review could reasonably reject this preference.
This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.
Battle wave: 45d74599-e82c-4d2c-9461-9289cb4e7fe8. Pair: brp1_44afd703ce9d0728108d7b4a7ac387e35f19129e8496383ab3c06d9e68150bdc. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.