xai / grok-4.7-efficient / xhigh / xhigh 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 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.
xai / grok-4.7-efficient / xhigh / xhigh effort answer
PASS
The frozen packet `writer-review-target:17507ba8-07a6-4736-bbcb-0dca0e56782a:2:b895d870c0e48c46` meets the required safety and contract items. This is a review of that packet only; do not merge, install, activate, or run any live UI action.
### Conclusion
The adapter is a stdlib newline JSON-RPC stdio plugin that spawns only `[REDACTED: local path]` with argv `mcp`, exposes the five native tools, and fail-closes the corrected dispatch cases. Confidence: high.
- **Allowlist and native schemas.** `ALLOWED` is exactly `list_apps`, `get_app_state`, `click`, `type_text`, and `scroll` (`server.py` 9–10). `tools()` returns the driver’s own tool objects and fails closed on a missing or duplicate required name (`server.py` 151–165). `test_inventory_preserves_native_objects_and_schemas` asserts object identity and the distinctive `inputSchema` (`test_server.py` 47–53).
- **Rejection without forward.** Disallowed names return before `request`; unsupported methods return `-32601` (`server.py` 167–170, 211–213). `test_rejection_never_forwarded` covers the named extra tools plus `shell` and expects `driver.calls == []` (`test_server.py` 55–61).
- **Typed image/text preservation.** Validation accepts only text, or image with string `data` and mime `image/png|jpeg|webp`, and does not decode or replace blocks (`server.py` 124–138). Read results are returned unchanged (`test_server.py` 92–98).
- **Receipts.** `receipt()` always sets `retrySafe: false` and says the outcome is not independent UI verification (`server.py` 113–117). Success is `reported-complete`; driver `isError` is `failed` (`server.py` 178–179; `test_server.py` 100–111).
- **Malformed `mimeType: []` is uncertain, not a TypeError.** `isinstance(..., str)` short-circuits before the set membership test, so `[]`, `{}`, `None`, and `42` raise `DriverError` instead of `TypeError` (`server.py` 134–138). Because this happens after `sent = True`, the action receipt is `uncertain` / `retrySafe false`, the child is stopped, and `tools/call` count is 1 (`server.py` 171–186; `test_server.py` 80–90).
- **Writes share the response deadline and are not replayed.** `request()` builds one deadline and passes it to `send()` before reading (`server.py` 74–78, 82–87). `send()` waits only for the remaining time, performs one nonblocking `os.write`, and treats a short write as terminal (`server.py` 52–70). `stop()` kills the child (`server.py` 25–32). Regressions: blocked write has `write.call_count == 0`, elapsed `< 1`, `sequence == 1`, killed (`test_server.py` 201–226); partial write is one 10-byte attempt, uncertain, killed (`test_server.py` 228–244); a post-send delay consumes the same deadline so the already-available response is not accepted (`test_server.py` 246–264).
- **Pre-dispatch inventory failure stays `failed`.** `sent` is set only after `tools()` returns (`server.py` 171–175). Missing `click` and an inventory `DriverError` produce `failed`, not `uncertain`, and do not issue `tools/call` (`test_server.py` 63–78).
- **No auto-retry.** Timeout, disconnect, id mismatch, and oversized response are uncertain with exactly one `tools/call` (`test_server.py` 113–123). The real select timeout path also stops the child with `sequence == 1` (`test_server.py` 187–199).
- **Package boundary.** `.mcp.json` uses `python3`, `scripts/server.py`, `cwd: "."`, and `default_tools_approval_mode: "approve"`, with no secret env (`FILE 4` 1–12). README states the repo change does not install or expose tools to a parent conversation, limits support to a separately reviewed local Codex task with an image-capable route, existing macOS grants, and per-call approval, and gives a scratch TextEdit plan that checks permissions without granting them (`README.md` 30–55). Tests mock `Popen` or use inert pipes; the packet’s verification command exited 0 (`manifest.json` 110–120).
### Alternatives considered
- Labeling a zero-byte blocked write `uncertain` rather than `failed` is intentional: the sequence is already allocated, `retrySafe` is false, and the blocked-write regression requires `uncertain`.
- An RPC error after dispatch becomes `uncertain` rather than `failed`. That is stricter than a clean `isError` mapping and does not replay the action.
- `stop()` calls `wait(timeout=2)` before returning the receipt (`server.py` 25–31). A `TimeoutExpired` from that wait is not caught by `call()` and could skip the receipt. `kill()` still runs first, and the tested paths return the receipt. This is residual robustness, not a missing contract item.
- `test_malformed_results_stop_child` does not reassert `retrySafe` or call count; `receipt()` always sets `retrySafe: false`, and the mimeType regression covers the one-call assertion.
### Missing evidence
Sibling manifest files cited as shape examples are outside this packet, so exact visual parity with `opencode2-moa-bridge` is unverified. The explicit `.mcp.json` fields required by this assignment are present. Packet tests are recorded as exit 0; this review did not re-execute them.
### Next useful action
Record this packet-scoped PASS against `writer-review-target:17507ba8-07a6-4736-bbcb-0dca0e56782a:2:b895d870c0e48c46`. Do not merge, install, activate, or perform the TextEdit plan from this review.openai / gpt-6-luna / max / max effort answer
**PASS** — The frozen packet satisfies the required contract and corrected safety focus.
- The driver is launched only as `["[REDACTED: local path]", "mcp"]`; the adapter exposes the five-tool allowlist and retains native tool objects (`server.py:9–11, 34–46, 151–165`). The MCP config uses `python3`, package-relative args, `cwd: "."`, and approval mode `approve` (`.mcp.json:2–10`).
- Tool and method rejection, native-schema retention, typed image-plus-text preservation, and action receipts are implemented and covered by tests (`server.py:113–139, 167–219`; `test_server.py:47–61, 92–111`).
- Malformed image MIME values are guarded and tested as uncertain, with `retrySafe: false` and no replay (`server.py:124–139, 181–186`; `test_server.py:80–90`). Request transmission and response reading share a deadline; writes are nonblocking, and partial writes are not completed or retried (`server.py:52–78`; `test_server.py:187–264`). Inventory failures before dispatch are tested as `failed` (`test_server.py:63–78`).
- README documents the local Codex task-route boundary and scratch TextEdit plan without granting permissions (`README.md:30–55`). The packet records successful compilation and all 16 fake-driver tests (`manifest.json:110–120`).
No live driver or UI action was required or performed.
Primary judge's stated reason
Forced, weak preference for B: its causal explanation makes the central malformed-MIME safety claim easier to audit, while its explicit limitations distinguish recorded tests from independent execution. This is not an established material quality difference; A supplies closely equivalent findings, and an independent reviewer could reasonably reject this preference.
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_eeb9d34a426807320fb0c7d22039e0883a31f1eac9f820378245cc193fb24941. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.