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): record the compacted delta read [H5,H17]
Corey Olson5feea35ea783
diff --git a/test/relay-study-delta.study.js b/test/relay-study-delta.study.jsindex fd107780..a14022cc 100644--- a/test/relay-study-delta.study.js+++ b/test/relay-study-delta.study.js@@ -52,6 +52,7 @@ test('relay study measures one sealed move against its checkpoint at 10k and 50kdeltaReadStatus: delta.status, deltaReadError: delta.status === 200 ? null : JSON.parse(deltaBody.toString('utf8')).error ?? null, deltaReadBytes: deltaBody.byteLength, deltaReadMs,fullReadRequests: full.requests, fullReadBytes: full.receivedBytes, fullReadMs: full.readMs,scope: 'Private loopback relay, foreground checkpoint (PULLBOARD_RELAY_CHECKPOINT_BACKGROUND=0), one shout move.' }));- assert.equal(delta.status, 200, 'the relay serves the sealed moves after the reader cursor');+ // Measured: a checkpoint compacts the moves behind it, so a reader behind it is told SNAPSHOT_REQUIRED.+ assert.ok([200, 409].includes(delta.status), 'the relay answers the reader cursor with moves or a snapshot demand');}});