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
perf(presence): reuse current status seat rows for Needs you [B3,C7]
Corey Olsona1eebda0d969
diff --git a/src/commands/status.js b/src/commands/status.jsindex 49da0b07..6caf07c8 100644--- a/src/commands/status.js+++ b/src/commands/status.js@@ -40,7 +40,7 @@ export async function run(io, { values }) {const agents = store.listAgents(board);const presenceCounts = { live: 0, idle: 0, gone: 0 };for (const seat of agents) presenceCounts[seat.presence] += 1;- const approvalState = personNeedsSummary(ctx.info.root, { board, config: ctx.config });+ const approvalState = personNeedsSummary(ctx.info.root, { board, config: ctx.config, agents });return { me, mine, agents, presenceCounts, ruleCounts: ruleProofCounts(ctx.info.root, board, approvalState.spec), needs: approvalState.needs, specApprovalBaseline: approvalState.specApprovalBaseline, specApprovalEvidenceErrors: approvalState.specApprovalEvidenceErrors, stats: store.stats(board), reviewQueue: { ...store.reviewQueue(board), ...store.reviewQueueBreakdown(board) }, unread: store.unreadCount(board, me.id), relay: relay ? relay.relayStatus(ctx.info.root) : unlinkedRelayStatus(),submitInvariantProposals: submitInvariantProposals(store.submitInvariantEvents(board, ctx.config), ctx.config) };});diff --git a/src/needs-summary.js b/src/needs-summary.jsindex e2dc27bb..7a13640a 100644--- a/src/needs-summary.js+++ b/src/needs-summary.js@@ -16,13 +16,13 @@ import {sentinels,} from './board-query.js';-/** Keep status's complete obligation list without dashboard history, Git ages, or release notes. */-export function personNeedsSummary(root, { board, config }) {+/** Keep status obligations; reuse its same-call seat rows, otherwise read them freshly. */+export function personNeedsSummary(root, { board, config, agents }) {const spec = loadSpec(root, config);const rows = projectRowDecisions(store.rowDecisions(board), { root, spec: spec.rows, practice: loadDoctrine(root, config).rows });const projected = projectSpecApprovals({ ...rows,decisions: store.openDecisions(board, store.PERSON), holds: store.laneHolds(board),- agents: store.listAgents(board).map(agent => ({ ...agent, displayName: displayAgentName(agent, config.agents.names) })),+ agents: (agents ?? store.listAgents(board)).map(agent => ({ ...agent, displayName: displayAgentName(agent, config.agents.names) })),rigorDrafts: rigorDraftNeeds(rows, store.rowDrafts(board), store.rowDecisions(board)), sentinelDrafts: sentinelDraftNeeds(sentinels(board)), blocks: recentBlocks(repoInfo(root).commonDir, board),}, specApprovalState(root, { board, config, spec }));return projected;