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): retire the handoff seat after its recipes [H5,H16,A2]
Corey Olsondbe7957fb002
diff --git a/test/relay-parity-operations.js b/test/relay-parity-operations.jsindex ae879609..979edd41 100644--- a/test/relay-parity-operations.js+++ b/test/relay-parity-operations.js@@ -10,7 +10,7 @@ import { captureSpecApprovalBaseline } from '../src/spec-approval.js';import { loadConfig } from '../src/config.js';import { decodeBoardKey } from '../src/seal.js';import { createParityReader, assertReaderParity } from './relay-parity-reader.js';-import { createStudyExercise, seedStudyState } from './relay-parity-seeds.js';+import { createStudyExercise, seedStudyState, seedHandoff } from './relay-parity-seeds.js';import { submitFixture } from './board-submit-fixture.js';import { seedOutside, seedLandingObservations, seedMembership, seedAdministrative, seedBatch, seedCoordinatorAuthority, seedSpecOutcomes, seedBarSignature, seedCurrentOperations } from './relay-parity-extra-seeds.js';import { syntheticFlakeObservation } from './flake-observation-fixture.js';@@ -56,6 +56,7 @@ export async function exerciseOperationParity({ root, origin, token, boardId, laawait seedCurrentOperations(context);await seedBarSignature(context);await seedCoordinatorAuthority(context);+ await seedHandoff(context);const 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() };diff --git a/test/relay-parity-seeds.js b/test/relay-parity-seeds.jsindex f1839dba..9a476f22 100644--- a/test/relay-parity-seeds.js+++ b/test/relay-parity-seeds.js@@ -179,6 +179,12 @@ export async function seedSpecAndHandoff(context) {replacement: '- Z1281 [approved, must] Study row. | gate: review', text: 'Study row.', decision: 'approve' };const decisions = await exercise('recordRowDecisions', () => store.recordRowDecisions(board, { agentId: 'person', channel: 'terminal', decisions: [row] }));if (decisions) await exercise('applyRowDecisions', () => store.applyRowDecisions(board, { agentId: 'coordinator', events: decisions.map(value => value.event) }));+ return context;+}++/** Retire the outgoing native seat only after its remaining projection recipes have completed. */+export async function seedHandoff(context) {+ const { board, store, exercise, agent, reviewer } = context;const handoff = await exercise('openHandoff', () => store.openHandoff(board, { agentId: agent }));if (handoff) await exercise('takeHandoff', () => store.takeHandoff(board, { agentId: reviewer, item: handoff.item }));return context;