Skip to content

C5: review-loop worker default route clodex → claude + plumbing removal #32

Closed

Description

@SSFSKIM

Problem & intent

Flip the review-loop workers' default model route from the clodex gateway to plain Claude, and delete the nested-codex plumbing only the codex engine needed. Touches skills/reviewing-prs/scripts/review-dispatch.sh + land-dispatch.sh (default route) and the engine path's TLS/CODEX_HOME/seatbelt workarounds. Child C5 of docs/doperpowers/specs/2026-07-26-claude-review-stack-roadmap.md.

Constraints

  • X4: after the flip, engine:codex label = clodex gateway opt-in (worker MODEL route only — post-C5 the loop's review engine is argus on EVERY route); engine:claude becomes redundant-but-valid.
  • The "codex as fallback" in the roadmap's parent acceptance lives in interactive/execplan contexts only — the nested-codex plumbing has no remaining loop caller and is deleted.

Success criteria

  • A label-less review dispatch spawns a plain-Claude worker end to end.
  • engine:codex still opts back into the gateway route.
  • The removed plumbing has no remaining caller.

Open questions

  • (none expected beyond the child's own verification design)

Decision log

  • Sequenced after C4 so the plumbing removal lands with the flip (roadmap Decision Log).

Activity

  1. added
    enhancement
    status:ready-for-agent
    priority:P1
    on Jul 26, 2026
  2. SSFSKIM commented on Jul 26, 2026

    @SSFSKIM
    OwnerAuthor

    [board] ready-for-agent: roadmap C5 — blocked-by C4

  3. SSFSKIM commented on Aug 23, 2026

    @SSFSKIM
    OwnerAuthor

    Closing satisfied — C5's ends landed through the qa-loops rebuild rather than a dedicated PR; every success criterion is pinned in current main:

    • A label-less review dispatch spawns a plain-Claude worker end to end. The default route is claude: engine="${ENGINE_LABEL:-${WORKER_ENGINE:-claude}}" (skills/qa-loops/scripts/review-dispatch.sh:581, same default at :694 and :1515), asserted by tests/qa-loops/test-review-dispatch.sh ("built-in default route is plain Claude (no gateway settings) at effort high"). skills/issue-tracker/references/sweep-setup.md:104 documents the claude default on all lanes.
    • engine:codex still opts back into the gateway route (review-dispatch.sh:925–927; test: "gateway route rides DAEMON_CLAUDE_SETTINGS/EFFORT"). X4 holds as amended by roadmap v1.6: labels outrank env, engine:claude is redundant-but-valid (test: "engine:claude label overrides env"), and the architect dispatch is exempt.
    • Plumbing removal. This ticket's premise ("post-C5 the loop's review engine is argus on EVERY route") was superseded by roadmap v1.5: the engine swap inverted, and native codex multi-lens IS the loop engine (skills/qa-loops/scripts/review-engine.sh) — its CODEX_HOME/TLS/sandbox handling is the surviving engine's own contract, not removable plumbing. What DID get removed went separately: the codex-CLI worker species is retired from dispatch (test: "codex-CLI worker species is retired from dispatch") and the land lane itself was retired (v7.41.0). No orphaned caller remains.
    • The gateway-env hygiene it shares files with (review/land dispatchers leak an ambient gateway env onto the plain claude route #37) closes alongside; the substrate-level residue is plain-route spawns inherit the gateway's transport env (ANTHROPIC_BASE_URL et al) from a gateway session #38.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P1status:ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions