openai / gpt-6-luna / medium / medium effort preferred over cursor / grok-4.7 / Grok 4.7 High / high 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.
openai / gpt-6-luna / medium / medium effort answer
## Independent assessment
**Assumptions:** This is based only on the supplied description; no implementation was inspected. “Verified HTTP ACK” is unspecified, and HTTP idempotency protects only the event identities and scope the ingest service actually recognizes.
### Ranked failure modes
1. **High — ambiguous or partial HTTP success.** A timeout can occur after the server accepts some or all events but before the publisher receives an ACK. Retrying is safe only if the same event identities and payloads are idempotent at the server. If a batch partially succeeds and the publisher retries the whole batch, already accepted events must deduplicate; otherwise duplicates are possible. If it advances past the batch without verifying every event, events can be lost. The stated idempotency and ACK-gated cursor advancement help, but do not establish partial-batch semantics or what constitutes a verified ACK.
2. **High — concurrent publishers race cursor updates.** Two publishers can read the same cursor and submit overlapping batches. Idempotent ingest may prevent duplicate records, but does not ensure ordered progress or prevent one publisher from atomically overwriting a newer cursor with stale progress. No locking, compare-and-swap, or single-writer guarantee is supplied.
3. **High — cohort evidence lost through filtering.** Filtering out an event needed to complete a cohort can publish an incomplete or misleading cohort, even if every transmitted event is individually whitelisted and accepted. Conversely, broad replay risks publishing deliberately excluded historical records. The requirement for a scoped journal/cursor addresses replay scope, but the evidence does not define cohort-completeness rules or prove the selection filter preserves all required supporting evidence.
4. **High — journal replacement or truncation.** Device/inode identity plus last-line hash can detect some replacements or changes, but behavior on mismatch is unspecified. Continuing from a stale line number can skip or misattribute records; restarting without strict cohort filtering can replay excluded history. Truncation or replacement between validation and reading also needs protection. Halt and reconcile on identity/hash mismatch rather than silently resetting or continuing.
5. **Medium — crash before ACK.** If the cursor has not advanced, recovery should resend the batch. This is safe only if retries preserve event identity and the server deduplicates them. The description supports ACK-gated cursor advancement, but does not establish retry behavior.
6. **Medium — crash after ACK, before cursor commit.** The batch will be resent on recovery. This is safe under reliable per-event idempotency; otherwise duplicates result. Atomic cursor update prevents a torn cursor, but cannot make the remote ACK and local cursor commit one transaction.
7. **Medium — cursor commit without a genuinely complete ACK.** “Verified HTTP ACK” is a stated safeguard, but its verification criteria are not supplied. An ACK for only part of a batch, or an unvalidated response, could cause skipped events if cursor advancement is based on it.
### Minimal safe procedure
1. Define the exact new cohort IDs and required event types/supporting evidence. Build a scoped journal/cursor containing only those cohorts; do not reuse the broad cursor or replay historical backlog.
2. Before publishing, validate newline-terminated records, cohort completeness, event identities, and payload allowlisting. Reject prompts, code, private notes, paths, and any unapproved fields; publish only approved model IDs, integer judge metrics, timing, usage, and evaluation summaries.
3. Enforce a single publisher for the scoped cursor. Snapshot and verify journal device/inode and last-line hash before reading; stop on replacement, truncation, or mismatch.
4. Send batches of at most 12. On timeout, partial response, or uncertain ACK, **do not advance the cursor**; retry the same events with identical identities and payloads. Proceed only after verifying acknowledgment of every event in the batch.
5. Atomically advance the scoped cursor after full ACK verification. On restart, revalidate journal identity and resend from the committed cursor.
6. Read back by exact cohort/event IDs and compare the accepted event set and payloads with the intended set. Resolve missing, duplicate, or unexpected events before declaring publication complete.
**Supported by supplied evidence:** newline-terminated journal commit rule; batch limit; stated event allowlist and idempotency; 30-second timeout; atomic cursor advancement only after verified ACK; deliberate exclusion of historical records; need for scoped journal/cursor for new cohorts.
**Not established:** implementation of ACK validation, server behavior on partial success and retries, idempotency key stability/scope, cursor concurrency control, mismatch/truncation recovery, cohort-completeness filtering, or readback mechanism. These are dependencies for claiming the procedure is implemented or verified.
**Next useful action:** Inspect the publisher and ingest contracts for those missing guarantees, especially partial-batch ACK semantics, cursor locking, and behavior on journal identity mismatch. No tests or source inspection were performed.
cursor / grok-4.7 / Grok 4.7 High / high effort answer
The stated design can publish an exact new cohort safely only when that cohort is copied into a new scoped journal with its own cursor, the cursor moves only after a full-batch durable ACK, and retries reuse the same event identities. Those guarantees are stated, not verified in code. The highest-impact failures are publishing from the lagging canonical cursor, advancing a prefix cursor across a hole, and treating an uncertain ACK as success.
## 1. Findings and safe procedure
Impact order:
1. **Wrong-scope replay.** The canonical cursor sits behind excluded historical qualification and incomplete records. A publisher that resumes it will read that backlog. A fail-open filter publishes records that were meant to stay excluded. A skip-and-advance filter consumes them so they can never be reconsidered. A skip-without-advance filter stalls on the same prefix. New cohort IDs belong on a scoped journal and a scoped cursor whose line numbers are not the canonical file’s.
2. **Prefix cursor across a hole.** The cursor is a line number plus journal device/inode plus the SHA256 of the checkpoint line. It can represent only a contiguous prefix. In a batch of at most 12, a partial HTTP success, a whitelist drop, or a missing supporting-evidence event leaves a hole. Advancing past that hole makes the omitted line unrecoverable. Retrying only the rejected suffix leaves the hole behind the checkpoint. Completeness is a property of the cohort, while the checkpoint is a property of the file prefix.
3. **Uncertain acceptance.** The 30-second timeout does not distinguish “server committed, ACK lost” from “server did not commit.” Advancing the cursor on timeout, transport reset, or a body that does not name every submitted event ID drops any event the server did not retain. Minting a new event identity on retry defeats per-event idempotency and can double-count a cohort. Crash after a verified ACK and before the cursor write is the designed replay case, and it is safe only when the retry identity is unchanged and the server’s idempotency record outlives the retry.
4. **Public-field leakage.** The public payload allows approved model IDs, integer judge metrics, timing, usage, and evaluation summaries. It forbids raw prompts, code, private notes, and paths. An event-type whitelist does not enforce that field rule. Nested summaries, error strings, and supporting-evidence objects can still carry forbidden content. A scoped journal that copies raw records inherits the same requirement at projection time.
5. **Journal identity mismatch.** Device/inode detects replacement. It does not detect truncation or rewrite of the same inode. The checkpoint hash detects a change only on the checkpoint line, and only when resume hashes that line number rather than whatever line is currently last in a growing file. A shortened file whose cursor line is past EOF is a failed identity check. Inode reuse after delete and recreate is caught by a content hash mismatch except in the negligible case of a hash collision.
6. **Cursor race.** An atomic cursor write after ACK serializes one publisher’s own commit. It does not fence two publishers. Both can read the same checkpoint, and the later write can rewind the line number or skip ahead under a different filter. A scoped cursor removes the race only when the other process cannot open that same cursor.
7. **Crash windows the design already covers, if the unstated durability holds.** Crash before send, or after send and before ACK, leaves the cursor in place; the newline-terminated journal line remains to retry. Crash after a durable cursor update resumes after that line. A torn cursor write, an ACK issued before the server’s own durable commit, or an append resumed onto a partial trailing line are outside that guarantee.
**Minimal procedure for an exact cohort-ID set**
- Build a new scoped JSONL of only those cohort IDs. Keep each cohort’s evaluated outcome and supporting evidence contiguous. Project each record to the public field set and drop any cohort that is incomplete, contains a non-integer judge metric, uses an unapproved model ID, or has more than 12 public events. Seal the file before the publisher reads it.
- Create a new cursor file. Start at line 0 on this journal’s device/inode. Leave the canonical cursor untouched.
- Take an exclusive lock on the scoped cursor for the whole run. Before every batch, recheck device/inode, file length, and, once the line is greater than 0, the SHA256 of that exact checkpoint line. On mismatch, stop.
- Send at most one complete cohort per request, at most 12 events, with stable event identities. Accept only a response that ACKs every submitted identity. On timeout, partial acceptance, or any other outcome, rewrite nothing and resend the same batch.
- After a full ACK, write the new line number, device/inode, and SHA256 of that checkpoint line to a temporary file, fsync it, rename it over the scoped cursor, and fsync the directory.
- Read back each cohort ID. Require the same event identities, integer metrics, and counts, and require the absence of prompts, code, private notes, and paths. A readback miss halts the run. It does not move the cursor backward and it does not allocate new event IDs.
Confidence in these consequences, given the stated mechanics: high. Confidence that production implements those mechanics: none. No implementation was inspected.
## 2. Discarded hypotheses
- Crash before ACK does not by itself lose a journalized event. Loss requires a cursor advance without a durable server commit, or a journal line that never became a newline-terminated record.
- Idempotent ingest does not make it safe to advance past a rejected or filtered line. Idempotency protects exact retries of the same identity. The prefix cursor will not return to a hole.
- The inode check does not detect same-file truncation. The checkpoint-line hash and an EOF check do.
- A batch ceiling of 12 does not prove that a cohort fits in one request. Cohorts over that ceiling, or cohorts whose evidence was removed by the whitelist, fail the completeness preflight and stay out of the scoped journal.
- Atomic rename is not mutual exclusion against a second publisher. Exclusive lock plus compare-and-swap on the previous checkpoint is the missing fence.
## 3. Missing evidence
No source was in scope, so none of the following is established: ACK shape and whether ACK means durable server commit; idempotency key formula and retention; cursor fsync, rename, and compare-and-swap; publisher locking; consumer rule for partial cohorts; readback API and its consistency window; maximum events per cohort; whether “last-line SHA256” is the checkpoint line or the file tail; and whether filtering advances, stalls, or fails open. Until those are known, a canonical replay can publish excluded history or skip required evidence permanently.
## 4. Next useful action
Inspect the publisher’s journal read, filter, HTTP client, and cursor commit against the procedure above, and publish only a sealed scoped journal for the exact cohort IDs.
Primary judge's stated reason
A offers the more generally applicable procedure for the exact requested cohort set: it does not silently exclude an otherwise valid cohort because of request size. This is a clear task-relevant procedural advantage, although the archive does not establish that any actual cohort would encounter the restriction. B's additional recovery detail remains useful.
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_85d54e7080cb304b8c7f6c576c9ec6ffa7dd66ff523cd9374e952e6b04744f6d. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.