openai / gpt-6-luna / medium / medium effort preferred over claude-code-cli / claude-sonnet-5-5 / low / low 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 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-luna / medium / medium effort answer
**Actionable finding — High: matched evidence paths are transported but not shown to constrain the evidence used for admission.** The patch adds `matchedEvidencePaths` to the direct input schema and validates only its count, type, nonblankness, and maximum string length (`uti26-admission-repair-review.packet.md:65, 74–75`). The Python bridge forwards the paths (`:152–157`), and the regression tests verify transport (`:200–203`, `:216–225`). But the `src/native-run.js` changes shown do not consume these paths or use them to bound `matchedEvidence` or the evidence packet; they only defer admission and stamp difficulty (`:15–28, 36–57`). If these paths are intended to establish bounded source evidence, the shown implementation does not establish that boundary. **Test gap:** the tests assert transport, not that admission uses only the listed evidence.
**No other actionable defect established in the supplied diff:**
- The deferred callback is invoked after the described preflight checks and before the listed admission side effects (`:53–55`). The catch distinguishes errors before root creation from errors after the create callback marks `root-create-started` (`:94–107, 118–124`). The supplied tests cover both rejection without root creation and an ambiguous post-commit create failure that remains uncertain and is not replayed (`:181–192`).
- The shown submit path returns an existing receipt before launching again, and the tests exercise same-request replay (`:181–192`). Concurrent receipt transitions are not independently tested; the packet does not include enough surrounding locking/storage implementation to assess broader concurrency behavior.
- Judge-only collection is explicitly considered complete, with a regression test for completion and no recollection on a subsequent advance (`:128–134, 194–199`). This supports the specific terminal-phase correction, not broader untouched behavior.
**Uncertainty:** The packet does not show any separate implementation that consumes `matchedEvidencePaths`; if such logic exists outside the proposed diff, it could address the evidence-scope finding, but it is not evidenced here.
**Next useful action:** Add a regression test that proves the native admission evidence is restricted to the supplied paths, and implement that restriction if it is not handled elsewhere.
claude-code-cli / claude-sonnet-5-5 / low / low effort answer
# Evidence packet: admission-repair review (packet lines only)
Direct review only, with no tools run. Nothing outside the packet was read, and I make no claim about the untouched `native-run.js` or `transition` code.
## 1. Findings
**F1 (Medium, implementation fact): a non-throwing engine rejection after root creation is recorded as a definite rejection.**
- Evidence: `direct-rpc.js` lines 112-114 set `state = "admission-rejected"` whenever `launched.ok !== true`. That check ignores `receipt.admissionStage`.
- The uncertainty fence (lines 118-124) applies only to thrown errors.
- If the real engine catches an error after the callback (`native-run.js` line 53) and returns `{ok:false}`, a receipt with stage `root-create-started` or `root-created` becomes a plain rejection. That is an orphan root, or an ambiguous create, reported as a known rejection.
- The test at lines 188-193 uses a mock that rethrows, so it does not exercise this path.
- Fix: if stage is not `preflight` or `legacy-admission` and `durableRunCreated !== true`, set `admission-uncertain`, or at least record `rootCreated`.
**F2 (Medium, implementation fact plus test gap): "running" does not require that the root was created.**
- Evidence: line 113 sets `running` on `ok && durableRunCreated && runID`. It does not assert `admissionStage === "root-created"` in the deferred path.
- If any engine path saves a run without invoking `beforeAdmissionCommit` (the patch adds only one call site, line 53), the receipt is `running` against a nonexistent root session.
- No test covers an engine that returns success without calling `create`.
**F3 (Medium, uncertainty): every pre-callback throw is classified as a definite, permanent rejection.**
- Evidence: line 120 treats any throw while stage is `preflight` as `admission-rejected`, with `rootCreated:false` and `modelDispatched:false` (line 124). The stage only changes inside `createRoot`.
- This is correct only if everything before line 53 has no side effects. The patch removes `stampTaskDifficulty` from before that point (line 45 deleted), but I cannot see the other pre-callback code (receipt revalidation, evidence reading, session or Mission Control calls).
- Transient errors such as storage or I/O failures become non-retryable under the same request ID.
- The preflight code may also use `toolContext.sessionID` before the root exists. This is unverifiable from the packet.
**F4 (Low-Medium, implementation fact): the judge-only terminal rule is not tied to receipt mode.**
- Evidence: line 133 accepts `phase` in `["synthesized","judge-only"]` for any receipt.
- A non-judge-only receipt that returns `judge-only`, or a judge-only receipt that returns `synthesized`, becomes `completed`.
- The check should be `receipt.synthesisMode === "judge-only" ? "judge-only" : "synthesized"`.
- It also does not check that the `synthesis` skipped state is present.
- Related test gap: the RPC schema (line 64) allows `synthesisMode` without `moaJobSpec`. The only test (line 203) checks an invalid enum value. Judge-only without a V2 spec, and `synthesisMode` combined with a follow-up, are untested at the RPC level. Python rejects the first case (line 149), but RPC-level enforcement is not visible in the packet.
**F5 (Medium, uncertainty and test gap): evidence-scope bounds are shape-only, and engine consumption is unproven.**
- Evidence: `direct-rpc.js` line 75 and `server.py` lines 152-157 check count (1-64), type, non-blank and length ≤1000.
- Neither checks absolute paths, `..` traversal, duplicates or normalization. Confinement would have to happen in the engine, which the packet does not show.
- The `native-run.js` hunks never reference `matchedEvidencePaths`. Only a mocked engine receives the field (test line 182), so there is no evidence the engine honors or bounds it.
- Whitespace-only paths are rejected but untrimmed paths pass through as-is.
- JS `length` (UTF-16 units) and Python `len` (code points) differ for non-BMP characters, which is a minor inconsistency.
**F6 (Low, test gap): concurrency and idempotency coverage is thin.**
- Tests replay sequentially (lines 186, 192, 198).
- There is no concurrent same-`requestID` submit or advance test.
- There is no test of a crash while stage is `preflight`, or of recovery from a persisted `admitting` receipt with a stage.
- There is no engine-level test of callback ordering, such as the callback running before `stampTaskDifficulty`, or the callback not running on a rejection.
- Three consecutive `transition(receipt,"admitting")` calls on the same state (lines 96, 99, 103) depend on `transition` accepting same-state writes. This is not shown, and I did not run the tests.
- `inputHash` is computed outside the packet, so I cannot confirm it covers `matchedEvidencePaths`. If it does not, replay with different paths would be accepted silently.
- `admissionStage` is never cleared, which is harmless but untested.
## 2. Likely false positives and discarded hypotheses
- The flight lock (`native-run.js` lines 16-22) still wraps the callback, so a double create within one root is unlikely.
- Moving the difficulty stamp after the callback (lines 45 and 54) looks safe, assuming `plan` and `input` are in scope at the new site. I cannot see the enclosing scope.
- Follow-up rejection of `matchedEvidencePaths` (line 78) is consistent with Python (line 153).
- The closure reassigning `receipt` (lines 94-100) is intentional and fine.
## 3. Missing evidence
- `transition`, `owner` and `inputHash` implementations.
- The engine's evidence and path consumption.
- The code between lines 3287 and 3765 of `native-run.js`.
- The `_direct_rpc` signature.
- The source of the "explicit task declaration" error text expected by the test at line 203.
## 4. Next action
Fix F1, F2 and F4 in `direct-rpc.js`. Add tests for each:
- an engine that returns `{ok:false}` after calling `create`;
- an engine that returns success without calling `create`;
- a mismatched phase and mode pairing.
Then confirm the engine confines `matchedEvidencePaths`.Primary judge's stated reason
The forced, weak preference is B: its treatment of callback ordering and judge-only completion is less likely to send maintainers toward fixes for behavior not established by the packet. A offers broader conditional investigation and more concrete tests. This is not an established material quality difference; uncertainty remains, 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: f1f06d7f-e063-470d-b7cb-20c74c8223f5. Pair: brp1_acc78794688f7b484eaa3f830a8e5198e02da80590698ff254377945a6cf3e8e. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.