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): expose read and checkpoint refusal details [H5,H16]
Corey Olson23bca998fdeb
diff --git a/test/relay-auth-expired.test.js b/test/relay-auth-expired.test.jsindex 4d4e9531..eaa6de6c 100644--- a/test/relay-auth-expired.test.js+++ b/test/relay-auth-expired.test.js@@ -23,7 +23,7 @@ async function revokeCredential(box, id) {/** Read one real CLI result and check its single board-named local fallback diagnostic. */async function assertLocalRead(box, board, ...args) {const result = await box.cli(...args);- assert.equal(result.code, 0, result.failure ?? `${args[0]} answers from the local board`);+ assert.equal(result.code, 0, `${result.failure ?? `${args[0]} answers from the local board`}; ${JSON.stringify(result.document?.error ?? null)}`);assert.equal(result.document.diagnostics?.length, 1, `${args[0]} prints one auth-expiry line`);assert.match(result.document.diagnostics[0], new RegExp(board));assert.match(result.document.diagnostics[0], /sign-in expired or was revoked/u);diff --git a/test/relay-stuck-upload.test.js b/test/relay-stuck-upload.test.jsindex 6e6aaa21..2e649243 100644--- a/test/relay-stuck-upload.test.js+++ b/test/relay-stuck-upload.test.js@@ -464,7 +464,7 @@ test('a refused later checkpoint names its repair once on every native agent com/** Demand one bounded diagnostic with upload, reason and the coordinator's concrete repair. */function diagnostic(result, name) {const lines = result.document.diagnostics ?? [];- assert.equal(lines.length, 1, name + ' prints one diagnostic across preflight, move and postflight');+ assert.equal(lines.length, 1, name + ' prints one diagnostic across preflight, move and postflight: ' + JSON.stringify(lines));assert.match(lines[0], /relay checkpoint refused for [0-9a-f]{32}: BAD_UPLOAD malformed sealed snapshot/u);assert.match(lines[0], /moves still sync in order; a fresh checkpoint goes up on the next change/u);assert.match(lines[0], /upgrade pullboard \(npm i -g pullboard\) or run pullboard relay off then relay on --all/u);