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
test(publish): report bounded coverage and retain receipt IDs [B3,R3]
Corey Olsone681681fb62e
diff --git a/src/pr-proof-snapshot.js b/src/pr-proof-snapshot.jsindex cf0b3e6a..1cccc2a7 100644--- a/src/pr-proof-snapshot.js+++ b/src/pr-proof-snapshot.js@@ -31,7 +31,7 @@ export function capturePrProof(board) {const query = sql.replace(/\s+/gu, ' ').trim();if (/^SELECT meta_value FROM board_meta WHERE meta_key\s*=\s*\?$/u.test(query)) return { get: key => metadata.get(key) };if (/^SELECT \* FROM verdict WHERE item_id\s*=\s*\? ORDER BY verdict_id$/u.test(query)) return { all: id => [...(verdicts.get(id) ?? [])] };- if (/^SELECT (?:\*|event_kind, event_detail) FROM event(?:_history)? WHERE item_id\s*=\s*\? AND event_kind (?:IN \('accept', 'reject'\)|= 'reopen') ORDER BY event_id$/u.test(query)) {+ if (/^SELECT (?:\*|(?:event_id, )?event_kind, event_detail) FROM event(?:_history)? WHERE item_id\s*=\s*\? AND event_kind (?:IN \('accept', 'reject'\)|= 'reopen') ORDER BY event_id$/u.test(query)) {const kinds = /event_kind = 'reopen'/u.test(query) ? ['reopen'] : ['accept', 'reject'];return { all: id => (events.get(id) ?? []).filter(row => kinds.includes(row.event_kind)) };}diff --git a/test/pr-bridge.test.js b/test/pr-bridge.test.jsindex 87150540..671e6724 100644--- a/test/pr-bridge.test.js+++ b/test/pr-bridge.test.js@@ -347,6 +347,8 @@ test('one publish pass computes pull request coverage once with bounded git callconst walks = readFileSync(trace, 'utf8').split('\n').filter(line =>line.includes('log --no-decorate') && line.includes('trailers:key=Pullboard-Companion'));assert.equal(walks.length, 1, 'publication performs one shared proof walk after composing all proposals');+ t.diagnostic(JSON.stringify({ proofCoverage: { smallGitCalls: calls, largerGitCalls: largerCalls,+ publicationWalks: walks.length, proposals: provider.pulls.length } }));} finally { box.env = priorEnv; }} finally {