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.

chore(merge): integrate trunk conflicts with rigor [B3,D1,H16]

Corey Olson11245be61585
diff --cc docs/formats.md
index 54abc1aa,383421b8..24598d4b
--- a/docs/formats.md
+++ b/docs/formats.md
@@@ -340,7 -338,7 +340,7 @@@ The `event` table is a SQLite schema ob
| `reserve` | reviewer | `until` |
| `accept` | reviewer | `reason`, `commit`, engine-20 `implies`, engine-33 `review` |
| `reject` | reviewer | `reason`, `commit`, engine-20 `implies`, engine-33 `review` |
- | `reopen` | coordinator | `commit`, `note`, `judgment`, engine-10 `supersedes`, `landingFailure`, engine-30 `cause`, engine-36 `conflict` |
-| `reopen` | coordinator | `commit`, `note`, `judgment`, engine-10 `supersedes`, `landingFailure` |
++| `reopen` | coordinator | `commit`, `note`, `judgment`, engine-10 `supersedes`, `landingFailure`, engine-30 `cause`, engine-47 `conflict` |
| `merged` | coordinator | `commit` |
| `landing_batch` | coordinator | `batch` |
| `landing-review-moved` | coordinator | `code`, `batch`, `verdict`, `checked`, `landed` |
diff --cc src/board.js
index c8521a3f,d0a0f518..1bf00547
--- a/src/board.js
+++ b/src/board.js
@@@ -1676,10 -1675,10 +1683,11 @@@ export function reopen(board, id, { age
};
},
});
- logEvent(board, agentId, 'reopen', id, { commit: submittedCommit, note: note.trim(), judgment: null,
- ...(supersedes ? { supersedes, landingFailure } : {}), ...(cause !== undefined && cause !== null ? { cause } : {}) });
+ const returned = forMerge ? { supersedes, ...conflictDetail(conflict) } : supersedes ? { supersedes, landingFailure } : {};
+ logEvent(board, agentId, 'reopen', id, { commit: submittedCommit, note: note.trim() || conflictNote(conflict), judgment: null,
+ ...(cause !== undefined && cause !== null ? { cause } : {}), ...returned });
+ postRigorNotices(board, board.lastEvent);
- return { id: item.item_id, commit: submittedCommit, ...(supersedes ? { supersedes, landingFailure } : {}) };
+ return { id: item.item_id, commit: submittedCommit, ...returned };
});
}
diff --cc test/agent-model-engine.test.js
index ea5a441b,e3e9e711..e0687006
--- a/test/agent-model-engine.test.js
+++ b/test/agent-model-engine.test.js
@@@ -13,8 -13,8 +14,9 @@@ import { tmpdir } from 'node:os'
import { join } from 'node:path';
test('model declarations and event snapshots retain engines 1 through 34 semantics [O8,O3,H16]', (t) => {
+ assert.ok(ENGINE_VERSION >= RIGOR_NOTICE_ENGINE, 'the next writer preserves every historical model snapshot through main engine 33');
assert.ok(ENGINE_VERSION >= HEALTH_SENTINEL_ENGINE, 'the current writer retains the sentinel minimum and historical behavior');
+ assert.ok(ENGINE_VERSION >= CONFLICT_ENGINE, 'the writer retains the trunk-conflict feature minimum');
for (const version of Array.from({ length: ENGINE_VERSION }, (_, index) => index + 1)) {
const board = store.openBoard(':memory:');
t.after(() => store.closeBoard(board));
diff --cc test/pending-refreeze.test.js
index 3c23eff1,0caa8e72..ef6233cd
--- a/test/pending-refreeze.test.js
+++ b/test/pending-refreeze.test.js
@@@ -263,8 -263,8 +264,9 @@@ async function checkDependencyLegacyCli
}
test('dependency edits replay the same on every engine [B3,V2,H16]', async (t) => {
+ assert.ok(ENGINE_VERSION >= RIGOR_NOTICE_ENGINE, 'the next writer retains all recorded dependency-edit behavior');
assert.ok(ENGINE_VERSION >= HEALTH_SENTINEL_ENGINE, 'the current writer retains the sentinel minimum and historical behavior');
+ assert.ok(ENGINE_VERSION >= CONFLICT_ENGINE, 'the writer retains the trunk-conflict feature minimum');
const directory = mkdtempSync(join(tmpdir(), 'pullboard-dependency-engines-'));
const cleanup = [];
t.after(() => {