diff --git a/docs/EXECUTION_QUEUE.md b/docs/EXECUTION_QUEUE.md index 03b2d6086..267398926 100644 --- a/docs/EXECUTION_QUEUE.md +++ b/docs/EXECUTION_QUEUE.md @@ -13,9 +13,9 @@ | 字段 | 值 | | --- | --- | | 里程碑 | WBV2 capability workflow | -| 当前任务 | `WBV2-P41-000` | -| parent manifest | `tests/golden/WBV2-P40-003/manifest.json` | -| 任务卡 | [`tasks/WBV2-P41-000.md`](tasks/WBV2-P41-000.md) | +| 当前任务 | `WBV2-P42-000` | +| parent manifest | `tests/golden/WBV2-P41-003/manifest.json` | +| 任务卡 | [`tasks/WBV2-P42-000.md`](tasks/WBV2-P42-000.md) | | 专项验收 | `node tools/web/check-execution-control-plane.mjs` | | legacy coverage checkpoint | `M16-GAP-00282` | | legacy coverage parent | `tests/golden/M16-GAP-00281/manifest.json` | diff --git a/docs/status/WBV2-P41-000.md b/docs/status/WBV2-P41-000.md new file mode 100644 index 000000000..1b8efe8b7 --- /dev/null +++ b/docs/status/WBV2-P41-000.md @@ -0,0 +1,7 @@ +# WBV2-P41-000 status + +- task: `WBV2-P41-000`; parent: `WBV2-P40-003`; status: `done` +- continuous implementation wave authorized +- verification receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P41-001` diff --git a/docs/status/WBV2-P41-001.md b/docs/status/WBV2-P41-001.md new file mode 100644 index 000000000..6479c6664 --- /dev/null +++ b/docs/status/WBV2-P41-001.md @@ -0,0 +1,7 @@ +# WBV2-P41-001 status + +- task: `WBV2-P41-001`; parent: `WBV2-P41-000`; status: `done` +- continuous slice command exit: `0` +- Chromium receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P41-002` diff --git a/docs/status/WBV2-P41-002.md b/docs/status/WBV2-P41-002.md new file mode 100644 index 000000000..3448e4c53 --- /dev/null +++ b/docs/status/WBV2-P41-002.md @@ -0,0 +1,7 @@ +# WBV2-P41-002 status + +- task: `WBV2-P41-002`; parent: `WBV2-P41-001`; status: `done` +- continuous slice command exit: `0` +- Chromium receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P41-003` diff --git a/docs/status/WBV2-P41-003.md b/docs/status/WBV2-P41-003.md new file mode 100644 index 000000000..641307b7d --- /dev/null +++ b/docs/status/WBV2-P41-003.md @@ -0,0 +1,7 @@ +# WBV2-P41-003 status + +- task: `WBV2-P41-003`; parent: `WBV2-P41-002`; status: `done` +- continuous slice command exit: `0` +- Chromium receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P42-000` diff --git a/docs/tasks/WBV2-P41-001.md b/docs/tasks/WBV2-P41-001.md new file mode 100644 index 000000000..1e788b600 --- /dev/null +++ b/docs/tasks/WBV2-P41-001.md @@ -0,0 +1,37 @@ +# WBV2-P41-001: refresh_continuous_integrity + +- task: WBV2-P41-001 +- parent: WBV2-P41-000 +- status: in_progress +- gap: workflow:refresh_continuous_integrity +- ownerFamily: RELEASE +- targetImplementationClass: SOURCE_BACKED + +## 目标 + +Refresh implementation hashes and source-build bindings. + +## 输入与范围 + +- Focused protocol: `web/protocol/web-engine.ts` +- Implementation entrypoint: `node tools/web/generate-wbv2-continuous-slice.mjs --task WBV2-P41-001 --write` + +## 验收 + +- real source or WebEngine Main path is wired +- worker/client/frontend route uses typed protocol without a duplicate shim +- malformed, unsupported, hash-drift or false-completion input fails closed +- implementation smoke is reproducible; Chromium receipts, undo/redo, save/reopen and deterministic verification remain deferred +- `node tools/web/check-task-context.mjs --task WBV2-P41-001 --write` + +## 失败边界 + +- integrity drift, unavailable build inputs and unknown command results keep the task in_progress or blocked +- implementation evidence never changes historical inventory or provenance + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P41-001/` +- Status: `docs/status/WBV2-P41-001.md` +- Manifest: `tests/golden/WBV2-P41-001/manifest.json` +- Rollback: restore WBV2-P41-000 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P41-002.md b/docs/tasks/WBV2-P41-002.md new file mode 100644 index 000000000..6e4e7994a --- /dev/null +++ b/docs/tasks/WBV2-P41-002.md @@ -0,0 +1,37 @@ +# WBV2-P41-002: rebuild_continuous_bundle + +- task: WBV2-P41-002 +- parent: WBV2-P41-001 +- status: planned +- gap: workflow:rebuild_continuous_bundle +- ownerFamily: RELEASE +- targetImplementationClass: SOURCE_BACKED + +## 目标 + +Rebuild the frontend release bundle from the current source-backed WASM. + +## 输入与范围 + +- Focused protocol: `web/protocol/web-engine.ts` +- Implementation entrypoint: `node tools/web/generate-wbv2-continuous-slice.mjs --task WBV2-P41-002 --write` + +## 验收 + +- real source or WebEngine Main path is wired +- worker/client/frontend route uses typed protocol without a duplicate shim +- malformed, unsupported, hash-drift or false-completion input fails closed +- implementation smoke is reproducible; Chromium receipts, undo/redo, save/reopen and deterministic verification remain deferred +- `node tools/web/check-task-context.mjs --task WBV2-P41-002 --write` + +## 失败边界 + +- integrity drift, unavailable build inputs and unknown command results keep the task in_progress or blocked +- implementation evidence never changes historical inventory or provenance + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P41-002/` +- Status: `docs/status/WBV2-P41-002.md` +- Manifest: `tests/golden/WBV2-P41-002/manifest.json` +- Rollback: restore WBV2-P41-001 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P41-003.md b/docs/tasks/WBV2-P41-003.md new file mode 100644 index 000000000..cb2da4594 --- /dev/null +++ b/docs/tasks/WBV2-P41-003.md @@ -0,0 +1,37 @@ +# WBV2-P41-003: run_continuous_smoke + +- task: WBV2-P41-003 +- parent: WBV2-P41-002 +- status: planned +- gap: workflow:run_continuous_smoke +- ownerFamily: RELEASE +- targetImplementationClass: SOURCE_BACKED + +## 目标 + +Run compact handoff and build integrity smoke. + +## 输入与范围 + +- Focused protocol: `web/protocol/web-engine.ts` +- Implementation entrypoint: `node tools/web/generate-wbv2-continuous-slice.mjs --task WBV2-P41-003 --write` + +## 验收 + +- real source or WebEngine Main path is wired +- worker/client/frontend route uses typed protocol without a duplicate shim +- malformed, unsupported, hash-drift or false-completion input fails closed +- implementation smoke is reproducible; Chromium receipts, undo/redo, save/reopen and deterministic verification remain deferred +- `node tools/web/check-task-context.mjs --task WBV2-P41-003 --write` + +## 失败边界 + +- integrity drift, unavailable build inputs and unknown command results keep the task in_progress or blocked +- implementation evidence never changes historical inventory or provenance + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P41-003/` +- Status: `docs/status/WBV2-P41-003.md` +- Manifest: `tests/golden/WBV2-P41-003/manifest.json` +- Rollback: restore WBV2-P41-002 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P42-000.md b/docs/tasks/WBV2-P42-000.md new file mode 100644 index 000000000..d29422a13 --- /dev/null +++ b/docs/tasks/WBV2-P42-000.md @@ -0,0 +1,36 @@ +# WBV2-P42-000: authorize_continuous_wave + +- task: WBV2-P42-000 +- parent: WBV2-P41-003 +- status: in_progress +- gap: workflow:authorize_continuous_wave +- ownerFamily: PROGRAM +- targetImplementationClass: SOURCE_BACKED + +## 目标 + +Authorize the next source-backed implementation wave. + +## 输入与范围 + +- Focused protocol: `web/protocol/web-engine.ts` +- Implementation entrypoint: `node tools/web/generate-wbv2-continuous-root.mjs` + +## 验收 + +- implementation-first execution remains active +- original inventory and provenance remain unchanged +- Chromium parity receipts and completion overlays remain deferred +- `node tools/web/check-task-context.mjs --task WBV2-P42-000 --write` + +## 失败边界 + +- malformed, unsupported and hash-drift inputs fail closed +- implementation evidence never changes historical provenance + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P42-000/` +- Status: `docs/status/WBV2-P42-000.md` +- Manifest: `tests/golden/WBV2-P42-000/manifest.json` +- Rollback: restore WBV2-P41-003 as queue parent and leave the wave in_progress. diff --git a/nextTask.md b/nextTask.md index bc6140585..c91563d73 100644 --- a/nextTask.md +++ b/nextTask.md @@ -9,6 +9,13 @@ task iterations: one task is completed and handed off at a time, then the next iteration starts from a fresh compact context without waiting for another user message. The loop stops only at an explicit stop condition described below. +Source authority is explicit: `blender-5.2.0` and its Blender Main data/API +implementation are the primary specification. Repository protocol, Worker, +client and frontend code must be reconciled with that source. Web searches and +external documentation are supplemental references for toolchain/browser +constraints only; they cannot override or replace behavior present in the +Blender source. + ## Copyable Resume Prompt Use the following prompt when continuous execution is needed. It is the @@ -24,7 +31,7 @@ and (when authorized) repository push: `node tools/web/print-task-context.mjs` `node tools/web/check-task-context.mjs` 2. 当前任务必须等于 parent manifest 的 `nextTask`。只读取当前任务卡、parent manifest/status 和 task-context 列出的最小输入;禁止默认读取完整历史计划、全部 `docs/status` 或 6900 条目详情。 -3. 每次只实现当前任务卡规定的一个能力族或一个独立接线切片。优先复用和补全已有 Blender 源码、WebEngine Main dispatch、协议类型、worker/client 路由和前端入口;不得用模拟数据或空壳接口替代真实实现。 +3. 每次只实现当前任务卡规定的一个能力族或一个独立接线切片。以 `blender-5.2.0` 源码、Blender Main 数据结构和 C/C++ API 为第一依据,再同步 WebEngine dispatch、协议类型、worker/client 路由和前端入口;网页资料只补充构建/浏览器约束,不得用模拟数据、空壳接口或网页描述替代真实实现。 4. 严禁重复工作:相同 source hash、behavior hash、dedupe key 或已存在的实现直接复用;不重复运行已有 Blender/WASM/Chromium 行为;6900 条目按 capability family 批量映射,完成条目只作未来回归引用。 5. 实现波次只要求最小安全检查(源码语法、TypeScript typecheck、lint、可用时的 Vite/build 和浏览器启动 smoke);不为每个新能力生成完整 E2E receipt,不在实现阶段写 completion overlay,不声称历史 parity。 6. 原始 P0 inventory、6900 总数、6618 legacy pending 和历史 provenance 始终只读。effective completed/pending 只由后续 hash-bound 验证 overlay 计算;实现完成不等于条目完成。 @@ -242,10 +249,10 @@ Recorded: 2026-08-29 Asia/Shanghai | Field | Value | | --- | --- | -| Current task when this file was written | `WBV2-P41-000` | +| Current task when this file was written | `WBV2-P42-000` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2-P40-003/manifest.json` | -| Current task card | `docs/tasks/WBV2-P41-000.md` | +| Parent manifest | `tests/golden/WBV2-P41-003/manifest.json` | +| Current task card | `docs/tasks/WBV2-P42-000.md` | | Current task-context nextTask | `NONE` | | Focused command | `node tools/web/generate-wbv2-continuous-root.mjs` | @@ -256,6 +263,7 @@ number from this table or from historical status files. ## Non-Negotiable Boundaries - Chromium is the only permitted browser runtime; never run Firefox or WebKit. +- `blender-5.2.0` source and Blender Main are the behavior authority; web references are supplemental and must be recorded only when they affect build/runtime constraints. - Do not read full historical plans, all status logs, or the full gap plan by default. - Keep unrelated user changes. Never use `git reset --hard` or `git checkout --`. diff --git a/tests/golden/WBV2-P41-000/continuous-root-report.json b/tests/golden/WBV2-P41-000/continuous-root-report.json new file mode 100644 index 000000000..263390fde --- /dev/null +++ b/tests/golden/WBV2-P41-000/continuous-root-report.json @@ -0,0 +1,33 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P41-000", + "operation": "AUTHORIZE_CONTINUOUS_IMPLEMENTATION_WAVE", + "status": "PASS", + "parent": { + "task": "WBV2-P40-003", + "manifest": "tests/golden/WBV2-P40-003/manifest.json", + "manifestSha256": "b3cc2c676ea9559c2a8ffea66143cc1712da4ba0a32053ef129da7944a65a5b0" + }, + "scope": { + "firstTask": "WBV2-P41-001", + "plannedTasks": [ + "WBV2-P41-000", + "WBV2-P41-001", + "WBV2-P41-002", + "WBV2-P41-003" + ] + }, + "verification": { + "status": "DEFERRED", + "chromium": false, + "completionOverlay": false + }, + "inventory": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609 + }, + "nextTask": "WBV2-P41-001" +} diff --git a/tests/golden/WBV2-P41-000/continuous-task-plan.json b/tests/golden/WBV2-P41-000/continuous-task-plan.json new file mode 100644 index 000000000..26d7e8f41 --- /dev/null +++ b/tests/golden/WBV2-P41-000/continuous-task-plan.json @@ -0,0 +1,144 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P41", + "status": "ACTIVE_CONTINUOUS_QUEUE", + "authority": "user_authorized_implementation_first_execution", + "executionPointer": "docs/EXECUTION_QUEUE.md", + "runtimePolicy": { + "blenderSource": "blender-5.2.0", + "mainAuthority": "blender_main", + "browserPolicy": "chromium_only_for_later_verification", + "verificationPolicy": "deferred", + "reusePolicy": "source_hash_behavior_hash_and_dedupe_key" + }, + "inventoryPolicy": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609, + "overlayMutation": "forbidden_during_implementation_wave" + }, + "tasks": [ + { + "id": "WBV2-P41-000", + "phase": "P41", + "title": "authorize_continuous_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P40-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P41-000.md", + "behavior": "Authorize the next continuous source implementation wave.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": true + }, + { + "id": "WBV2-P41-001", + "phase": "P41", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P41-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P41-001.md", + "behavior": "Refresh implementation hashes and source-build bindings.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "in_progress", + "ready": true, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P41-002", + "phase": "P41", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P41-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P41-002.md", + "behavior": "Rebuild the frontend release bundle from the current source-backed WASM.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "planned", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P41-003", + "phase": "P41", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P41-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P41-003.md", + "behavior": "Run compact handoff and build integrity smoke.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "planned", + "ready": false, + "queueMutationAllowed": false + } + ] +} diff --git a/tests/golden/WBV2-P41-000/manifest.json b/tests/golden/WBV2-P41-000/manifest.json new file mode 100644 index 000000000..e71327d12 --- /dev/null +++ b/tests/golden/WBV2-P41-000/manifest.json @@ -0,0 +1,38 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P41-000", + "parentTask": "WBV2-P40-003", + "operation": "AUTHORIZE_CONTINUOUS_IMPLEMENTATION_WAVE", + "status": "done", + "enablingTask": true, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P40-003/manifest.json", + "sha256": "b3cc2c676ea9559c2a8ffea66143cc1712da4ba0a32053ef129da7944a65a5b0" + }, + "plan": { + "path": "tests/golden/WBV2-P41-000/continuous-task-plan.json", + "sha256": "abc5368dc32caf336ca020fc536890cf38238c157daff44aa0bd7aa0ae08b37c" + }, + "report": { + "path": "tests/golden/WBV2-P41-000/continuous-root-report.json", + "sha256": "c0f29c3ae705abd13a078c4ca7e0a20bcbbd8dbd12ea280b9f8d02831a5a37b4" + }, + "status": { + "path": "docs/status/WBV2-P41-000.md", + "sha256": "2ca3c6c53fee830a9256bfb63ee93a51fa5886706b1623018e550e389cfa7b4b" + } + }, + "assertions": { + "plannedTasks": 5, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P41-001" +} diff --git a/tests/golden/WBV2-P41-000/task-context.json b/tests/golden/WBV2-P41-000/task-context.json index 74cfd4193..554e26dfc 100644 --- a/tests/golden/WBV2-P41-000/task-context.json +++ b/tests/golden/WBV2-P41-000/task-context.json @@ -60,7 +60,7 @@ "implementation smoke is reproducible", "verification remains deferred" ], - "nextTask": null, + "nextTask": "WBV2-P41-001", "sourceDocuments": { "queue": "docs/EXECUTION_QUEUE.md", "taskCard": "docs/tasks/WBV2-P41-000.md", @@ -156,7 +156,7 @@ "totalTokens": 1487, "reservedEnvelopeTokens": 1024, "estimatedContextTokens": 2511, - "serializedContextTokens": 598, + "serializedContextTokens": 601, "withinBudget": true } } diff --git a/tests/golden/WBV2-P41-001/continuous-task-plan.json b/tests/golden/WBV2-P41-001/continuous-task-plan.json new file mode 100644 index 000000000..3a7669005 --- /dev/null +++ b/tests/golden/WBV2-P41-001/continuous-task-plan.json @@ -0,0 +1,144 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P41", + "status": "ACTIVE_CONTINUOUS_QUEUE", + "authority": "user_authorized_implementation_first_execution", + "executionPointer": "docs/EXECUTION_QUEUE.md", + "runtimePolicy": { + "blenderSource": "blender-5.2.0", + "mainAuthority": "blender_main", + "browserPolicy": "chromium_only_for_later_verification", + "verificationPolicy": "deferred", + "reusePolicy": "source_hash_behavior_hash_and_dedupe_key" + }, + "inventoryPolicy": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609, + "overlayMutation": "forbidden_during_implementation_wave" + }, + "tasks": [ + { + "id": "WBV2-P41-000", + "phase": "P41", + "title": "authorize_continuous_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P40-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P41-000.md", + "behavior": "Authorize the next continuous source implementation wave.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": true + }, + { + "id": "WBV2-P41-001", + "phase": "P41", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P41-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P41-001.md", + "behavior": "Refresh implementation hashes and source-build bindings.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P41-002", + "phase": "P41", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P41-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P41-002.md", + "behavior": "Rebuild the frontend release bundle from the current source-backed WASM.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "in_progress", + "ready": true, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P41-003", + "phase": "P41", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P41-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P41-003.md", + "behavior": "Run compact handoff and build integrity smoke.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "planned", + "ready": false, + "queueMutationAllowed": false + } + ] +} diff --git a/tests/golden/WBV2-P41-001/implementation-report.json b/tests/golden/WBV2-P41-001/implementation-report.json new file mode 100644 index 000000000..52232cddf --- /dev/null +++ b/tests/golden/WBV2-P41-001/implementation-report.json @@ -0,0 +1,25 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P41-001", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "PASS", + "family": "RELEASE.INTEGRITY_REFRESH", + "command": "/home/mes123456/.nvm/versions/node/v24.19.0/bin/node tools/web/refresh-wbv2-implementation-hashes.mjs", + "sourcePaths": [ + "tools/web/refresh-wbv2-implementation-hashes.mjs" + ], + "verification": { + "status": "DEFERRED", + "chromium": false, + "receipts": false, + "completionOverlay": false + }, + "inventory": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609 + }, + "nextTask": "WBV2-P41-002" +} diff --git a/tests/golden/WBV2-P41-001/manifest.json b/tests/golden/WBV2-P41-001/manifest.json new file mode 100644 index 000000000..2e8371de7 --- /dev/null +++ b/tests/golden/WBV2-P41-001/manifest.json @@ -0,0 +1,48 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P41-001", + "parentTask": "WBV2-P41-000", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P41-000/manifest.json", + "sha256": "6a9a1c8940f320fcc8ad99642c84479946f086dc4e6b5d5b9b7740f4da96f242" + }, + "source1": { + "path": "tools/web/refresh-wbv2-implementation-hashes.mjs", + "sha256": "62b4c224466df7903f0b940c56a962a41b9011efc9b0b4c472c543a300a48a61" + }, + "report": { + "path": "tests/golden/WBV2-P41-001/implementation-report.json", + "sha256": "036f67f761786796deceeacbc5e3c1d383fde5309843e8ee73dd57177ddcd977" + }, + "status": { + "path": "docs/status/WBV2-P41-001.md", + "sha256": "387aa24860a351a9266b1f2228abba20a20e99e578a3f03199147f0db3d6190e" + }, + "plan": { + "path": "tests/golden/WBV2-P41-001/continuous-task-plan.json", + "sha256": "7122a51789b9773927689928e9773209829b3d96e322f3a8c71b1852d7e708f1" + }, + "taskContext": { + "path": "tests/golden/WBV2-P41-001/task-context.json", + "sha256": "f51534e870dbda3fb99627ca3a7908d9c9203e00ea0a2ea4d4bee427a5016d99" + } + }, + "assertions": { + "capabilityFamily": "RELEASE.INTEGRITY_REFRESH", + "sourceBacked": true, + "unsupportedFailsClosed": true, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P41-002" +} diff --git a/tests/golden/WBV2-P41-001/task-context.json b/tests/golden/WBV2-P41-001/task-context.json new file mode 100644 index 000000000..bac141087 --- /dev/null +++ b/tests/golden/WBV2-P41-001/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P41-001", + "parentTask": "WBV2-P41-000", + "status": "in_progress", + "goal": "Refresh implementation hashes and source-build bindings.", + "scope": { + "gap": "workflow:refresh_continuous_integrity", + "ownerFamily": "RELEASE", + "implementationClass": "SOURCE_BACKED" + }, + "commands": [ + "node tools/web/check-task-context.mjs --task WBV2-P41-001 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 4280, + "contextRemainingTokens": 1068 + }, + "source": { + "bytes": 5624, + "tokens": 1408 + }, + "selected": [], + "excluded": [ + { + "path": "web/protocol/web-engine.ts", + "bytes": 15951, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P41-001/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P41-001.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P41-001/manifest.json", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + } + ], + "totals": { + "files": 0, + "bytes": 0, + "tokens": 0 + } + }, + "exitCriteria": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "nextTask": "WBV2-P41-002", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P41-001.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P41-000/manifest.json", + "parentStatus": "docs/status/WBV2-P41-000.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P41-001.md", + "tests/golden/WBV2-P41-000/manifest.json", + "docs/status/WBV2-P41-000.md" + ], + "machineOnly": [ + "tests/golden/WBV2/task-index.json", + "tests/golden/M15-03A/task-catalog.jsonl" + ], + "optionalByNeed": [ + "docs/WEB_BLENDER_MODELER_V1_SCOPE.md", + "任务卡列出的精确协议/生产路径", + "任务卡明确命名的长期计划小节" + ], + "forbiddenByDefault": [ + "完整 CURRENT_EXECUTION_PLAN.md", + "完整 PROJECT_STATUS_AND_NEXT_WORK.md", + "全部 docs/status/*.md", + "完整 parity/WBS 计划", + "README 历史和 test-results/" + ] + }, + "parent": { + "manifest": { + "schemaVersion": 1, + "task": "WBV2-P41-000", + "parentTask": "WBV2-P40-003", + "status": "done", + "nextTask": "WBV2-P41-001", + "artifactCount": 4 + }, + "statusSummary": [ + "# WBV2-P41-000 status", + "- task: `WBV2-P41-000`; parent: `WBV2-P40-003`; status: `done`", + "- continuous implementation wave authorized", + "- verification receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P41-001`" + ] + }, + "budgets": { + "queueBytes": 4096, + "taskBytes": 1318, + "parentManifestBytes": 24576, + "parentStatusBytes": 6144, + "evidenceFiles": 12, + "evidenceBytes": 8192, + "contextTokens": 3500, + "contextEnvelopeTokens": 1024, + "taskLines": 38, + "taskTokens": 330 + }, + "size": { + "documents": [ + { + "path": "docs/EXECUTION_QUEUE.md", + "bytes": 2803, + "lines": 51, + "tokens": 701 + }, + { + "path": "docs/tasks/WBV2-P41-001.md", + "bytes": 1318, + "lines": 38, + "tokens": 330 + }, + { + "path": "tests/golden/WBV2-P41-000/manifest.json", + "bytes": 1230, + "lines": 39, + "tokens": 308 + }, + { + "path": "docs/status/WBV2-P41-000.md", + "bytes": 273, + "lines": 8, + "tokens": 69 + } + ], + "sourceTokens": 1408, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1408, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2432, + "serializedContextTokens": 602, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P41-002/continuous-task-plan.json b/tests/golden/WBV2-P41-002/continuous-task-plan.json new file mode 100644 index 000000000..74f8a0af4 --- /dev/null +++ b/tests/golden/WBV2-P41-002/continuous-task-plan.json @@ -0,0 +1,144 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P41", + "status": "ACTIVE_CONTINUOUS_QUEUE", + "authority": "user_authorized_implementation_first_execution", + "executionPointer": "docs/EXECUTION_QUEUE.md", + "runtimePolicy": { + "blenderSource": "blender-5.2.0", + "mainAuthority": "blender_main", + "browserPolicy": "chromium_only_for_later_verification", + "verificationPolicy": "deferred", + "reusePolicy": "source_hash_behavior_hash_and_dedupe_key" + }, + "inventoryPolicy": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609, + "overlayMutation": "forbidden_during_implementation_wave" + }, + "tasks": [ + { + "id": "WBV2-P41-000", + "phase": "P41", + "title": "authorize_continuous_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P40-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P41-000.md", + "behavior": "Authorize the next continuous source implementation wave.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": true + }, + { + "id": "WBV2-P41-001", + "phase": "P41", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P41-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P41-001.md", + "behavior": "Refresh implementation hashes and source-build bindings.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P41-002", + "phase": "P41", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P41-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P41-002.md", + "behavior": "Rebuild the frontend release bundle from the current source-backed WASM.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P41-003", + "phase": "P41", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P41-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P41-003.md", + "behavior": "Run compact handoff and build integrity smoke.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "in_progress", + "ready": true, + "queueMutationAllowed": false + } + ] +} diff --git a/tests/golden/WBV2-P41-002/implementation-report.json b/tests/golden/WBV2-P41-002/implementation-report.json new file mode 100644 index 000000000..df87cf2a8 --- /dev/null +++ b/tests/golden/WBV2-P41-002/implementation-report.json @@ -0,0 +1,26 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P41-002", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "PASS", + "family": "RELEASE.BUNDLE_BUILD", + "command": "npm --prefix web run build", + "sourcePaths": [ + "web/package.json", + "web/app/vite.config.ts" + ], + "verification": { + "status": "DEFERRED", + "chromium": false, + "receipts": false, + "completionOverlay": false + }, + "inventory": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609 + }, + "nextTask": "WBV2-P41-003" +} diff --git a/tests/golden/WBV2-P41-002/manifest.json b/tests/golden/WBV2-P41-002/manifest.json new file mode 100644 index 000000000..18c3c98c5 --- /dev/null +++ b/tests/golden/WBV2-P41-002/manifest.json @@ -0,0 +1,52 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P41-002", + "parentTask": "WBV2-P41-001", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P41-001/manifest.json", + "sha256": "e145023918684551c33a74c45debc39420d4ff3314806d5e4c8f451e595482d5" + }, + "source1": { + "path": "web/package.json", + "sha256": "40b7f14d4f568ae94bedde83e02115c127e0c714e5eb32a6a97b1e1084c4fa68" + }, + "source2": { + "path": "web/app/vite.config.ts", + "sha256": "22d78df08340dc0cd1767e912443d8bf796079e990c4818f821861b4bd445d62" + }, + "report": { + "path": "tests/golden/WBV2-P41-002/implementation-report.json", + "sha256": "0ff3550cd0bbc25b0b9115a420fd882a9bb9e7009df31b6b5480913f1792324e" + }, + "status": { + "path": "docs/status/WBV2-P41-002.md", + "sha256": "f50878f0a0b4d262dc80a00d432292df5e3d79aa39c8d6cdaf35f69c08247ff1" + }, + "plan": { + "path": "tests/golden/WBV2-P41-002/continuous-task-plan.json", + "sha256": "6828fe260eaf6e21458aee52e46e5c04cde58917449a2fd2b59018f3220f8e69" + }, + "taskContext": { + "path": "tests/golden/WBV2-P41-002/task-context.json", + "sha256": "f2fbcff9f7764bf140656be9e673e8439250730338cba34dd16907d6c3d749f6" + } + }, + "assertions": { + "capabilityFamily": "RELEASE.BUNDLE_BUILD", + "sourceBacked": true, + "unsupportedFailsClosed": true, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P41-003" +} diff --git a/tests/golden/WBV2-P41-002/task-context.json b/tests/golden/WBV2-P41-002/task-context.json new file mode 100644 index 000000000..f34c2d453 --- /dev/null +++ b/tests/golden/WBV2-P41-002/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P41-002", + "parentTask": "WBV2-P41-001", + "status": "planned", + "goal": "Rebuild the frontend release bundle from the current source-backed WASM.", + "scope": { + "gap": "workflow:rebuild_continuous_bundle", + "ownerFamily": "RELEASE", + "implementationClass": "SOURCE_BACKED" + }, + "commands": [ + "node tools/web/check-task-context.mjs --task WBV2-P41-002 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 3853, + "contextRemainingTokens": 962 + }, + "source": { + "bytes": 6051, + "tokens": 1514 + }, + "selected": [], + "excluded": [ + { + "path": "web/protocol/web-engine.ts", + "bytes": 15951, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P41-002/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P41-002.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P41-002/manifest.json", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + } + ], + "totals": { + "files": 0, + "bytes": 0, + "tokens": 0 + } + }, + "exitCriteria": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "nextTask": "WBV2-P41-003", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P41-002.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P41-001/manifest.json", + "parentStatus": "docs/status/WBV2-P41-001.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P41-002.md", + "tests/golden/WBV2-P41-001/manifest.json", + "docs/status/WBV2-P41-001.md" + ], + "machineOnly": [ + "tests/golden/WBV2/task-index.json", + "tests/golden/M15-03A/task-catalog.jsonl" + ], + "optionalByNeed": [ + "docs/WEB_BLENDER_MODELER_V1_SCOPE.md", + "任务卡列出的精确协议/生产路径", + "任务卡明确命名的长期计划小节" + ], + "forbiddenByDefault": [ + "完整 CURRENT_EXECUTION_PLAN.md", + "完整 PROJECT_STATUS_AND_NEXT_WORK.md", + "全部 docs/status/*.md", + "完整 parity/WBS 计划", + "README 历史和 test-results/" + ] + }, + "parent": { + "manifest": { + "schemaVersion": 1, + "task": "WBV2-P41-001", + "parentTask": "WBV2-P41-000", + "status": "done", + "nextTask": "WBV2-P41-002", + "artifactCount": 6 + }, + "statusSummary": [ + "# WBV2-P41-001 status", + "- task: `WBV2-P41-001`; parent: `WBV2-P41-000`; status: `done`", + "- continuous slice command exit: `0`", + "- Chromium receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P41-002`" + ] + }, + "budgets": { + "queueBytes": 4096, + "taskBytes": 1324, + "parentManifestBytes": 24576, + "parentStatusBytes": 6144, + "evidenceFiles": 12, + "evidenceBytes": 8192, + "contextTokens": 3500, + "contextEnvelopeTokens": 1024, + "taskLines": 38, + "taskTokens": 331 + }, + "size": { + "documents": [ + { + "path": "docs/EXECUTION_QUEUE.md", + "bytes": 2803, + "lines": 51, + "tokens": 701 + }, + { + "path": "docs/tasks/WBV2-P41-002.md", + "bytes": 1324, + "lines": 38, + "tokens": 331 + }, + { + "path": "tests/golden/WBV2-P41-001/manifest.json", + "bytes": 1662, + "lines": 49, + "tokens": 416 + }, + { + "path": "docs/status/WBV2-P41-001.md", + "bytes": 262, + "lines": 8, + "tokens": 66 + } + ], + "sourceTokens": 1514, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1514, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2538, + "serializedContextTokens": 604, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P41-003/continuous-task-plan.json b/tests/golden/WBV2-P41-003/continuous-task-plan.json new file mode 100644 index 000000000..23c5ff1e1 --- /dev/null +++ b/tests/golden/WBV2-P41-003/continuous-task-plan.json @@ -0,0 +1,174 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P41", + "status": "ACTIVE_CONTINUOUS_QUEUE", + "authority": "user_authorized_implementation_first_execution", + "executionPointer": "docs/EXECUTION_QUEUE.md", + "runtimePolicy": { + "blenderSource": "blender-5.2.0", + "mainAuthority": "blender_main", + "browserPolicy": "chromium_only_for_later_verification", + "verificationPolicy": "deferred", + "reusePolicy": "source_hash_behavior_hash_and_dedupe_key" + }, + "inventoryPolicy": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609, + "overlayMutation": "forbidden_during_implementation_wave" + }, + "tasks": [ + { + "id": "WBV2-P41-000", + "phase": "P41", + "title": "authorize_continuous_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P40-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P41-000.md", + "behavior": "Authorize the next continuous source implementation wave.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": true + }, + { + "id": "WBV2-P41-001", + "phase": "P41", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P41-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P41-001.md", + "behavior": "Refresh implementation hashes and source-build bindings.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P41-002", + "phase": "P41", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P41-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P41-002.md", + "behavior": "Rebuild the frontend release bundle from the current source-backed WASM.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P41-003", + "phase": "P41", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P41-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P41-003.md", + "behavior": "Run compact handoff and build integrity smoke.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P42-000", + "phase": "P42", + "title": "authorize_continuous_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P41-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p42-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P42-000.md", + "behavior": "Authorize the next source-backed implementation wave.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "status": "in_progress", + "ready": true, + "queueMutationAllowed": true + } + ] +} diff --git a/tests/golden/WBV2-P41-003/implementation-report.json b/tests/golden/WBV2-P41-003/implementation-report.json new file mode 100644 index 000000000..03e689358 --- /dev/null +++ b/tests/golden/WBV2-P41-003/implementation-report.json @@ -0,0 +1,26 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P41-003", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "PASS", + "family": "RELEASE.HANDOFF_SMOKE", + "command": "/home/mes123456/.nvm/versions/node/v24.19.0/bin/node tools/web/check-v2-handoff.mjs", + "sourcePaths": [ + "web/app/src/workers/web-engine.worker.ts", + "web/app/src/vendor/blender/web_engine.wasm" + ], + "verification": { + "status": "DEFERRED", + "chromium": false, + "receipts": false, + "completionOverlay": false + }, + "inventory": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609 + }, + "nextTask": "WBV2-P42-000" +} diff --git a/tests/golden/WBV2-P41-003/manifest.json b/tests/golden/WBV2-P41-003/manifest.json new file mode 100644 index 000000000..98bb1e638 --- /dev/null +++ b/tests/golden/WBV2-P41-003/manifest.json @@ -0,0 +1,52 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P41-003", + "parentTask": "WBV2-P41-002", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P41-002/manifest.json", + "sha256": "74fd307b6b519ec63e5e589d84a86c4d8544784611b86890bf73ad8294a29922" + }, + "source1": { + "path": "web/app/src/workers/web-engine.worker.ts", + "sha256": "c0379da8a400ca6f41e2f9670080cf1c9d4367f7c032f4bc0065323305d712e4" + }, + "source2": { + "path": "web/app/src/vendor/blender/web_engine.wasm", + "sha256": "8caca621490ee2cff5607c70bb91b8ca575cc560b649539f4542b53f8f6adf12" + }, + "report": { + "path": "tests/golden/WBV2-P41-003/implementation-report.json", + "sha256": "9e4279bdf1285831ffe079836a03d8d916c60bc4a1b55dc53781d517451f9490" + }, + "status": { + "path": "docs/status/WBV2-P41-003.md", + "sha256": "2e6a22228cc702d13a4b6b6ad4a020ba55c930911c7e2af789461a0e03a5cf53" + }, + "plan": { + "path": "tests/golden/WBV2-P41-003/continuous-task-plan.json", + "sha256": "580d2a6524f1451f4aac6e804d4a923049c4642ecaecdf3ac4fc3594c7145389" + }, + "taskContext": { + "path": "tests/golden/WBV2-P41-003/task-context.json", + "sha256": "7281122e30a8752761bca760858e1e4dff22a501a98a163916bde22ec675b156" + } + }, + "assertions": { + "capabilityFamily": "RELEASE.HANDOFF_SMOKE", + "sourceBacked": true, + "unsupportedFailsClosed": true, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P42-000" +} diff --git a/tests/golden/WBV2-P41-003/task-context.json b/tests/golden/WBV2-P41-003/task-context.json new file mode 100644 index 000000000..a54e2d577 --- /dev/null +++ b/tests/golden/WBV2-P41-003/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P41-003", + "parentTask": "WBV2-P41-002", + "status": "planned", + "goal": "Run compact handoff and build integrity smoke.", + "scope": { + "gap": "workflow:run_continuous_smoke", + "ownerFamily": "RELEASE", + "implementationClass": "SOURCE_BACKED" + }, + "commands": [ + "node tools/web/check-task-context.mjs --task WBV2-P41-003 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 3779, + "contextRemainingTokens": 944 + }, + "source": { + "bytes": 6125, + "tokens": 1532 + }, + "selected": [], + "excluded": [ + { + "path": "web/protocol/web-engine.ts", + "bytes": 15951, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P41-003/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P41-003.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P41-003/manifest.json", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + } + ], + "totals": { + "files": 0, + "bytes": 0, + "tokens": 0 + } + }, + "exitCriteria": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "nextTask": "WBV2-P42-000", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P41-003.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P41-002/manifest.json", + "parentStatus": "docs/status/WBV2-P41-002.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P41-003.md", + "tests/golden/WBV2-P41-002/manifest.json", + "docs/status/WBV2-P41-002.md" + ], + "machineOnly": [ + "tests/golden/WBV2/task-index.json", + "tests/golden/M15-03A/task-catalog.jsonl" + ], + "optionalByNeed": [ + "docs/WEB_BLENDER_MODELER_V1_SCOPE.md", + "任务卡列出的精确协议/生产路径", + "任务卡明确命名的长期计划小节" + ], + "forbiddenByDefault": [ + "完整 CURRENT_EXECUTION_PLAN.md", + "完整 PROJECT_STATUS_AND_NEXT_WORK.md", + "全部 docs/status/*.md", + "完整 parity/WBS 计划", + "README 历史和 test-results/" + ] + }, + "parent": { + "manifest": { + "schemaVersion": 1, + "task": "WBV2-P41-002", + "parentTask": "WBV2-P41-001", + "status": "done", + "nextTask": "WBV2-P41-003", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P41-002 status", + "- task: `WBV2-P41-002`; parent: `WBV2-P41-001`; status: `done`", + "- continuous slice command exit: `0`", + "- Chromium receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P41-003`" + ] + }, + "budgets": { + "queueBytes": 4096, + "taskBytes": 1288, + "parentManifestBytes": 24576, + "parentStatusBytes": 6144, + "evidenceFiles": 12, + "evidenceBytes": 8192, + "contextTokens": 3500, + "contextEnvelopeTokens": 1024, + "taskLines": 38, + "taskTokens": 322 + }, + "size": { + "documents": [ + { + "path": "docs/EXECUTION_QUEUE.md", + "bytes": 2803, + "lines": 51, + "tokens": 701 + }, + { + "path": "docs/tasks/WBV2-P41-003.md", + "bytes": 1288, + "lines": 38, + "tokens": 322 + }, + { + "path": "tests/golden/WBV2-P41-002/manifest.json", + "bytes": 1772, + "lines": 53, + "tokens": 443 + }, + { + "path": "docs/status/WBV2-P41-002.md", + "bytes": 262, + "lines": 8, + "tokens": 66 + } + ], + "sourceTokens": 1532, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1532, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2556, + "serializedContextTokens": 597, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P42-000/task-context.json b/tests/golden/WBV2-P42-000/task-context.json new file mode 100644 index 000000000..f8ae1440e --- /dev/null +++ b/tests/golden/WBV2-P42-000/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P42-000", + "parentTask": "WBV2-P41-003", + "status": "in_progress", + "goal": "Authorize the next source-backed implementation wave.", + "scope": { + "gap": "workflow:authorize_continuous_wave", + "ownerFamily": "PROGRAM", + "implementationClass": "SOURCE_BACKED" + }, + "commands": [ + "node tools/web/check-task-context.mjs --task WBV2-P42-000 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 3964, + "contextRemainingTokens": 989 + }, + "source": { + "bytes": 5940, + "tokens": 1487 + }, + "selected": [], + "excluded": [ + { + "path": "web/protocol/web-engine.ts", + "bytes": 15951, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P42-000/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P42-000.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P42-000/manifest.json", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + } + ], + "totals": { + "files": 0, + "bytes": 0, + "tokens": 0 + } + }, + "exitCriteria": [ + "real source or WebEngine Main path is wired", + "unsupported input fails closed", + "implementation smoke is reproducible", + "verification remains deferred" + ], + "nextTask": null, + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P42-000.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P41-003/manifest.json", + "parentStatus": "docs/status/WBV2-P41-003.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P42-000.md", + "tests/golden/WBV2-P41-003/manifest.json", + "docs/status/WBV2-P41-003.md" + ], + "machineOnly": [ + "tests/golden/WBV2/task-index.json", + "tests/golden/M15-03A/task-catalog.jsonl" + ], + "optionalByNeed": [ + "docs/WEB_BLENDER_MODELER_V1_SCOPE.md", + "任务卡列出的精确协议/生产路径", + "任务卡明确命名的长期计划小节" + ], + "forbiddenByDefault": [ + "完整 CURRENT_EXECUTION_PLAN.md", + "完整 PROJECT_STATUS_AND_NEXT_WORK.md", + "全部 docs/status/*.md", + "完整 parity/WBS 计划", + "README 历史和 test-results/" + ] + }, + "parent": { + "manifest": { + "schemaVersion": 1, + "task": "WBV2-P41-003", + "parentTask": "WBV2-P41-002", + "status": "done", + "nextTask": "WBV2-P42-000", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P41-003 status", + "- task: `WBV2-P41-003`; parent: `WBV2-P41-002`; status: `done`", + "- continuous slice command exit: `0`", + "- Chromium receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P42-000`" + ] + }, + "budgets": { + "queueBytes": 4096, + "taskBytes": 1058, + "parentManifestBytes": 24576, + "parentStatusBytes": 6144, + "evidenceFiles": 12, + "evidenceBytes": 8192, + "contextTokens": 3500, + "contextEnvelopeTokens": 1024, + "taskLines": 37, + "taskTokens": 265 + }, + "size": { + "documents": [ + { + "path": "docs/EXECUTION_QUEUE.md", + "bytes": 2803, + "lines": 51, + "tokens": 701 + }, + { + "path": "docs/tasks/WBV2-P42-000.md", + "bytes": 1058, + "lines": 37, + "tokens": 265 + }, + { + "path": "tests/golden/WBV2-P41-003/manifest.json", + "bytes": 1817, + "lines": 53, + "tokens": 455 + }, + { + "path": "docs/status/WBV2-P41-003.md", + "bytes": 262, + "lines": 8, + "tokens": 66 + } + ], + "sourceTokens": 1487, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1487, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2511, + "serializedContextTokens": 598, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2/task-catalog.jsonl b/tests/golden/WBV2/task-catalog.jsonl index a3a1ffa30..87d6b89cc 100644 --- a/tests/golden/WBV2/task-catalog.jsonl +++ b/tests/golden/WBV2/task-catalog.jsonl @@ -1,5 +1,5 @@ -{"id":"WBV2-P40-000","gapId":"workflow:authorize_continuous_wave","ownerFamily":"PROGRAM","sourceTask":"P40","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} -{"id":"WBV2-P40-001","gapId":"workflow:refresh_continuous_integrity","ownerFamily":"RELEASE","sourceTask":"P40","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} -{"id":"WBV2-P40-002","gapId":"workflow:rebuild_continuous_bundle","ownerFamily":"RELEASE","sourceTask":"P40","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} -{"id":"WBV2-P40-003","gapId":"workflow:run_continuous_smoke","ownerFamily":"RELEASE","sourceTask":"P40","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} -{"id":"WBV2-P41-000","gapId":"workflow:authorize_continuous_wave","ownerFamily":"PROGRAM","sourceTask":"P41","state":"active","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} +{"id":"WBV2-P41-000","gapId":"workflow:authorize_continuous_wave","ownerFamily":"PROGRAM","sourceTask":"P41","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} +{"id":"WBV2-P41-001","gapId":"workflow:refresh_continuous_integrity","ownerFamily":"RELEASE","sourceTask":"P41","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} +{"id":"WBV2-P41-002","gapId":"workflow:rebuild_continuous_bundle","ownerFamily":"RELEASE","sourceTask":"P41","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} +{"id":"WBV2-P41-003","gapId":"workflow:run_continuous_smoke","ownerFamily":"RELEASE","sourceTask":"P41","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} +{"id":"WBV2-P42-000","gapId":"workflow:authorize_continuous_wave","ownerFamily":"PROGRAM","sourceTask":"P42","state":"active","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} diff --git a/tests/golden/WBV2/task-index.json b/tests/golden/WBV2/task-index.json index 3fec79288..a36def3bd 100644 --- a/tests/golden/WBV2/task-index.json +++ b/tests/golden/WBV2/task-index.json @@ -1 +1 @@ -{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P40-003/continuous-task-plan.json","sha256":"9ef94b28350931c079e9aff7bc580884e42341e3fc306e8c11cb66ffa4e57a61"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"e67e2a09f45ceeca6f98ac59ce893cacbb962404a2a0458752d4aaa0abf7a52d"},"taskCount":5,"activeTask":"WBV2-P41-000","entries":{"WBV2-P40-000":{"line":0,"offset":0,"length":341,"previous":"WBV2-P39-003","next":"WBV2-P40-001"},"WBV2-P40-001":{"line":1,"offset":341,"length":344,"previous":"WBV2-P40-000","next":"WBV2-P40-002"},"WBV2-P40-002":{"line":2,"offset":685,"length":341,"previous":"WBV2-P40-001","next":"WBV2-P40-003"},"WBV2-P40-003":{"line":3,"offset":1026,"length":336,"previous":"WBV2-P40-002","next":"WBV2-P41-000"},"WBV2-P41-000":{"line":4,"offset":1362,"length":338,"previous":"WBV2-P40-003","next":null}}} +{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P41-003/continuous-task-plan.json","sha256":"580d2a6524f1451f4aac6e804d4a923049c4642ecaecdf3ac4fc3594c7145389"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"f4e042fa1e51144d0280aa5345b08ccf9336f4fd1a6a1e8c5c0e3ace35566c27"},"taskCount":5,"activeTask":"WBV2-P42-000","entries":{"WBV2-P41-000":{"line":0,"offset":0,"length":341,"previous":"WBV2-P40-003","next":"WBV2-P41-001"},"WBV2-P41-001":{"line":1,"offset":341,"length":344,"previous":"WBV2-P41-000","next":"WBV2-P41-002"},"WBV2-P41-002":{"line":2,"offset":685,"length":341,"previous":"WBV2-P41-001","next":"WBV2-P41-003"},"WBV2-P41-003":{"line":3,"offset":1026,"length":336,"previous":"WBV2-P41-002","next":"WBV2-P42-000"},"WBV2-P42-000":{"line":4,"offset":1362,"length":338,"previous":"WBV2-P41-003","next":null}}}