openai / gpt-6-luna / medium / medium effort preferred over nvidia / moonshotai/kimi-k3 / 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
From the supplied recorder compatibility source, SDK contracts, maintenance receipt, frozen-run admission proof and idempotency tests, design the smallest acceptance and recovery plan for same-root frozen-result recording. Trace ownership across the native receipt/run, adapter evidence transport, recorder journal and write-attempt fence. Specify exact preconditions, failure interleavings (reload, lost response after append, partial cohort, duplicate caller), authoritative reconciliation reads, rollback limits, and pass/fail checks. Identify what the current supported surface can execute deterministically and any minimal missing interface; distinguish source facts from proposals. Do not invoke tools, edit files, rerun workers/judge, manufacture root tool history, or publish. Return a prioritized plan with exact packet file/line references and explicitly unsupported claims.
openai / gpt-6-luna / medium / medium effort answer
## Prioritized acceptance and recovery plan
**Recommendation:** Treat same-root frozen-result recording as a one-shot, fenced side effect—not as an automatically retryable request. Accept a result only when the exact native run and frozen payload are verified, the recorder append is reconciled against authoritative journal reads, and the durable native readback agrees. A successful tool response alone is insufficient.
### 1. Preconditions and ownership
1. **Verify the native owner and exact run.** The scoring batch must resolve to one analysis run owned by the root; mixed wave IDs are rejected (`platform-recording.packet.md:9–21`). The frozen-result reference must identify that run and match its complete judged result, frozen input, and payload digest (`:37–83`). The native direct-admission proof further binds root, request, run, purpose, completed judge-only result, and digest (`:321–354`).
2. **Transport only the frozen input.** Pass the unchanged `scoring.input` from the admitted run; do not rebuild or modify outcome rows. The native hook checks canonical equality against the frozen input (`:87–96`). Recorder root-admission evidence is supplied by authenticated native exact-point reads, not caller-supplied tool arguments (`:503–520`).
3. **Acquire the native write fence before invoking the scorer.** The native preparation hook records the attempt and tool-call binding before execution (`:97–145`). The direct path also checks exact admission, then calls the registered scorer and persists a returned readback (`:174–197`). Treat the fence as consumed even if the scorer response is lost.
4. **Keep the native receipt and recorder journal distinct.** Native `attempted`/`returned`/`failed` state records the write attempt and tool outcome; the scorecard JSONL journal records actual appended rows. Neither alone proves the other. The supplied receipt documents six recorded outcomes, zero skipped/uncertain, 12 appended rows, and a successful repeated readback adding no rows (`:548–579`).
### 2. Smallest acceptance checks
For a clean execution, require all of these:
- Exact direct request receipt and admission proof verify for the same root, run, and digest (`:321–354`, `:362–371`).
- Native preparation succeeds and the scorer is invoked only after the attempt fence is durable (`:123–145`, `:174–197`).
- Scorer result reports the expected recorded/skipped/uncertain counts; do **not** infer successful recording from transport success (`:148–164`; packet caveat `:583`).
- Reconcile journal before/after using an authoritative snapshot: verify the original prefix is preserved and the appended rows correspond to the frozen cohort, with no duplicate rows. The example receipt records before/after hashes and prefix preservation (`:548–564`), but the packet does not include the journal snapshot implementation or row-matching algorithm.
- Persist and read back the native result receipt; a repeat is accepted only as a readback and adds zero rows (`:174–197`, `:565–568`).
### 3. Recovery by interleaving
| Interleaving | Required handling |
|---|---|
| **Reload before admission/fence** | Re-read the exact native request/run/admission and current native attempt receipt. Proceed only if the exact frozen payload still verifies and no attempt was consumed. |
| **Reload after fence, before/during scorer** | Treat as uncertain unless authoritative native state proves no scorer call/side effect occurred. Do not replay merely because the caller has no response; the attempt fence intentionally blocks a second write (`:97–123`, `:583`). |
| **Response lost after journal append** | Read the native attempt/result receipt and the authoritative recorder journal. Match exact cohort rows and counts against the frozen payload, verify prefix preservation, then record/read back reconciliation. Do not call the scorer again. The packet explicitly says a crash after scorer side effect but before durable returned readback is uncertain and the consumed attempt cannot be replayed (`:583`). |
| **Partial cohort or skipped/uncertain rows** | Fail acceptance as complete recording. Preserve the uncertain/partial outcome for investigation; do not replay the full batch because that can duplicate already-appended rows. The adapter can return skipped/uncertain outcomes despite successful transport (`:148–164`, `:583`). |
| **Duplicate caller / concurrent call** | Serialize through the native RPC’s exclusive operation and run-activity/fence checks; reject a second attempt. For the direct path, an existing durable result is returned as replayed readback only when root and digest match (`:174–183`). Do not interpret that readback as a new write. |
**Authoritative reconciliation reads:** native direct request receipt and root→run pointer plus durable run/frozen judgment; native score-finalization/attempt and tool-call binding; exact recorder journal snapshot and rows; and durable direct result receipt. The admission proof’s exact-point reads bind request, run and digest (`:321–354`); the recorder adapter’s admission resolver validates that proof against root metadata (`:503–520`). Caller memory, tool transport status, and a digest supplied without authenticated reads are not authoritative.
**Rollback limits:** No rollback or compensation interface is shown. Once rows append, the packet supports neither deleting them nor safely replaying the batch. Preserve the journal prefix; stop on discrepancy and require a separately authorized/manual repair process. Public publication is separate and must remain out of scope (`:578–583`).
### 4. Deterministic supported surface and gap
The packet demonstrates a deterministic **clean path**: authenticated direct admission, exact frozen payload, native pre-call fence, scorer execution, durable readback, and idempotent repeated readback with zero additional rows (`:548–579`). The compatibility adapter’s ordinary batch path transports outcome evidence into the scorer, but rejects frozen references unless the native `execute.before` resolver handles them (`:397–418`); root-admission proof is transported through the adapter client (`:503–520`).
**Minimal missing interface for deterministic crash recovery:** a durable recorder-side reconciliation/readback operation keyed by `(rootSessionID, runID, payloadDigest)` that returns the exact committed cohort and append identity, and can distinguish “no append” from “fully/partially appended.” The packet gives a recorded/readback receipt and journal hashes but does not establish that this interface exists for recovery after a lost response. Without it, that interleaving remains uncertain and must not be retried.
### Unsupported claims and confidence
The packet does **not** establish atomicity across native storage and the recorder journal, a journal transaction ID, exactly-once append across crashes, rollback capability, or deterministic recovery from partial appends. It also does not provide the journal reconciliation implementation, so exact row-level reconciliation criteria are a proposal, not a source fact. Confidence is high for the one-shot fence and demonstrated clean-path readback; limited for crash recovery because the needed cross-system reconciliation contract is not evidenced.
nvidia / moonshotai/kimi-k3 / high / high effort answer
EVIDENCE PACKET — Same-root frozen-result recording: acceptance & recovery plan
All references are to `platform-recording.packet.md` (sha256:a134…170d), cited as packet line / original source line. Facts vs proposals are labeled.
## 1. Ownership trace (FACT, from source)
Four owned layers, handoff points verified:
1. **Native receipt/run owner** — `direct-rpc.js` `record` handler (pkt 280–286; src 280–285): wrapped in `exclusively()`, requires `receipt.state==="completed"`, `runID` set, `rootSessionID===ownedRoot(requestID)`, `previousRequestID===null` (pkt 282). It then calls `readDirectScoringAdmission` (pkt 283) and delegates to `engine.recordFrozenScore` (pkt 285).
2. **Adapter evidence transport** — `adapter/index.js` (pkt 803–805; src 803–805): the registered `record_agent_outcomes` tool *rejects* frozen references (`runID`/`payloadDigest`); they "require the Agent Teams native execute.before resolver" — i.e., they can only execute through the native hook `prepareScoreWrite`/`finishScoreWrite`, never through raw tool args.
3. **Recorder journal** — `events.jsonl` under `OPENCODE_SCORECARD_DIR` or `[REDACTED: home-relative path]` (pkt 2498; src 2498), audited via `journalSnapshot` (pkt 2499). Append-only behavior evidenced by the recorded receipt: `prefixPreserved:true`, `appendedJournalRows:12` for 6 outcomes (2 rows/outcome), `journalBeforeSHA256`→`journalAfterSHA256` (pkt 561–564).
4. **Write-attempt fence** — `admitScoreWrite` (pkt 2503–2507), gated by: in-memory `finalizationAttempts` (pkt 2486, 2493, 2511), durable legacy marker `finalization-attempt/{runID}` (pkt 2484, 2492, 2529), durable receipt `score-finalization/{runID}` (pkt 2483, 2492, 2513–2521), per-call lease `scoringRunReleases` (pkt 2432–2437, released at pkt 2531 and 2552–2556), and run-activity lock `acquireRunActivity(...,'scoring')` (pkt 2435; `run-operation-lock.js` pkt 211 makes recovery exclusive against all activities).
Deciding authority order: RPC admission proof → frozen-judgment digest guards → fence admission → journal append → durable readback (`direct-score-result/{runID}`).
## 2. Exact preconditions (FACT, from source)
Recording is admitted only if all hold:
- **Receipt chain** (direct-scoring-admission.js pkt 10–17; src 10–17): `rootSessionID` matches `ses_direct_[a-f0-9]{40}` and equals `ses_direct_` + sha256(requestID)[:40]; receipt v1, `state:'completed'`, `synthesisMode:'judge-only'`, `admission.ok && admission.durableRunCreated`, `admission.runID===runID`, storage pointer `root-run/{rootSessionID}.runID===runID`, `inputHash` matches recomputed hash, `previousRequestID===null`.
- **Run chain** (pkt 20–23; src 20–23): run v1, `type:'analysis'`, `parentSessionID===rootSessionID`, same directory, `status:'completed'`, `finalResult.complete`, `phase:'judge-only'`, receipt.createdAt ≤ run.createdAt, every task-input key matches `run.caseInput`.
- **Frozen digest chain** (pkt 24–27; src 24–27): frozen, returned, and receipt-recorded scoring inputs exist, are canonically identical, all carry the same `payloadDigest`, and `scorePayloadDigest(frozen.input)===payloadDigest`; outcomes ≥2, unique `childSessionID`s, every `waveID===runID`. (Corroborated by recordFrozenScore pkt 2563–2564 and prepareScoreWrite pkt 2455–2462.)
- **Purpose/contributor checks** (pkt 2470, 2479–2481): all outcomes declare the run's purpose; `validateScoreBatch` against frozen contributors.
- **Canonical input equality** (pkt 2474–2478): submitted outcomes must be byte-canonical to `frozenJudgment.input` — no reconstructed rows (confirmed by verified fact, pkt 583).
- **Tool registered** (pkt 2568–2569), **signal not aborted** (pkt 2570), **fence unconsumed** (pkt 2503–2510).
## 3. Failure interleavings
| Case | Fence behavior (FACT from source) | Recovery |
|---|---|---|
| **Process reload between attempts** | In-memory `finalizationAttempts` Map is lost, but durable `score-finalization/{runID}` and `finalization-attempt/{runID}` survive; the deliberate post-async recheck (pkt 2490–2493, comment at 2490–2492: "so a concurrent call or an older consumed marker can never share the first-write exception") re-reads storage before admission. Second attempt denied with idempotency error (pkt 2508–2510). | None needed; denial is correct. |
| **Lost response after append (crash after scorer side effect, before durable readback)** | Receipt stays `state:"attempted"` (pkt 2513–2521) because `finishScoreWrite` never ran; `direct-score-result/{runID}` absent. Verified fact (pkt 583): "uncertain; consumed attempt cannot be replayed." Automatic retry is blocked. | Only the reviewed-recovery path (pkt 2494–2502): a recovery document with `state:'ready'` admitting a retry only if `payloadDigest`, canonical `originalReceipt`, journal `bytesDigest`, and journal `identity` all match; otherwise "no replay admitted" (pkt 2500). |
| **Partial cohort** | Frozen path requires canonical equality of the entire outcomes array to `frozenJudgment.input` (pkt 2476–2478) — any subset/edited batch is rejected (`SCORE_INPUT_GUARD_REJECTION`). Skipped/uncertain rows *reported by a returned scorer* do not equal recorded scores (pkt 2545–2546); the attempt is still consumed. | No replay; reconciliation is read-only against the journal. |
| **Duplicate caller** | Hook path: same lease key `(sessionID,messageID,call.id)` → "Score activity lease already exists" (pkt 2432–2434). Direct path: every `recordFrozenScore` fabricates a fresh call id (pkt 2573), so RPC-level `exclusively()` (pkt 280, 287) serializes callers; a second call after success hits `prior` replay at pkt 2566–2567 and returns `{...prior, replayedReadback:true}` without touching the fence. A concurrent second caller that interleaves before the first's write faces the `finalizationAttempts.has` re-read inline at pkt 2503–2504 and is denied. | Replay is the reconciliation. |
| **Scorer executes but reports error** | `finishScoreWrite` records `state:"failed"` with `errorInfo` (pkt 2547–2550); attempt remains consumed. | Reviewed-recovery only. |
## 4. Authoritative reconciliation reads (FACT)
In priority order:
1. `direct-score-result/{runID}` storage entry (pkt 2565–2567) — definitive durable readback; presence with matching `rootSessionID`+`payloadDigest` ⇒ recorded.
2. `score-finalization/{runID}` receipt: `attempted` | `returned` | `failed` + `toolCallID` (pkt 2513–2521, 2547–2550).
3. `finalization-attempt/{runID}` legacy consumed marker (pkt 2529).
4. Journal snapshot at the scorecard `events.jsonl` path (pkt 2498–2500): `bytesDigest`, `identity` — exactly the fields the recovery branch compares.
5. Admission chain re-verification: `readDirectScoringAdmission` full re-read (pkt 8–28) to confirm the frozen cohort before any recovery decision.
6. Verified maintenance-receipt fields as the acceptance oracle: `recorded/skipped/uncertain`, `appendedJournalRows`, `prefixPreserved`, `journalBefore/AfterSHA256`, `idempotentReadback`, `secondCallAddedRows`, `nativeToolCallID` (pkt 551–568).
## 5. Rollback limits (FACT)
- The journal is append-only and prefix-preserved (pkt 561–564); **no rollback of appended rows exists anywhere in the packet.**
- A consumed attempt can never be replayed to create a second quality sample (pkt 2509; verified fact pkt 583).
- The single forward-recovery mechanism is the reviewed exact-preparation recovery (pkt 2494–2502), valid only against byte-identical evidence; any drift ⇒ hard error, no replay.
- The availability-only, no-attempt proof path (pkt 2486–2488) is a first-write exception only; it is unavailable once any attempt marker exists (guarded by `!legacyAttempt && !finalizationAttempts`, pkt 2486).
## 6. Smallest acceptance plan (prioritized)
**P0 — deterministic, executable on the current supported surface (FACT-supported):**
1. **Admission-empty gate:** `record` on a receipt lacking completed/runID/ownedRoot/`previousRequestID===null` → exact error (pkt 282). Pass/fail: error thrown, no journal row appended (before/after SHA equal).
2. **Frozen digest guards:** call with wrong `payloadDigest`, tampered run record, or non-canonical outcomes → `SCORE_INPUT_GUARD_REJECTION` at pkt 2564 / 2460–2462 / 2476–2478. Pass/fail: rejection + score-finalization receipt absent + journal unchanged.
3. **Happy path:** full direct chain ⇒ durable readback matching the receipt contract (recorded=6, skipped=0, appendedJournalRows=12, prefixPreserved, nativeToolCallID recorded) as in pkt 551–568. Pass/fail: `score-finalization` state `returned`, `direct-score-result` present, journal delta exactly 2 rows/outcome.
4. **Idempotency/replay:** immediate second `record` → `replayedReadback:true`, `secondCallAddedRows:0`, journal SHA unchanged (pkt 2567; receipt fields pkt 566–567).
5. **Reload:** restart between two attempts; second attempt must fail with the idempotency error citing the frozen judgment (pkt 2508–2510) — proving storage markers, not the in-memory Map, are authoritative.
**P1 — failure interleavings:**
6. **Crash-after-append simulation:** force receipt `state:"attempted"` with rows present; assert retry denial, then reviewed recovery admits only with byte-identical `payloadDigest`/journal digests and rejects on any tamper (pkt 2500–2502).
7. **Partial cohort:** truncated outcomes array → canonical-equality rejection (pkt 2476).
8. **Duplicate caller:** same-lease duplicate → lease error (pkt 2434); two RPC callers → serialized, second replays.
9. **Hook-transport-not-recording:** scorer returns but reports skipped rows → receipt still consumable/`returned`; acceptance must read the journal, not transport status (pkt 2545–2546).
**P2 — proposal (NOT currently in source):**
10. A read-only **journal reconciliation RPC** returning `{journalBytesDigest, journalIdentity, rowCount by runID/toolCallID}`. Today the only journal read shown is internal to the recovery branch (pkt 2498–2500); the maintenance receipt's SHA/row-count fields (pkt 562–564) had to be produced outside the admitted surface. This would convert crash-after-append from "uncertain, manual" to deterministic.
## 7. Explicitly unsupported claims / uncertainties (no source in packet)
- `admitScoreWrite`, `admitReviewedScoreRecovery`, `verifyScoreAvailability`, `availabilityOnlyScoreReceipt`, `validateScoreBatch`, `journalSnapshot` — called but implementations not included; their exact admission algebra is inferred from call sites, error strings, and the comment at pkt 2490–2492 only.
- The scorer-side dedup that guaranteed `secondCallAddedRows:0`/`idempotentReadback` (pkt 566–567) is asserted only by the maintenance receipt; no recorder/append code appears in the packet.
- `exclusively()` scope in direct-rpc.js (per-request vs global) is not shown; I assume it serializes the `record` handler, consistent with pkt 277–278 ("An uncertain submit is never retried automatically").
- No source covers cross-process duplicate callers; single-server PID in the receipt (pkt 571) suggests one owner process, but that is not proven by source.
**Next useful action:** obtain `admitScoreWrite`/`admitReviewedScoreRecovery`/`journalSnapshot` sources to confirm the fence algebra before writing P1 test 6; otherwise run P0 items 1–5, which are fully executable against the admitted surface and the verified receipt contract.Primary judge's stated reason
A supplies the safer, better-supported acceptance boundary: returned transport is not recorded quality, and an uncertain consumed append is reconciled without scorer replay. This is a clear task-relevant advantage, not merely a forced slight preference: B's proposed recovery check could validate behavior the supplied evidence explicitly excludes. No actual replay or implementation failure is established.
This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.
Battle wave: 39551589-cd0d-49dd-92e2-40e197bd1da5. Pair: brp1_c867e8a5556f6387b9e520548587d3378ef29c6138c2d0d3f1432e3bbce57768. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.