openai / gpt-6-sol / low / low 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-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.
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
Prefer A weakly because its more cautious conclusions reduce the risk of treating unestablished engine behavior as a required implementation repair. This is a forced, slight preference, not an established material quality gap: B supplies useful additional regression scenarios, and an independent review could reasonably value those more.
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_a701bac0510c61ab90ac673f90fc182dc240bad4ded353f8a400e5261f67241e. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.