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.

chore(relay): integrate accepted ordering for person calls [H16]

Corey Olsonfef44ccf5271
diff --cc src/cli.js
index 66c82026,7e37c1cf..053ef881
--- a/src/cli.js
+++ b/src/cli.js
@@@ -1470,10 -1498,9 +1499,10 @@@ function workCommands(io, args)
io.say(values.decision ? `asked ${to} for a decision as #${id}; it stays open until someone runs: pullboard answer ${id} "<the decision>"` : `shouted to ${to}`);
return 0;
}),
- answer: () => act((ctx, board, me) => {
+ answer: () => act(async (ctx, board, me) => {
const asPerson = personMode(ctx, me, values);
- const id = await ordered(ctx, board, 'answerDecision', [idArg(first), { agentId: me.id, text: [second, ...rest].filter(Boolean).join(' '), lanes: laneNames(ctx.config), asPerson }]);
+ if (asPerson) requirePersonChannel(ctx.io.personChannel);
- const id = store.answerDecision(board, idArg(first), { agentId: me.id, text: [second, ...rest].filter(Boolean).join(' '), lanes: laneNames(ctx.config), asPerson, channel: ctx.io.personChannel ?? 'terminal' });
++ const id = await ordered(ctx, board, 'answerDecision', [idArg(first), { agentId: me.id, text: [second, ...rest].filter(Boolean).join(' '), lanes: laneNames(ctx.config), asPerson, channel: ctx.io.personChannel ?? 'terminal' }]);
const ask = store.getShout(board, idArg(first));
io.result?.({ id, answers: ask.shout_id });
if (asPerson) {