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.

fix(cli): show blueprint usage in init help [I1]

Corey Olsonf258414cb960
diff --git a/src/help.js b/src/help.js
index d2485849..c33f06a9 100644
--- a/src/help.js
+++ b/src/help.js
@@ -10,7 +10,7 @@ Nothing ships until a second agent verifies it.
Set up
pullboard tour see it work: a reject and its rework, scripted, in thirty seconds
- pullboard init [--model <name>] config, SPEC.md, agent instructions, git hooks, board; optional coordinator model
+ pullboard init [--model <name>] [--blueprint <name or file>] config, SPEC.md, agent instructions, git hooks, board; optional coordinator model
pullboard worktree <lane> --model <name> [--route light] [--family <name>] make and join a worktree for a new agent
pullboard join <lane> --model <name> [--route light] [--family <name>] register this worktree as an agent
A model is required (or set PULLBOARD_MODEL); family is a separate declaration
@@ -186,7 +186,7 @@ const HELP_GROUPS = [
];
const HELP_EXAMPLES = {
- tour: 'pullboard tour', init: 'pullboard init', worktree: 'pullboard worktree web --model "my-model"',
+ tour: 'pullboard tour', init: 'pullboard init --blueprint web-app', worktree: 'pullboard worktree web --model "my-model"',
join: 'pullboard join web --model "my-model"', resume: 'pullboard resume',
add: 'pullboard add web "Upload page" --specs G1', list: 'pullboard list web', show: 'pullboard show 12',
claim: 'pullboard claim 12', submit: 'pullboard submit 12', 'next --verify': 'pullboard next --verify',
@@ -232,6 +232,7 @@ const HELP_ALIASES = {
const HELP_FLAG_EXPLANATIONS = {
'--after': 'claiming waits until those items are verified',
+ '--blueprint': 'start from a bundled blueprint or a JSON file',
'--brief': 'what a cold agent needs',
'--check': 'the command that proves it',
'--family': 'records the family name',
diff --git a/test/cli-help.test.js b/test/cli-help.test.js
index 7dc3c3a1..a4a15494 100644
--- a/test/cli-help.test.js
+++ b/test/cli-help.test.js
@@ -123,3 +123,13 @@ test('next help exposes explicit build intent alongside review reservations [Q1,
assert.match(all.stdout, /pullboard next \[--wait <minutes>\]\s+offer an eligible review when reviews pile up, otherwise claim work/u);
assert.match(all.stdout, /pullboard next --build\s+claim a build explicitly, recording a skipped review offer/u);
});
+
+test('init help names --blueprint [I1,N37]', () => {
+ const result = run('init', '--help');
+ assert.equal(result.status, 0, result.failure ?? result.stderr);
+ assert.ok(flagsFrom(result.stdout).some((line) => /^--blueprint <name or file> — \S/u.test(line)),
+ 'init help explains the blueprint name or file flag');
+ assert.match(result.stdout, /^Example:\n pullboard init --blueprint web-app$/mu);
+ assert.equal(run('help', 'init').stdout, result.stdout, 'both init help entry points share the declaration');
+ assert.match(run('help', '--all').stdout, /pullboard init \[--model <name>\] \[--blueprint <name or file>\]/u);
+});