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
fix(merge): retried moves after a lost reply never duplicate [H3,H16]
Corey Olsonbbe22be5b75c
diff --cc src/cli.jsindex 3c70993a,83e8a702..cc215db5--- a/src/cli.js+++ b/src/cli.js@@@ -1456,12 -1465,17 +1466,18 @@@ async function submitHere(ctx, id)`when the gate ended, HEAD or a tracked file differed from ${commit.slice(0, 12)}, the commit it started on, so the gate did not end on what you would submit; leave the worktree alone until the gate finishes, then submit again`,);}+ requireTrunkMerge(root, commit); // The trunk may have moved while the gate ran.await withBoard(ctx, async (board) => await ordered(ctx, board, 'submit', [id, { agentId: me.id, commit, tree: headTree(root) ?? '', files: filesSince(root, id, claimHead, commit), policyCommit: acceptedMain.commit }]));+ return reportSubmission(ctx, id, commit, { green: gate.isGreen, report: gateReport(gate) });+ }++ /** Report and pin the original submitted commit, including a recovered acknowledged outcome. */+ function reportSubmission(ctx, id, commit, gate) {+ const { root } = ctx.info;const pin = `refs/pullboard/items/${id}/${commit.slice(0, 12)}`;git(root, ['update-ref', pin, commit]);- ctx.io.result?.({ id, commit, pin, gate: { green: gate.isGreen, report: gateReport(gate) } });- ctx.io.say(`submitted #${id} at ${commit.slice(0, 12)}; ${gateReport(gate)}`);+ ctx.io.result?.({ id, commit, pin, gate });+ ctx.io.say(`submitted #${id} at ${commit.slice(0, 12)}; ${gate.report}`);ctx.io.say(`pinned as ${pin}, so this work can't be lost; keep your worktree until it is merged`);ctx.io.say(`next: another agent checks out ${commit.slice(0, 12)} and runs: pullboard verify ${id} accept|reject`);return 0;