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(relay): surface operation parity diagnostics [H5,H16,A2]
Corey Olson6255e55f15f1
diff --git a/test/relay-parity-fixture.js b/test/relay-parity-fixture.jsindex 9c3b5e4e..e347914a 100644--- a/test/relay-parity-fixture.js+++ b/test/relay-parity-fixture.js@@ -96,8 +96,11 @@ try { console.log(JSON.stringify(await exerciseOperationParity(JSON.parse(readFiawait running;});const result = await running;- assert.equal(result.status, 0, result.failure ?? result.context);- return JSON.parse(result.stdout.trim());+ let document;+ try { document = JSON.parse(result.stdout.trim()); }+ catch { assert.fail(`operation child did not return JSON: ${result.failure ?? result.context}`); }+ assert.equal(result.status, 0, `${document.error ?? 'operation child failed'}\n${result.failure ?? result.context}`);+ return document;} finally { rmSync(file, { force: true }); }}return { native, relay, exercised: seeded.exercised, exerciseOperations };diff --git a/test/relay-parity-operations.js b/test/relay-parity-operations.jsindex 5c7b7b8f..ae879609 100644--- a/test/relay-parity-operations.js+++ b/test/relay-parity-operations.js@@ -22,8 +22,10 @@ export async function exerciseOperationParity({ root, origin, token, boardId, laconst board = store.openBoard(join(root, '.git', 'pullboard', 'board.sqlite'));const notices = [];const io = { say() {}, err(message) { notices.push(message); } };+ let observing = 'initial baseline';/** Publish with the actual production capture/seal/HTTP path, then compare both full readers before covering the move. */async function verifyAfterMutation({ operation, after }) {+ observing = operation;assert.equal(await publishLatestCheckpoint(root, io), true, `the ${operation} checkpoint is acknowledged`);const { native, relay } = await reader.read();assert.ok(native.sequence >= after, `the ${operation} observation includes its actual native event`);@@ -57,6 +59,9 @@ export async function exerciseOperationParity({ root, origin, token, boardId, laconst missing = tracking.missing(MOVE_OPERATIONS);assert.deepEqual(missing, [], `every declared native operation must pass the complete oracle; setup refusals=${JSON.stringify(tracking.setupRefusals)}`);return { covered: [...tracking.covered].sort(), declared: [...MOVE_OPERATIONS].sort() };+ } catch (error) {+ error.message = `while observing ${observing}: ${error.message}; covered=${JSON.stringify([...tracking.covered])}; setupRefusals=${JSON.stringify(tracking.setupRefusals)}`;+ throw error;} finally {store.closeBoard(board);await reader.close();