Concord

A governed workflow for AI coding agents

A is the system around a model that lets it act as an agent: its prompts, tools, skills and orchestration. is what keeps a person accountable for what the agents ship: who decides, what counts as evidence and what a verdict means. Concord is a governance layer for coding agents that separates who decides, who writes and who judges.

Estimated reading time: 12 min

Resources
Version

3.5.0

Python 3.9+, standard library only

License

MIT

Copyright 2026 Bao Q. Pham

Works with

Claude Code

Executors such as OpenCode and pi

Who decides, who writes, who judges

Coding agents now write code faster than people can read it. Review quietly turns into approval, and after a few weeks nobody can say why the system is shaped the way it is. Concord spends your limited attention where it matters, and gives each of three roles its own place in the loop and its own limits.

Who decides

You. You answer the planner’s questions, give one go/no-go on the plan and make the commit. Consequential behavior and architecture choices come to you, however small the change.

Who writes

A strong model plans each change, has the failing tests written first, writes the small fixes and checks every result. In delegate mode, low-cost models write the bulky phases inside the files each phase declares.

Who judges

A verifier that did not write the plan challenges it, and a reviewer that did not write the change reads it at its risk tier. The dispatcher, not the writer, runs the acceptance commands and refuses a PASS without their expected results.

The is concord.py and its concordlib modules, standard-library Python. It enforces what a prompt alone cannot: a plan approval bound to the hash of the plan text the read, a before any code, a checked against snapshots of the checkout, acceptance results taken on a copy of the , review tiers, and a of every verdict with its cause.

Each ticket runs in one of two modes. In the planning session writes every phase; in each phase goes to the the plan assigns, free tiers first for the bulky ones. The loop around the writing is the same in both.

One ticket, end to end

Every ticket runs the same loop in its own git worktree. The figure plays it step by step. Switch the mode to see who writes the code, and show the refusals to see where the dispatcher stops a run.

Who writes the code

Step 1 of 10

Plan. The planner reads the code once and writes the plan for the ticket.

  • Planner
  • Low-cost model
  • Verifier and reviewers
  • Dispatcher (code)
  • You decide
  • Refusal
  • Space play or pause · ← → step
Figure 1. The Concord loop. The planner prepares the work and an independent verifier challenges it before you give your go. Code is then written against tests that already fail, checked by the dispatcher on a copy of the result and reviewed at its risk tier, and the record comes to you before you commit. This animation illustrates the procedure. Drag the progress bar to explore any step, also while paused. Hover over a component for details, or select it to jump to its explanation. Underlined terms in the text light up their part of the diagram.

How it works

Ten steps, numbered as in the figure. The example is the credential-free demo that ships with the repository: a toy shop whose cart total ignores the quantity of each item.

1. Plan, or split a large ticket

Work starts in Claude Code with /concord:run execute <task> or /concord:run delegate <task>. The planner reads the code, the spec, any Cases: file and the skills once, then writes an early PLAN_<ticket>.md: a Done when line, the design, a Test plan, conflicts between sources, open questions, and per phase its executor, risk, files, follow-through files, purpose, the steps an assisted executor needs, any interfaces it must keep, size and dependencies.

A phase’s Follow-through: line names the files that change only because the phase’s change requires it, such as the docs that describe the changed code, so you approve them with the plan. A ticket whose parts can land and be reviewed apart gets a split plan instead: a table of child tickets cut along their seams, verified and approved once, after which each child runs this loop with its own plan and go.

A plan phase · the demo’s phase 2 with Size:, After: and Follow-through: added and Out of scope: adjusted to match, in the format of concord/PLAN_TEMPLATE.md
## Phase 2 - Count quantities in the cart total
Executor: free-deepseek-flash
Risk: low
Size: ~4 lines
After: 1 (the failing test must exist first)
Files: cart.py
Follow-through: docs/cart.md
Purpose: `total` counts each item's price times its qty.
Steps:
1. In `total`, multiply each item's `price` by its `qty` before summing.
Notes:
- cart.py:total - sums prices, ignores qty
Decisions: an empty list still totals `0`.
Acceptance:
- `python3 tests/check_cart.py`
Out of scope: any file other than `cart.py` and `docs/cart.md`; do not edit the test.

2. Questions

Before anyone checks the plan, the planner asks at most five blocking questions, each with a default. This is the first point where you take part: you answer the questions, or let the defaults stand. Choices the code cannot settle are listed under ## Open questions in the plan.

3. An independent verifier

concord.py --lint checks each phase without a model call and writes the : the approval-relevant text of the plan, saved under a name taken from its hash. The plan-verifier agent reads that file and checks the plan against the code by reading it: that every item serves the goal, that its claims about interfaces and callers are true, that each acceptance command would fail before the work, and that each Risk: fits what the phase touches. It answers with CUT, MERGE and FIX items.

--plan-verdict records an APPROVE answer that quotes the plan read’s hash, and it holds only for text with that hash: the plan without the prose of its Open questions, Handoff and Passes sections, read line by line so that line endings do not change it. An answer with more than one VERDICT or PLAN-HASH line records nothing. The dispatcher checks the hash, not who wrote the answer. Every run reads the plan once and checks that text against the approved revisions; a run whose plan text has none exits 11, and no words of yours open that gate.

Demo output · lint and the plan read (paths shortened)
3. Lint: dry-run the phase pre-flight so the questions are visible before spending a token.
PLAN LINT: no `Size:` line, so --drift cannot measure it
PLAN-READ: …/shop/.git/concord/plan-reads/12d20664787bca39.md
   a scripted plan-verifier APPROVE is recorded for this plan text (the real one is the plan-verifier agent).

4. Your go

concord.py --estimate turns each phase’s Size: and After: lines and the run ledger into lanes, a critical path and an ETA. You then give one on the lanes, the ETA and the verifier’s cuts.

The go holds while the work stays as you saw it: when a later fix changes anything in a phase beyond who writes it, its size, its wait, its notes or its risk, the planner shows you the change and asks for that phase’s go again. The dispatcher requires a recorded APPROVE of the plan text, though it cannot tell who wrote it; your go is a stop that the planning session’s instructions require.

The lanes you approve · from examples/PLAN_example.md
Phase 1  planner              5 min ──> Phase 2  free-deepseek-flash  10 min
ETA: 15 min (critical path); started at 10:00, it lands at 10:15.

5. Tests that fail first

For each changed behavior, tests that fail on the current code are written in their own run, and the planner checks that each one fails for the stated reason before any implementation starts. A routine change under characterization checks needs no separate red run.

The phase’s then serve as the red run. Before an executor starts, the dispatcher runs them on a copy of the untouched tree; a delegated phase whose acceptance already passes is not run (exit 6), because its tests do not test it. In execute mode the session run starts with a warning instead.

The failing test comes first · from examples/PLAN_example.md
## Phase 1 - Failing test for the cart total
Executor: planner
Risk: low
Files: tests/check_cart.py
Baseline: skip
Purpose: a test that fails while `cart.total` ignores `qty`:
`[{"price": 3, "qty": 2}, {"price": 5, "qty": 1}]` totals `11`.
Acceptance:
- `python3 tests/check_cart.py` (fails until Phase 2)

6. Implement

In execute mode the planning session writes each phase inside a recorded --begin/--end run, which takes the same backup, scope report and checks as any other run. In delegate mode the planner still writes what costs less to write than to specify, and concord.py <model> <phase> runs each bulky phase on a low-cost model, free tier first.

An executor reads the run’s snapshot of the approved plan, never the plan file, and a shared contract that tells it to change only its phase’s files. On OpenCode, edits outside the phase’s Files: and Follow-through: are refused during the run; on other harnesses the report’s out-of-scope lines catch them. A lock covers a set of files rather than a checkout, so phases whose files are disjoint run in one worktree at the same time. In the demo, the first attempt also edits a file outside its scope:

Demo output · delegate mode, attempt 1 (excerpt)
4. Attempt 1: the executor fixes cart.py and edits README.md, outside Files:.
DELEGATE RESULT 20261127-212821-freedeepseekflash-p2
REJECTED (not graded): README.md (out of scope)
  no post-run command ran and there is no candidate: restore with concord.py --restore 20261127-212821-freedeepseekflash-p2 or clean up, then grade the checkout with concord.py --grade 20261127-212821-freedeepseekflash-p2
[…]
changed in scope: cart.py (+1 -1)
OUT OF SCOPE (source): README.md (+1 -0)
[…]
5. Verdict: record FAIL with cause EXECUTOR, because the change left the declared scope.
20261127-212821-freedeepseekflash-p2: verdict FAIL [EXECUTOR] (edited README.md outside Files)

7. Check

After the run, the dispatcher compares the checkout with the start state it kept in its own memory, where the executor cannot rewrite it. A change outside the write scope, the deletion of a file outside it that is not build output, any change to the index, an executor’s edit of the plan, or a moved HEAD rejects the run: no post-run command runs and there is no candidate. The red run ran on a copy of the start tree after that start state was taken, so what it changed counts too. Otherwise the checkout as the writer left it becomes the run’s candidate, and the acceptance commands run on a copy of it.

The report comes from these snapshots, never from the writer’s account. A PASS needs the expected result of every acceptance command, in a checkout that still holds the candidate and the state it was graded in; otherwise --verdict PASS exits 7. A FAIL is recorded with its cause, and only EXECUTOR failures count as attempts: after three, the planner stops and asks you.

Demo output · delegate mode, attempt 2 (excerpt, paths shortened)
7. Attempt 2: the executor edits only cart.py, so the failing test should now pass.
delegate: started 20261127-212836-freedeepseekflash-p2: free-deepseek-flash -> qwen fake/m [qwen's own login/key] (from plan), wall 30m; baseline: 1/1 acceptance commands fail before the change; log: …/output.log
[…]
changed in scope: cart.py (+1 -1)
OUT OF SCOPE (source): none
graded candidate: 7938ecacb16d7d91d9df71fae3e2aabfb84bc983 (the run's change: git diff 9b020074b903de1b2f28c08cfcd4ec67be9b2344 7938ecacb16d7d91d9df71fae3e2aabfb84bc983)
baseline: all acceptance commands failed before the change, as expected (check they failed for the intended reason: …/baseline.txt)
acceptance after run: 1/1 pass

The demo puts a scripted program named qwen on its PATH in place of a model (qwen fake/m), so the run needs no network and no account. The native Qwen Code, Kimi and dsh adapters themselves ship untested in this release.

8. Review by risk tier

The phase’s Risk: line sets the , and the tier sets who reviews. High risk means untrusted input, scores or thresholds, security, money, data deletion or concurrency.

Low

A flash model, which judges BLOCKER and HIGH findings only.

Medium, the default

Opus 5.5, as an independent reviewer agent.

High

Opus 5.5 and a flash model from another family, at the same time; their blind spots differ.

A finding needs a reproduction to stay above NOTE. Confirmed findings are fixed, then a cheap shows which findings the fix closed; the loop stops at zero open BLOCKER, HIGH and clause FAIL findings. Before merge, concord.py --pr-status exits 0 only when every file of the current diff is covered at its tier and no BLOCKER, HIGH or clause FAIL is open; there the dispatcher closes a finding when a later review cites the lines that fix it.

Demo output · the low-tier review and the verdict
8. Review: a cheap model reads the diff and returns a CLEAN REVIEW-JSON answer.
REVIEW 20261127-212857-review-deepseekflash-p2 of 20261127-212836-freedeepseekflash-p2: deepseek-flash -> qwen fake/m  (exit 0, 0s, verdict CLEAN, blockers 0)
FINDINGS: none
CLAUSES: none
TESTS: none
VERDICT: CLEAN at low (BLOCKER and HIGH only)
note: confirm every BLOCKER and HIGH against the diff before failing the phase; a cheap reviewer can be wrong
9. Verdict: record PASS with the review on file.
20261127-212836-freedeepseekflash-p2: verdict PASS (demo)

9. Report

Once every run of the plan has a verdict, concord.py --report writes the test report from recorded data, stops the drift clock and closes the plan to new runs: a later run on it exits 10. The report opens with the : each forced PASS beside its failed commands, each PASS with no acceptance command, each skipped red run, each waiver and owner go-ahead, and each PASS whose phase a later revision changed. Then come the phases, with who wrote each, the plan revision its run followed, the graded candidate and its latest review.

Demo output · the phase table of each ticket’s report
11. Reports: each ticket's phase table names who wrote the phase, the plan revision, the candidate and its review.
   delegate mode:
   | Phase | Executor | Runs | Last verdict | Acceptance re-run | Revision | Candidate | Phase review |
   |---|---|---|---|---|---|---|---|
   | 1 | planner | 0 | - | - | - | - | - |
   | 2 | free-deepseek-flash | 2 | PASS | 1/1 pass | 1 | 7938ecacb16d | CLEAN (fake/m) |

   execute mode:
   | Phase | Executor | Runs | Last verdict | Acceptance re-run | Revision | Candidate | Phase review |
   |---|---|---|---|---|---|---|---|
   | 1 | planner | 0 | - | - | - | - | - |
   | 2 | planner | 1 | PASS | 1/1 pass | 1 | 7938ecacb16d | CLEAN (fake/m) |

10. Your commit

The session replaces the repository notes the ticket changed and merges the approved case changes into the Cases: file. Then you commit and merge. The dispatcher never commits to a branch, pushes or changes branches in your checkout (wt.py fork writes only a snapshot commit object that no branch or ref points to); the planning session is told not to, by an instruction rather than by code.

Watch and steer

The governance view shows Concord’s records in your browser: every ticket drawn as a map of its loop, every run and every open item. It is govern.py, standard-library Python installed beside the dispatcher. It makes no model call and listens only on 127.0.0.1. Run it from any checkout of the repository.

Live, kept current
python3 ~/.claude/concord/govern.py serve
Static pages
python3 ~/.claude/concord/govern.py view --out ~/concord-view

serve prints a pairing link that works once: open it in your browser, and the pages update themselves. view writes the pages into the folder you name: open its index.html.

The Flow tab of one ticket, drawn from demo records on four lanes: you, Concord, the executors and the reviewers. The plan verifier approved the plan; phase 1 passed and its review is clean; phases 2, 3 and 4 run in parallel after a fork. Phase 2's question was answered and its second try passed, phase 3's question waits on you and is quoted in the banner above the map, and phase 4 failed once and its second try has not closed. Phase 5, the PR gate and the merge come after the join. The Flow tab of one ticket, drawn from demo records on four lanes: you, Concord, the executors and the reviewers. The plan verifier approved the plan; phase 1 passed and its review is clean; phases 2, 3 and 4 run in parallel after a fork. Phase 2's question was answered and its second try passed, phase 3's question waits on you and is quoted in the banner above the map, and phase 4 failed once and its second try has not closed. Phase 5, the PR gate and the merge come after the join.
The Flow tab of one ticket, from demo records. Phases 2, 3 and 4 run in parallel after phase 1. Phase 2’s question was answered and its second try passed; phase 3’s question waits on you, so the banner above the map quotes it; phase 4 failed once and its second try has not closed. Phase 5, the PR gate and your merge wait for the join.

Run it in your own terminal. Inside Claude Code’s sandbox on macOS, serve cannot check other commands’ processes, so running work shows as unverified. The view changes Concord’s records only when you commit a decision (one the advisory channel refuses is recorded as a refusal), and its only other file is an observation log. That approval is advisory, since nothing proves that you and not an agent clicked. Details: docs/REFERENCE.md.

Principles

Seven promises. Each names the mechanism that enforces it, a refusal you can reproduce with concord.py, and the limit that remains.

P1Runs follow the approved plan textexit 11
Mechanism
--lint writes the plan read under a name taken from its hash; the verifier’s answer quotes that hash, and --plan-verdict records an APPROVE that quotes it as an approved revision. Each run checks its plan text against those revisions, and the executor reads the run’s snapshot of the approved text, never the plan file.
Refusal you can reproduce
--begin or an executor run exits 11 when the plan text has no APPROVE, or when the stored plan read changed after it. No --user-approved words open this gate.
Limit
The dispatcher checks that a recorded APPROVE quotes the hash of this plan text; it cannot tell who wrote that APPROVE, and the demo records a scripted one. It does not record your go either: your go/no-go is a stop in the planning session’s instructions. The prose under ## Open questions, ## Handoff and ## Passes is left out of the approved text.
P2Tests fail before the code existsexit 6
Mechanism
Before an executor starts, the dispatcher runs the phase’s acceptance commands on a copy of the untouched tree: the red run. A command marked (characterization) guards existing behavior and is expected to pass.
Refusal you can reproduce
A delegated phase whose acceptance already passes is not run: the dispatcher prints NOT RUN and exits 6.
Limit
The red run shows that a command fails, not why; the planner checks the reason. In execute mode a session run warns instead of refusing, and --force runs a delegated phase anyway, with the run noting it.
P3A PASS rests on recorded resultsexit 7
Mechanism
The dispatcher takes the checkout the writer left as the run’s candidate, runs the acceptance commands on a copy of it and writes the report from snapshots of the tree.
Refusal you can reproduce
--verdict PASS exits 7 when an acceptance result is missing or not the expected one, a check ran no test, a post-run command changed the tree, a Python signature in the phase’s Interfaces: no longer holds (INTERFACE CHANGED), or the checkout no longer holds the graded candidate and the state it was graded in.
Limit
The acceptance commands are only as strong as the tests the plan names. --force records a PASS (forced), and the report lists it first, under Overrides, as it does a PASS with no acceptance command.
P4Each phase declares its files firstrejected, exit 7
Mechanism
Each phase lists its Files: and Follow-through: in the approved plan. The run lock covers those files; after the run, a change outside them, the deletion of a file outside them that is not build output, any change to the index, an executor’s edit of the plan or a moved HEAD rejects the run, which then has no candidate. On OpenCode, edits outside the scope are refused during the run.
Refusal you can reproduce
The run report prints REJECTED (not graded), and a PASS on that run exits 7. bash scripts/demo.sh shows it.
Limit
During a run, scope is enforced only by OpenCode’s edit tools, not shell redirection. On other executors an out-of-scope edit is caught after the run, and the backup of in-scope files is the safety net.
P5Review rises with riskexit 1
Mechanism
The phase’s Risk: picks the tier: a flash model at low, Opus 5.5 at medium, Opus 5.5 and a flash model from another family at high. At the merge gate every file needs a review at its tier, and a finding stays open until a review of a later head shows it fixed.
Refusal you can reproduce
concord.py --pr-status exits 1 until the current diff is REVIEWED; --review-pr --tier below a file’s needed tier is refused (exit 2).
Limit
A review covers only what its reviewer could read, at the rank of the reviewer name the planner records, and a binary file needs your words naming it. At the low tier the reviewer may run on the same low-cost model as the executor, in a fresh context.
P6Every run is recorded; overrides come firstexit 2
Mechanism
Every run and verdict goes to a ledger, a FAIL with its cause: EXECUTOR, PLAN_GAP, TEST_DEFECT, FLAKY, PROVIDER or BLOCKED; only EXECUTOR counts as an attempt. --report writes the test report from recorded data and opens with the overrides: each forced PASS beside its failed commands, each waiver and owner go-ahead.
Refusal you can reproduce
--report refuses while a run of the plan has no verdict (exit 2). Once the report is written, a new run or --begin on that plan exits 10.
Limit
The planner alone assigns the failure causes. A FAIL recorded without a cause gets only a reminder. The report is a status export: it does not check that every phase passed.
P7You commitrejected, exit 7
Mechanism
The dispatcher never commits to a branch, pushes or changes branches in your checkout (wt.py fork writes only a snapshot commit object that no branch or ref points to), and the planning session is told not to. A run that changes the index, moves HEAD or changes the branch is rejected, and OpenCode’s rules deny an executor git commit, git push and similar commands.
Refusal you can reproduce
The run report lists the staged path or the moved HEAD as a rejection, and a PASS on that run exits 7.
Limit
No code stops the planning session from committing outside a run: that rule is an instruction in the run command's rules (/concord:run §0), and the dispatcher sees a moved HEAD only inside a run. Outside OpenCode, the git rules in the executor contract are instructions a model can ignore too: a commit during a run is caught after the run, not prevented. wt.py new creates a branch and a worktree per ticket when you ask.

How it differs

Concord learned from other workflows and papers. Read against the same four questions, the kinds of harness differ mainly in where a person decides and in what code, rather than a prompt, enforces.

Question Host built-insplan mode, subagents, hooks Workflow pluginsECC, agentic-sdlc, agent-protocols Role-play frameworksMetaGPT, ChatDev Self-improving harnessesHarness² Concord
Where a person decides Permission prompts; plan approval Approval and sign-off steps written as prompt text or advice; agentic-sdlc asks before git commands None during a run None during a run Approves every plan; makes the commit
Evidence a run must leave None built in Reports quoting real commands (ECC, agentic-sdlc); checklists (agent-protocols) Unit tests with retries (MetaGPT); execution feedback and a static review (ChatDev) A lesson enters the library only when execution contrasts support it The dispatcher’s report: scope, red run, acceptance re-run; a PASS only on the expected results
Who reviews Optional: subagents, /code-review, a second session A separate reviewer agent; an optional persona in agent-protocols The author, or the same model in a reviewer role An anonymized selector; on one benchmark the judge and the editor are the same model A fresh agent at the change’s risk tier, then a cheap delta review of each fix
Enforced by code Permission rules, hooks, plan mode’s edit block, a shell sandbox, worktrees ECC hooks that block --no-verify, protect config files and gate a first edit; an agentic-sdlc hook that asks before commit, tag, push and publish (it fails open by design), and strike counters; nothing in agent-protocols Stage or phase order; retry and round caps Grader verdicts kept from the improver; turn and time caps Plan approval bound to the hash of the text the verifier read, red run, a lock on each run’s files, the scope check, acceptance results on the graded candidate tree, pinned grading files, review tiers and PR finding closure, a billing guard on model names; an Interfaces: signature check; edit scope and no web fetch on OpenCode

Facts as read from each project’s source or paper on 21 October 2026, with the Harness² evidence entry corrected on 28 November 2026; only Concord itself was run. Concord covers one loop where ECC and agentic-sdlc cover many languages and stages. The full comparison, with what Concord still lacks, is in docs/COMPARISON.md.

Results

One developer used Concord from 11 October to 25 November 2026 while shipping a production mobile security product. The ledger it shipped with records:

  • 1,315recorded verdicts1,156 PASS, 159 FAIL
  • 84%of executor phases with a recorded PASS on the first attempt95% by the second attempt; per checkout
  • US$0.10executor list-price charges per phase with a recorded PASSUS$1.79 for the same tokens at Claude Opus 5.5 rates (price-only)
  • 130plansacross 119 checkout groups
  • 696 of 1,047phases first attempted by low-cost executorsClaude models took the rest
  • 46 daysof production use40 with runs11 October to 25 November 2026
The 696 executor phases, by the attempt that received a recorded PASS in their checkout
  • 84% first attempt
  • +11 points on the second attempt
  • +1 point later
  • 4% without a PASS in the same checkout
Causes of the 159 failures, as the planner labeled them
  • 72 executor
  • 51 plan gaps
  • 18 blocked
  • 13 test defects
  • 5 flaky

Executor mistakes (72) and plan gaps (51) account for 123 of the 159 failures as the planner labeled them; no second rater checked the labels. Plan gaps are why a verifier checks each plan against the code before it runs.

A typical executor phase, as medians each over its own cases: 6.7 minutes of summed executor time (n = 696), about 190 changed lines (n = 497), 3 files in scope (n = 478), 2.1 million tokens processed (n = 692).

Executor list-price charges per phase with a recorded PASS, repriced (price-only)

The same executor tokens, attempts and cache reads at each model’s list price, everything else fixed. Models that ran: US$64.27 for the 866 runs with a verdict, over 671 phases with a recorded PASS; US$0.12 with the 170 runs without a verdict. Planning, checks and reviews sit outside these charges.

Method. The rates are per checkout. An attempt is a run with a verdict on a phase in one checkout, by any runner and after any cause of failure (81 of the 86 later passes were executor retries); a run a model provider refused (111 runs, left out of every count), a refusal at the red-run gate and a run without a verdict are not attempts. A later attempt starts with the evidence of the failed one; the workflow’s own three-failure stop, an instruction in the plugin from 3.0, counts only EXECUTOR failures. 499 of the 696 phases (72%) received a PASS as their earliest recorded event of any kind; 41 began with a provider refusal and 30 with a refusal at the red-run gate. The record spans Concord from its pre-release versions to 3.2, and the checks described above took their present form in versions 3.0 to 3.3 (21 to 27 November 2026), so most recorded runs passed under earlier, looser checks; of the 585 first-attempt passes, 386 kept a run record, and 286 of those show every acceptance command with its expected result and no forced verdict. Of the 111 phases that failed their first attempt, the planner labeled 59 of those failures as the executor’s work, 33 as a gap in the plan and 19 as a blocked run, a test defect or a flaky check.

The executor charges apply list prices read on 28 November 2026 to the recorded tokens (uncached input, cache reads, cache writes, which are zero in every measured executor run, and output) of the 866 executor runs with a verdict, failed attempts included, divided by the 671 executor phases with a recorded PASS; 5 of those 671 got their first PASS from a Claude run whose cost is not in the numerator. For 180 runs the split between token kinds is estimated from measured runs of the same executor and model family, and 12 verdict runs without a token record count as zero. The repriced rows do not model how another model would have done the work. A frontier model wrote the plan, the file scope and the failing tests before an executor started. Planning, checks and reviews by Claude models, and the phases Claude models wrote, ran on a flat-rate frontier subscription. Matched Claude Code activity plus executor verdict runs, at list prices from the session transcripts, comes to US$6 to US$9 per phase with a recorded PASS (1,016 phases, any runner) in three matching scenarios, and executors are 0.7 to 1.1% of these charges. Not in these charges: reviews on low-cost models (US$31.69 at list prices for those with a token record), executor runs without a verdict (US$15.16), provider-refused runs, human time and subscription spend. A paired comparison with a lighter workflow is designed in docs/PILOT.md.

The field report tells the story behind these numbers, including the first ticket under the stricter file-scope check, where the check rejected 24 runs before grading.

Install

Concord installs from a clone. To see every link, copy and backup before anything is written, run bash install.sh --dry-run first.

1 · Clone the repository
git clone https://github.com/bqp007/concord-agent-harness.git && cd concord-agent-harness
2 · Install into Claude Code
bash install.sh

The default install links the commands, agents and skills into ~/.claude, installs the dispatcher and runs its suites. It also adds missing keys to ~/.claude/settings.json, and never touches ~/.claude/CLAUDE.md. A default install runs nothing outside Claude Code’s sandbox; --allow-git-network adds entries that let gh and git push, fetch, pull and clone run outside it in every project. It backs up each file it changes. Restart Claude Code afterwards.

Try it without credentials
bash scripts/demo.sh

The demo runs the whole loop in both modes in about a minute, inside a temporary folder, with a scripted executor instead of a model: no network, no account, nothing left outside that folder. Add --keep to inspect the run folders afterwards.

Requirements

  • macOS or Linux, bash 3.2 or later, git, and Python 3.9 or later (standard library only)
  • Claude Code, for the commands and agents
  • The demo needs only bash, git and Python

Low-cost executors

  • OpenCode for the free tier, the one path where out-of-scope edits are refused during the run
  • The pi CLI for models on the OpenCode Go allowance
  • Without either, Claude subagent phases, verdicts and the medium-tier review by reviewer-opus55 still work; the low-tier review and the second review from another model family that a high-risk change needs cannot run

Not a sandbox. Agents run shell commands as your user. On macOS the OpenCode and pi executors run under a Seatbelt profile, which is skipped on Linux and inside another sandbox; the red run and the acceptance commands run the checkout’s code before and after each run, unsandboxed, with your environment. Known gaps and how to report a vulnerability: SECURITY.md. Setup details: docs/SETUP.md.