← Model losses

Head-to-head comparison

openai / gpt-6-sol / low / low effort preferred over xai / grok-4.7-efficient / 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 complete proposed admission-repair diff and regression files in uti26-admission-repair-review.packet.md. Find actionable defects in deferred pre-root validation, ambiguous create outcomes, concurrent/idempotent receipts, bounded evidence scope, and explicit judge-only terminal handling. Cite severity and exact file/line evidence from the packet. Distinguish implementation facts from test gaps; if none, say so. Do not edit files, run tests or claim broader untouched code was reviewed.

openai / gpt-6-sol / low / low effort answer

## Findings

- **High — Pre-root rejection can be reported after a root-creation callback has begun.** In `src/direct-rpc.js`, `createRoot` sets `receipt.admissionStage = "root-create-started"` *before* awaiting the `admitting` transition (packet lines 94–97). If that transition throws before persisting, the catch uses the in-memory stage and conservatively marks the outcome uncertain (lines 118–124), which is safe. However, the converse boundary depends on the callback being the sole way the engine creates a root; the shown `src/native-run.js` callback placement is after planned receipt checks (lines 49–55), but the packet does not show all preceding engine effects. **No demonstrated implementation defect** in that boundary can be established from this diff alone.

- **Medium — Judge-only completion accepts an unverified phase from `engine.collect`.** `src/direct-rpc.js` marks any `complete: true, phase: "judge-only"` result completed (packet lines 128–134), without checking the persisted `receipt.synthesisMode` (line 86) or the result’s skipped-synthesis status. If `collect` can return that phase for a non-judge-only request, the wrapper would incorrectly finalize it. The packet says the engine persists explicit mode and skips synthesis, but its collection implementation is outside this diff; this is a **conditional integration risk**, not a proven engine defect.

## Test gaps and scope

`tests/admission-repair.test.mjs` uses mocked engine outcomes (packet lines 181–203). It does not exercise actual native preflight ordering, concurrent submissions or storage failures, ambiguous launch outcomes after root creation, or engine judge-only dispatch. The Python test checks transport only (`tests/test_evidence_bridge.py`, packet lines 216–225). The path bounds in `src/direct-rpc.js` and `server.py` limit count and string length (packet lines 65, 74–75, 152–157); the packet does not show how the engine resolves or restricts those paths, so evidence-scope enforcement cannot be assessed here.

**Next action:** Add integration tests against the real engine and storage transition behavior, especially concurrent same-request submissions and both sides of the root-create boundary. I did not run tests or review code outside the supplied packet.

xai / grok-4.7-efficient / high / high effort answer

The patch has actionable correctness defects. The deferred path can turn infrastructure failures into sticky denials, and post-create outcomes are classified inconsistently. Judge-only completion and evidence bounds are weaker than the new fields imply. Native callback order is only partly visible and is not exercised by the new tests.

## Findings

1. **High — every pre-root throw becomes a sticky semantic rejection.** In `direct-rpc.js` (packet lines 118–124), `rejectedBeforeRoot` is only `receipt.admissionStage === "preflight"`. Any throw in that stage is persisted as `admission-rejected` with a synthetic `{rootCreated:false, modelDispatched:false, stage:"preflight"}`. The test at lines 181–186 makes that denial non-replayable. Confirmed triggers that are not semantic preflight failures: missing `launchMoAAfterPreflight` (line 106) and the in-flight throw in `launchMoA` (lines 17–18), which happens before `createRoot`. Capability mismatch and lock collision permanently consume `requestID` and look like a known no-root denial. Implication: operators can treat an engine/skew or concurrency fault as a final evidence rejection.

2. **High — create outcome is not reconciled with receipt state.** `createRoot` (lines 94–100) sets `root-create-started` and persists it before `session.create`, then sets `root-created` without reading the create result. The catch (lines 120–123) then treats every later throw as `admission-uncertain`, including a definite pre-commit adapter failure. The success path (lines 112–113) does the opposite: any returned `ok !== true` becomes `admission-rejected`, and `running` does not require `admissionStage === "root-created"`. A return after the callback can be a clean rejection even though a root exists; a throw before any host commit cannot be a clean rejection; a success return without calling the callback can still be `running`. Ambiguous create is not actually distinguished.

3. **High — difficulty stamping moved on every launch, not only deferred admission.** `stampTaskDifficulty` is removed from before `runID = randomUUID()` (lines 45–46) and placed after the optional callback (lines 53–54), inside `launchMoAExclusive` for legacy and continuation callers too. `launchMoAAfterPreflight` (lines 25–28) only checks V2 job shape, `continueRunID`, and callback type, then enters that same function. Visible fact: run identity is allocated, and an unshown region runs, before root creation and before stamping. A stamp or reservation failure now happens only after `createRoot` on the deferred path, so it orphans a root and is uncertain rather than a pre-root rejection. Whether the omitted region persists or dispatches is outside the hunk.

4. **Medium — judge-only completion is an unscoped phase allowlist.** Line 133 completes when `complete === true` and `phase` is `synthesized` or `judge-only`. `synthesisMode` is copied onto the receipt (line 86) but is not consulted. A judge-only receipt whose collect result is `synthesized`, or a non-judge-only result with `phase: "judge-only"`, is `completed` even if `synthesis.usageStatus` is not `not-dispatched`. The test at lines 194–198 only covers the matching happy path.

5. **Medium — evidence scope is bounded only by count and string length.** Schema (line 65), `validateInput` (line 75), and `server.py` (lines 152–157) allow 1–64 strings of length 1–1000, reject empty/whitespace-only and follow-up use, and do not reject `..`, absolute paths, NUL/newlines, duplicates, or paths outside `directory`. Whitespace-padded paths such as `" src/a.js "` pass. The `native-run.js` diff never reads `matchedEvidencePaths`. If unchanged guards do not already consume that field, the new bound is transport-only.

## Implementation facts vs test gaps

Facts from the diff: sticky preflight catch; stage set before create and not checked on the running/rejected return path; stamp call moved for all exclusive launches; terminal predicate ignores `synthesisMode`; path checks are length/count only.

Test gaps, not implementation proofs: `tests/admission-repair.test.mjs` mocks `launchMoAAfterPreflight` and never imports `native-run.js`, so callback placement, stamp order, flight-lock classification, and post-create launch failure are untested. No case for missing engine method, `{ok:false}` after create, `phase:"synthesized"` on a judge-only receipt, or unsafe paths. `tests/test_evidence_bridge.py` only checks transport and an empty list; it does not check follow-up, overlong, or non-string paths even though `server.py` implements those checks.

## Discarded

- The new `server.py` check is not dead code: it is indented with `else`/`try` (lines 150–158), so it runs on the success fall-through.
- Follow-up does not accept packet paths: line 78 rejects `matchedEvidencePaths` even though that key is filtered out of `keys`.
- The flight check-then-set is not a same-turn race: `flights.set` runs in the caller before the event loop can re-enter.
- `"judge-only"` is the phase the prompt and the test both use; the defect is the missing cross-check, not the spelling.

## Missing evidence

`transition()` same-state re-entry and field preservation, `owner()` versus `rootSessionID`, the unshown region between run construction and the callback, `stampTaskDifficulty`, and `advance()` short-circuit are outside the packet. Consequence: findings 2 and 3 may be worse if that region commits or dispatches, and finding 1’s flight collision depends on whether session ids are shared. Pinned code may already read `matchedEvidencePaths`; the packet does not show it.

## Next action

Do not activate this patch. Classify only typed semantic preflight failures as `admission-rejected`; keep infrastructure faults uncertain and retryable. Require `admissionStage === "root-created"` before `running`, and treat any post-callback failure, thrown or returned, as uncertain. Confine evidence paths to the submitted directory. Add tests that drive real `launchMoAExclusive` callback order, not only a mocked wrapper.

Primary judge's stated reason

A is preferable because its explicit uncertainty boundaries better prevent unsupported implementation accusations from driving repair decisions. B offers useful additional review leads, but repeatedly promotes intended ordering, hypothetical engine responses, and unspecified path restrictions into actionable defects. This supports a clear comparative preference, not a claim that A establishes comprehensive correctness.

This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.

Battle wave: f1f06d7f-e063-470d-b7cb-20c74c8223f5. Pair: brp1_39db8db9528fb7d5596c01c9d4108c32b7caf3ef070834167a94a1c47a5ce096. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.