perf(web): centralize batch handoff rotation
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-09-03 15:50:39 +08:00
parent d602a13e2b
commit 07e63efa25
6 changed files with 78 additions and 30 deletions

View File

@@ -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`,