Skip to content
BirchDesignLabPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

68 Commits

Folders and files

Repository files navigation

The Parallax wordmark between the codex and claude seats, whose sight lines cross above it: one model builds, the other checks blind, and where their lines cross is the evidence.

Parallax pairs Claude Code and Codex on every change. One builds it. The other, without seeing the code, writes the checks that will judge it. When they agree, the change lands on main with a receipt saying who built it, who challenged it and what was checked. When they disagree, you get one card with both answers and the concrete case that tells them apart.

The conductor that runs this is plain Python with no model inside. It drives claude -p and codex exec, does all the git work, runs every check, and spends no tokens of its own.

Jump to see it run, what real models did, use it on a project, or the documentation.

The idea

A model that reviews its own work shares its own blind spots. Two different models make less correlated mistakes than two copies of one. So Parallax does not split a project between two agents. It splits every task into two sides:

  • The builder writes the change, plus a few deliberately broken copies of it called mutants.
  • The challenger writes the probes from a frozen contract alone. It never sees the builder's files.

Then the two meet for the first time, at the crossing: the probes must pass on the change and fail on every mutant. A green run counts only because the checks were written blind and shown able to fail.

Agreement is evidence. Disagreement is the valuable output: it is either a bug or a hole in the spec, and it is the only thing that reaches you.

The life of one task: open, sealed readings, reveal, settlement, contract, braid, crossing, and landing with a receipt. The builder and the challenger work in separate lanes, shown with the stub demo's roles (codex builds, claude challenges); the conductor sits between them, and the frozen contract divides the steps before it from those after.

Roles swap every task, so each model spends half its time being checked by the other. More in The life of a task.

See it run

The stub demo needs neither CLI and spends nothing. Scripted seats disagree about one deliberately underspecified task: clamp(x, lo, hi), which says nothing about lo > hi.

python -m pip install -e .
python -m parallax demo --stub

Terminal replay: both seats seal their readings, they disagree about lo greater than hi, a ruling card shows both answers and a witness call, the human rules, and the task lands with 3 of 3 mutants caught.

The run stops with a card and exit code 2. Rule on it with the command the run prints, run the demo again on the same folder, and the change lands with its receipt. The replay above is condensed from the demo's real output: the folder arguments are cut and the card is folded to fit.

Drop --stub and the same demo runs on the real CLIs, spending tokens on both subscriptions.

What real models did

Three runs of the demo task with real seats, on one Windows 11 machine. Nothing here is a benchmark; it is what happened, with dates.

Three real runs: four rulings before the settlement step, none after it on the same task, and one ruling on a task written to contradict itself. Every run landed with 3 of 3 mutants caught.

Run Builder / challenger What the models did Asked of the human Result
2026-11-17 Codex / Claude Agreed that lo > hi raises, split on four other reading questions Four rulings Landed, ruled: 90 probes, 3 of 3 mutants caught
2026-11-23 Codex / Claude Codex objected to five of Claude's nine decisions; the seats flagged ten conflicts, then settled them in one exchange Nothing Landed in about ten minutes, consensus: 84 probes, 3 of 3 mutants caught
2026-11-23 Claude / Codex Task written to contradict itself. The challenger refused the builder's proposal over one dropped guarantee One card Landed after one failed crossing and a repair, ruled: 108 probes, 3 of 3 mutants caught

The first run asked four questions that were largely one question. That finding produced the settlement step: when the seats disagree in several places, they get one more exchange before you do, and only a choice where each still holds a different answer becomes a card. The second run is the same task after that change.

The full account, including token use and what has only run on stub seats, is in Field notes.

Every commit carries its receipt

A landing commit's trailers: Parallax-Task, Parallax-Contract hash, Built-by codex, Challenged-by claude, Checks 84 probes passed and 3 of 3 mutants caught, Verdict consensus. Beside it, the five verdicts and what each means.

The receipt is the trailers of the landing commit, so git log is the audit trail. Main never receives a failing check. The decisions behind each receipt (readings, contract, attempts, crossings, rulings) travel with the code in .parallax/ledger.jsonl. More in Receipts and the ledger.

How a disagreement reaches you

Four routes from the reveals: nothing in dispute means no card; one objection means one card; several objections or a conflict get one more exchange and a card only where each seat holds a different answer; a refused proposal means one card to replace or drop.

A card shows both answers, each seat's reason, and a witness: a concrete call on which the answers differ. Opinions do not open disputes; evidence does. The conductor never waits at a prompt. It writes the card, prints it and exits, and parallax rule records your answer. A ruling scoped to the project becomes a precedent, so a settled question is not asked again while its conditions hold. More in Rulings and precedents.

Use it on a project

From the project's folder:

  1. python -m parallax init writes parallax.toml and .parallax/. Set the check and lint commands, the paths each role may write, and the two seats. Commit them.
  2. Write the task as a short spec in tasks/<id>.md.
  3. python -m parallax run tasks/<id>.md runs or resumes the task until it lands, needs a ruling, or is blocked.
  4. When it prints a card, answer with python -m parallax rule <dispute> a|b|other|drop, then run the same task again.
  5. python -m parallax status lists tasks and what each waits on.

A run can be interrupted at any step. Every step records its completion, and the next run works out where it stopped.

Reference: commands and parallax.toml.

Requirements

  • Windows 11. It is the target, and nothing here is tested elsewhere.
  • Python 3.12. Standard library only: there are no dependencies to install.
  • git, with a user name and email set.
  • Claude Code and Codex CLIs, both signed in, for real runs. The stub demo and the test suite need neither.

How the blind is kept

Your project on the left, the conductor in the middle, and a private state folder on the right holding claude's clone and codex's clone, separated, plus the crossing area that only the conductor uses.

Each seat works in its own clone, under a random name, in a state folder outside your repo that is private to your account. Codex runs in its sandbox; Claude gets file tools restricted to its folder and no shell. Readings and attempts are hashed before anything is revealed. After every call the conductor scans the seat's event stream for the other seat's paths, and a hit voids the attempt along with its session and clone. More in Keeping the blind.

What it does not claim

  • The audit is best effort. Seats are treated as fallible, not hostile: a script that read the other clone without naming it would get past the scan.
  • A receipt says every landed change matched its accepted inventory of files. It does not say an independent reviewer judged each file relevant.
  • It runs one task at a time, with two seats, on Windows.
  • An A/B card, the direct settlement path and a run killed mid-step have so far run only on stub seats, not with real models.
  • The committed ledger of a task landed before 2026-11-23 records each seat clone's full path, home folder included. Newer records hold only the clone's folder name. Check an older project's .parallax/ledger.jsonl before publishing it.

How it was built

Parallax was designed the way it works. Claude Code and Codex each wrote a proposal without seeing the other's, then each reviewed the other's. They arrived at the same core independently, which is the main reason to trust it. The design document records which decisions were the human's rulings and which were the agents' proposals, and keeps a dated list of what has been verified on a real machine and what has not.

  • About 6,200 lines of Python, standard library only.
  • 407 tests run the conductor's every branch on scripted stub seats, spending nothing: disagreement, each settlement path, ruling, failed crossing, surviving mutant, repair, voided attempt, and resuming after an interruption at each step.
  • scripts/probes/seat_smoke.py reproduces what the real CLIs were observed to do and exits non-zero if any expectation fails. It is rerun whenever either CLI updates.
python -m unittest discover -s tests -t . -v

More in Architecture.

Documentation

Concepts Why two models, and the dozen terms everything else uses
The life of a task The nine steps from a spec file to a commit on main
Rulings and precedents Cards, how to answer them, and how answers persist
Receipts and the ledger What a receipt says and what the ledger keeps
Keeping the blind Placement, confinement, seal, audit and voiding
Commands Every command, flag and exit code
parallax.toml Every key, with a full example
Architecture Module map, state on disk, seat adapters, tests
Field notes The real runs, what they cost and what they changed
FAQ Short answers to the first questions
Design document The original design, its rulings, and what is verified

Status

v0: one task end to end, with real seats, from one command. Next on the list: two or more tasks in flight with crossed roles, experiments as a dispute step, assumptions as first-class claims that can be flipped and rerun, a scoreboard of which seat should build what, a live view, and more seats.

License

MIT. See LICENSE.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages