Skip to content

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.

test(core): engine 18 pins and a resubmitted-commit review [B29,H16]

Corey Olson9a9d6628355c
diff --git a/test/implies.test.js b/test/implies.test.js
index 7fb1d930..05ce324c 100644
--- a/test/implies.test.js
+++ b/test/implies.test.js
@@ -153,8 +153,9 @@ test('[B29,B31] verdicts and facts carry --implies; a later verdict or a superse
box.json(box.web, 'claim', '1');
writeFileSync(join(box.web, 'web', 'shared.txt'), 'fixed\n');
runFixtureGit(['commit', '-q', '-am', 'fix: the fixture passes [G1]'], { cwd: box.web, env: box.env });
- box.json(box.web, 'submit', '1');
+ const resubmitted = box.json(box.web, 'submit', '1').commit;
box.json(review, 'next', '--verify');
+ runFixtureGit(['switch', '-q', '--detach', resubmitted], { cwd: review, env: box.env });
box.json(review, 'verify', '1', 'accept', '--note', 'ran the fixture check');
const told = facts(box, 2).filter((fact) => fact.supersededBy);
assert.equal(told.length, 1, 'a later verdict on the same item supersedes the earlier one for the items it implied');
diff --git a/test/pending-refreeze.test.js b/test/pending-refreeze.test.js
index 15ad01aa..b1972e1a 100644
--- a/test/pending-refreeze.test.js
+++ b/test/pending-refreeze.test.js
@@ -252,7 +252,7 @@ async function checkDependencyLegacyClients(cleanup, directory, snapshot, target
const oldSnapshot = legacyExchange.exportBoard(old);
const currentSnapshot = exportBoard(current);
assert.equal(oldSnapshot.tables.board_meta.find((row) => row.meta_key === 'relay_engine_version').meta_value, '10');
- assert.equal(currentSnapshot.tables.board_meta.find((row) => row.meta_key === 'relay_engine_version').meta_value, '12');
+ assert.equal(currentSnapshot.tables.board_meta.find((row) => row.meta_key === 'relay_engine_version').meta_value, String(ENGINE_VERSION));
assert.deepEqual(withoutEngineMarker(currentSnapshot), withoutEngineMarker(oldSnapshot),
'the sole snapshot difference is the intentionally newer writer-version marker');
}
@@ -261,7 +261,7 @@ async function checkDependencyLegacyClients(cleanup, directory, snapshot, target
}
test('dependency edits replay the same on every engine [B3,V2,H16]', async (t) => {
- assert.equal(ENGINE_VERSION, 12);
+ assert.equal(ENGINE_VERSION, 18);
const directory = mkdtempSync(join(tmpdir(), 'pullboard-dependency-engines-'));
const cleanup = [];
t.after(() => {
diff --git a/test/row-decisions-replay.test.js b/test/row-decisions-replay.test.js
index 8f048ccf..2e69ba00 100644
--- a/test/row-decisions-replay.test.js
+++ b/test/row-decisions-replay.test.js
@@ -144,7 +144,7 @@ test('captured person decisions and coordinator apply replay identically without
});
test('engine 12 records preserved decline text and replays a separate reason [S18,S19,H16]', (t) => {
- assert.equal(ENGINE_VERSION, 12);
+ assert.ok(ENGINE_VERSION >= 12, 'engine 12 decline semantics hold in every later engine');
const { source, copies: [one, two] } = decisionCopies(t);
const preserved = {
kind: 'spec', file: 'SPEC.md', id: 'G2',