xai / grok-4.7-efficient / high / high effort preferred over openai / gpt-6-luna / max / max 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
Independent review of the frozen writer candidate for assignment 17507ba8-07a6-4736-bbcb-0dca0e56782a. Review only the frozen packet identified by reviewTargetRef. 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.
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.
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.
xai / grok-4.7-efficient / high / high effort answer
VERDICT: PASS
The frozen packet implements the required narrow Codex stdio adapter. Required safety and contract items are present, not weakened, and covered by fake-driver tests. No merge, install, activation, permission grant, or live UI action is recommended.
**Contract evidence**
- Child command is only `[REDACTED: local path]` with argv `mcp` (`server.py` lines 11, 38–40). Missing binary raises `DriverError` with no fallback (lines 41–42); test asserts one `Popen` and that error (`test_server.py` lines 162–166). Spawn test checks `[server.DRIVER, "mcp"]`, protocol `2025-03-26`, then `notifications/initialized` (`test_server.py` lines 137–145). No `shell=True`.
- Allowlist is exactly `list_apps`, `get_app_state`, `click`, `type_text`, `scroll` (line 9). `tools/list` returns the driver’s own tool objects and fails closed on a missing name or duplicate (lines 142–145). Test asserts set equality and `assertIs` identity, so native `inputSchema` and other fields are not rewritten (`test_server.py` lines 47–53).
- Other tools return `isError` before any driver call (lines 150–151). Other methods return `-32601` (lines 192–194). Test covers the named disallowed tools plus `shell` and asserts `driver.calls == []` (`test_server.py` lines 55–61).
- Text and `image/png|jpeg|webp` blocks are kept as typed blocks; other types raise (`server.py` lines 106–120). Action calls copy content and append a receipt; they do not replace driver blocks (lines 156–161). `get_app_state` equality test keeps text plus image `data`/`mimeType` for png/jpeg/webp and the same arguments object (`test_server.py` lines 69–75).
- Receipt is text JSON with `action`, `status` `reported-complete|failed|uncertain`, `retrySafe` false, and a note that this is not independent UI verification (lines 95–99, 159–166). Tests check reported-complete, the note, `retrySafe is False`, and driver `isError` → `failed` (`test_server.py` lines 77–88).
- Post-dispatch timeout, disconnect, id mismatch, oversized response, and malformed result become `DriverError` (lines 68–91, 106–119), then `stop()` and status `uncertain` with no second `tools/call` (lines 162–167). Fake errors assert one `tools/call`, `uncertain`, `retrySafe` false, and `stopped` (`test_server.py` lines 90–100). A real empty-pipe timeout asserts `uncertain`, `killed`, `sequence == 1`, and `process is None` (lines 148–160). Malformed results are `uncertain` and stop the child (lines 102–108). Read-tool timeout is `isError` with no receipt and no retry (lines 110–115; `server.py` lines 165–166).
- Parent surface is newline JSON-RPC, stdlib only (`json`, `os`, `selectors`, `subprocess`, `sys`, `time`). Supported methods are `initialize`, `ping`, `tools/list`, `tools/call` (lines 182–194). No shell tool, MCP method proxy, socket/HTTP listener, credential read, doctor/install, or permission grant.
- `.mcp.json` lines 3–9: server `direct_computer_use`, `python3`, `args: ["scripts/server.py"]`, `cwd: "."`, timeouts 10/35, `default_tools_approval_mode: "approve"`, no env secrets.
- README lines 27–36 state the repo change does not install or expose tools to a parent conversation, including the current OpenCode session, and that a supported route is a separately reviewed local Codex task with the plugin enabled, an image-capable route, existing macOS grants, and Codex per-call approval. Lines 38–52 are a scratch TextEdit plan that checks permission status without granting, requires separate authorization for UI actions, stops on uncertain, and forbids send/delete/purchase and doctor/install.
**Discarded FAIL hypotheses**
- `Driver.stop()` `wait(timeout=2)` can raise `TimeoutExpired` (not caught by the `DriverError`/`OSError`/`ValueError` handlers), so an uncertain receipt might not be returned if reap fails after `kill()`. `kill()` still runs first and there is no second `tools/call`. The tested timeout path returns `uncertain`. Not a missing no-retry control.
- Injected `DriverError("timeout"|...)` does not execute the id-mismatch/oversized parsers. Those parsers raise without another `send`, and the required real timeout test uses `Driver.request`.
- Empty `writer-review/diff.patch` is not missing implementation; the candidate is the embedded source snapshot.
- Inherited child environment is not a credential read; `.mcp.json` adds no secret env, and the code does not read config or credentials.
**Missing evidence**
Sibling `opencode2-moa-bridge` manifest files are not in this packet, so field-for-field plugin.json convention match is unverified. Required `.mcp.json` fields are in the packet. Tests were not re-run here; the packet records the declared unittest command exit 0 with an unchanged digest. Neither gap shows a missing safety control.
**Next useful action**
Record this independent PASS against `reviewTargetRef` `writer-review-target:17507ba8-07a6-4736-bbcb-0dca0e56782a:1:2117e628cda464ec`. Do not merge, install, activate, grant permissions, or run the TextEdit plan from this review.openai / gpt-6-luna / max / max effort answer
**PASS** — direct review of only the supplied frozen packet. I found no missing or weakened requirement.
- `server.py` fixes the driver command to `[REDACTED: local path] mcp`, exposes only the five required tools, retains their native objects, and rejects other tools and methods (`server.py:9–12, 38–40, 132–161, 169–199`). Tests check native-schema retention and rejection without forwarding (`tests/test_server.py:47–67`).
- Text and supported typed image blocks are validated and preserved; action receipts distinguish failed from reported-complete and explicitly disclaim independent verification (`server.py:95–120, 153–167`). Tests cover image-plus-text preservation and receipts (`tests/test_server.py:69–88`).
- Transport failures and malformed results stop the child and produce uncertain action receipts without retry; tests cover timeout with exactly one `tools/call` and malformed results (`server.py:58–92, 162–167`; `tests/test_server.py:90–108, 148–160`).
- Configuration uses package-relative `cwd: "."`, the Python entrypoint, and `approve` mode (`.mcp.json:1–10`). The README states the supported local Codex task boundary and the harmless scratch TextEdit plan (`README.md:27–53`).
- Tests use fake drivers or inert mocked pipes, and the packet records the declared compile-and-test command passing (`tests/test_server.py:15–40, 118–166`; `manifest.json:110–120`).
Primary judge's stated reason
Forced weak preference for B because its explicit checks make more of the complete contract auditable, including startup failure and initialization. This is not an established material quality difference: both PASS conclusions leave the conditional cleanup/receipt issue unresolved, and an independent review could reasonably reject this preference.
This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.
Battle wave: 76b74b44-5b0b-4f98-80d1-aa1beea9d44c. Pair: brp1_2cfad0e8c5071dd6c0031fa6a523da4c4457210ce99e6a281550b07a534e3ddf. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.