cyberneticlibrary

Run Codex orchestration loop

codexcommandsetup L20
slopweaver/slopweaver
What it does

Orchestrate codex planning, Claude implementation, and codex review cycle

Best for

Multi-agent implementation workflows where codex plans, Claude codes, and codex reviews — better signal than single-model planning for complex refactors.

Inputs
  • · [object Object]
  • · [object Object]
  • · [object Object]
  • · [object Object]
Outputs
  • · [object Object]
  • · [object Object]
  • · [object Object]
  • · [object Object]
Requires
  • · codex-agent CLI
  • · gh (GitHub CLI)
  • · pnpm (orchestration runner)
  • · git
Preconditions

codex-agent installed; gh authenticated; chain file exists (for prepare mode)

Failure modes
  • · codex-agent unavailable or rate-limited
  • · Chain file is malformed
  • · Claude and codex both rate-limited mid-loop
  • · Review comment HTML marker lost (next iteration cannot find comment)
Trust signals
  • · Explicit iteration loop with review comment editing (same comment, incremented iteration counter)
  • · Fallback mode (codex-only via pnpm cli orchestration run) when Claude unavailable
  • · State persists under $CODEX_HOME for resumability
  • · Post-review comment uses HTML marker for idempotent edits