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(test): retain historical cursors on redelivery [H16]
Corey Olson97a3c43f1052
diff --git a/test/submit-invariants.test.js b/test/submit-invariants.test.jsindex eb7d4fbc..bf751d67 100644--- a/test/submit-invariants.test.js+++ b/test/submit-invariants.test.js@@ -300,10 +300,10 @@ test('a landing escape is proposed as a submit invariant only when modern submitassert.equal(appliedSequence(target), sourcePrefix + 1, 'a typed refusal still consumes its authenticated relay position');assert.deepEqual(engineReceipt(target, move.id)?.outcome, result, 'the refusal is retained as the move receipt');assert.deepEqual(applyRelayMove(target, move, ordered), result, 'redelivery returns the same durable refusal');- assert.equal(appliedSequence(target), 1, 'redelivery does not advance twice');+ assert.equal(appliedSequence(target), sourcePrefix + 1, 'redelivery does not advance twice');assert.equal(store.events(target).length, count, 'redelivery adds no submit event');assert.deepEqual(applyRelayMove(replica, move, ordered), result, 'another replica reaches the same refusal');- assert.equal(appliedSequence(replica), 1, 'both replicas retain the same ordered prefix');+ assert.equal(appliedSequence(replica), sourcePrefix + 1, 'both replicas retain the same ordered prefix');assert.equal(store.getItem(replica, id).item_status, 'claimed');assert.deepEqual(store.events(replica), store.events(target), 'neither replica records a submit event');assert.deepEqual(engineReceipt(replica, move.id), engineReceipt(target, move.id), 'replica refusal receipts agree');