From 2673df2ea707f0cbfb7b00f5cf0c1805b356a31e Mon Sep 17 00:00:00 2001
From: "radiusred-wordy[bot]"
<271394800+radiusred-wordy[bot]@users.noreply.github.com>
Date: Wed, 26 Aug 2026 16:30:34 +0100
Subject: [PATCH 1/7] docs: move the README to docs/introduction.md ahead of
the landing page (#111)
---
README.md => docs/introduction.md | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename README.md => docs/introduction.md (100%)
diff --git a/README.md b/docs/introduction.md
similarity index 100%
rename from README.md
rename to docs/introduction.md
From d4d6a68ef6adea0d236d3f7741ae03a22ab8a05d Mon Sep 17 00:00:00 2001
From: "radiusred-wordy[bot]"
<271394800+radiusred-wordy[bot]@users.noreply.github.com>
Date: Wed, 26 Aug 2026 16:33:15 +0100
Subject: [PATCH 2/7] feat: draw the four landing-page illustrations as
theme-neutral SVGs (#111)
---
assets/svg/four-seats.svg | 39 ++++++++++++++++++++++++++++++
assets/svg/gate-refusing.svg | 23 ++++++++++++++++++
assets/svg/hub-and-spokes.svg | 31 ++++++++++++++++++++++++
assets/svg/milestone-lifecycle.svg | 25 +++++++++++++++++++
4 files changed, 118 insertions(+)
create mode 100644 assets/svg/four-seats.svg
create mode 100644 assets/svg/gate-refusing.svg
create mode 100644 assets/svg/hub-and-spokes.svg
create mode 100644 assets/svg/milestone-lifecycle.svg
diff --git a/assets/svg/four-seats.svg b/assets/svg/four-seats.svg
new file mode 100644
index 0000000..61fe410
--- /dev/null
+++ b/assets/svg/four-seats.svg
@@ -0,0 +1,39 @@
+
diff --git a/assets/svg/gate-refusing.svg b/assets/svg/gate-refusing.svg
new file mode 100644
index 0000000..ec49aeb
--- /dev/null
+++ b/assets/svg/gate-refusing.svg
@@ -0,0 +1,23 @@
+
diff --git a/assets/svg/hub-and-spokes.svg b/assets/svg/hub-and-spokes.svg
new file mode 100644
index 0000000..da60062
--- /dev/null
+++ b/assets/svg/hub-and-spokes.svg
@@ -0,0 +1,31 @@
+
diff --git a/assets/svg/milestone-lifecycle.svg b/assets/svg/milestone-lifecycle.svg
new file mode 100644
index 0000000..654876a
--- /dev/null
+++ b/assets/svg/milestone-lifecycle.svg
@@ -0,0 +1,25 @@
+
From 0c88a62ccd1a141b929feb412c7f8de8bb65f5a9 Mon Sep 17 00:00:00 2001
From: "radiusred-wordy[bot]"
<271394800+radiusred-wordy[bot]@users.noreply.github.com>
Date: Wed, 26 Aug 2026 16:33:15 +0100
Subject: [PATCH 3/7] docs: write the landing-page README in the house voice
(#111)
---
README.md | 141 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 141 insertions(+)
create mode 100644 README.md
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..8972cba
--- /dev/null
+++ b/README.md
@@ -0,0 +1,141 @@
+
+
+
+
+
Agent-driven software delivery, with the receipts kept in GitHub.
+
+## Why you'd want a crew
+
+You've probably run a coding agent on a real codebase by now. It went well,
+mostly — and then three weeks later somebody asked *why* the retry logic
+looks like that, and the answer was in a chat transcript nobody saved. The
+heavyweight fix is a process framework: planning documents, phase gates, a
+directory of state files that drift from the code the moment you stop
+looking. The lightweight fix is vibes. Neither hands your colleague an
+audit trail.
+
+CodeCrew is a third option, and a small one: **the record is the work.**
+Milestones are GitHub issues. Tasks are issues with a plan in them.
+Decisions and deviations are comments written at the moment they happen,
+in a fixed shape a machine can find later. The gates — CI green, an
+independent approval, a human sign-off wherever one was asked for — are
+enforced by a CLI that *refuses* rather than reminds. At milestone close,
+one role compiles the comments into a document that explains why the
+system is the way it is, and that document's PR goes through the same
+review as code.
+
+There is no server, no dashboard, no new place to look. It is `gh`,
+issues, PRs, and four short role contracts any agent harness can read.
+
+## How it works, in four beats
+
+### 1. A hub, and spokes
+
+
+
+One repo is the hub: it holds the role contracts, the routing table (who
+holds which seat) and the milestone issues. Every other repo in the project
+is a spoke with a two-line pointer file. For a single project, the hub is
+the spoke — `hub: self`. State never leaves GitHub, and there is no other
+message bus, so any two harnesses interoperate by construction.
+
+### 2. Four seats, always staffed
+
+
+
+Implementer, reviewer, qa, doc-synthesizer. Each is a contract — a short
+markdown file — not an account. A seat is held by you (`~`), a colleague
+by username, a GitHub team, or a GitHub App identity minted for the job.
+Solo is not a degraded mode; it is the routing table with every seat
+pointing at you. When a project outgrows that, `identity new ` mints
+a dedicated App through GitHub's manifest flow and reroutes the seat. The
+protocol does not change — only the table does.
+
+### 3. A milestone, from open to record
+
+
+
+`milestone new` opens the tracking issue with its requirements. `task new`
+hangs tasks off it; the implementer writes a plan into the task before the
+first commit; `task start` cuts the branch; a PR closes the task; `task
+finish` is the one merge point. The qa seat posts a verdict per
+requirement. `milestone close` gathers every recorded decision and
+deviation for the doc-synthesizer, and refuses to close until the
+milestone document exists on the default branch.
+
+### 4. Gates that refuse
+
+
+
+A blocked gate exits non-zero with a machine-readable reason:
+`refused[NO_CHECKS]` when a PR reports no CI at all (absence does not
+satisfy a gate, and there is no override), `refused[NO_HOLDER_REVIEW]`
+when the routed reviewer has not approved, `refused[VERDICT_MISSING]` when
+a milestone tries to close without a verdict on every requirement,
+`refused[EVIDENCE_UNREACHABLE]` when a link the record cites no longer
+resolves. An agent acts on the code; a human reads the detail. The full
+list is in the [introduction](docs/introduction.md).
+
+## Start solo in five minutes
+
+```sh
+gh extension install radiusred/gh-codecrew
+gh codecrew version # gh never auto-updates extensions; know what you have
+gh codecrew init # scaffold: .codecrew.yml, roles/, AGENTS.md, ROADMAP.md
+gh codecrew status # open milestones, task states, raised gates
+gh codecrew help # the full verb list
+```
+
+That is a working hub with every seat routed to you. The
+[quickstart](docs/first-milestone.md) walks a first milestone end to end —
+open it, plan a task, do the work, verdict it, close it, read the document
+the close produced. From there the
+[ladder](docs/first-milestone.md#what-next) is: split the seats across
+sessions, give crew members their own identities, hand dispatch to an
+orchestrator. Same commands at every rung.
+
+## The receipts
+
+We would rather show you than tell you, so here is what the protocol has
+actually done so far.
+
+- **Five milestones of this framework were delivered *with* it** —
+ agent-authored PRs under GitHub App identities, independent review,
+ deterministic CI gates, QA verdicts enforced at close, and a synthesized
+ document for each: [docs/milestones/](docs/milestones/).
+- **This repository is agent-staffed, and you can check.** Four App
+ identities hold the four seats: cody implements, checky reviews, testy
+ verdicts, wordy writes — this page included. PRs here merge on checky's
+ approval; a reviewer App minted with write access satisfies GitHub's own
+ required-review rule, which is what makes a fully agent-gated merge
+ possible ([identities.md](docs/identities.md)).
+- **A stranger ran it from the scaffold alone.**
+ [davison/numberguess](https://github.com/davison/numberguess) went from
+ `gh codecrew init` to three closed milestones with one human and a Codex
+ session, transcripts committed, and then served as the proving ground
+ for the dedicated reviewer seat.
+- **The first spoke published its own announcement.**
+ [radiusred/www](https://github.com/radiusred/www) is driven from this
+ hub through the installed extension; its first delivery was
+ [a blog post introducing CodeCrew, delivered by the protocol it
+ describes](https://www.radiusred.uk/blog/posts/2026-08-20-this-post-was-delivered-by-the-framework-it-introduces/).
+
+Things we have not done yet, in the interest of not overselling: any
+backend other than GitHub; a full orchestration-platform run end to end
+(it is on the open milestone); a 1.0. The [roadmap](ROADMAP.md) says which
+milestone is open and what it is for.
+
+## Read next
+
+- [Introduction](docs/introduction.md) — what CodeCrew is, precisely: the
+ protocol, the contracts, the CLI and its refusal codes
+- [Your first milestone](docs/first-milestone.md) — the quickstart
+- [Identities](docs/identities.md) — running solo, minting App identities,
+ dispatching a role session
+- [SPEC.md](SPEC.md) — the protocol itself
+- [Founding decisions](docs/founding-decisions.md) — the trade-offs, and
+ [the essay that started it](docs/gsd-vs-frontier-orchestration.md) — one
+ person's experience with GSD across several projects; the motivation,
+ not a verdict on GSD
+
+Licensed under [Apache 2.0](LICENSE).
From ab33f2d56d57a3d0b40b8910d9c7f17689643d40 Mon Sep 17 00:00:00 2001
From: "radiusred-wordy[bot]"
<271394800+radiusred-wordy[bot]@users.noreply.github.com>
Date: Wed, 26 Aug 2026 16:54:12 +0100
Subject: [PATCH 4/7] docs: state what the gatherer and the introduction
actually cover (#111)
---
README.md | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index 8972cba..6e23a42 100644
--- a/README.md
+++ b/README.md
@@ -59,8 +59,8 @@ protocol does not change — only the table does.
hangs tasks off it; the implementer writes a plan into the task before the
first commit; `task start` cuts the branch; a PR closes the task; `task
finish` is the one merge point. The qa seat posts a verdict per
-requirement. `milestone close` gathers every recorded decision and
-deviation for the doc-synthesizer, and refuses to close until the
+requirement. `milestone close` gathers the recorded decisions and
+deviations for the doc-synthesizer, and refuses to close until the
milestone document exists on the default branch.
### 4. Gates that refuse
@@ -73,8 +73,11 @@ satisfy a gate, and there is no override), `refused[NO_HOLDER_REVIEW]`
when the routed reviewer has not approved, `refused[VERDICT_MISSING]` when
a milestone tries to close without a verdict on every requirement,
`refused[EVIDENCE_UNREACHABLE]` when a link the record cites no longer
-resolves. An agent acts on the code; a human reads the detail. The full
-list is in the [introduction](docs/introduction.md).
+resolves. An agent acts on the code; a human reads the detail. Those are
+four of twenty; the [introduction](docs/introduction.md) shows the ones
+you will meet first, and every code is grep-able in the source as
+`refuse("CODE"` — a proper catalogue is on the docs-polish list, not yet
+written.
## Start solo in five minutes
@@ -121,9 +124,12 @@ actually done so far.
describes](https://www.radiusred.uk/blog/posts/2026-08-20-this-post-was-delivered-by-the-framework-it-introduces/).
Things we have not done yet, in the interest of not overselling: any
-backend other than GitHub; a full orchestration-platform run end to end
-(it is on the open milestone); a 1.0. The [roadmap](ROADMAP.md) says which
-milestone is open and what it is for.
+backend other than GitHub; a full orchestration-platform run end to end;
+a gatherer that catches every record variant (the M5 close missed three
+of one issue's four Decisions because they were labelled `**Decision
+(…):**` — the fix is on the open milestone, and the M5 document says so);
+a 1.0. The [roadmap](ROADMAP.md) says which milestone is open and what it
+is for.
## Read next
From 3cfbd47b2869f12ac9c0d83e1d8c3bc227a16369 Mon Sep 17 00:00:00 2001
From: "radiusred-wordy[bot]"
<271394800+radiusred-wordy[bot]@users.noreply.github.com>
Date: Wed, 26 Aug 2026 16:54:12 +0100
Subject: [PATCH 5/7] docs: repair the introduction's relative links after its
move (#111)
---
docs/introduction.md | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/docs/introduction.md b/docs/introduction.md
index ec5d095..ca51adb 100644
--- a/docs/introduction.md
+++ b/docs/introduction.md
@@ -8,10 +8,10 @@ of the decisions that shaped the system and why.
CodeCrew is three things:
-1. **A protocol** ([SPEC.md](SPEC.md)) — conventions for representing
+1. **A protocol** ([SPEC.md](../SPEC.md)) — conventions for representing
milestones, tasks, plans, decisions, deviations, and gates in GitHub, and
how agents and humans transact over them.
-2. **Role contracts** ([roles/](roles/)) — harness-neutral prompt files for
+2. **Role contracts** ([roles/](../roles/)) — harness-neutral prompt files for
the implementer, reviewer, qa, and doc-synthesizer roles, loadable by any
agent (Claude Code, Codex, Gemini CLI, or an orchestrator's company).
3. **A CLI** — `codecrew`, a single static Go binary wrapping `gh`, providing
@@ -42,12 +42,12 @@ themselves; the qa holder's verdicts are the ones that count at close, and
the reviewer holder's approving review is the one `task finish` requires. A
solo operator therefore needs nothing but `gh auth login`; `codecrew init`
scaffolds a new project with every role routed to `~`, and the
-[quickstart](docs/first-milestone.md) walks the first milestone end to end.
+[quickstart](first-milestone.md) walks the first milestone end to end.
When a project outgrows solo, `identity new ` mints a dedicated
GitHub App identity for a seat via the manifest flow and routes it for you
— minted with `--with-approval-permission`, a reviewer App's approvals
count toward GitHub's own required-review rules, making fully agent-gated
-merges possible (see [docs/identities.md](docs/identities.md)).
+merges possible (see [docs/identities.md](identities.md)).
Five milestones have been delivered *with* the protocol — agent-authored
PRs under GitHub App identities, non-doer review, deterministic CI gates, QA
@@ -63,7 +63,7 @@ The first stranger's project is public too:
`gh codecrew init` to a closed milestone by one human and a Codex session
working from the scaffold alone, transcripts included — and then through
two more milestones as the proving ground for the dedicated reviewer-App
-seat. See [docs/milestones/](docs/milestones/) for the per-milestone
+seat. See [docs/milestones/](milestones/) for the per-milestone
records.
Not yet here: any backend other than GitHub.
@@ -86,23 +86,23 @@ Every repo in a CodeCrew project carries a `.codecrew.yml` pointing at the
hub — a spoke's is a two-line pointer (`init --hub owner/repo`); this repo
is its own hub (`hub: self`; see SPEC §3 for choosing yours). The hub's
config also routes the four roles, and `init` writes that table for you.
-Agents dispatched into a CodeCrew repo start at [AGENTS.md](AGENTS.md).
+Agents dispatched into a CodeCrew repo start at [AGENTS.md](../AGENTS.md).
Agent identities are GitHub Apps; short-lived tokens come from
`scripts/codecrew-token` (see SPEC §5 and
-[docs/identities.md](docs/identities.md) for the identity tiers — a solo
+[docs/identities.md](identities.md) for the identity tiers — a solo
operator needs nothing but `gh auth login`, self-confirmation recorded).
## Documents
-- [SPEC.md](SPEC.md) — the protocol
-- [docs/first-milestone.md](docs/first-milestone.md) — the quickstart: a
+- [SPEC.md](../SPEC.md) — the protocol
+- [docs/first-milestone.md](first-milestone.md) — the quickstart: a
stranger's first milestone, end to end
-- [docs/identities.md](docs/identities.md) — running solo, and minting
+- [docs/identities.md](identities.md) — running solo, and minting
per-role GitHub App identities
-- [docs/founding-decisions.md](docs/founding-decisions.md) — design decisions
+- [docs/founding-decisions.md](founding-decisions.md) — design decisions
and their trade-offs
-- [docs/milestones/](docs/milestones/) — the per-milestone "why" records
-- [docs/gsd-vs-frontier-orchestration.md](docs/gsd-vs-frontier-orchestration.md)
+- [docs/milestones/](milestones/) — the per-milestone "why" records
+- [docs/gsd-vs-frontier-orchestration.md](gsd-vs-frontier-orchestration.md)
— the analysis that motivated the project
-Licensed under [Apache 2.0](LICENSE).
+Licensed under [Apache 2.0](../LICENSE).
From 67b3a9cfa750214aebb025fc31917a90a479f93f Mon Sep 17 00:00:00 2001
From: "radiusred-wordy[bot]"
<271394800+radiusred-wordy[bot]@users.noreply.github.com>
Date: Wed, 26 Aug 2026 16:54:12 +0100
Subject: [PATCH 6/7] docs: widen the freshness obligation to the introduction
(#111)
---
roles/doc-synthesizer.md | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/roles/doc-synthesizer.md b/roles/doc-synthesizer.md
index b32ecd3..9746d62 100644
--- a/roles/doc-synthesizer.md
+++ b/roles/doc-synthesizer.md
@@ -31,9 +31,11 @@ Resolve credentials as in `roles/implementer.md`, using
discipline.
- **Requirement outcomes:** a short table of requirement IDs with their final
status, drawn from QA verdicts and task closure.
-- **Refresh the README** in the same PR: update it so it reflects what the
- milestone delivered. The README's claims about what exists and works must
- be true at every milestone boundary — stale claims are defects, and this
+- **Refresh the README and the introduction** (`docs/introduction.md`) in
+ the same PR: update them so they reflect what the milestone delivered.
+ Their claims about what exists and works — the landing page's proof
+ points, the introduction's release, verbs and refusal codes — must be
+ true at every milestone boundary. Stale claims are defects, and this
obligation is the mechanism that keeps them fixed.
- **Deliver via PR** — the document passes the same non-doer review gate as
code.
From b186c074a39415a6602042576bad16c0759ebd0a Mon Sep 17 00:00:00 2001
From: "radiusred-wordy[bot]"
<271394800+radiusred-wordy[bot]@users.noreply.github.com>
Date: Wed, 26 Aug 2026 16:54:12 +0100
Subject: [PATCH 7/7] docs: quote the NO_HOLDER_REVIEW refusal verbatim in the
gate illustration (#111)
---
assets/svg/gate-refusing.svg | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/assets/svg/gate-refusing.svg b/assets/svg/gate-refusing.svg
index ec49aeb..ab0bddd 100644
--- a/assets/svg/gate-refusing.svg
+++ b/assets/svg/gate-refusing.svg
@@ -1,4 +1,4 @@
-