---
name: harness-workflow
created: 2026-09-07
status: review-complete
author-harness: codex
sources: [gemini, codex, claude]
implementation: proposed-not-applied
---

# Workflow recommendation

**Use one delivery owner per enhancement, defaulting to Claude. Use Codex for architecture, solution exploration, and planning when that work earns a separate contribution. Support entire enhancements owned by either harness through the same process.**

This satisfies the desire to work with Codex on design while keeping Claude responsible for delivery. It avoids making every small implementation discovery travel through another session. A project plan should make outcomes and constraints clear while leaving the implementer room to learn from the code.

The recommendation is based on the user's preference, the existing Claude-oriented workflow, and the cost of transferring context. No evidence established that Codex is inherently the better architect or Claude inherently the better implementer. The division should be a routing choice, not a claim about permanent model specialties.

The detailed [implementation plan](2026-09-07-harness-workflow.plan.md), [context/transport verification](2026-09-07-harness-workflow.context.md), and [neutral review brief](2026-09-07-harness-workflow.md) accompany this assessment. Live skills and service configuration were not changed.

## How the proposed workflow works

1. Choose the outcome, scope, acceptance evidence, and one delivery owner. Claude is the proposed default; an explicitly Codex-owned enhancement stays with Codex.
2. When architecture is uncertain, work with Codex in the owning project's context. Codex inspects real source, compares alternatives, records decisions and assumptions, and writes a usable plan. Apply independent Review Board review when the uncertainty or consequences warrant it.
3. If Claude will implement, it reads the authoritative plan and checks the source baseline, feasibility, tool access, and acceptance checks. It records any mismatch and accepts or amends the plan before dependent implementation. This is an implementer check, not another routine request for user permission.
4. Claude owns implementation, testing, integration, and progress. It may alter implementation details within accepted behavior. Material changes to scope or constraints return to the appropriate decision owner; significant design questions can return to Codex.
5. Verify the requested behavior, resolve material review findings, and update the existing work item and durable project context. Distinguish implemented, verified, integrated, and deployed when relevant.

The handoff is a revision of the existing plan and linked work item, not a transcript or a new task-management system. It includes the source commit, outcome, non-goals, decisions/rationale, interfaces/invariants, dependencies, acceptance checks, unresolved assumptions, owner, and implementation discretion.

## Choosing between the options

| Approach | Best fit | Main cost |
|---|---|---|
| Codex designs/plans; Claude delivers | Substantial decisions about interfaces, data/migration strategy, project boundaries, or alternatives that can be expressed as contracts | Receiver must validate the plan; invalid assumptions can cause rework |
| One harness owns the enhancement end to end | Debugging, UI iteration, unfamiliar runtime behavior, cohesive features, changes where design and implementation evolve together | Independent challenge needs an explicit review step where useful |
| Claude owns delivery; Codex answers a bounded design question | One important uncertainty inside an otherwise coherent Claude-owned enhancement | Advice must be incorporated into the authoritative plan rather than becoming a second plan |

Separate end-to-end ownership is a strong option. It still requires shared project facts, isolated working trees for simultaneous writers, and clear ownership. Avoid two coordinators independently scanning and executing the same enhancement. One label change does not supply an exclusive claim.

## What is worth retaining

The existing system already has the right foundation: repo-local requirements/solution/plan artifacts, testable acceptance criteria, GitLab work tracking, project-local context, cross-project handoffs, role-separated repositories, and independent multi-provider review. Refactor these contracts in place. There is no demonstrated need for a new orchestration service or replacement transport.

The phase separation is useful for consequential work. The concern is the amount of compulsory machinery and contradictions between its descriptions, not the existence of planning skills.

## Concrete findings and changes

Paths below are relative to `claude-shared/` unless otherwise specified. These are findings in the written procedures; they are not claims that every defect has occurred in a live run.

| Finding | Consequence | Proposed change |
|---|---|---|
| `skills/createplan/SKILL.md` and assignment/parallel references require a fixed five-agent roster, Claude Task syntax, and workload/timeline sections | Plans encode a runtime and organization even when the task does not need them | Define deliverables, capabilities, dependencies, and owner; map to available harness tools when execution needs delegation |
| `createsolution` names the invoking analysis `solution-claude.md`; work execution hardcodes a Claude co-author | Codex-run work can be falsely attributed | Neutral author artifacts with actual harness/model provenance where known |
| `createsolution` defaults to three design reviews plus three critiques; `createplan` adds two external plans and two external reviews | Up to ten substantive remote calls before execution, plus readiness probes | Use the existing complexity tiers to select actual review work, with additional rounds for material revision or consequential disagreement |
| `requirements` still requires board setup and a four-card chain for trivial work | Lower tiers reduce some approval gates but not all process cost | Provide a compact path using one work item and relevant verification |
| `review-board` specifies 900 seconds while callers retain 300/600; provider personas and provider-priority synthesis are hardcoded | Protocol drift and biased interpretation | One dispatch contract; same neutral discovery questions; evidence-based dispositions |
| `createreview` has separate artifact locations, mandatory name approval, and automatic HTML publication | Ordinary review carries unrelated work and another source of policy drift | Keep it as a thin entry point into the common review workflow; presentation is separate requested work |
| `executeplan` creates cards but is named as execution; phase docs use Execute for delivered work | A completion label can mean different things | Separate preparation from delivery semantics; retain compatible commands |
| Router/standalone prerequisites differ; solution/plan post-push hooks advance cards without checking the tier's approval state | Artifact existence can be confused with acceptance | One start/advance/completion contract honoring existing authorization |
| `executeplan` embeds raw board creation/deletion and fixed label IDs despite the canonical board tool directive | Competing instructions for the same external state | Reference `create_gitlab_board` and `gitlab-card-standard` |
| `gitlab-board` says a scan-only operation still processes actionable cards | Status and execution are ambiguous | Explicit read-only status and explicit execution behavior |
| Solution says CI-only testing; execution and `qatests` require local tests; phase-plan prescribes all eventual tests ahead of time | Contradictory feedback loops and brittle test plans | Appropriate local checks plus CI evidence; behavioral traceability with discovered tests allowed |
| Agent definitions preserve old scratchpad paths and historical collaboration assumptions | Additional context may carry contradictory instructions | Retain role expertise, remove stale mechanics, and keep durable decisions with the project |

The ten-call figure is a source count, not measured latency. A 900-second timeout is a ceiling; it does not mean every review takes 15 minutes. Likewise, long instructions indicate maintenance surface, not proof of poor outcomes.

## What current primary guidance supports

- OpenAI emphasizes task context, constraints, a clear definition of done, planning for difficult work, relevant testing/review, focused skills, and coherent units of work. This supports portable outcome-oriented plans and task-specific routing. Its examples use AGENTS.md; this environment correctly keeps CLAUDE.md canonical through its configured fallback. [OpenAI best practices](https://learn.chatgpt.com/guides/best-practices)
- Anthropic recommends verification that the agent can execute, planning proportional to uncertainty, and fresh-context review. It also documents separate worktrees for concurrent sessions. This supports keeping implementation feedback close to the delivery owner while using independent review. [Claude Code best practices](https://code.claude.com/docs/en/best-practices)
- Anthropic's long-running application experiments retained useful planning/evaluation while removing scaffolding that newer models no longer needed. They warn that excessively detailed advance implementation choices can propagate errors and describe evaluator value as task-dependent. This is evidence for revisiting fixed review/phase machinery, not a controlled comparison proving a Codex/Claude division. [Harness design for long-running applications](https://www.anthropic.com/engineering/harness-design-long-running-apps)

My inference from these sources and the local audit is that the refactor should improve responsibility, context, evidence, and feedback first. Model assignment comes after those contracts work.

## Review Board synthesis

All three nodes passed health and READY checks and returned substantive responses. All received the same neutral brief and were instructed not to read sibling reviews. The unedited responses are [Gemini](2026-09-07-harness-workflow.gemini.md), [Codex](2026-09-07-harness-workflow.codex.md), and [Claude](2026-09-07-harness-workflow.claude.md).

### Agreement

All favor clear enhancement ownership, durable project artifacts, and preserving independent multi-provider review. All identify opportunities to reduce duplicated planning/review machinery and stale role assumptions. Both Codex and Claude explicitly reject an unsupported claim that one model is the better architect.

Agreement is reported as agreement, not proof. The findings above were checked against the source files.

### Differences and their disposition

| Reviewer | Distinct recommendation | Assessment |
|---|---|---|
| Gemini | Claude end-to-end with mandatory Codex design review; merge solution and plan skills | Retain the ownership argument. Mandatory review for every task is not justified by measured yield. Preserve distinct design and planning responsibilities while sharing their common mechanics. |
| Claude | Claude owns the lifecycle; Codex supplies a proposal for Claude synthesis; defer autonomous Codex ownership until guard/tool parity | Harness readiness is relevant. The blanket claim that Codex lacks board/MCP access was unverified from that node and is not supported by our successful authenticated wrapper probe. Do not require Claude to reauthor every Codex artifact solely because of its provider. Validate capabilities and enforcement appropriate to the workload. |
| Codex | One owner, selective design help, formal handoff available, and whole-owner alternatives evaluated under the same contracts | Adopt this as the recommended end-state. It accommodates the user's desired design collaboration and alternative without hardcoding a provider hierarchy. |

Gemini's vendor assertions rely on broad home-page links, and its claimed native Codex MCP disadvantage is not established. Claude disclosed permission-denied files and unavailable host configuration; its view of host capabilities was incomplete. Its eleven-dispatch total also differs from the ten substantive remote calls counted in the inspected skills. These limitations are preserved rather than silently turned into supporting evidence.

Claude and Codex's concern about hook differences is legitimate as a portability question. The existing adapter does not port Claude's hooks. That does not establish that all Codex end-to-end work is impossible, nor authorize a new hook migration as part of this assessment.

## Context and MCP outcome

The local harness audit passed **10 checks, zero warnings, zero failures** before artifacts were created. Installed Codex CLI is 0.153.4; skill links, role instruction link, fallback, byte-limit configuration, and project instructions were verified. Global and parent instructions were read during this turn, as the boot rule requires; they were not automatically imported.

The session's exposed connector returned `API key required`. Both the authenticated internal dispatcher and a real MCP initialization/tool call through `/usr/local/bin/mcp-code-executor` worked. All three Review Board nodes are healthy. The exact exposed-connector launch/authentication discrepancy remains undiagnosed; there is no basis to restart healthy services. See the [audit](2026-09-07-harness-workflow.context.md).

## Action items and validation

The [project plan](2026-09-07-harness-workflow.plan.md) orders the complete refactor:

1. Define portable ownership, prerequisites, approval and completion contracts in the existing process docs.
2. Refactor planning/review entry points, provenance, tier routing, and neutral review prompts.
3. Add the implementer receipt and exact-revision handoff; reconcile board preparation, status, execution, and evidence.
4. Remove stale context/tool assumptions and verify task-relevant harness readiness.
5. Exercise the scenarios in isolated checkouts, then integrate the reviewed changes through normal repository policy.

Evaluate corrected process contracts with ownership held constant, then compare whole-Claude, whole-Codex, and Codex-to-Claude handoff tasks under the same contracts. Measure human active time, clarification, plan rework, verified completion, escaped defects, useful review findings, and actual usage where available. Predeclare thresholds; no historical baseline was supplied. A small operational pilot informs routing but cannot establish a general model ranking.

The central risk of the formal split is that the planner becomes detached from runtime facts and the user becomes the courier. The central risk of whole-owner delivery is insufficient independent challenge on consequential decisions. An explicit agreement, one owner, and review where it adds evidence address both.
