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 main into the item decision queue [B21,N26]
Corey Olson6ddd82e7adec
diff --cc src/board.jsindex 723d28a2,3b68d872..8b3e6074--- a/src/board.js+++ b/src/board.js@@@ -1,4 -1,4 +1,5 @@@+import * as itemDecisions from './item-decision-queue.js';+ import * as activityDeliveryStore from './activity-delivery-store.js';import { requireFactKind } from './item-notes.js';import { activityNewsFlag } from './activity-news.js';import { migrateEventLogVersion } from './board-event-log-migrate.js';diff --cc src/cli-main.jsindex 1fea16c6,fcb9c7a3..4acadab6--- a/src/cli-main.js+++ b/src/cli-main.js@@@ -128,8 -130,8 +130,9 @@@ const OPTIONS =verbose: { type: 'boolean' },since: { type: 'string' },window: { type: 'string' },+ policy: { type: 'string' },decision: { type: 'boolean' },+ options: { type: 'string' },news: { type: 'boolean' },evidence: { type: 'string' },outcome: { type: 'string' },diff --cc src/commands/shout.jsindex cefc12fa,06e34a83..0109733d--- a/src/commands/shout.js+++ b/src/commands/shout.js@@@ -22,22 -23,22 +23,27 @@@ importexport async function run(io, { first, second, rest, values }) {const act = (work) => actOn(io, work);return act(async (ctx, board, me) => {+ let options;+ if (values.options !== undefined) {+ try { options = JSON.parse(values.options); }+ catch { throw new Refused('BAD_DECISION_OPTIONS', 'give --options as a JSON array of distinct choices'); }+ }+ const recipient = addressedSeat(first, store.boardId(board));+ const addressed = typeof first === 'string' && first.startsWith('pullboard:');+ if (addressed && values.item !== undefined) throw new Refused('USAGE', 'use either a seat address or --item, not both');const evidence = values.evidence === undefined ? null : evidenceFrom(ctx, values);- const recipients = ['all', 'person', ...laneNames(ctx.config), ...board.db.prepare('SELECT agent_id FROM agent').all().map((agent) => agent.agent_id)];- const hasRecipient = first && recipients.includes(first) && (values.item === undefined || second !== undefined);- const to = values.item !== undefined ? `item:${values.item}` : hasRecipient ? first : values.decision ? (me.id === COORDINATOR ? 'person' : COORDINATOR) : first ?? '';+ const seatIds = board.db.prepare('SELECT agent_id FROM agent').all().map((agent) => agent.agent_id);+ if (addressed && recipient !== COORDINATOR && !seatIds.includes(recipient)) throw new Refused('NO_READER', 'copy the address of a joined seat from pullboard agents');+ const recipients = ['all', 'person', ...laneNames(ctx.config), ...seatIds];+ const hasRecipient = first && (addressed || recipients.includes(first)) && (values.item === undefined || second !== undefined);+ const to = values.item !== undefined ? `item:${values.item}` : hasRecipient ? recipient : values.decision ? (me.id === COORDINATOR ? 'person' : COORDINATOR) : first ?? '';const text = [hasRecipient ? second : first, ...(hasRecipient ? rest : [second, ...rest])].filter(Boolean).join(' ');requireReadableShout(text);- const id = await ordered(ctx, board, 'shout', [{ from: personShout(io, me) ? store.PERSON : me.id, to, text, ...(values.item !== undefined ? { item: Number(values.item) } : {}), lanes: laneNames(ctx.config), decision: Boolean(values.decision), ...(values.news ? { news: true } : {}), evidence }]);+ const id = await ordered(ctx, board, 'shout', [{ from: personShout(io, me) ? store.PERSON : me.id, to, text, ...(values.item !== undefined ? { item: Number(values.item) } : {}), lanes: laneNames(ctx.config), decision: Boolean(values.decision), ...(options !== undefined ? { options } : {}), ...(values.news ? { news: true } : {}), evidence }]);io.result?.({ id, decision: Boolean(values.decision) });const agents = store.listAgents(board);- const recipient = agents.some((agent) => agent.agent_id === to) ? agentDisplayName(agents, ctx.config, to) : to;- io.say(values.decision ? `asked ${recipient} for a decision as #${id}; it stays open until someone runs: pullboard answer ${id} "<the decision>"` : `shouted to ${recipient}`);+ const recipientName = agents.some((agent) => agent.agent_id === to) ? agentDisplayName(agents, ctx.config, to) : to;+ io.say(values.decision ? `asked ${recipientName} for a decision as #${id}; it stays open until someone runs: pullboard answer ${id} "<the decision>"` : `shouted to ${recipientName}`);return 0;});}diff --cc src/help.jsindex 6cb646ca,695a5c71..9bbff2f5--- a/src/help.js+++ b/src/help.js@@@ -158,11 -164,11 +164,12 @@@ Worpullboard shout all <text> --news coordinator/person release or focus news, digested at session startInbox combines direct coordination with item/dependency, file and cited-row activity; other lane activity is summarized.pullboard shout [<to>] <text> --decision ask for a decision; defaults to your coordinator or the person+ pullboard shout coordinator <question> --item <id> --decision --options '["first","second"]'pullboard shout <to> <text> --evidence attempt|receipt --outcome <word> --item <id> --commit <rev>- pullboard answer <shout-id> <text> [--as person] [--implies <ids>] [--supersedes <answer-id>]- [--origin person-relayed|agent|inherited] [--rationale <why>]+ pullboard answer <shout-id> <text> [--as person]answer your decision; person mode is main-checkout only+ Other options: [--implies <ids>] [--supersedes <answer-id>]+ [--origin person-relayed|agent|inherited] [--rationale <why>]--supersedes tells the items an earlier answer implied; only the personsupersedes the person's answerpullboard pass <shout-id> <note> coordinator passes a decision to the person