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(spec): draft the api, board shots, spec json [A1,A2,I11,I13,S13]

Corey Olson94f99506abd6
diff --git a/SPEC.md b/SPEC.md
index 8921046b..78c8edc4 100644
--- a/SPEC.md
+++ b/SPEC.md
@@ -86,6 +86,7 @@ Statuses: approved = decided · draft = proposed · pending = open question · f
- S10 [approved, must] At an older commit, spec check skips ids that items cite and a later commit added. | gate: test/e2e.test.js | serves: S8
- S11 [approved, must] pullboard.json names products, each a list of spec ids or section letters, as lanes list theirs. | gate: test/products.test.js
- S12 [approved, must] Lanes and items belong to the product of their spec prefixes and cited rows; nothing restates it. | gate: test/products.test.js | serves: S11
+- S13 [draft, must] `pullboard spec --json` prints every parsed row, so tools in any language read the spec without parsing it. | gate: test/spec.test.js
## D · Doctrine
- D1 [draft, must] Doctrine has three scopes: system (every repo here), repo and lane; a narrower scope adds or overrides. | gate: test/practice.test.js | serves: S6
@@ -116,6 +117,9 @@ Statuses: approved = decided · draft = proposed · pending = open question · f
- I8 [approved, must] Init registers the project on this machine, so the view lists it. | gate: test/e2e.test.js | serves: N26
- I9 [draft, must] Init ends by telling an agent to start a new session, which loads its skills, then say what to build. | gate: test/e2e.test.js
- I10 [draft, aim] The README draws how work moves, an item's life, where things live and starting with an agent. | gate: test/readme.test.js | serves: M1
+- I11 [draft, must] The README shows the board as people see it, captured from a demo board a script rebuilds. | gate: docs/shots/shots.test.js
+- I12 [draft, must] The README states what runs where today, which systems are tested, and what comes next. | gate: review
+- I13 [draft, aim] A recording of `pullboard tour` plays on the README and the site, regenerated by a script. | gate: docs/shots/shots.test.js
## N · Next commands
- N1 [draft, must] `pullboard decide`: the person's queue of everything waiting on them.
@@ -151,6 +155,17 @@ Statuses: approved = decided · draft = proposed · pending = open question · f
- N31 [draft, must] `pullboard prompt run` and the pullboard-run skill guide one agent through the team: spec, plan, builders, verifier, merges. | gate: test/practice.test.js
- N32 [draft, must] The coordinator's resume names its next step from board and spec: spec, approve, plan, build, verify or merge. | gate: test/e2e.test.js
+## A · API: the engine others build on
+- A1 [draft, must] Every command prints JSON with `--json`, in a documented shape that stays stable within a major version. | gate: test/api.test.js
+- A2 [draft, must] `pullboard serve` offers a versioned local HTTP API: the board's state, its moves, and live events. | gate: test/api.test.js
+- A3 [draft, must] The view uses that API and nothing else, so any app can do what the view does. | gate: test/api.test.js | serves: A2
+- A4 [draft, must] The relay serves the same API, so a client works the same against a local board or pullboard.dev. | gate: test/relay.test.js | serves: A2
+- A5 [draft, must] SPEC.md's grammar, the board's schema and its event log are documented, versioned, and upgraded in place. | gate: test/api.test.js
+- A6 [draft, must] `pullboard doctor` checks a board's integrity and names how to repair each thing it finds. | gate: test/api.test.js
+- A7 [draft, aim] `pullboard export` writes a whole board as JSON, and `import` rebuilds it, losing nothing. | gate: test/api.test.js
+- A8 [draft, aim] The gate passes on macOS, Linux and Windows. | gate: test/ci.test.js | serves: C7
+- A9 [draft, aim] An agent can work the board through MCP tools, with the same moves and refusals as the CLI. | gate: test/api.test.js
+
## H · Relay: pullboard.dev, opt in
- H1 [draft, must] `pullboard relay on` links this repo's board to pullboard.dev after a GitHub sign-in; `relay off` unlinks it. | gate: test/relay.test.js
- H2 [pending, aim] Hosted issues an identity per agent, so a verdict binds who gave it, not a path.