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: compose spec revision authorization fixtures [P6,B23,H2,H9,H16]
Corey Olson9832fc85423e
diff --git a/src/board-query.js b/src/board-query.jsindex 504210e3..062ddad9 100644--- a/src/board-query.js+++ b/src/board-query.js@@ -227,6 +227,17 @@ export function itemThread(board, id) {at: event.event_at, detail: JSON.parse(event.event_detail) });}+/**+ * The hold on a lane, or null.+ *+ * @param {any} board+ * @param {string} lane+ * @returns {any | null}+ */+export function laneHold(board, lane) {+ return board.db.prepare('SELECT * FROM hold WHERE hold_lane = ?').get(lane) ?? null;+}+/*** Every held lane.*diff --git a/src/board.js b/src/board.jsindex b9018dfd..8eb82fd7 100644--- a/src/board.js+++ b/src/board.js@@ -88,6 +88,7 @@ import {unreadCount,events,itemThread,+ laneHold,laneHolds,rowDecisions,UNREAD_SQL,@@ -2151,18 +2152,7 @@ export function releaseLane(board, lane, { agentId, asPerson = false, channel =});}-/**- * The hold on a lane, or null.- *- * @param {any} board- * @param {string} lane- * @returns {any | null}- */-export function laneHold(board, lane) {- return board.db.prepare('SELECT * FROM hold WHERE hold_lane = ?').get(lane) ?? null;-}--export { laneHolds } from './board-query.js';+export { laneHold, laneHolds } from './board-query.js';/** Read an item's coordinator hold, or null when it is available for claims. */export function itemHold(board, id) {diff --git a/test/relay-credential.test.js b/test/relay-credential.test.jsindex 3b754cf1..762a5715 100644--- a/test/relay-credential.test.js+++ b/test/relay-credential.test.js@@ -64,6 +64,7 @@ test('every current operation selects its native actor credential without a secoif (operation === 'applyRowDecisions') args = [{ agentId: actor, events: [] }];if (operation === 'draftSpecRow') args = [{ agentId: actor, row: { id: 'G9', text: 'A credential fixture row.', gate: 'review', tier: 'must', section: 'G · Goals' } }];if (operation === 'recordRowDecisions') { args = [{ agentId: 'person', channel: 'terminal', decisions: [] }]; kind = 'person'; }+ if (operation === 'decideSpecRevisions') { args = [{ agentId: 'person', channel: 'terminal', decisions: [] }]; kind = 'person'; }// A gate run with no receipt from this machine's own gate is refused before it reaches transport.if (operation === 'recordGateRun') return { operation, args, kind, sent: false, expected: 'GATE_RUN_UNBOUND' };return { operation, args, kind, ...(kind === 'person' ? { sent: false } : {}) };