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
fix(land): compose stop identity with doctrine helpers [Q1,Q3,C7]
Corey Olson3f6ae72b0e50
diff --cc test/land.test.jsindex 6e3a8cf6,88f0b407..7581fedc--- a/test/land.test.js+++ b/test/land.test.js@@@ -10,35 -10,31 +10,28 @@@ import { landingFailures, landingSubjecimport { createE2eHelpers } from './e2e-helpers.js';import { startFixtureChild, runFixtureChild } from './fixture-child.js';import { assertNoRemoteLanding } from './land-no-remote-fixture.js';+import { MARKER_NOT_YET, readMarker } from './land-marker-fixture.js';+import { assertLandingStopIdentity } from './land-stop-fixture.js';+ import { assertLandingDoctrineCounts } from './land-doctrine-fixture.js';+ import { onBoard, events, calls } from './land-board-fixture.js';const e2e = createE2eHelpers();after(e2e.cleanup);const { sandbox, project, commitFile, waitFor, BIN } = e2e;const FILES = [1, 2, 3, 4].map((n) => `web/land-${n}.test.js`);-const MARKER_NOT_YET = Symbol('marker not yet written');++test('a landing stop never signals a reused process group [Q1,Q3,C7]', async () => {+ await assertLandingStopIdentity();+});+ test('a landing records a falling doctrine count and holds a rising count [B3,R3,D1,D3]', () => {+ assertLandingDoctrineCounts({ landProject, itemWorktree, submitItem, acceptItem });+ });+test('a repo with no remote lands into the local trunk and status reads as normal [I1,B3,R3,H5]', () => {assertNoRemoteLanding(sandbox, commitFile);});- /** Read a private board through public functions, never by mutating its database. */- function onBoard(box, action, clock) {- const board = store.openBoard(join(box.repo, '.git', 'pullboard', 'board.sqlite'), clock);- try { return action(board); } finally { store.closeBoard(board); }- }-- /** Return append-only public events for receipt and replay assertions. */- function events(box) { return onBoard(box, (board) => store.events(board)); }-- /** Parse the gate's actual command arguments to distinguish full runs from single-file diagnoses. */- function calls(box) {- return existsSync(box.calls) ? readFileSync(box.calls, 'utf8').trim().split('\n').filter(Boolean).map((line) => JSON.parse(line)) : [];-/** Read a complete marker, treating a missing or mid-write file as unpublished. */-function readMarker(file) {- try { return JSON.parse(readFileSync(file, 'utf8')); }- catch (error) {- if (error.code === 'ENOENT' || error instanceof SyntaxError) return MARKER_NOT_YET;- throw error;- }--}/** Start a separate process holding an exclusive write transaction on the fixture board. */function startExclusiveBoardWriter(box, boardFile, name) {