The roster — two voices, by design
| 🟠 principal | 🔷 implementer |
|---|
| Reference pair | Claude Code session (e.g. claude-fable-5) | codex exec (default gpt-6.1-sol) |
| Job | Orchestrates every phase, holds the thread, reviews, adjudicates, and verifies everything itself. Writes glue, never bulk code. Also a blind panel voice via headless claude -p. | Implements in a workspace-write sandbox, and serves as the second blind voice in panels and reviews. Returns schema-forced results, never prose. |
| Swap it | any strong session model | model via CONSORT_IMPL_MODEL; whole vendor via CONSORT_BACKEND=codex|gemini|pi (Pi: any provider via CONSORT_PI_PROVIDER); several at once for review via CONSORT_REVIEWERS |
Cross-vendor is the point: two model families don't share blind spots (in the SWE-chat
4-tool study, 93.4% of issues were caught by exactly one tool). Every substantive
artifact gets touched by both.
The pipeline
flowchart LR
A["1 · interview<br/><i>scope + assumptions</i>"] --> B["2 · spec<br/><i>blind panel + synthesis</i>"]
B --> C["3 · plan<br/><i>tasks + DoD, refuted</i>"]
C --> D["4 · implement<br/><i>delegate, then verify</i>"]
D --> E["5 · review<br/><i>blind duet, merged</i>"]
E --> F["6 · gate<br/><i>no model: tests, CI</i>"]
classDef both fill:#5fb47e,stroke:#3a8556,color:#10241a
classDef principal fill:#d6934f,stroke:#a85f2c,color:#241505
classDef impl fill:#43b4b4,stroke:#1c757b,color:#082222
classDef gate fill:#9aa4b0,stroke:#5b6470,color:#14181d
class A,B,E both
class C principal
class D impl
class F gate
Each phase writes its artifact before advancing; any phase resumes from disk.
| # | Phase | Who acts | What happens | Artifact |
|---|
| 1 | interview 🚧 | 🟠 + 🔷 | Scope the request; the implementer proposes the questions the principal didn't ask | interview.md |
| 2 | spec 🚧 | 🟢 both, blind | Both voices draft blind; the principal scores and synthesizes, grafting the best of each with attribution | spec.md + both drafts |
| 3 | plan | 🟠 refuted by 🔷 | Decompose into tasks, each with a mechanical definition of done; the implementer refutes the plan | plan.md · tasks.json |
| 4 | implement | 🔷 types, 🟠 verifies | Delegate via five-part briefs; the principal runs every task's done-check itself | tasks/*.result.json |
| 5 | review | 🟢 both, blind | Every reviewer reads the same diff blind (one implementer, or a panel of several vendors via CONSORT_REVIEWERS); findings merge into caught-by-more-than-one / each-reviewer-only / principal-only | review.md |
| 6 | gate | ⚙️ no model | Structural check that trusts nobody: tests, CI, sources untouched, claims traced | exit code |
🚧 = human gate (scope and spec). Everything between runs unattended.
Dependencies
Consort does not work standalone. Before installing, you need:
- Codex CLI >= 0.159.1 —
codex on PATH, authenticated (older clients
reject the default gpt-6.1-sol with a 400). Sanity check:
codex exec -m gpt-6.1-sol "reply OK" (override the model with
CONSORT_IMPL_MODEL).
- Codex plugin for Claude Code (recommended) —
codex@openai-codex (from
openai/codex-plugin-cc). Consort's
default backend is this plugin's companion runtime (see "Codex backends" below);
without it consort falls back to raw codex exec, which loses session reuse.
- Claude Code, plus
node and git on PATH.
Install & use
/plugin marketplace add https://github.com/siimvene/consort
/plugin install consort@consort
/consort:run [workdir] # the whole lifecycle on a repo containing REQUEST.md
/consort:review [base] # cross-model review of the working diff
/consort:plan <task> # cross-vendor plan refutation before code is written
/consort:scan [workdir] # model-free security scan (Trivy/Sonar), triaged