From 7a84069cff2ecb9b8c2f84641126f6a9bffb8103 Mon Sep 17 00:00:00 2001 From: mes123456 Date: Sat, 29 Aug 2026 16:18:11 +0800 Subject: [PATCH] docs: add uninterrupted continuation prompt --- nextTask.md | 45 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 42 insertions(+), 3 deletions(-) diff --git a/nextTask.md b/nextTask.md index a5e19c459..21ecb8a42 100644 --- a/nextTask.md +++ b/nextTask.md @@ -25,6 +25,45 @@ bounded build and queue/governance integrity needed to avoid committing broken functionality. Do not drift into repeated maintenance-only waves while an unimplemented Blender capability family remains available. +## 一键连续执行入口 + +把下面的文本作为用户消息发送,即可让执行代理从当前队列自动开始,并在 +每个任务成功交接后立即进入下一个任务,不等待新的用户消息: + +```text +按 nextTask.md 不间断执行。 + +这是执行命令,不是计划、状态汇报或等待确认。读取仓库当前队列和 parent +manifest,严格从当前 `nextTask` 开始。每次只完成一个任务,完成后写入 +manifest、status、task-context,提交并推送 `origin/main`,重新读取新的 +`nextTask`,立即开始下一轮,直到队列闭合或遇到真实阻塞。 + +主线是使用 `blender-5.2.0` 源码实现 Blender Web/WASM 全部能力:优先修改 +Blender Main、WebEngine C++、WASM、协议、Worker、客户端和前端真实入口;按 +capability family 和唯一行为批量推进 6900 条目,复用已有 hash 证据,禁止 +重复实现或逐条重复处理。 + +当前阶段只做实现和必要的源码编译、WASM 构建、TypeScript、lint、前端构建 +及队列治理检查;不执行 Chromium/E2E/parity/receipt/save-reopen/determinism +验证,不写 completion overlay,不修改原始 inventory 或历史 provenance。 + +每轮开始运行 `node tools/web/print-task-context.mjs` 和 +`node tools/web/check-task-context.mjs`;只读取当前任务卡和最小输入。任何 +失败、缺失、hash 漂移或队列不一致都保留 `in_progress`/`blocked`,先自行 +修复;状态未知时不得重复执行写操作。成功交接后不得停止、只汇报或等待确认, +必须继续读取新 manifest 的 `nextTask`。 +``` + +需要在终端保持进程级无人值守连续执行时,运行: + +```bash +node tools/web/run-wbv2-continuous.mjs --max-iterations 0 --commit --push +``` + +`--max-iterations 0` 表示不限迭代次数;runner 只执行当前任务卡声明的 +入口,任务未推进、治理失败、构建失败或推送失败时立即停在原任务并保留日志。 +凭据必须使用已配置的 Git 凭据,不得写入命令行历史、URL、日志或仓库文件。 + ## Copyable Resume Prompt Use the following prompt when continuous execution is needed. It is the @@ -50,7 +89,7 @@ and (when authorized) repository push: 10. 任一命令失败、输入缺失、队列不一致、环境不可用或状态不明时,保持 `in_progress`/`blocked`,不得推进指针、伪造完成或重复未知结果的状态改变命令。 11. 每轮结束报告实现切片、当前任务、`nextTask`、最小检查退出码、原始 inventory、effective inventory 是否保持不变、提交/推送状态和剩余真实阻塞。 12. CONTINUOUS_LOOP_REQUIRED:成功交接后立即开始下一轮;不得在成功提交、推送或生成新 manifest 后等待用户确认、只写计划或只汇报状态。每轮必须重新运行 `print-task-context` 和 `check-task-context`,使用新 parent manifest 的 `nextTask`,不沿用上一轮上下文。 -13. 可使用仓库内 unattended runner 保持进程级连续执行:`node tools/web/run-wbv2-continuous.mjs --max-iterations 0`。它只执行任务卡声明的入口;`0` 表示不限轮数,`--max-iterations N` 用于受控运行,`--commit --push` 才允许自动提交/推送。任何入口失败、退出 0 但队列未前进、治理失败或 push 失败都立即停止并保留 `tests/golden//continuous-runner.log`,不得重试未知结果。 +13. 可使用仓库内 unattended runner 保持进程级连续执行:`node tools/web/run-wbv2-continuous.mjs --max-iterations 0 --commit --push`。它只执行任务卡声明的入口;`0` 表示不限轮数,`--max-iterations N` 用于受控运行,`--commit --push` 才允许自动提交/推送。任何入口失败、退出 0 但队列未前进、治理失败或 push 失败都立即停止并保留 `tests/golden//continuous-runner.log`,不得重试未知结果。 14. 6900_IMPLEMENTATION_IRON_RULE:只按 capability family 和唯一行为批次实现全部 Blender 功能;不启动 Chromium/E2E/receipt/parity/save-reopen/determinism 验证,不写 completion overlay,不把维护 smoke 当作能力完成。若任务卡与本铁律冲突,以源码实现和本铁律为准,并将验证留到后续独立验证波次。 ``` @@ -119,7 +158,7 @@ not completion overlays. For process-level unattended execution, run: ```bash -node tools/web/run-wbv2-continuous.mjs --max-iterations 0 +node tools/web/run-wbv2-continuous.mjs --max-iterations 0 --commit --push ``` The runner is intentionally fail-closed. It derives the command from the @@ -268,7 +307,7 @@ Recorded: 2026-08-29 Asia/Shanghai | --- | --- | | Current task when this file was written | `WBV2-P61-000` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2/WBV2-P60-003/manifest.json` | +| Parent manifest | `tests/golden/WBV2-P60-003/manifest.json` | | Current task card | `docs/tasks/WBV2-P61-000.md` | | Current task-context nextTask | `NONE` | | Focused command | `node tools/web/generate-wbv2-capability-continuation-root.mjs` |