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.

feat(run): the agent command gets the check in PULLBOARD_CHECK [N14]

Corey Olsonb960d1276a28
diff --git a/src/cli.js b/src/cli.js
index eee6fb56..e86d8bb5 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -64,7 +64,8 @@ Work
pullboard escalate <id> --note "what was tried and how it failed" hand it one tier up
pullboard run --agent "<command>" [--attempts 3] [--minutes 15] [--items N] [--wait M]
build routed items unattended in this worktree: the agent command reads
- the context pack at $PULLBOARD_PACK; green work is submitted, red escalated
+ the context pack at $PULLBOARD_PACK (and $PULLBOARD_CHECK, $PULLBOARD_ITEM,
+ $PULLBOARD_ATTEMPT); green work is submitted, red escalated
[--agent-light "..."] [--agent-mid "..."] [--agent-strong "..."] a command per tier
pullboard list [lane] [--all] [--route light|mid|strong] open and active items; --all adds closed ones
pullboard show <id> an item, the criterion frozen at claim, its verdicts
diff --git a/src/run.js b/src/run.js
index cf8fe834..0bcdc40c 100644
--- a/src/run.js
+++ b/src/run.js
@@ -290,7 +290,7 @@ async function buildItem(ctx, item, { agents, attempts, minutes, deps, me }) {
const pack = join(packs, `${id}-${item.item_route}-${attempt}.md`);
writeFileSync(pack, packText(root, fresh, { attempt, attempts, digest, earlier }));
ctx.io.say(`#${id} attempt ${attempt}/${attempts}: running the ${item.item_route} agent`);
- const env = { ...process.env, PULLBOARD_PACK: pack, PULLBOARD_ITEM: String(id), PULLBOARD_ATTEMPT: String(attempt) };
+ const env = { ...process.env, PULLBOARD_PACK: pack, PULLBOARD_CHECK: item.item_check, PULLBOARD_ITEM: String(id), PULLBOARD_ATTEMPT: String(attempt) };
const built = await runCommand(agent, { cwd: root, env, timeoutMs: minutes * 60_000 });
writeFileSync(join(packs, `${id}-${item.item_route}-${attempt}.log`), built.output);
const outside = changedSince(root, start).filter((path) => !inScope(path));