What happened across all 5 blind coding tasks?

Teams pairing OpenAI Codex and Claude Code often ask two practical questions: when does multi-agent review actually catch bugs a single coding agent misses, and when is it slower overhead that does not pay off? To test both sides without synthetic hype, we ran a two-phase blind experiment using frozen Git baselines, minimal visible tests, and out-of-repo hidden regression suites that were executed only after all commits were sealed.

TaskRunWall timeDiff (+/-)VisibleHiddenKey outcome
Task 1: Webhook HMAC verifyGroup A (single)40.82s+12 / -52/28/8Passed all hidden edge cases on first green commit
Task 2: Multi-tenant rate limitGroup A (single)79.97s*+10 / -52/25/5Passed all hidden edge cases; protected config untouched
Task 3: Job queue state machineGroup A (single)58.50s+19 / -81/19/9Passed all hidden concurrency and rollback checks
Task 4: Workspace billing (6 files)Group A (single)121.69s+46 / -182/28/9Failed concurrency hook test: beforeRecord fired 8 times instead of 3
Task 4: Workspace billing (6 files)Group B Round 180.03s+74 / -222/29/9All hidden tests passed, but independent review flagged 2 uncovered bugs
Task 4: Workspace billing (6 files)Group B Final298.10s+80 / -242/28/9Fixed both security bugs, but 401 vs 403 contract regression passed re-review
Task 5: Site migration + runbookGroup A (single)84.58s+86 / -61/19/9Passed all hidden redirect, CSP, sitemap, and runbook checks
Task 5: Site migration + runbookGroup B Round 182.75s+81 / -71/19/9All hidden tests passed, but review caught missing UTF-8 charset on Chinese pages
Task 5: Site migration + runbookGroup B Final191.16s+84 / -81/19/9Added <meta charset="utf-8"> and runbook check; passed re-review and all hidden tests

*Task 2 wall time included supervisor wait time while drafting the Group B manual and is not pure model inference time. None of the runs modified protected files or test fixtures.

When is a single coding agent faster and enough?

Phase 1 (Tasks 1 through 3) established a clear ceiling effect for small, bounded fixes. Each task lived inside 1 to 2 implementation files with an explicit specification and required between 10 and 19 added lines. A single isolated Codex session solved all three on the first visible green commit in 40.82 to 79.97 seconds and passed 22/22 hidden regression tests with zero forbidden file edits.

The engineering takeaway is blunt: if a bug fix is scoped to one module, under roughly 25 lines, and backed by an explicit contract, running a multi-agent review loop adds latency and compute cost without improving correctness. Use a single focused coding session and inspect the diff yourself.

What 3 real bugs did cross-model review catch outside the test suite?

Phase 2 (Tasks 4 and 5) moved to PRD-style tickets spanning 5 to 6 files (auth, billing, cache, audit logging, static build pipelines, headers, sitemaps, and markdown docs) without listing edge-case checklists in the prompt. Two patterns emerged immediately:

1. Single-agent concurrency side effects (Task 4, Group A)

On Task 4, Group A passed all visible tests and even returned the right HTTP status codes under concurrency: 3 requests succeeded with 201 and 5 were rejected with 429 against a shared limit of 3. However, the hidden concurrency test failed because the async beforeRecord hook ran 8 times instead of 3. Checking only visible responses masked an expensive side-effect bug before quota reservation.

2. Two production isolation defects missed by the hidden tests (Task 4, Group B)

Group B Round 1 passed all 9/9 hidden tests on the first commit. When the frozen diff was handed to an independent read-only claude-opus-5-5 reviewer (62.25s first review), it still returned CHANGES_REQUESTED after spotting two real defects that our own hidden suite had not tested:

  • Cross-ledger credential bleed in auth.mjs: the legacy /v1/* path did not reject workspace-scoped keys passed via X-API-Key, allowing a workspace key to read or mutate an operator's personal ledger while omitting workspaceId from audit logs.
  • Hook namespace collision across ledgers in routes.mjs and billing.mjs: both the personal and workspace ledgers called the same beforeRecord(id) hook with a bare ID string. If a user ID and workspace ID shared the same string (such as studio), downstream persistence or billing systems could merge two distinct accounts.

3. Unprotected UTF-8 encoding on new localized pages (Task 5, Group B)

On Task 5, both Group A and Group B Round 1 scored 9/9 on the hidden suite (redirects, CSP baseline, sitemap filtering, canonicals, and rollback runbook). Yet the independent Claude review (43.72s) flagged a genuine shipping bug: the baseline site contained only ASCII pages, while the newly added Chinese guide pages emitted UTF-8 bytes without <meta charset="utf-8"> in build.mjs or a charset directive in _headers. Because curl smoke checks inspect raw bytes rather than browser fallback decoding, on-call verification would have missed garbled rendering. One 22.53-second revision added the meta tag and updated the runbook, keeping 9/9 hidden tests green.

Why did automated cross-model review still cause a contract regression?

The sharpest lesson in the entire experiment happened during Task 4's revision loop. Group B's hidden test score dropped from 9/9 in Round 1 to 8/9 in Final even after claude-opus-5-5 approved the second diff with PASS.

Nothing went wrong with write safety: the workspace read-only key was still blocked with zero ledger mutations. The failure was a contract mismatch. To stop workspace keys from entering /v1/*, the reviewer recommended returning null from v1 auth (producing HTTP 401). The coder implemented that suggestion, and the re-reviewer signed off. Meanwhile, the frozen compatibility test expected HTTP 403 for a read-only key attempting a write across both billing surfaces.

This exposes a failure mode that pure model-to-model automation cannot eliminate on its own: when a security hardening fix collides with an existing API status-code contract, two frontier models can agree on a clean-looking change and mark it PASS without asking a human which contract wins.

Four practical rules for running Codex and Claude Code together

Based on what broke and what held up across all five tasks, here is a repeatable workflow for teams combining Codex and Claude Code:

  1. Skip multi-agent review on trivial single-module patches: for sub-25-line fixes with clear unit tests, run one coding agent and review the short diff yourself.
  2. Separate writer and reviewer across model families on multi-file work: hand the reviewer only the ticket, baseline files, and raw git diff (never the writer's self-summary) so it evaluates the actual code rather than agreeing with the author's rationale.
  3. Keep the reviewer strictly read-only: force revisions back through the owning coder and re-run the test command after every edit.
  4. Require a human checkpoint on any contract or status-code trade-off: treat CHANGES_REQUESTED items that alter public HTTP codes, auth semantics, or external hooks as human decisions, not automatic rubber stamps.

We ran Phase 2 through standalone CLIs to keep the benchmark reproducible and unbundled. In day-to-day work, orchestrating isolated sessions, diff handoffs, revision tracking, and human sign-off manually across terminal tabs gets tedious fast. That exact loop is why Ghast Workbench builds Agent Team directly into a Mac and Windows desktop workspace: installed local Codex and Claude Code sessions can join one task thread, pass diffs to another model family across 13 supported models on 0G Compute, and pause at explicit human acceptance gates before work counts as done.

Experiment setup and strict limitations

To keep this study honest and reproducible, note four strict boundaries:

  • Blind protocol: every coding session started with zero prior conversation history and read/write access limited to its own task folder. Hidden regression suites lived outside the Git repository and ran only after final commits were sealed.
  • Single observation per task: LLM outputs and wall-clock durations vary across runs. Five tasks with one trial each document concrete failure modes; they do not claim universal superiority or statistical cost savings for either workflow.
  • No GUI or human timing claimed for Group B: Group B measured automated cross_model_cli review (gpt-6.2-astra + claude-opus-5-5 via Claude Code 2.1.331) with human_seconds: null.
  • Live vs in-development boundary: Ghast Workbench (macOS and Windows) is live today; Ghast Protocol for verifiable paid AI services remains in development and was not part of this benchmark.

Frequently asked questions

When should I use a single coding agent instead of multi-agent review?

Use a single coding agent when the task is scoped to one or two files, requires roughly 25 lines or fewer, and has an explicit contract with unit tests. In Phase 1 of our blind study, a single Codex agent passed 22/22 hidden checks in 40 to 80 seconds per task.

Does pairing Codex with Claude Code guarantee fewer regressions?

No. In our Phase 2 tests, cross-model Claude review caught 3 real bugs that our hidden tests missed (cross-ledger auth bleed, hook ID collision, and missing UTF-8 charset), but a revision also shifted a legacy endpoint rejection from HTTP 403 to 401. Cross-model review improves defect discovery, while a human acceptance gate is still needed for API contract trade-offs.

Was this experiment run inside Ghast Workbench desktop GUI?

No. Phase 2 Group B ran in standalone cross_model_cli mode using fresh Codex sessions and read-only Claude Code CLI reviews, with no human acceptance step. We built Ghast Workbench Agent Team to package this writer, cross-model reviewer, and human-checkpoint loop into a native Mac and Windows app without manual terminal orchestration.

How can I run local Codex and Claude Code together inside Ghast Workbench?

Install Ghast Workbench on macOS or Windows and add your existing local Codex and Claude Code installations as teammates inside Agent Team. You can assign bounded repo edits to one coding agent, route the diff to a second model family for independent review, and approve or request revisions before accepting the task.

Compare desktop AI workbench setups or try Agent Team

Evaluating how desktop workspaces handle multi-model review and local coding agents? Read our AI workbench architecture comparison and 2026 desktop AI agent workspace guide, or download Ghast Workbench for Mac and Windows.