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: link the real duplicate board fixture [N26,H5]
Corey Olsonfb80a1828c79
diff --git a/test/cockpit/relay.test.js b/test/cockpit/relay.test.jsindex 4740a133..c7bfb2ef 100644--- a/test/cockpit/relay.test.js+++ b/test/cockpit/relay.test.js@@ -1027,11 +1027,21 @@ test('the hosted page lists linked and local boards together [N26,H5]', {local.run(localProject.repo, 'add', 'web', localTitle);const duplicateProject = project(local, 'local-machine-c');const duplicateTitle = 'local machine C keeps its own view board';+ local.git(duplicateProject.repo, 'remote', 'add', 'origin', '[email protected]:fixture/repository.git');local.run(duplicateProject.repo, 'add', 'web', duplicateTitle);- assert.equal((await linked.cliAt(duplicateProject.repo, 'relay', 'on', '--url', linked.origin)).code, 0,+ const localRelayEnv = {+ ...linked.env,+ HOME: local.dir,+ PULLBOARD_HOME: local.env.PULLBOARD_HOME,+ PULLBOARD_MACHINE_HOME: local.env.PULLBOARD_MACHINE_HOME,+ PATH: local.env.PATH,+ };+ const localRelayResult = await linked.cliAtWithEnv(duplicateProject.repo, localRelayEnv,+ 'relay', 'on', '--url', linked.origin);+ assert.equal(localRelayResult.code, 0,'C links its actual local board to the relay as a second source for the same board identity');const localRelay = JSON.parse(readFileSync(join(duplicateProject.repo, '.git', 'pullboard', 'relay.json'), 'utf8'));- const localRelayKey = readFileSync(join(linked.env.PULLBOARD_HOME, 'relay-keys', localRelay.board + '.key'), 'utf8').trim();+ const localRelayKey = readFileSync(join(local.env.PULLBOARD_HOME, 'relay-keys', localRelay.board + '.key'), 'utf8').trim();assert.notEqual(localRelay.board, linkedId, 'the linked C board is distinct from A');const profile = join(linked.root, 'mixed-board-chrome');let localView;diff --git a/test/relay-client-fixture.js b/test/relay-client-fixture.jsindex 24480e6b..06918cbd 100644--- a/test/relay-client-fixture.js+++ b/test/relay-client-fixture.js@@ -479,6 +479,10 @@ globalThis.fetch = function tracedFetch(input, init) {async function cliAt(cwd, ...args) {return childResult(cwd, env, [CLI, ...args, '--json']);}+ /** Invoke the production CLI at another repository with an explicit private fixture environment. */+ async function cliAtWithEnv(cwd, commandEnv, ...args) {+ return childResult(cwd, commandEnv, [CLI, ...args, '--json']);+ }/** Bound a CLI child using the exact snapshot count asserted by its fixture flow. */async function cliWithSnapshotUploads(snapshotUploads, ...args) {cliChildDeadlineMs(snapshotUploads);@@ -587,7 +591,7 @@ globalThis.fetch = function tracedFetch(input, init) {}return {transit, providerState: provider.state, providerCalls: provider.calls, relayDirectory: join(scratch, 'relay'), authDatabase, auth, otherDeviceJoin,- root, env, origin, lane, before, linkFile, keyFile, calls, moveAcks, cli, cliAt, cliWithSnapshotUploads, cliWithSnapshotTrace, link, phoneSession, requireEngineThree, otherDeviceOff, additionalBoard, script, stopRelay, restartRelay,+ root, env, origin, lane, before, linkFile, keyFile, calls, moveAcks, cli, cliAt, cliAtWithEnv, cliWithSnapshotUploads, cliWithSnapshotTrace, link, phoneSession, requireEngineThree, otherDeviceOff, additionalBoard, script, stopRelay, restartRelay,/** Assert the test consumed every declared child budget, with no hidden CLI calls. */assertCliChildrenComplete() {if (cliChildren) assert.equal(cliChildIndex, cliChildren.length, 'every planned private CLI child ran exactly once');