Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

docs: the readme leads with the outcome and states only what is true

Corey Olsona9eb18e88458
diff --git a/README.md b/README.md
index 67a9f743..39c5098d 100644
--- a/README.md
+++ b/README.md
@@ -1,62 +1,76 @@
# Pullboard
-**Nothing an agent builds ships until a second agent verifies it.**
+**Vibe code a real product.** Your agents build from a spec you approved, in lanes that keep them out of each other's way, and nothing they build counts until a second agent verifies it.
-Spec-driven development, with proof. Pullboard is a work board that lives in your git repo. Every requirement is a row in `SPEC.md`. When an agent claims a piece of work, its acceptance criterion freezes. A different agent, from a different model family if you like, has to verify the work at the exact commit before it counts. Every verdict is a receipt in git.
+Pullboard is a work board that lives in your git repo. Every requirement is a one-line row in `SPEC.md`. Agents claim work, build it in their own worktrees, and submit it at a commit with your tests passing. A different agent, from a different model family if you like, checks it against the bar that was frozen when the work started. You decide what to build, answer the questions, and watch it all on one page.
-It runs locally, with no account, no server and no dependencies: one SQLite file inside `.git`. It works with Claude Code, Codex and any agent you can run from a shell.
-
-```sh
-npx @pullboard/local tour # 30 seconds: two scripted agents, a reject, the fix, the ledger
-```
+It runs locally: no account, nothing hosted, no dependencies. The board is one SQLite file inside `.git`. It works with Claude Code, Codex and any agent you can run from a shell, and it never calls a model.
## Why
-Coding agents write code faster than anyone can review it, and left alone they grade their own homework. An agent says "done, tests pass," and it isn't done: the test got weaker, the commit was never made, or the bar moved after the work started.
+Coding agents are fast, and on day one it feels like magic. Past a demo, the same things go wrong on every project:
-Spec tools help an agent write the plan. None of them makes a second agent prove the plan was met. That is the part Pullboard enforces:
+- **It said done. It wasn't.** The test got weaker, the commit was never made, or the work skipped the hard case.
+- **The agent forgot what you decided.** The plan lived in a chat that ended.
+- **A fix broke something that worked.** Nobody ran the tests that would have caught it.
+- **Two agents edited the same file.** Running more agents made it worse.
-- **The bar freezes at claim.** The criterion, and the text of every spec row it cites, are fixed when an agent takes the work. A verdict is judged against that text, never a newer one.
-- **The gate is green at the exact commit.** Submit needs a clean tree and your test gate passing at HEAD. The commit is pinned, so the work can't be lost.
-- **A different agent verifies.** The builder can never verify its own work. The verifier checks out the submitted commit and records ACCEPT with its proof, or REJECT with a reason.
-- **Rework comes back changed.** Resubmitting a rejected commit is refused.
-- **Lanes keep agents apart.** Each lane owns folders, and pre-commit refuses changes outside them.
-- **Receipts.** `pullboard ledger` shows what was built, by whom, verified by whom and at which commit.
+Pullboard gives your agents what a good team has: a shared plan, house rules, their own lanes, and someone who checks the work.
+
+| | |
+| --- | --- |
+| **A spec they build against** | One row per requirement, with an id and a status. Only rows you approve are the contract; a guess stays a draft and a question waits for you. When an agent claims an item, its criterion and the rows it cites are frozen for that work. Commits cite the rows they serve. |
+| **Rigor that runs itself** | Your house rules live in `PRACTICE.md`. Git hooks enforce them on every commit: commit messages cite real spec rows, nothing lands outside an agent's lane, and a deleted requirement is refused. Submit needs a clean tree and your test gate green at that commit. |
+| **A team, not one agent** | Each agent works in its own worktree and lane. Claims are atomic, so two agents never take the same item, and an item can wait on another. Cheaper models take the simple items. |
+| **Proof before it counts** | The builder can never verify its own work. A different agent checks out a tree that contains the submitted commit and records ACCEPT, with the proof it tried, or REJECT, with a reason. The verdict is bound to the submitted commit, and rejected work must come back changed. `pullboard ledger` prints the receipts. |
## Built with itself
-Pullboard is built with Pullboard. On 6 October 2026, a Claude agent made 17 changes to this CLI in 23 submissions. A Codex agent verified each one from its own worktree and sent 6 back, each with a counterexample anyone could rerun:
+Pullboard is built with Pullboard. On 6 October 2026, one Claude agent made 17 changes to this CLI in 23 submissions. A Codex agent verified each one from its own worktree. It recorded 5 rejections, each with a counterexample anyone could rerun, and caught a sixth problem while that item's bar was being refrozen:
-- a shell-quoting bug that sent `cd` to the wrong folder when a path held a `$`;
-- a test-log digest that lost the summary line when one failure line was very long;
-- git settings from the environment leaking into the tour;
-- a feature with no test that could fail;
-- two edge cases in the messages that tell an agent what to do next.
+- a suggested `cd` line sent agents to the wrong folder when a path held a `$`;
+- the test-log digest lost its summary line when one failure line was very long;
+- git settings from the environment leaked into the tour;
+- a feature had no test that could fail;
+- two messages that tell an agent what to do next were wrong in edge cases.
-All six were fixed before they merged. Before accepting, the verifier tried to break each claim: it reverted the fix and watched the test go red. Here is one receipt from that day, an item rejected once and then accepted:
+All six were fixed before they merged. Before accepting each code change, the verifier tried to break it, usually by reverting the fix and watching its test fail. Here is one receipt from that day, with the board's agent ids (the builder, `coordinator`, was the Claude agent; the verifier, `tests-2`, a Codex agent) and the verifier's own words, abridged:
```
#13 worktree prints a subagent's opening lines
- criterion 5349dc84b0ab, frozen at claim built by claude, submitted 12f3640f8630
+ criterion 5349dc84b0ab, frozen at claim built by coordinator, submitted 12f3640f8630
- REJECT BEHAVIOR_MISMATCH by codex
- A worktree path with a literal "$" token: the printed cd line expanded it
- away and exited 1, no such directory.
+ REJECT BEHAVIOR_MISMATCH by tests-2
+ "...the generated prompt cd line double-quoted the token without shell
+ escaping it. With PULLBOARD_PATH_PROBE unset, copying the printed cd line
+ expanded the token away and exited 1 with no such directory."
resubmitted 85f0f5d839c5
- ACCEPT CRITERION_MET by codex
- Ran the printed cd line with a conflicting environment value; it reached the
- real folder. Removing the quoting turns the test red.
+ ACCEPT CRITERION_MET by tests-2
+ "...executes the printed cd line with a conflicting environment value, and
+ confirms it reaches the real target. Removing shell quoting and removing
+ apostrophe escaping each made the focused test fail."
+```
+
+## Try it
+
+You need git and Node 22.13 or newer.
+
+```sh
+npm i -g @pullboard/local # from the first npm release; until then, run npm i -g . in a clone of this repo
+pullboard tour # thirty seconds on a throwaway repo: a reject, the fix, the ledger
```
## Quick start
+In your repo:
+
```sh
-npm i -D @pullboard/local
-npx pullboard init # pullboard.json, SPEC.md, AGENTS.md, git hooks, the board
+pullboard init # pullboard.json, SPEC.md, PRACTICE.md, AGENTS.md, git hooks, the board
+git add -A && git commit -m "chore: set up pullboard"
```
-Write requirements in `SPEC.md`, one row per line. Only approved rows are the contract; a guess stays a draft until a person approves it.
+Write requirements in `SPEC.md`, one row per line, and set your test command as the gate in `pullboard.json`:
```markdown
## G · Goals
@@ -64,8 +78,6 @@ Write requirements in `SPEC.md`, one row per line. Only approved rows are the co
- G2 [draft, aim] Show a diff when a month is restated. | serves: G1
```
-Declare the gate and the lanes in `pullboard.json`:
-
```json
{
"gate": "npm test",
@@ -76,7 +88,7 @@ Declare the gate and the lanes in `pullboard.json`:
}
```
-The main checkout is the coordinator. It files the work:
+Commit those, then file work from the main checkout, which is the coordinator:
```sh
pullboard add web "Upload page" --specs G1 --criterion "the same file uploaded twice is listed once"
@@ -85,41 +97,56 @@ pullboard add web "Upload page" --specs G1 --criterion "the same file uploaded t
A builder gets its own worktree and claims the next item. The criterion freezes now:
```sh
-pullboard worktree web # makes ../app-web-1, joined as web-1
-cd ../app-web-1 && pullboard next
-# build, commit "feat(web): upload page [G1]"
-pullboard submit 1 # clean tree, gate green at HEAD
+pullboard worktree web # makes ../<repo>-web-1, joined as web-1
+cd ../<repo>-web-1 && pullboard next
+# build, then commit "feat(web): upload page [G1]"
+pullboard submit 1 # clean tree, gate green at HEAD
```
-A different agent checks it out at that commit and gives a verdict:
+A different agent verifies it. `next --verify` names the item and prints the command that checks out its commit:
```sh
-pullboard worktree review && cd ../app-review-1
-pullboard next --verify # names the item and the commit to check out
+pullboard worktree review && cd ../<repo>-review-1
+pullboard next --verify
+git switch --detach <the commit it names>
+```
+
+Then one of:
+
+```sh
+pullboard verify 1 accept --note "uploaded twice: one row. Removed the dedupe: the test failed"
pullboard verify 1 reject --reason TEST_FAILURE --note "a 0-byte upload crashes the list"
-pullboard verify 1 accept --note "uploaded twice; one row. Removed the dedupe; the test failed"
```
-## Working with agents
+A reject reopens the item: the builder fixes it, commits, claims it again and submits the new commit.
+
+## See every project at once
-- **Claude Code.** Init installs the role guides as skills, and a session hook that runs `pullboard resume` whenever a session starts or compacts. The agent picks up from the board, not from a summary.
-- **Codex and every other agent.** Init writes the rules into `AGENTS.md`. `pullboard prompt <role>` prints any role guide: decompose, plan, signoff, review, verify.
-- **Teams of subagents.** `pullboard worktree` prints the opening lines for a subagent's prompt: its identity, its folder, and that the folder's rules govern over any others it was given.
-- **Cheaper models.** Items route `light`, `mid` or `strong`. `pullboard run --agent-light "<any command>"` builds routed items unattended: a context pack per attempt, the check, the failure fed back. Green work is submitted for a second agent to verify, and red work escalates one tier up.
+```sh
+pullboard view
+```
+
+`view` opens one page in your browser with every project on this machine. It shows items by state, what needs you, shouts between agents, your spec and practice rows, the agents, and recent activity, and it refreshes itself. From it you can add items, shout, hold a lane, and start a board on another repo. It runs on 127.0.0.1 behind a secret link; nothing leaves your machine.
-Pullboard never calls a model and opens no network connection. The agents are yours.
+## Working with agents
+
+- **Claude Code.** Init installs the role guides as skills, and a session hook that runs `pullboard resume` whenever a session starts or compacts, so an agent picks up from the board.
+- **Codex and every other agent.** The rules live in `AGENTS.md`. `pullboard prompt <role>` prints any role guide: decompose, plan, signoff, review, verify.
+- **Teams of subagents.** `pullboard worktree` prints the opening lines for a subagent's prompt: its identity, its folder, and that the folder's rules govern.
+- **Cheaper models.** Items route `light`, `mid` or `strong`. `pullboard run --agent-light "<any command>"` builds light items unattended, feeds each failure into the next attempt, submits what goes green for a second agent to verify, and escalates what stays red.
## Commands
| Command | What it does |
| --- | --- |
-| `tour` | Thirty seconds on a throwaway repo: a reject, its rework, the ledger. |
+| `tour` | A reject and its rework on a throwaway repo. |
| `init`, `worktree <lane>`, `join <lane>` | Set up the repo; give an agent its own worktree in a lane. |
+| `view` | Every project on this machine in your browser, live. |
| `resume` | Where you are: your claim, your branch against main, what came back, the next step. |
| `add`, `edit`, `list`, `show <id>` | File and read work. `show` names verified items that touched the same files. |
| `next [--wait <minutes>]`, `next --verify` | Claim the next free item nearest your recent files, or name the next one to verify. |
| `check [id]`, `submit <id>` | Run your item's check; submit at HEAD after the gate passes. |
-| `verify <id> accept\|reject --note "..."` | A verdict from the submitted commit, by anyone but the builder. `--note-file` keeps quotes intact. |
+| `verify <id> accept\|reject --note "..."` | A verdict from a tree that contains the submitted commit, by anyone but the builder. `--note-file` keeps quotes intact. |
| `shout`, `inbox` | Messages to a lane, an agent or everyone. |
| `hold <lane>`, `merged`, `withdraw`, `refreeze` | The coordinator's: pause a lane, record a merge, drop an item, re-freeze a bar. |
| `ledger`, `log` | Receipts. |
@@ -134,17 +161,20 @@ Pullboard never calls a model and opens no network connection. The agents are yo
| `pullboard.json` | The gate, lanes and commit rules | yes |
| `AGENTS.md`, `.claude/` | How agents work here: rules, role guides, the session hook | yes |
| `.githooks/` | pre-commit, commit-msg and pre-push | yes |
-| `.git/pullboard/board.sqlite` | The board: items, claims, verdicts, shouts, events | never |
+| `.git/pullboard/board.sqlite` | The board: items, claims, verdicts, shouts, events | no, it lives inside `.git` |
+| `~/.pullboard/projects.json` | The projects `view` shows | no |
+
+Submitted commits are pinned under `refs/pullboard/items`, so the work survives a deleted worktree. Verdicts live on the board; commit the output of `pullboard ledger` to keep the receipts in history.
## Limits, stated
-- **Identity is the worktree.** On one machine that keeps honest agents honest; it is not a security boundary. Hosted Pullboard issues each agent its own identity.
+- **Identity is the worktree.** On one machine that keeps honest agents honest; it is not a security boundary.
- **Hooks can be skipped** with `--no-verify`. Pre-push and the verifier are the backstop.
- **Verification costs a second agent's time.** The trade is a defect caught before merge instead of after it.
## Local and hosted
-This package is complete on one machine and free. [Pullboard](https://pullboard.dev) is the hosted layer for teams across machines: issued identities, a neutral record, dashboards and the deploy axis.
+This package is complete on one machine and free. [Pullboard](https://pullboard.dev) is the hosted layer for teams working across machines.
## License