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.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
Merge branch 'main' into core/root12b-20261018-191538
Corey Olson2183d682361f
diff --cc src/cli.jsindex 4a37c36a,d7baf1c1..12c29ef8--- a/src/cli.js+++ b/src/cli.js@@@ -178,7 -181,7 +183,8 @@@ import { Refused } from './refused.js'import {applyStep,personAsk,+ setupDecisionRows,+ withStarterWork,} from './setup-rows.js';import { personNeeds } from './needs.js';import { personNeedsState } from './needs-state.js';@@@ -1642,10 -1649,9 +1650,9 @@@ function boardSetup(ctx, card, identity// A pending question takes an answer, a draft row an approval: each gets the command that decides it.const { personCommand, verb, seatQuestion, seatNext } = personAsk(drafted);return { step: 1, total: 5, ...current, steps, waitingOn: 'person-approval', rowIds, ...(toApply.length ? { approvedRowIds: toApply.map(row => row.id) } : {}),- question: seat ? seatQuestion : `Waiting for the person to ${verb} ${names}.`, command,+ question: ctx.io.guidance((seat ? seatQuestion : `Waiting for the person to ${verb} ${names}.`) + drafted.filter(row => row.staleDecision).map(row => ` ${row.stage}`).join('')), command,personCommand,afterAnswer: (toApply.length ? `The person already approved ${toApply.map(row => row.id).join(', ')}; pullboard spec apply writes them. ` : '') + 'The person approves draft rows and answers questions in Pullboard View or their own terminal; then the coordinator runs pullboard spec apply.',- meanwhile: seat ? 'While waiting, review independent approved work or send questions to the coordinator with pullboard shout coordinator "<what is needed>" --decision.' : 'While waiting, the agent may review independent approved work or prepare questions for the person.',agentNext: seat ? seatNext : (toApply.length ? 'pullboard spec apply for the approved rows; then ' : '') + `wait for the person to ${verb} ${names}; meanwhile ${command}` };}return current ? { step: current.number, total: 5, ...current, steps } : null;diff --cc src/setup-rows.jsindex 76ffbabb,7e0e8083..09ddf542--- a/src/setup-rows.js+++ b/src/setup-rows.js@@@ -3,16 -3,34 +3,43 @@@* coordinator's spec apply, never for the person again, and each open row gets the command that* decides it, approve for a draft and answer for a pending question.*/+import { decisionProjection } from './row-decisions.js';+import { rowDecisionContext } from './row-decision-state.js';+ import { nextFor } from './board.js';+ import { proposeLanes } from './init.js';+/** Include stale decisions even when the current file row was already marked approved. */+export function setupDecisionRows(root, config, records, rows) {+ const context = rowDecisionContext(root, config);+ return rows.map(row => decisionProjection(records, row, 'spec', context))+ .filter(row => row.status === 'draft' || row.status === 'pending' || row.staleDecision);+}++ /** Show available starter work beside undecided rows, without changing any approval or apply move [S1,B26]. */+ export function withStarterWork(setup, { board, me, main, config, root, seat }) {+ if (setup?.waitingOn !== 'person-approval') return setup;+ const meanwhile = seat+ ? 'While waiting, review independent approved work or send questions to the coordinator with pullboard shout coordinator "<what is needed>" --decision.'+ : 'While waiting, the agent may review independent approved work or prepare questions for the person.';+ const waiting = { ...setup, meanwhile };+ const proposed = main ? proposeLanes(root, config) : [];+ const lanes = Object.entries(config.lanes).filter(([, lane]) => lane.owns.length).map(([name]) => name);+ if (!main && !lanes.includes(me.lane)) return waiting;+ const item = nextFor(board, { agentId: me.id, lane: me.lane,+ ...(main ? { lanes: [...lanes, ...proposed.map(lane => lane.name)] } : {}) }).item;+ if (!item || (main && ![...lanes, ...proposed.map(lane => lane.name)].includes(item.item_lane))) return waiting;+ /** Quote a configured path only when the command needs it. */+ const word = value => /^[A-Za-z0-9._/,-]+$/u.test(value) ? value : "'" + value.replaceAll("'", "'\\''") + "'";+ const proposal = proposed.find(lane => lane.name === item.item_lane);+ const command = !main ? `pullboard claim ${item.item_id}` : !Object.hasOwn(config.lanes, item.item_lane)+ ? `pullboard lane add ${item.item_lane} --owns ${word(proposal.owns.join(','))}`+ : `pullboard worktree ${item.item_lane} --model "<model name>"`;+ return { ...waiting,+ buildNow: { item: item.item_id, lane: item.item_lane, title: item.item_title, command },+ meanwhile: `Starter items can be claimed and built now while the person decides these rows in parallel. First: #${item.item_id} ${item.item_title}. Start: ${command}`,+ agentNext: main && setup.approvedRowIds?.length ? 'pullboard spec apply' : command };+ }+/*** The setup step once every open row has a person decision that spec apply has not written yet.*