← Model losses

Head-to-head comparison

openai / gpt-6.1-sol / xhigh / xhigh effort preferred over xai / grok-4.7-efficient / medium / medium 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 / medium / medium effort answer

VERDICT: PASS

The frozen candidate at `writer-review-target:17507ba8-07a6-4736-bbcb-0dca0e56782a:1:2117e628cda464ec` (packet `sha256:a2dcd045b4af12adcc600bc330aef4ae33428c844e547dc6d366c10525b01da4`) meets the required safety and contract items. This is a review of that packet only. No merge, install, activation, or permission change is recommended.

1. Conclusion
The package is a narrow stdlib newline JSON-RPC stdio adapter. It is not weakened on allowlist, native schema, image preservation, receipts, or no-retry. Confidence: high.

- Child command is only `[DRIVER, "mcp"]` with `DRIVER = "[REDACTED: local path]"` (`server.py` lines 11, 38–40). Missing binary raises `DriverError` and is not replaced (`server.py` lines 41–42; `test_server.py` lines 162–166).
- Exposed names are exactly `list_apps`, `get_app_state`, `click`, `type_text`, and `scroll`. `tools()` returns the driver tool objects unchanged and fails closed on a missing or duplicate required name (`server.py` lines 9–10, 132–146). `test_inventory_preserves_native_objects_and_schemas` asserts object identity and the distinctive `inputSchema` (`test_server.py` lines 47–53).
- Disallowed tools and other MCP methods are rejected before any driver `tools/call`. `call()` returns `isError` when `name` is not in `ALLOWED` (`server.py` lines 148–151). `handle()` allows only `initialize`, `ping`, `tools/list`, and `tools/call` (`server.py` lines 182–194). `test_rejection_never_forwarded` covers the named hidden 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 content raises (`server.py` lines 106–120, 156–158). The image test keeps `data` and all three mime types with the text block on `get_app_state` and forwards the same `params` object (`test_server.py` lines 69–75).
- `click`, `type_text`, and `scroll` append one receipt with `retrySafe: false`. Success is `reported-complete` only when `isError` is not set, with note “not independent UI verification”; driver `isError` is `failed` (`server.py` lines 95–99, 159–160; README lines 16–21; `test_server.py` lines 77–88).
- After dispatch, timeout, disconnect, id mismatch, oversized response, and malformed results stop the child and do not send another `tools/call`. `request()` sends once and raises (`server.py` lines 58–91). `call()` sets `sent` only after inventory, then on `DriverError`/`OSError`/`ValueError` calls `stop()` and does not loop (`server.py` lines 25–32, 152–167). Fake-driver timeout asserts `uncertain`, `retrySafe` false, `stopped`, and exactly one `tools/call` (`test_server.py` lines 90–100). The inert-pipe timeout asserts kill, `sequence == 1`, and `process is None` (`test_server.py` lines 148–160). Malformed results are `uncertain` and stop the child (`test_server.py` lines 102–108). Read-tool timeout is `isError` with no receipt and no retry (`server.py` lines 165–166; `test_server.py` lines 110–115).
- `.mcp.json` is `direct_computer_use`, `python3`, `args: ["scripts/server.py"]`, `cwd: "."`, `default_tools_approval_mode: "approve"`, no env secrets (`.mcp.json` lines 2–9). No `${PLUGIN_ROOT}`, shell, listener, credential read, doctor/install, or permission grant appears in the package. README 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 Codex per-call approval (README lines 27–36). The TextEdit plan checks status without grants, uses scratch content, requires separate user authorization for click/type/scroll, and says stop on uncertain and do not act in other apps (README lines 38–52).
- Tests are fake-driver/inert-pipe only. Writer verification in the packet completed with exit 0 and an unchanged digest (`manifest.json` lines 110–120).

2. Alternatives and discarded fail hypotheses
- Empty `writer-review/diff.patch` is not missing implementation. The packet’s source files are the candidate; `(no tracked diff)` matches new untracked files listed in `changedFiles`.
- `isError: true` on uncertain receipts is conservative, not a weaker retry policy. The receipt still says `uncertain` and `retrySafe` false, and the child is stopped.
- Treating a post-send RPC error as `uncertain` is broader than the named causes, but it still stops the child and does not replay.
- `plugin.json` `capabilities: ["Read", "Write"]` is interface metadata, not an OS grant or install step.
- Pre-dispatch inventory failure is `failed` because `sent` stays false (`server.py` lines 152–166). `test_missing_inventory_fails_closed` checks no `tools/call`, not the receipt word. That label gap does not weaken the no-retry control.
- Id-mismatch, disconnect, and oversized detection are not each given a pipe-level test. They raise in `request()` and share the tested no-second-call handler. That is a coverage limit, not a missing control.

3. Missing evidence
Sibling `opencode2-moa-bridge` manifests are cited as shape evidence but are not in this packet. Explicit `.mcp.json` constraints are still satisfied in-packet, so this does not change the verdict. Tests were not re-executed here; the packet records exit 0.

4. Next useful action
Record PASS against this frozen `reviewTargetRef`. Do not merge, install, enable the plugin, grant macOS permissions, or run the TextEdit plan from this review.

Primary judge's stated reason

A supplies the better-supported verdict and an actionable, narrowly scoped correction for a required safety behavior. The advantage is a material correctness difference, not a forced slight preference: B approves a candidate with a demonstrable conditional receipt failure. This does not establish that any real desktop action failed or was replayed.

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_778030c66f6beb00c80814ffc5f260226c165bfe106b385c786396809c6d4a01. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.