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(board): resume reads decisions and evidence by index on Node 24 [C7]
Corey Olson44fb50852631
diff --git a/src/board-hot.js b/src/board-hot.jsindex 090dbec4..ced76d7f 100644--- a/src/board-hot.js+++ b/src/board-hot.js@@ -81,6 +81,9 @@ export function lastMoves(board) {* @returns {any[]}*/export function decisionAndEvidenceShouts(board) {- return board.db.prepare(`SELECT * FROM (SELECT * FROM shout WHERE shout_decision = 1- UNION SELECT * FROM shout WHERE shout_evidence_item > 0) ORDER BY shout_id`).all();+ // Two indexed reads merged here: SQLite 3.53 (Node 24) plans the UNION of these as a full shout scan.+ const decisions = board.db.prepare('SELECT * FROM shout WHERE shout_decision = 1').all();+ const evidence = board.db.prepare('SELECT * FROM shout WHERE shout_evidence_item IS NOT NULL AND shout_evidence_item > 0').all();+ const byId = new Map([...decisions, ...evidence].map((row) => [row.shout_id, row]));+ return [...byId.values()].sort((a, b) => a.shout_id - b.shout_id);}