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(core): merge flow and view checks [O8,O3]

Corey Olsondf2f12808d76
diff --cc src/cli.js
index 6c0addf3,8ce11c31..55a924e0
--- a/src/cli.js
+++ b/src/cli.js
@@@ -1512,8 -1429,9 +1513,9 @@@ function readCommands(io, { first, seco
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'}`);
- io.say(`agents: ${stats.agents.map((agent) => `${agent.id} (${agent.families.join('/')}; ${agent.moves} moves)`).join(', ') || 'none'}`);
+ io.say(`agents: ${stats.agents.map((agent) => `${agentDisplayName(agents, ctx.config, agent.id)} (${agent.families.join('/')}; ${agent.moves} moves)`).join(', ') || 'none'}`);
io.say(`events: ${stats.firstEventAt ?? 'none'} to ${stats.lastEventAt ?? 'none'}${stats.since ? ` (since ${stats.since})` : ''}`);
+ for (const line of flowLines(stats.flow)) io.say(line);
return 0;
},
ledger: () => {
diff --cc test/stats-cli.test.js
index a569baca,b85e5432..cff6f1e0
--- a/test/stats-cli.test.js
+++ b/test/stats-cli.test.js
@@@ -62,9 -65,12 +65,12 @@@ test('[R1,R2,A1] stats JSON is versione
assert.match(text.stdout, /2 submissions · 1 rejections · 50\.0% sent back/u);
assert.match(text.stdout, /1 items merged · 0 merged without an accept/u);
assert.match(text.stdout, /3 agents · 1 family buckets: unknown \(3 agents,/u);
- assert.match(text.stdout, /agents: coordinator \(unknown; \d+ moves\), review-1 \(unknown; \d+ moves\), web-1 \(unknown; \d+ moves\)/u);
+ assert.match(text.stdout, /agents: coordinator \(unknown\) \(unknown; \d+ moves\), review-1 \(unknown\) \(unknown; \d+ moves\), web-1 \(unknown\) \(unknown; \d+ moves\)/u);
assert.ok(text.stdout.includes(expected.firstEventAt));
assert.ok(text.stdout.includes(expected.lastEventAt));
+ assert.match(text.stdout, /build: average 0 min · median 0 min · 1 measured/u);
+ assert.match(text.stdout, /review: average unmeasured min · median unmeasured min · 0 measured; 1 of 1 completed items unmeasured/u);
+ assert.match(text.stdout, /not enough measured flow to name a bottleneck \(1 items completed since the beginning, none with every stage measured\)/u);
assert.deepEqual(store.events(board), before, 'reading statistics appends no move');
});