perf(web): centralize batch handoff rotation
This commit is contained in:
@@ -58,11 +58,6 @@ function taskCommand(task) {
|
||||
return match[1];
|
||||
}
|
||||
|
||||
function assertContext() {
|
||||
const result = command("node tools/web/check-wbv2-context-cache.mjs", "tests/golden/WBV2/continuous-context.log");
|
||||
if (result.code !== 0) throw new Error(`context gate failed (exit ${result.code})`);
|
||||
}
|
||||
|
||||
function typecheckProven(task) {
|
||||
try {
|
||||
const manifest = JSON.parse(read(`tests/golden/${task}/manifest.json`));
|
||||
@@ -81,7 +76,6 @@ let iterations = 0;
|
||||
const summary = [];
|
||||
while (maxIterations === 0 || iterations < maxIterations) {
|
||||
const before = currentTask();
|
||||
assertContext();
|
||||
// A completed V2 plan intentionally leaves the final task as an auditable
|
||||
// pointer. Do not replay its implementation command on later unattended
|
||||
// passes; close the runner cleanly at the terminal boundary.
|
||||
@@ -112,7 +106,6 @@ while (maxIterations === 0 || iterations < maxIterations) {
|
||||
: [];
|
||||
const handoffPaths = [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"nextTask.md",
|
||||
`docs/tasks/${before.task}.md`,
|
||||
...(terminal ? [] : [`docs/tasks/${after.task}.md`]),
|
||||
`docs/status/${before.task}.md`,
|
||||
|
||||
Reference in New Issue
Block a user