openai / gpt-6.1-sol / low / low effort preferred over openai / gpt-6-luna / max / max 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
Review the released BattleRanks recipe data integrity boundary in the named frozen source. Trace family identity, observation identity, verification, storage deduplication, and recovery on duplicate submissions. Identify concrete conditions that could merge distinct recipes, double count one observation, accept mismatched battle/configuration lineage, or partially persist state. For each finding cite the exact function and evidence, show a minimal counterexample or actor sequence, distinguish proven behavior from assumptions, assess severity, and propose the smallest regression scenario. Compare existing guardrails with each claimed gap. Return prioritized findings and a release follow-up decision. Do not edit files or claim tests ran.
openai / gpt-6.1-sol / low / low effort answer
## Conclusion
**Release follow-up: harden duplicate recovery and native-run lineage before expanding publication.** The snapshot has strong identity and storage guardrails, but concurrent identical retries can fail rather than recover, and native root/synthesis run identities are not consistently cross-checked. Atomic batch persistence cannot be established from this packet.
Independent, read-only analysis of the supplied snapshot; no tests ran.
## Prioritized findings
### 1. Identical retries are not recoverable across seasons or concurrent admission
**Severity: Medium. Confidence: High.**
**Evidence:** `insertRecipeObservations`, `recipe-store.js:38–46`; global source-run index, `0010_recipe_observations.sql:15–18`.
Two minimal sequences:
- **Concurrent publishers:** A and B submit the same valid observation. Both read before either inserts, both classify it as new, A commits, and B encounters a unique constraint. There is no catch-and-reload path.
- **Season transition:** An identical observation exists in season S1. Submit it in S2, assuming its battle remains admitted. The global replay check permits identical evidence (`recipe-store.js:40`), but the season-local maps do not recognize it as a duplicate (`41–43`). The attempted insert violates the global source-run index.
**Existing guardrails:** The primary key, battle/family uniqueness, and global source-run index prevent duplicate storage. Exact conflicting replays are rejected before insertion. These protect integrity but do not provide the promised identical-retry recovery.
**Impact:** Failed publisher requests despite already-persisted valid evidence; persistent retry failure across seasons. This is **not proven double counting**.
**Smallest regression:** Concurrently admit one identical observation twice; require one inserted response and one deterministic duplicate response. Repeat against a second season and assert the explicitly chosen cross-season behavior.
**Smallest fix:** On relevant uniqueness errors, reload the conflicting row and compare canonical evidence. Define whether cross-season identical submissions return “already recorded” or an explicit nonretryable rejection.
### 2. Root and synthesis run identities can disagree while verification succeeds
**Severity: High if resolver inputs can contain mixed-run artifacts; otherwise Medium latent validation gap. Confidence: High on the missing check.**
**Evidence:** `deriveRecipeObservation`, `recipe-evidence.js:29,41,68`.
The manifest run is checked against:
```js
metadata.runID ?? root.info?.metadata?.agentTeamsV2?.runID
```
When synthesis metadata supplies a run ID, root metadata is not compared against it. Root admission matching also accepts a text block merely containing `m.runID`, rather than requiring an exact structured run binding.
**Minimal counterexample:** Start with otherwise valid evidence for run R. Use a root export whose metadata identifies Q, but whose one qualifying `team_moa` tool text mentions R. Retain valid admission timing and omit the optional tool question. Bind the manifest to that root hash. No displayed check rejects the root/run disagreement.
**Existing guardrails:** Manifest worker hashes, synthesis hashes/result reference, dispatch/configuration derivation, answer matching, and temporal ordering remain required. They constrain the artifacts but do not repair this root identity disagreement.
**Impact:** A record attributed to R can carry root lineage for Q. Producing the full accepted bundle depends on control of—or errors in—the trusted evidence resolver; arbitrary public exploitability is not established.
**Smallest regression:** Change only root metadata’s run ID in a valid fixture, recompute its manifest hash, and require rejection. Separately ensure a textual incidental mention cannot establish admission.
**Smallest fix:** Require equality of every present run identity and use an exact structured admission identifier.
### 3. Structural battle matching permits duplicate public configuration entries
**Severity: Medium for authenticated-canonical admission; Low for the evidence-derived route. Confidence: High.**
**Evidence:** `verifiedRecipeObservation`, `recipe-observations.js:76–80`; bypass route, `recipe-store.js:33–35`.
For contributors `{A,B}`, the battle check accepts two models `{A,A}`: the length is two and every model belongs to the contributor set. It does not require unique battle configuration IDs or equality of both sets.
**Minimal counterexample:** Supply an internally valid observation with contributors A and B, matching battle ID/category, and a battle containing A twice. `verifiedRecipeObservation` accepts this cohort condition.
**Existing guardrails:** `deriveRecipeObservation` independently looks up each worker configuration and validates its public model/configuration (`recipe-evidence.js:49–55`), which blocks this example through normal evidence derivation. `authenticatedCanonical` bypasses that derivation, relying on caller authentication and canonical provenance not shown here.
**Impact:** A malformed admitted battle can accept an observation with a missing public contributor through the structural route. This does not establish an unauthenticated attack.
**Smallest regression/fix:** Assert rejection for battle `[A,A]` against recipe `[A,B]`; compare unique configuration sets and require public uniqueness.
## Persistence and identity assessment
- **Family identity:** `recipeFamilyID` validates derived configuration IDs, prohibits duplicate contributors and synthesizer overlap, and hashes sorted contributor IDs, synthesizer ID, rubric, protocol version, and instruction hash (`recipe-observations.js:42–47`). Contributor order is intentionally erased. Distinct order-sensitive recipes would merge **only if contributor order is semantically meaningful**, which this packet does not establish. Tasks, judge identities, and scoring policies are excluded; that is a grouping design choice, not independently proven corruption.
- **Observation identity:** Includes battle, family, source run, and judge-export hash (`49–50`). Changing other evidence preserves the ID, but canonical full-record comparison rejects conflicting retries (`recipe-store.js:40,43`). Thus the narrow identity does not itself establish silent overwrites.
- **Double counting:** SQL globally prevents reuse of a source-run ID. `aggregateRecipeObservations` itself checks only observation IDs and battle/family pairs (`recipe-observations.js:129–136`); direct callers could count one source run twice under different battles. The persisted publisher path adds both in-batch and global checks (`recipe-store.js:37–40`), so this is not a proven released-storage double-counting defect.
- **Partial persistence:** Inserts use `db.batch` (`recipe-store.js:46`) without an explicit transaction in the shown code. A later-statement failure could leave earlier inserts **if that API is nontransactional**. Its implementation and contract are outside the packet, so partial persistence is conditional, not proven. The revision subquery plus `admitted_revision NOT NULL` guards stale inserts, but does not itself demonstrate batch atomicity.
- **Duplicate-only stale revision:** Authenticated submissions check the selected revision initially (`33`), while duplicate-only batches execute no final revision-guarded write. A concurrent season change can therefore precede a successful duplicate response. No new stale row is proven persisted.
## Remaining evidence and next action
The digest/canonicalization, configuration derivation, active-season reader, exact arithmetic, and database batch contracts are outside the packet. Their absence limits conclusions about hash collisions, active-season validation, and transaction guarantees.
Next: add the three focused regressions above and an injected second-insert failure test against the actual database adapter. Keep the global source-run uniqueness and immutable-row triggers; fix recovery rather than weakening deduplication.openai / gpt-6-luna / max / max effort answer
## Prioritized findings
1. **P1 — Evidence can be attributed to the wrong battle when manifest bindings are omitted.**
`deriveRecipeObservation` in `recipe-evidence.js` line 29 checks `m.battleID` and `m.category` only if they are truthy. Line 30 requires archived public-battle and runtime evidence only when `m.complete === true`. Thus a manifest with no battle/category fields and `complete` false or absent is accepted without binding the run’s task to the supplied battle.
**Counterexample:** Take valid evidence produced for battle A with those manifest fields omitted. Submit it for active battle B, whose contributor configurations, model rows, timings, and costs match A’s. The worker checks at lines 44–55 can pass; the record is then built using B’s ID and category at line 68. `verifiedRecipeObservation` checks that record against B at `recipe-observations.js` line 80, but that only confirms the attribution constructed by the verifier—it does not bind the source run to B.
**Existing guards:** Present manifest IDs/categories must match; complete manifests require an archived battle match; contributor configs are checked against public battle models. These protect configuration matching, but not run-to-battle/task identity when the optional manifest fields are absent.
**Severity:** High: can place valid evidence in the wrong battle’s catalog. Whether released evidence actually omits these fields is not established by the snapshot.
**Smallest regression:** Submit evidence with omitted `battleID`/`category` and `complete` unset against a different battle with the same model cohort; require rejection. Make the binding mandatory, or require verifiable archived-battle evidence.
2. **P2 — Family identity trusts declared versions where content identity is available.**
`recipeFamilyID` in `recipe-observations.js` lines 42–47 hashes configuration IDs, rubric version, synthesis protocol version, and synthesis-instructions hash. In `deriveRecipeObservation` (`recipe-evidence.js` lines 31–33, 68–69), a runtime package’s declared name/version supplies the protocol version; its byte hash is stored in lineage, but is not part of the family ID.
**Counterexample:** Two runs have the same contributors, synthesizer, instructions, rubric label, and runtime package name/version, but different runtime package bytes that change synthesis behavior. They receive the same family ID and are grouped together by `aggregateRecipeObservations` at `recipe-observations.js` lines 134–145. The same version-label limitation applies to rubric changes that retain the same `rubricVersion`.
**Existing guards:** Configurations are validated and their IDs rederived; instruction bytes are hashed; runtime bytes are recorded for provenance. Those guards do not distinguish changed runtime contents under an unchanged version label.
**Severity:** Conditional—depends on whether package contents and rubric semantics are guaranteed immutable per version.
**Smallest regression:** Use two behavior-distinct package snapshots with identical declared name/version and verify whether they should form separate families. If so, include the runtime hash in family identity; otherwise enforce and document immutable versioning.
3. **P2 — Concurrent identical retries are not reliably recovered as duplicates.**
`insertRecipeObservations` in `recipe-store.js` lines 38–46 reads existing rows and then inserts separately. The duplicate result at line 43 is produced only if a retry sees the earlier committed row. SQL uniqueness guards at `0010_recipe_observations.sql` lines 11–18 prevent double storage, but the insert path does not catch a uniqueness conflict and re-read.
**Counterexample:** Publishers A and B submit the same event concurrently. Both read no existing row, both queue it, and one commits first. The other hits the primary-key, battle/family, or source-run unique constraint and propagates an error instead of returning `status: 'duplicate'`.
**Existing guards:** Sequential exact retries in the same season are recognized at line 43; conflicting source-run contents are rejected at line 40; database uniqueness prevents double counting.
**Severity:** Reliability/recovery issue, not a demonstrated double-count issue.
**Smallest regression:** Synchronize two identical submissions after their existing-row reads; require one `inserted` and one `duplicate`, with no uncaught uniqueness error.
## Partial persistence and other guardrails
**Partial persistence is not proven by this snapshot.** `insertRecipeObservations` sends all new rows in one `db.batch` call (`recipe-store.js` line 46), and SQL uniqueness constraints reject conflicts. The snapshot does not establish whether the database adapter guarantees all-or-nothing batch execution. If it does not, a batch containing multiple rows where a later insert violates a unique constraint could leave earlier rows persisted despite the call failing. **Follow-up:** verify the adapter’s transaction guarantee and test rollback on a deliberate later-row constraint failure before release.
No normal-path double count is demonstrated: verified IDs are recomputed (`recipe-observations.js` line 75), aggregation rejects repeated observation IDs and battle/family pairs (lines 129–136), and the database enforces corresponding uniqueness plus global source-run uniqueness. Likewise, contributor configurations are checked against public battle models in `recipe-evidence.js` lines 44–55; the finding above concerns battle/task attribution, not a demonstrated acceptance of mismatched contributor configs. Sorting contributor IDs in the family key treats contributor order as irrelevant; whether that is a false merge depends on whether order is intended to affect recipe semantics.
The `authenticatedCanonical` path in `insertRecipeObservations` line 35 bypasses publisher-evidence derivation. It still checks the record and active season/revision, but its safety depends on that option being restricted to a trusted caller; caller authorization is outside this packet.
## Release follow-up
**Hold release pending resolution of the optional battle-binding gap** and confirmation of batch atomicity. Add the concurrent duplicate-retry regression as a recovery fix. Treat runtime-content identity as a policy decision: either bind its hash into family identity or establish immutable package/rubric versioning.
The supplied snapshot omits the database adapter and relevant dependency implementations, so transaction behavior, caller authorization, and the semantics of derived configuration IDs cannot be independently confirmed here. No tests were run.
Primary judge's stated reason
B receives a slight forced preference for more accurate acceptance-condition analysis and additional actionable recovery and lineage scenarios. A's stronger treatment of omitted battle binding is substantial counterevidence. This is not an established material quality gap, 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: c45fb52e-f319-4911-b8d9-47ec80be5c0c. Pair: brp1_2b4c9e90825926a8996ddd767d279522c4e364da6d9a1fed1328226af8032abc. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.