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.

Merge main into core/836-claude

Corey Olson2df5dc5392cd
diff --cc src/cli.js
index 75829a3e,ecaf27ff..43d04001
--- a/src/cli.js
+++ b/src/cli.js
@@@ -41,8 -41,7 +41,8 @@@ import
refuseNextIdle,
} from './next-steps.js';
import { reviewerStartup } from './next-steps.js';
- import { gateWaitStats } from './gate-receipt.js';
- import { receiptLine } from './gate-receipt.js';
++import * as gateReceipt from './gate-receipt.js';
+ import { submitPreflight } from './submit-preflight.js';
import * as store from './board.js';
import {
CONFIG_FILE,
@@@ -2617,8 -2616,7 +2617,8 @@@ function readCommands(io, { first, seco
stats: () => {
const ctx = context(io);
const { stats, agents } = withBoard(ctx, (board) => ({ stats: proofStats(board, { since: values.since }), agents: store.listAgents(board) }));
- const waits = gateWaitStats(ctx.info.root);
- io.result?.({ stats });
++ const waits = gateReceipt.gateWaitStats(ctx.info.root);
+ io.result?.({ stats, gateWaits: waits.stats });
io.say(`${stats.submissions} submissions · ${stats.rejections} rejections · ${(stats.rejectionShare * 100).toFixed(1)}% sent back`);
io.say(`${stats.merged} items merged · ${stats.mergedWithoutAccept} merged without an accept`);
io.say(`${stats.agentCount} agents · ${stats.familyCount} family buckets: ${stats.families.map((family) => `${family.name} (${family.agents} agents, ${family.moves} moves)`).join('; ') || 'none'}`);
@@@ -2749,7 -2747,7 +2750,7 @@@ async function submitHere(ctx, id)
// Doctrine counts only fall: accepted main's rules, at this exact commit (D1). No rule, no change.
const doctrine = hasSubmitRules(root, acceptedMain.commit, acceptedMain.config.practice)
? await withGateSlot(root, () => holdDoctrine(root, { mainCommit: acceptedMain.commit, commit, practice: acceptedMain.config.practice, timeoutMs: acceptedMain.config.check?.timeoutMs }),
- { itemCheck: true, agent: me.id, item: String(id), kind: 'doctrine', onWait: queuedItemLease(ctx, held, me.id, 'build'), onReceipt: (receipt) => ctx.io.say(`doctrine hold ${receiptLine(receipt)}`) })
- { itemCheck: true, agent: me.id, item: String(id), kind: 'doctrine', onWait: queuedItemLease(ctx, held, me.id, 'build') })
++ { itemCheck: true, agent: me.id, item: String(id), kind: 'doctrine', onWait: queuedItemLease(ctx, held, me.id, 'build'), onReceipt: (receipt) => ctx.io.say(`doctrine hold ${gateReceipt.receiptLine(receipt)}`) })
: [];
for (const rule of doctrine) ctx.io.say(`doctrine: ${ruleLine(rule)}`);
// Every submit proves its frozen check and reachable tests anew on this exact commit (V4,V16).