openai / gpt-6.1-sol / xhigh / xhigh effort preferred over xai / grok-4.7-efficient / xhigh / xhigh 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. 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.
openai / gpt-6.1-sol / xhigh / xhigh effort answer
## FAIL
Independent review of frozen target `writer-review-target:17507ba8-07a6-4736-bbcb-0dca0e56782a:1:2117e628cda464ec` only.
Paths below are relative to `writer-review/source/harness/codex-plugins/direct-computer-use/`.
### Blocking finding — malformed image results can bypass uncertain receipts
**High confidence:** A post-call result containing:
```json
{"content":[{"type":"image","data":"cGl4ZWxz","mimeType":[]}]}
```
would raise `TypeError` when `mimeType` is tested against a set (`scripts/server.py:116–119`).
That exception is not caught by `Adapter.call`, `handle`, or the main request loop (`scripts/server.py:162–167,196–199,211–220`). Consequently, an action can terminate processing **without the required `uncertain` receipt and `retrySafe: false`**. The main loop’s cleanup does not replace that missing receipt.
Existing malformed-result tests cover missing content, unsupported resource content, and nonboolean `isError`, but not unhashable MIME values (`tests/test_server.py:102–108`).
**Next useful action:** Validate that `mimeType` is a string before set membership, and add fake-driver regression cases asserting an uncertain receipt, stopped child, and exactly one `tools/call`.
### Other requirements supported by the packet
- Fixed driver command, stdlib newline JSON-RPC, five-tool allowlist, native definitions, and rejection without forwarding: `scripts/server.py:1–12,34–92,132–151,169–195`.
- Valid text/image preservation, ordinary action receipts, and timeout/no-retry coverage: `scripts/server.py:95–120,148–167`; `tests/test_server.py:69–115,148–160`.
- Required package-relative configuration and approval mode: `.mcp.json:3–9`.
- Local Codex route boundary and permission-free scratch TextEdit plan: `README.md:27–52`.
- Fake-only tests and recorded successful verification: `tests/test_server.py:15–39,118–166`; `writer-review/manifest.json:110–120`.
No tests or live actions were performed during this review.
MATERIAL_EVIDENCE_CONFLICT: README.md:19–20 promises uncertain handling for malformed post-call results; scripts/server.py:116–119,162–167 permits an uncaught TypeError without that receipt.xai / grok-4.7-efficient / xhigh / xhigh effort answer
**Verdict: PASS**
The frozen packet implements the required narrow Codex stdio adapter. No required safety or contract item is missing, weakened, or untested against the stated test mandate. This is an independent review of the frozen source only. It does not request merge, install, activation, permission changes, or any live UI action.
**1. Conclusion**
The candidate at `reviewTargetRef` `writer-review-target:17507ba8-07a6-4736-bbcb-0dca0e56782a:1:2117e628cda464ec` meets the contract. Confidence: high.
- **Child command.** `DRIVER` is exactly `[REDACTED: local path]`, spawned only as `[DRIVER, "mcp"]` with `shell` omitted (`server.py` lines 11, 38–42). `OSError` fails closed with no alternate command (lines 41–42). Test asserts that argv and a single `Popen` (`test_server.py` lines 137–146, 162–166).
- **Stdlib newline JSON-RPC only.** Imports are `json`, `os`, `selectors`, `subprocess`, `sys`, `time` (`server.py` lines 2–7). Child writes are `json.dumps` plus newline (lines 52–54). Parent replies are one flushed JSON line (lines 217–218). No socket, HTTP client, shell tool, credential read, or permission-grant command appears in the package.
- **Child handshake.** `start()` sends `initialize` with `protocolVersion` `2025-03-26`, then a no-id `notifications/initialized` (`server.py` lines 44–47). Test checks both messages (`test_server.py` lines 144–145).
- **Five-tool allowlist and native objects.** `ALLOWED` is exactly `list_apps`, `get_app_state`, `click`, `type_text`, `scroll` (`server.py` line 9). `tools()` returns the driver dicts themselves and fails closed on a missing name or duplicate (lines 142–145). Test uses `assertIs` plus unchanged distinctive `inputSchema` (`test_server.py` lines 47–53).
- **Reject without forward.** Disallowed names return `isError` before any driver call (`server.py` lines 149–151). Methods other than `initialize`, `ping`, `tools/list`, and `tools/call` return `-32601` (lines 183–194). Notifications are not proxied (lines 175–176). Test covers the named extra tools and `shell`, with `driver.calls == []` (`test_server.py` lines 55–61). Missing inventory sends only `tools/list` (lines 63–67).
- **Typed text and image preservation.** `validate_result` accepts only text blocks and `image` blocks whose `mimeType` is `image/png`, `image/jpeg`, or `image/webp`, and rejects other types (`server.py` lines 106–119). Accepted blocks are kept, not rewritten or decoded. Action results copy the content list and append a receipt (lines 157–160). Test checks png/jpeg/webp plus accompanying text equality and identical forwarded `params` (`test_server.py` lines 69–75); action tests keep `content[:-1]` equal to driver content (lines 77–80).
- **Receipts.** `click`, `type_text`, and `scroll` append `action`, `status`, and `retrySafe: false`, with note “not independent UI verification” (`server.py` lines 95–99, 159–160, 165–166). `reported-complete` is only the non-`isError` path; driver `isError` is `failed`; post-send exceptions are `uncertain`; pre-dispatch exceptions are `failed`. Tests cover `reported-complete`, the verification note, `retrySafe` false, and `failed` (`test_server.py` lines 77–88).
- **No auto-retry.** `call()` issues one `tools/call` and on `DriverError` stops the child and returns (`server.py` lines 152–167). `request()` raises on timeout, disconnect, oversized buffer, malformed JSON, and id mismatch without a second send (lines 68–89). `stop()` `kill()`s the child (lines 25–31). Injected timeout, disconnect, id-mismatch, and oversized errors assert `uncertain`, `retrySafe` false, `stopped`, and exactly one `tools/call` (`test_server.py` lines 90–100). A real empty-pipe timeout with `timeout=0.01` asserts `uncertain`, `killed`, `sequence == 1`, and `process is None` (lines 148–160). Malformed tool results take the same post-send path and stop the child (lines 102–108). Read-tool timeout is `isError`, not a receipt, and is not retried (lines 110–115; `server.py` lines 165–166).
- **`.mcp.json`.** Server `direct_computer_use`, `python3`, args `["scripts/server.py"]`, `cwd` `.`, timeouts 10 and 35, `default_tools_approval_mode` `approve`, no env secrets (`.mcp.json` lines 3–9). No `${PLUGIN_ROOT}`.
- **README boundary and plan.** Repo change does not install or enable the plugin and does not expose tools to a parent conversation, including the current OpenCode session (`README.md` lines 29–31). Supported route is a separately reviewed local Codex task with the plugin enabled, tools exposed to that task, an image-capable route, existing Accessibility and Screen Recording grants, and Codex per-call approval (lines 31–36). Scratch TextEdit plan checks the five-tool inventory, checks permission status without granting, requires user authorization before click/type/scroll, stops on uncertain or missing permissions, and forbids send/delete/purchase, other apps, and doctor/install (lines 38–52).
- **Scope.** Packet files are only under `harness/codex-plugins/direct-computer-use` (`manifest.json` lines 71–76). `plugin.json` points at `./.mcp.json` (line 15) and does not install the plugin or grant OS permissions.
Implication: the safety properties that matter here (closed tool/method allowlist, native schemas, typed images, non-verified `reported-complete`, and one-shot uncertain actions) are in the frozen implementation and covered by the required fake-driver tests.
**2. Alternatives, discarded hypotheses, false positives**
- **`sent = True` before `request()`** (`server.py` lines 152–156) can label a failed `stdin` write as `uncertain` rather than `failed`. That is the conservative side of the no-retry rule, not a second `tools/call`.
- **`stop()` `wait(timeout=2)`** (`server.py` lines 25–31) could raise after `kill()` and skip the tool receipt, surfacing as a protocol error from `handle()` (lines 196–199). `kill()` still runs first; there is still no replay. Not a missing timeout stop on the tested path.
- **Parser fixtures.** Id mismatch, oversized response, and disconnect are implemented in `Driver.request` (lines 68–89) and adapter-tested by injected `DriverError` (`test_server.py` lines 90–100). Only timeout is also driven through the real read loop (lines 148–160). Absence of a pipe fixture per classifier does not remove the shared no-retry path the required timeout test locks.
- **Empty tracked diff** (`diff.patch` line 1) versus new files in the source snapshot is consistent with untracked additions at `baseSha == currentHead` (`manifest.json` lines 68–69, 71–76). The review target is the embedded source, not that diff.
- **`interface.capabilities` includes `Write`** (`plugin.json` line 12). That is plugin metadata, not an OS grant or an approval-mode change. `.mcp.json` still sets `approve`.
**3. Missing evidence and consequence**
- Sibling shape reference `harness/codex-plugins/opencode2-moa-bridge` is not in the packet. Field-for-field manifest parity is unverified. It does not affect the safety contract: the required `.mcp.json` fields and `mcpServers` pointer are present in this packet.
- This lane did not re-run tests and did not start a driver. Manifest records the declared unittest command exit 0 with unchanged digests (`manifest.json` lines 110–120). Consequence: pass/fail of execution is writer-reported; coverage judgments above are from frozen test source.
**4. Next useful action**
No implementation change is indicated by this review. Do not merge, install, enable, grant permissions, or run the TextEdit plan from this lane.Primary judge's stated reason
A supplies the correct FAIL verdict and a narrowly actionable validation-and-regression remedy for a required malformed-result safety path. This is a supported material correctness advantage, not a slight forced preference: B's PASS would accept a candidate that can omit a mandatory action receipt.
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_dab20cea58a1a6d62b6985497a97ed38f38377eeb7a43fcef35ebf8f8bd5c6ef. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.