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(readme): show JSON spec and signers [S13,S18]

Corey Olson1c43f999522f
diff --git a/README.md b/README.md
index f642f675..7a99c805 100644
--- a/README.md
+++ b/README.md
@@ -123,6 +123,15 @@ git add -A && git commit -m "chore: set up pullboard"
}
```
+Use `signers:` when a row needs one or more SSH principals to sign it. Each signer is a comma-separated principal:
+
+```markdown
+- R1 [approved, must] A release is tested. | gate: npm test
+- R2 [approved, must] A release is signed. | gate: npm test | signers: alice@workstation, bob@workstation
+```
+
+Set up the repo's SSH signer with `pullboard spec signers add`.
+
Commit those, then file work from the main checkout, which is the coordinator:
```sh
@@ -179,6 +188,7 @@ pullboard view
## Commands
Every command also supports a versioned JSON result; see the [CLI JSON API](docs/api.md).
+`pullboard spec check --json` and `pullboard spec view --json` return machine-readable results with their shapes documented in the CLI JSON API.
| Command | What it does |
| --- | --- |
diff --git a/test/readme.test.js b/test/readme.test.js
index 745d076b..e699ad40 100644
--- a/test/readme.test.js
+++ b/test/readme.test.js
@@ -97,3 +97,14 @@ test('the lifecycle figure is drawn from the declaration, and refuses a state or
const bench = { ...MACHINE, moves: [...MACHINE.moves, { verb: 'bench', from: ['claimed'], to: 'open', by: ['coordinator'], guards: [] }] };
assert.match(texts(drawLifecycle(bench)).map((text) => text.words).join(' '), /\bbench\b/, 'a new move between drawn states is named without touching draw.mjs');
});
+
+test('README shows JSON output for spec check and view [S13]', () => {
+ assert.match(README, /`pullboard spec check --json`/);
+ assert.match(README, /`pullboard spec view --json`/);
+ assert.match(README, /\[CLI JSON API\]\(docs\/api\.md\)/);
+});
+
+test('README shows the signers field and setup command [S18]', () => {
+ assert.match(README, /```markdown\n- R1 \[approved, must\] A release is tested\. \| gate: npm test\n- R2 \[approved, must\] A release is signed\. \| gate: npm test \| signers: alice@workstation, bob@workstation\n```/);
+ assert.match(README, /`pullboard spec signers add`/);
+});