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(claim): enable the window after the candidate submits [B13,B5]

Corey Olsonec3639b4241a
diff --git a/test/reopen.test.js b/test/reopen.test.js
index 8d28776d..75997dc0 100644
--- a/test/reopen.test.js
+++ b/test/reopen.test.js
@@ -674,6 +674,7 @@ test('a reopened bar takes the same commit again [V2,V6,H16]', async (t) => {
test('retained main controls builder first refusal during detached review [B13,B5,H16]', t => {
const box = project();
+ const { commit } = submitFixture(box);
const configPath = join(box.repo, 'pullboard.json');
const config = JSON.parse(readFileSync(configPath, 'utf8'));
config.claim = { reopenFirstRefusalMinutes: 30 };
@@ -681,7 +682,6 @@ test('retained main controls builder first refusal during detached review [B13,B
box.git(box.repo, 'add', 'pullboard.json');
box.git(box.repo, 'commit', '-q', '-m', 'chore: enable the private builder window');
const main = box.git(box.repo, 'rev-parse', 'HEAD');
- const { commit } = submitFixture(box);
assert.equal(JSON.parse(box.git(box.web, 'show', 'HEAD:pullboard.json')).claim, undefined,
'the candidate does not carry the enabled setting');
box.git(box.repo, 'switch', '-q', '--detach', commit);