cursor / composer-2.5 / Composer 2.5 default / unknown effort preferred over nvidia / nvidia/nemotron-3-super-120b-a12b / none / unknown effort · clear 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
Review the production BattleRanks publisher behavior for correctness and recovery. Supplied evidence (same for every reviewer): an immutable JSONL journal commits only newline-terminated records; an export cursor records line number, journal device/inode identity and last-line SHA256; batches contain at most 12 whitelisted evaluated-outcome and supporting evidence events; HTTP ingest is idempotent per event identity, with a 30-second request timeout; the cursor advances atomically only after a verified HTTP ACK. Existing canonical cursor is behind deliberately excluded historical qualification/incomplete records. New selected cohorts must use a scoped journal and scoped cursor rather than broad backlog replay. Public payload permits approved model IDs, integer judge metrics, timing, usage and evaluation summaries, but forbids raw prompts, code, private notes and paths. Task: independently identify concrete failure modes for crash before/after ACK, partial HTTP success, timeout with uncertain acceptance, journal replacement/truncation, filtering that breaks complete cohort evidence, and cursor updates racing another publisher. Propose a minimal safe execution/recovery procedure for publishing only exact new cohort IDs and readback verification. Rank findings by impact, state assumptions, and distinguish proven guarantees from missing evidence. Do not edit files or dispatch models. This is read-only implementation analysis; no objective tests are registered or claimed.
cursor / composer-2.5 / Composer 2.5 default / unknown effort answer
# BattleRanks publisher — independent failure-mode and recovery analysis
## 1. Conclusion, recommendations, and confidence
**Overall assessment:** The described design (append-only journal, cursor tied to device/inode + line + last-line hash, ACK-gated cursor advance, idempotent ingest by event identity, scoped journal/cursor for new cohorts) is a sound baseline for **at-least-once publish with safe retry** and **no advance on unverified success**. Correctness and recovery still depend on properties not fully specified in the evidence: whether ACK is tied to durable server-side commit, whether readback uses the same identity key as ingest, and whether cohort completeness is defined outside the 12-event batch whitelist.
**Ranked failure modes (by impact)**
| Rank | Failure mode | Typical outcome | Recovery lever (from evidence) |
|------|----------------|-----------------|--------------------------------|
| **P0** | **Timeout with uncertain acceptance** (30s, no definitive response) | Cursor not advanced → safe retry; **or** server accepted but client timed out → duplicate POSTs (should be OK if idempotent per event identity); **or** server still processing → ambiguous | Retry same batch; verify via readback by event identity; do not advance cursor until ACK **and** (if required) readback confirms all identities |
| **P0** | **Crash after verified HTTP ACK, before atomic cursor write** | Same lines re-published on restart | Idempotent ingest; risk only if idempotency is weaker than “same identity → no duplicate public row” |
| **P0** | **Journal replacement or truncation** (new file, rotated path, copy without preserving inode) | Cursor (device/inode + line + hash) **invalid or misleading** | Treat inode/hash mismatch as **hard stop**; re-bootstrap scoped cursor from verified export/readback, not blind line replay |
| **P1** | **Partial HTTP success** (multi-event batch, some ACKed some not—if API allows) | Cursor must not advance past last **fully** verified unit of work | Evidence says cursor advances after “verified HTTP ACK” for the export step—not whether ACK is per-batch or per-event; **assume per-batch ACK means all-or-nothing** unless proven otherwise |
| **P1** | **Filtering breaks complete cohort evidence** (whitelist drops required supporting events; historical qual/incomplete excluded; cursor “behind” by design) | **Silent under-publish**: cohort IDs marked done locally while public rank set is incomplete or inconsistent | Scoped journal must contain **closed** cohort slices; preflight checklist: for each cohort ID, count whitelisted event types expected vs journal slice |
| **P1** | **Two publishers racing on cursor update** | Lost update, double advance, or cursor skipping lines | Atomic cursor update **after** ACK helps one writer; **no evidence** of distributed lock or single-writer enforcement—second publisher is **high impact** if allowed |
| **P2** | **Crash before ACK** | No cursor advance; full batch retry | Safe by design |
| **P2** | **Duplicate lines or non-atomic journal append** (violates “immutable JSONL” assumption) | Last-line SHA256 mismatch → cursor refuse or re-read | Hash gate is the detection mechanism **if** enforced on every read |
| **P3** | **Batch cap (12 events)** splits one cohort across multiple HTTP calls | Partial cohort visible publicly between calls | Idempotency + readback per cohort ID; ordering/read consistency not specified |
**Proven guarantees (from supplied evidence only)**
- Journal commits **only** newline-terminated records (append semantics implied).
- Cursor records **line number**, **journal device/inode**, **last-line SHA256**.
- Cursor advances **atomically** only after **verified HTTP ACK**.
- HTTP ingest is **idempotent per event identity**; **30s** request timeout.
- Batches ≤ **12** whitelisted event types (evaluated-outcome + supporting evidence).
- Public payload rules reduce leakage risk; they do **not** by themselves guarantee publish correctness.
- New cohorts must use **scoped journal + scoped cursor**, not broad backlog replay.
**Not proven / missing from evidence**
- Exact ACK semantics (HTTP 200 vs body hash vs per-event ack list).
- Server-side durability at ACK time (accepted in memory vs committed).
- Readback API shape and whether it keys on same **event identity** as ingest.
- Cursor file locking, fsync order, crash between ACK log and cursor write.
- Whether multiple publisher processes are forbidden or coordinated.
- Formal cohort-closure rule (which event types must co-exist for a valid rank).
- Behavior when last-line hash matches but line content was maliciously swapped (same line number)—inode binding mitigates replace-in-place **if** journal is truly append-only on same inode.
**Minimal safe execution / recovery procedure** (new cohort IDs only)
**Assumptions:** Single active publisher per scoped cursor; event identities stable and globally unique; readback available for verification.
1. **Scope:** For each target cohort ID set, build or select a **scoped journal** containing only those cohorts’ whitelisted events (and nothing else). Initialize **scoped cursor** at start of slice (or at last known good export point for that scope)—do **not** advance canonical/global cursor via full backlog replay.
2. **Preflight:** Verify journal **device/inode** and **last-line SHA256** match cursor expectations; on mismatch, **stop** and reconcile (re-export from readback or re-slice journal).
3. **Plan batches:** Group events by cohort ID; respect 12-event cap; ensure each cohort’s required supporting + outcome events are present in the slice (filtering audit).
4. **Publish loop:** Read up to 12 events from cursor line; transform to public payload (strip forbidden fields); POST with 30s timeout.
5. **Success gate:** Advance scoped cursor **only** on **verified HTTP ACK** for that unit of work; persist cursor atomically (evidence claims atomic advance—order vs fsync unspecified).
6. **Timeout / transport error:** Do **not** advance cursor; retry same batch with backoff; optionally **readback** each event identity in the batch—if all present, treat as success and advance (only if readback is authoritative in implementation; **not proven** here).
7. **Post-cohort verification:** For each published cohort ID, readback public (or internal) store: all expected event identities present; judge metrics integers; no forbidden fields; cohort set equals **exact** target ID list (no extras).
8. **Completion:** Record scoped cursor final position + inode/hash; only then optionally link to canonical cursor policy (evidence: canonical is deliberately behind excluded history—do not “catch up” excluded records via this path).
**Confidence:** **Medium** on failure-mode taxonomy (standard distributed-ingest patterns). **Low–medium** on recovery step 6 (readback-as-ACK substitute) without implementation proof. **High** that inode/hash + no advance without ACK addresses truncation/replace and crash-before-ACK.
---
## 2. Alternatives, disagreements, discarded hypotheses
- **Discarded:** “30s timeout always means failure”—server may complete after client abort; idempotency + no cursor advance is the safe client stance; readback resolves ambiguity.
- **Discarded:** “Idempotency removes all duplicate risk”—duplicate **side effects** (e.g. billing, downstream triggers) may still exist if idempotency is only dedupe on public rank row.
- **Alternative:** Per-event HTTP posts (batch size 1) shrink partial-success ambiguity at cost of throughput; still need cursor granularity per line or per event.
- **Likely false positive:** Assuming whitelist filtering always drops only “bad” history; deliberate exclusion of qual/incomplete means **cursor behind** is correct, but scoped slices must not accidentally omit **required** supporting events for **new** cohorts.
---
## 3. Missing evidence and consequences
| Gap | Consequence |
|-----|-------------|
| ACK verification definition | Cannot prove crash-after-ACK vs cursor gap is always harmless |
| Readback contract | Cannot prove end-to-end “exact new cohort IDs only” without implementation |
| Multi-writer cursor policy | Racing publishers remain **unmitigated** in procedure |
| Cohort completeness schema | Filtering failure mode stays **operational** (needs human/tool audit) |
| Partial batch API behavior | Partial HTTP success severity unknown |
---
## 4. Next useful action
Obtain implementation-level answers (still read-only): (a) what constitutes “verified HTTP ACK”, (b) readback query by event identity and cohort ID, (c) single-writer enforcement on cursor, (d) whitelist vs minimum event set per cohort. Then dry-run one scoped cohort ID: publish → kill process after ACK before cursor write → restart → confirm idempotent readback and no cursor skip.
---
**Observation:** No material conflict within the supplied evidence packet; conflicts would arise only if live behavior diverges from the described ACK/cursor/idempotency rules (not observable in this lane).
nvidia / nvidia/nemotron-3-super-120b-a12b / none / unknown effort answer
Based on the supplied evidence and core question, here is my independent analysis:
## Failure Modes Identified
1. **Crash before ACK**: If publisher crashes after writing to journal but before receiving HTTP ACK, events may be retransmitted causing duplicates (ingest is idempotent per event identity, so safe but inefficient)
2. **Crash after ACK but before cursor advance**: Events are safely ingested but cursor doesn't advance, causing retransmission on recovery (safe due to idempotency but inefficient)
3. **Partial HTTP success**: Network partition where request sent but no response received - cursor doesn't advance, safe retransmission occurs
4. **Timeout with uncertain acceptance**: 30-second timeout exceeded with no definitive acceptance/rejection - conservative assumption is non-acceptance, cursor doesn't advance, safe retransmission
5. **Journal replacement/truncation**: If journal file is replaced/truncated, cursor validation fails (device/inode mismatch or SHA256 mismatch), forcing full replay from beginning (safe but inefficient)
6. **Filtering breaking cohort evidence**: If filtering logic incorrectly excludes valid cohort events, incomplete cohorts may be published (violates requirement for exact new cohort IDs)
7. **Cursor update race**: Two publishers racing to update same cursor could cause lost updates where one publisher's advance is overwritten
## Minimal Safe Execution/Recovery Procedure
1. **Before publishing**: Validate cursor matches current journal (device/inode and line-count SHA256)
2. **Read new cohort IDs**: From scoped journal starting at cursor position
3. **Construct payload**: Only exact new cohort IDs with approved metadata
4. **HTTP POST**: With 30-second timeout, idempotent per event identity
5. **On verified ACK**: Atomically advance cursor by exact number of lines processed
6. **On failure/timeout**: Retain cursor position, retry from same position
7. **Readback verification**: After successful publish, verify cursor advanced correctly and journal unchanged
## Assumptions and Guarantees
**Proven guarantees**:
- HTTP ingest is idempotent per event identity
- Cursor advances only after verified HTTP ACK
- Journal contains only newline-terminated records
- Export cursor records line number, device/inode, and last-line SHA256
**Missing evidence**:
- Exact filtering logic for cohort selection
- Cursor update atomicity mechanism details
- Journal rotation/replacement handling procedure
- Specific error handling for HTTP 5xx responses
## Next Action
Validate filtering logic implementation to ensure complete cohort evidence is preserved, and verify cursor update mechanism is truly atomic under concurrent publisher scenarios.
Confidence: High for identified failure modes based on supplied evidence; Medium for recovery procedure due to missing implementation details.
Primary judge's stated reason
B offers a materially more useful recovery plan: reconcile identity mismatches, preserve explicit scope, and verify remote expected event identities, payload restrictions, and the exact target cohort set. A's readback step checks only cursor advancement and journal stability, which cannot establish public ingestion or complete cohort evidence. B also addresses actual partial-batch acceptance rather than treating it solely as a missing response. This supports a clear preference, not merely a forced slight preference, despite B's questionable readback-as-ACK alternative.
This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.
Battle wave: 1c2a4cca-7ccd-4020-87d6-e335b0ffc385. Pair: brp1_7ef6952539fa698470492f253e9af018b8126a4b089e32dea5a40794f9ca325c. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.