test(e2e): headroom for the two plan-ceo-review budget-edge tests

Both rode their 360s runner budget at the edge (main clears at 243s of
360s), and the wave legitimately adds work to the review: the evidence
directive tells the agent to probe before claiming, and the design-doc
discovery block adds bash steps. Under concurrent in-file children the
API queuing tipped all retry attempts past the ceiling — the runner then
reports $0.00/0 turns for a timed-out child, which reads like a dead
spawn but is a healthy child killed at the deadline. 540s runner / 660s
test for these two only; verified 2/2 green at 228s and 315s.
This commit is contained in:
Garry Tan 2026-08-14 19:03:14 -07:00
parent e28e82c6eb
commit e0171f480c
No known key found for this signature in database
GPG Key ID: C1F69E85C74EFE1D
1 changed files with 7 additions and 4 deletions

View File

@ -81,7 +81,10 @@ Write your complete review directly to ${planDir}/review-output.md
Focus on reviewing the plan content: architecture, error handling, security, and performance.`,
workingDirectory: planDir,
maxTurns: 15,
timeout: 360_000,
// 540s: the evidence-before-claimed-limitations directive and the
// design-doc discovery block (fork port wave 2) add real probing turns;
// main cleared this at 243s, the enriched skill needs more headroom.
timeout: 540_000,
testName: 'plan-ceo-review',
runId,
model: 'claude-opus-4-7',
@ -100,7 +103,7 @@ Focus on reviewing the plan content: architecture, error handling, security, and
const review = fs.readFileSync(reviewPath, 'utf-8');
expect(review.length).toBeGreaterThan(200);
}
}, 420_000);
}, 660_000);
});
// --- Plan CEO Review (SELECTIVE EXPANSION) E2E ---
@ -168,7 +171,7 @@ Write your complete review directly to ${planDir}/review-output-selective.md
Focus on reviewing the plan content: architecture, error handling, security, and performance.`,
workingDirectory: planDir,
maxTurns: 15,
timeout: 360_000,
timeout: 540_000,
testName: 'plan-ceo-review-selective',
runId,
model: 'claude-opus-4-7',
@ -185,7 +188,7 @@ Focus on reviewing the plan content: architecture, error handling, security, and
const review = fs.readFileSync(reviewPath, 'utf-8');
expect(review.length).toBeGreaterThan(200);
}
}, 420_000);
}, 660_000);
});
// --- Plan CEO Review SCOPE EXPANSION energy (V1.1 mode-posture regression gate) ---