openai / gpt-6.1-sol / xhigh / xhigh 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
Independent review of the frozen writer candidate for assignment 17507ba8-07a6-4736-bbcb-0dca0e56782a. Review only the frozen packet identified by reviewTargetRef writer-review-target:17507ba8-07a6-4736-bbcb-0dca0e56782a:2:b895d870c0e48c46. Do not inspect the mutable source checkout, do not treat any uncommitted draft outside the frozen packet as the implementation, and do not recommend merge, install, activation, or permission changes. Do not carry forward any prior PASS; verify this packet itself.
The required implementation is a local Codex stdio MCP plugin at harness/codex-plugins/direct-computer-use that wraps only `[REDACTED: local path]` with argv `mcp`. It must expose only list_apps, get_app_state, click, type_text, and scroll; retain each tool's native input schema and other native tool fields from the driver tools/list; preserve driver text blocks and typed image blocks (png/jpeg/webp data and mimeType) without stringifying images; append a clear action receipt for click, type_text, and scroll with status reported-complete|failed|uncertain and retrySafe false; never auto-retry an uncertain timeout or send a second tools/call after timeout, disconnect, id mismatch, oversized response, or malformed post-call result; reject every other tool and MCP method without forwarding; use stdlib newline JSON-RPC only; have no generic shell, generic MCP passthrough, network listener, credentials, OS permission grant, plugin install, or OpenCode/MC/provider changes. .mcp.json must use package-relative cwd `.`, python entrypoint, and default_tools_approval_mode approve. Tests must be fake-driver unittests that do not start the real driver or perform UI actions, and must cover allowlist/native schema equality, rejection without forward, image-plus-text preservation, reported-complete not claimed verified, and uncertain timeout with exactly one tools/call. README must state the supported local Codex task-route boundary (repo change does not install or expose tools to a parent conversation; supported only on a separately reviewed local Codex task with the plugin enabled, image-capable route, existing macOS grants, and Codex per-call approval) and a harmless scratch TextEdit validation plan that does not grant permissions.
Additional required focus on this corrected packet: a malformed image mimeType such as [] after a dispatched action must produce status uncertain and retrySafe false with no uncaught TypeError; blocked and partial driver stdin writes must be inside the same deadline as the response read; uncertainty must terminate the child and never replay the action; fake-driver regressions must cover those cases. A pre-dispatch inventory failure must not be labeled as an uncertain dispatched action.
Return a PASS or FAIL verdict. FAIL if any required safety or contract item is missing, weakened, or untested. Cite frozen-packet evidence for each finding. Do not request a merge or any live UI action.
openai / gpt-6.1-sol / xhigh / xhigh effort answer
**FAIL** — this frozen candidate still has an unhandled malformed-response path.
Reviewed only `writer-review-target:17507ba8-07a6-4736-bbcb-0dca0e56782a:2:b895d870c0e48c46`.
Evidence paths below are within frozen `writer-review/source/harness/codex-plugins/direct-computer-use/`.
### Blocking finding
A post-dispatch response containing an excessively nested, invalid tool result can raise Python’s `RecursionError` during JSON decoding, rather than produce the required uncertain receipt.
- `scripts/server.py:97–99` catches only `ValueError` and `UnicodeError` from `json.loads`.
- `scripts/server.py:181–186` likewise does not catch `RecursionError`, so the action returns neither `status: uncertain` nor `retrySafe: false`.
- `scripts/server.py:233–239` does not convert this exception into a response. Production cleanup stops the child, but the required receipt is lost; a direct adapter invocation also bypasses its stop handler.
- `tests/test_server.py:80–90,125–131` covers malformed decoded results, but not decoder recursion failure.
An invalid result nested beyond Python’s recursion limit fits comfortably beneath the 32 MiB response limit. **Confidence: high**, based on source analysis; not executed here.
### Requirements otherwise supported
- Fixed binary and initialization sequence: `scripts/server.py:34–47`; mocked verification: `tests/test_server.py:175–185`.
- Five-tool allowlist, native definitions, unchanged arguments, and rejection without forwarding: `scripts/server.py:151–175,188–213`; tests: `47–61,92–98`.
- Typed text and PNG/JPEG/WebP preservation, guarded malformed MIME handling, and appropriate receipts: `scripts/server.py:113–139,175–185`; tests: `80–131`.
- Shared transmission/read deadline, one-attempt partial writes, child termination, and no replay: `scripts/server.py:52–110,181–185`; tests: `187–264`.
- Pre-dispatch inventory failures remain `failed`: tests `63–78`.
- Package-relative Python configuration and approval mode: `.mcp.json:3–9`. Local-task boundary and permission-free scratch validation plan: `README.md:30–55`.
- Supplied source contains no prohibited shell proxy, networking, credential access, installation, or permission-grant implementation.
The manifest records successful verification (`writer-review/manifest.json:110–130`); I did not rerun tests or inspect any checkout.
**Next useful action:** convert decoder `RecursionError` into `DriverError` and add an inert-driver regression asserting an uncertain receipt, `retrySafe: false`, child termination, and exactly one dispatched call.
xai / grok-4.7-efficient / high / high effort answer
PASS
The frozen packet `writer-review-target:17507ba8-07a6-4736-bbcb-0dca0e56782a:2:b895d870c0e48c46` meets the required safety and contract items. No required item is missing, weakened, or untested in this packet.
1. Conclusion: PASS. Confidence high. This is an independent review of the embedded frozen source only.
Evidence:
- Scope is only the Codex stdio package. Child command is exactly `[DRIVER, "mcp"]` with `DRIVER = "[REDACTED: local path]"` (`server.py` 11, 38–40). Missing binary raises `DriverError` with one spawn and no fallback (`server.py` 41–42; `test_server.py` 266–270). Imports are stdlib only (`server.py` 2–7). No `shell=True`, socket, credential read, permission grant, or install path appears in the packet.
- `.mcp.json` 3–9: server `direct_computer_use`, `python3`, `args: ["scripts/server.py"]`, `cwd: "."`, `default_tools_approval_mode: "approve"`, no env secrets.
- Allowlist is exactly the five names (`server.py` 9). `tools()` returns the driver’s own tool objects and fail-closes on a missing or duplicate required tool (`server.py` 151–165). Test identity-checks native objects and `inputSchema` (`test_server.py` 47–53).
- Other tools and methods are rejected before any driver call (`server.py` 167–170, 211–213). Test covers the named disallowed tools plus `shell`, with `calls == []` (`test_server.py` 55–61).
- Text and `image/png|jpeg|webp` blocks are kept as typed blocks; other content raises (`server.py` 124–139). Preservation and unchanged arguments are tested (`test_server.py` 92–98). Receipts are appended, not substituted (`server.py` 176–179).
- Receipt always has `retrySafe: False` and the note that the outcome is not independent UI verification (`server.py` 113–117). `reported-complete` is only the non-`isError` path (`server.py` 179; `test_server.py` 100–111).
- Malformed `mimeType` `[]`, `{}`, `None`, or `42` cannot raise `TypeError`: `isinstance(..., str)` short-circuits before membership (`server.py` 134–138). After `sent = True`, that `DriverError` becomes `uncertain`, `retrySafe` false, child stopped, and exactly one `tools/call` (`server.py` 171–186; `test_server.py` 80–90).
- `request()` creates one deadline and passes it to `send()` (`server.py` 74–78). A blocked write waits only on that deadline and does not write after timeout (`server.py` 61–70; `test_server.py` 201–226, `write.call_count == 0`). A short write is one `os.write`, then error, with no completion or second send (`server.py` 66–70; `test_server.py` 228–244). Post-send time shares that deadline (`test_server.py` 246–264).
- Timeout, disconnect, id mismatch, oversized response, and malformed post-call results raise, then `stop()` kills the child and returns. There is no second `tools/call` (`server.py` 82–109, 181–186; `test_server.py` 113–131, 187–199).
- Pre-dispatch inventory failure stays `failed`: `sent` is set only after `tools()` returns (`server.py` 171–185). Tests expect `failed`, `retrySafe` false, and no `tools/call` (`test_server.py` 63–78).
- README 30–55 states the repo change does not install or expose tools to a parent conversation, including the current OpenCode session, and limits support to a separately reviewed local Codex task with the plugin enabled, an image-capable route, existing macOS grants, and per-call approval. The TextEdit plan checks permission status without granting it and says to stop on uncertainty.
- Packet verification receipt: the declared unittest command completed with exit 0 (`manifest.json` 110–120). Tests use `FakeDriver`, inert pipes, and mocked `Popen` (`test_server.py` 15–39, 141–152, 176–180).
2. Discarded FAIL hypothesis: `Driver.stop()` calls `wait(timeout=2)` after `kill()` (`server.py` 25–31). `subprocess.TimeoutExpired` is not caught by `(DriverError, OSError, ValueError)`, so a child that does not die within 2 seconds could drop the uncertain receipt and crash the server. That does not replay the action: `kill()` already ran, and `main()`’s `finally` stops again rather than issuing another `tools/call` (`server.py` 221–239). The specified uncertain paths are still implemented and fake-tested. Not a contract miss.
3. Missing evidence: this lane did not re-execute the unittest command; the exit-0 receipt is packet evidence, not a fresh run. No dependency outside the packet was required to judge the contract.
4. Next useful action: record this independent PASS against the frozen ref only. Do not merge, install, activate, grant permissions, or run a live UI action from this review.Primary judge's stated reason
B better satisfies the strict review contract by withholding PASS for a supported malformed-response path that loses mandatory uncertainty reporting, and proposes a directly relevant fake-driver regression. This is a material review-correctness advantage rather than a slight forced preference, although the triggering behavior was not executed and an independent review could dispute the intended malformed-input assurance boundary.
This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.
Battle wave: 0d5bfb29-7fc6-4b87-8465-f0c30ea29f47. Pair: brp1_1cc50f0b39307c7f2f742edd0ec55e027b7493a288653ca7da2fb0a987a2d34e. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.