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(doctrine): update current names and legacy guidance [I12]

Corey Olson60a049fc4035
diff --git a/README.md b/README.md
index 30829f0b..6e0ae4b2 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ You follow progress, answer questions and approve changes from one board, and th
## Philosophy
-You do not explain twice. You rule the agents. Hierarchy is enforced. Judgement is yours. Declare it, the Doctrine stands. **You speak the constraints, agents fill in the blanks.** The Spec is canon. Then code. Then proof.
+You do not explain twice. You rule the agents. Hierarchy is enforced. Judgement is yours. Declare it, and the Doctrine (the house rules for agentic development) stands. **You speak the constraints, agents fill in the blanks.** The Spec is canon. Then code. Then proof.
### Key concepts
@@ -31,7 +31,7 @@ Five primitives. Everything else is built on them.
- **Items.** The tasks. Each has a bar it is checked against, and one agent works it at a time.
- **Shouts.** How agents talk. Questions go up the chain, and only your calls reach you.
- **Spec.** The plan, one row per requirement. Only the rows you approve count.
-- **Doctrine.** Your house rules, each with what enforces it, from a git hook to review.
+- **Doctrine.** Each rule has an enforcer, from a git hook to review.
- **Activity.** Every claim, submit, reject and accept, in order. Nothing happens off the record.
### Why
@@ -48,7 +48,7 @@ Past the demo, the same things break.
Pullboard gives agents a shared plan, separate lanes and proof before work counts.
- **Spec.** Approved rows in `SPEC.md` are the contract, frozen when an agent claims the work.
-- **Doctrine.** Your house rules, in `PRACTICE.md`. Hooks enforce what a machine can check.
+- **Doctrine.** `DOCTRINE.md` holds the repo's rules. Hooks enforce what a machine can check.
- **Lanes.** Each agent works in its own worktree. Claims are atomic, and items can wait on others.
- **Proof.** Submit needs a green gate. Then a different agent verifies that exact commit.
@@ -225,7 +225,7 @@ Everything lives in your repo. Nothing is hosted.
- **Submitted work:** pinned in git, so it survives a deleted worktree.
- **Backups:** `pullboard export` writes out the whole board.
-![Where things live. The main checkout is the coordinator and holds SPEC.md, PRACTICE.md, pullboard.json, AGENTS.md and the git hooks. Inside .git, shared by every worktree, are the board and the pinned submitted commits. Beside it, each agent works in its own worktree, builders in their lanes and a verifier, all on the same board. pullboard view lists every project on this machine.](docs/img/layout.svg)
+![Where things live. The main checkout is the coordinator and holds SPEC.md, DOCTRINE.md, pullboard.json, AGENTS.md and the git hooks. Inside .git, shared by every worktree, are the board and the pinned submitted commits. Beside it, each agent works in its own worktree, builders in their lanes and a verifier, all on the same board. pullboard view lists every project on this machine.](docs/img/layout.svg)
### Configuration
diff --git a/docs/img/draw.mjs b/docs/img/draw.mjs
index 3b37c0f8..a4c18c6c 100644
--- a/docs/img/draw.mjs
+++ b/docs/img/draw.mjs
@@ -263,7 +263,7 @@ export function drawLifecycle(machine = MACHINE) {
export function drawLayout() {
const files = [
['SPEC.md', 'what to build, one row per id'],
- ['PRACTICE.md', 'the house rules'],
+ ['DOCTRINE.md', 'the house rules'],
['pullboard.json', 'gate, lanes, commit rules'],
['AGENTS.md, .claude/', 'how agents work here'],
['.githooks/', 'commit and push checks'],
@@ -277,7 +277,7 @@ export function drawLayout() {
width: 840,
height: 404,
title: 'Where things live',
- desc: 'The main checkout is the coordinator. It holds SPEC.md, PRACTICE.md, pullboard.json, AGENTS.md and the git hooks. Inside .git, shared by every worktree, are the board, board.sqlite, and the pinned submitted commits. Beside it, each agent works in its own worktree: builders in their lanes and a verifier that built none of it, all on the same board. pullboard view lists every project on this machine.',
+ desc: 'The main checkout is the coordinator. It holds SPEC.md, DOCTRINE.md, pullboard.json, AGENTS.md and the git hooks. Inside .git, shared by every worktree, are the board, board.sqlite, and the pinned submitted commits. Beside it, each agent works in its own worktree: builders in their lanes and a verifier that built none of it, all on the same board. pullboard view lists every project on this machine.',
body: [
text(24, 34, 'Where things live', 'head'),
'<rect class="frame" x="24" y="52" width="400" height="328" rx="10"/>',
diff --git a/docs/img/layout.svg b/docs/img/layout.svg
index a98dcad6..1d99dddd 100644
--- a/docs/img/layout.svg
+++ b/docs/img/layout.svg
@@ -1,5 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 840 404" width="840" height="404" role="img" aria-labelledby="title desc">
-<title id="title">Where things live</title><desc id="desc">The main checkout is the coordinator. It holds SPEC.md, PRACTICE.md, pullboard.json, AGENTS.md and the git hooks. Inside .git, shared by every worktree, are the board, board.sqlite, and the pinned submitted commits. Beside it, each agent works in its own worktree: builders in their lanes and a verifier that built none of it, all on the same board. pullboard view lists every project on this machine.</desc>
+<title id="title">Where things live</title><desc id="desc">The main checkout is the coordinator. It holds SPEC.md, DOCTRINE.md, pullboard.json, AGENTS.md and the git hooks. Inside .git, shared by every worktree, are the board, board.sqlite, and the pinned submitted commits. Beside it, each agent works in its own worktree: builders in their lanes and a verifier that built none of it, all on the same board. pullboard view lists every project on this machine.</desc>
<style>
text { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif; fill: #1f2328; }
.mono { font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace; }
@@ -57,7 +57,7 @@ text { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans',
<text class="aside" x="44" y="98">the coordinator files, merges and talks with you</text>
<text class="mono label" x="44" y="130">SPEC.md</text>
<text class="label" x="204" y="130">what to build, one row per id</text>
-<text class="mono label" x="44" y="152">PRACTICE.md</text>
+<text class="mono label" x="44" y="152">DOCTRINE.md</text>
<text class="label" x="204" y="152">the house rules</text>
<text class="mono label" x="44" y="174">pullboard.json</text>
<text class="label" x="204" y="174">gate, lanes, commit rules</text>
diff --git a/docs/proof/readme-mutants.mjs b/docs/proof/readme-mutants.mjs
index 64bb9c22..872c7f6c 100644
--- a/docs/proof/readme-mutants.mjs
+++ b/docs/proof/readme-mutants.mjs
@@ -11,7 +11,7 @@ const LINKED = ['test/readme.test.js', 'the README links every figure draw.mjs d
const CARD = ['test/readme.test.js', 'each figure carries its own light and dark colors'];
const DECLARED = ['test/readme.test.js', 'the lifecycle figure is drawn from the declaration'];
const LAYOUT_ALT =
- '![Where things live. The main checkout is the coordinator and holds SPEC.md, PRACTICE.md, pullboard.json, AGENTS.md and the git hooks. Inside .git, shared by every worktree, are the board and the pinned submitted commits. Beside it, each agent works in its own worktree, builders in their lanes and a verifier, all on the same board. pullboard view lists every project on this machine.](';
+ '![Where things live. The main checkout is the coordinator and holds SPEC.md, DOCTRINE.md, pullboard.json, AGENTS.md and the git hooks. Inside .git, shared by every worktree, are the board and the pinned submitted commits. Beside it, each agent works in its own worktree, builders in their lanes and a verifier, all on the same board. pullboard view lists every project on this machine.](';
/** Row, the change, its edits as [file, from, to], the test that judges it, and the outcome expected. */
const MUTANTS = [
diff --git a/docs/proof/spec.md b/docs/proof/spec.md
index e7714be2..bdec38a1 100644
--- a/docs/proof/spec.md
+++ b/docs/proof/spec.md
@@ -1,6 +1,6 @@
# Proof audit: the spec rows
-S1 to S9 govern SPEC.md and PRACTICE.md themselves:
+S1 to S9 govern SPEC.md and the local doctrine file. This checkout still uses legacy `PRACTICE.md`; new repos use `DOCTRINE.md`, and `PRACTICE.md` remains a compatibility fallback:
- the row format;
- ids that are unique and permanent;
- serves links;
diff --git a/skills/pullboard-decompose/SKILL.md b/skills/pullboard-decompose/SKILL.md
index d5e50707..e6bcebe5 100644
--- a/skills/pullboard-decompose/SKILL.md
+++ b/skills/pullboard-decompose/SKILL.md
@@ -9,7 +9,7 @@ You turn what the client asked for into SPEC.md rows. You draft; the person deci
## Before you start
-- Read every document in `ask/`, or the brief the person points you to. Read SPEC.md and PRACTICE.md if they exist.
+- Read every document in `ask/`, or the brief the person points you to. Read SPEC.md and DOCTRINE.md (or PRACTICE.md when it is the only legacy file) if they exist.
- Run `pullboard spec check`, so you start from a clean spec.
## The row format
diff --git a/skills/pullboard-plan/SKILL.md b/skills/pullboard-plan/SKILL.md
index daefa31f..125fe337 100644
--- a/skills/pullboard-plan/SKILL.md
+++ b/skills/pullboard-plan/SKILL.md
@@ -7,7 +7,7 @@ description: Turn a project's approved spec rows into work items on the board, i
You turn approved rows into items builders can claim. You do not build.
-1. Read SPEC.md (approved rows only; rows marked `wont` or `retired` are never built or cited), PRACTICE.md and `pullboard lanes`. If the lanes do not fit the work, propose a change to `pullboard.json` to the person rather than forcing items into the wrong lane. Read the repo's conventions too, and write every brief in them: the module system (`"type"` in package.json), the test runner, where tests live.
+1. Read SPEC.md (approved rows only; rows marked `wont` or `retired` are never built or cited), DOCTRINE.md (or PRACTICE.md when it is the only legacy file) and `pullboard lanes`. If the lanes do not fit the work, propose a change to `pullboard.json` to the person rather than forcing items into the wrong lane. Read the repo's conventions too, and write every brief in them: the module system (`"type"` in package.json), the test runner, where tests live.
2. **Contracts first.** Find what two lanes will share: a data shape, a module's functions, a file format. Make one item for each shared contract, in the lane that will own it, and add the items that use it with `--after <its id>`. A builder waiting on a contract claims something else; nobody copies another lane's code.
3. **One item per verifiable piece.** Each item:
- sits in the lane that owns its files
diff --git a/skills/pullboard-spec-review/SKILL.md b/skills/pullboard-spec-review/SKILL.md
index c7edafd9..487f8e00 100644
--- a/skills/pullboard-spec-review/SKILL.md
+++ b/skills/pullboard-spec-review/SKILL.md
@@ -9,7 +9,7 @@ Verification checks the work against the spec. This checks the spec, and what wa
## Read
-- The ask (`ask/`, or the brief), SPEC.md, PRACTICE.md and the README.
+- The ask (`ask/`, or the brief), SPEC.md, DOCTRINE.md (or PRACTICE.md when it is the only legacy file) and the README.
- The product itself: run it, open it, use it as the client would.
## Look for
diff --git a/skills/pullboard-verify/SKILL.md b/skills/pullboard-verify/SKILL.md
index 3e232f61..2430c809 100644
--- a/skills/pullboard-verify/SKILL.md
+++ b/skills/pullboard-verify/SKILL.md
@@ -16,7 +16,7 @@ Work only in your own worktree, the one `pullboard worktree review` made. Your s
- **Use the method the criterion names.** If it says "two real processes" or "after a restart", use exactly that; a weaker stand-in is not proof.
- **Run the behavior** and read the output.
- **Read the code** only when the criterion is about the code itself. It is the weakest proof.
- - **Check the house rules too.** Read the approved rows of PRACTICE.md that the change touches. A broken one is a reject with reason OTHER, naming the row.
+ - **Check the house rules too.** Read the approved rows of DOCTRINE.md (or PRACTICE.md when it is the only legacy file) that the change touches. A broken one is a reject with reason OTHER, naming the row.
- **Try the edges.** Today and yesterday for dates; zero, one and the limit for numbers; empty for lists; the first and the last. Most bugs live at an edge the builder's tests skipped.
- **Keep checks contained.** Run them with HOME and any data paths pointed at a temporary directory; a check must never write outside it.
4. Decide:
diff --git a/test/readme.test.js b/test/readme.test.js
index ae7980ae..c1643384 100644
--- a/test/readme.test.js
+++ b/test/readme.test.js
@@ -35,6 +35,20 @@ test('README has the approved centered header, logo and one-line facts [I10,I12]
assert.ok(readFileSync(join(ROOT, 'docs/img/logo-dark.svg'), 'utf8').startsWith('<svg '), 'the approved dark logo is present');
});
+test('README names DOCTRINE.md and explains doctrine once [I12]', () => {
+ const gloss = 'the house rules for agentic development';
+ const layout = FIGURES.layout();
+ const firstDoctrine = README.indexOf('Doctrine');
+ const firstGloss = README.indexOf(gloss);
+ assert.ok(firstDoctrine >= 0, 'the README introduces Doctrine');
+ assert.equal(README.slice(firstDoctrine, firstGloss), 'Doctrine (', 'the first doctrine mention carries its gloss');
+ assert.equal(README.split(gloss).length - 1, 1, 'the README glosses doctrine once, at its first mention');
+ assert.match(README, /`DOCTRINE\.md`/u, 'the README names the current doctrine file');
+ assert.doesNotMatch(README, /PRACTICE\.md/u, 'the README uses the current doctrine filename');
+ assert.match(layout, /<text class="mono label"[^>]*>DOCTRINE\.md<\/text>/u, 'the location figure names the current doctrine file');
+ assert.doesNotMatch(layout, /PRACTICE\.md/u, 'the location figure leaves the legacy filename to migration guidance');
+});
+
/**
* Every text in a figure with the box it may take up, from its anchor, font size and length.
*
@@ -125,7 +139,7 @@ test('README pins its approved Philosophy, Key concepts and Why structure [I10,I
assert.ok(philosophy >= 0 && philosophy < concepts && concepts < whyStart && whyStart < nextTopLevel, 'Philosophy contains Key concepts and Why before the next top-level section');
const section = README.slice(philosophy, nextTopLevel);
for (const text of [
- 'You do not explain twice. You rule the agents. Hierarchy is enforced. Judgement is yours. Declare it, the Doctrine stands. **You speak the constraints, agents fill in the blanks.** The Spec is canon. Then code. Then proof.',
+ 'You do not explain twice. You rule the agents. Hierarchy is enforced. Judgement is yours. Declare it, and the Doctrine (the house rules for agentic development) stands. **You speak the constraints, agents fill in the blanks.** The Spec is canon. Then code. Then proof.',
'Five primitives. Everything else is built on them.',
'**Items.**', '**Shouts.**', '**Spec.**', '**Doctrine.**', '**Activity.**',
"**It said done. It wasn't.**", '**It forgot what you decided.**',