From 265ae73652b14141826f72ec3956fb299b3bd07c Mon Sep 17 00:00:00 2001 From: mes123456 Date: Sat, 29 Aug 2026 08:05:50 +0800 Subject: [PATCH] chore(web): checkpoint continuous P39 execution --- docs/EXECUTION_QUEUE.md | 6 +- docs/status/WBV2-P39-000.md | 7 + docs/status/WBV2-P39-001.md | 7 + docs/status/WBV2-P39-002.md | 7 + docs/status/WBV2-P39-003.md | 7 + docs/tasks/WBV2-P39-001.md | 37 ++++ docs/tasks/WBV2-P39-002.md | 37 ++++ docs/tasks/WBV2-P39-003.md | 37 ++++ docs/tasks/WBV2-P40-000.md | 36 ++++ nextTask.md | 6 +- .../WBV2-P39-000/continuous-root-report.json | 33 ++++ .../WBV2-P39-000/continuous-task-plan.json | 144 +++++++++++++++ tests/golden/WBV2-P39-000/manifest.json | 38 ++++ tests/golden/WBV2-P39-000/task-context.json | 4 +- .../WBV2-P39-001/continuous-task-plan.json | 144 +++++++++++++++ .../WBV2-P39-001/implementation-report.json | 25 +++ tests/golden/WBV2-P39-001/manifest.json | 48 +++++ tests/golden/WBV2-P39-001/task-context.json | 162 ++++++++++++++++ .../WBV2-P39-002/continuous-task-plan.json | 144 +++++++++++++++ .../WBV2-P39-002/implementation-report.json | 26 +++ tests/golden/WBV2-P39-002/manifest.json | 52 ++++++ tests/golden/WBV2-P39-002/task-context.json | 162 ++++++++++++++++ .../WBV2-P39-003/continuous-task-plan.json | 174 ++++++++++++++++++ .../WBV2-P39-003/implementation-report.json | 26 +++ tests/golden/WBV2-P39-003/manifest.json | 52 ++++++ tests/golden/WBV2-P39-003/task-context.json | 162 ++++++++++++++++ tests/golden/WBV2-P40-000/task-context.json | 162 ++++++++++++++++ tests/golden/WBV2/task-catalog.jsonl | 10 +- tests/golden/WBV2/task-index.json | 2 +- 29 files changed, 1743 insertions(+), 14 deletions(-) create mode 100644 docs/status/WBV2-P39-000.md create mode 100644 docs/status/WBV2-P39-001.md create mode 100644 docs/status/WBV2-P39-002.md create mode 100644 docs/status/WBV2-P39-003.md create mode 100644 docs/tasks/WBV2-P39-001.md create mode 100644 docs/tasks/WBV2-P39-002.md create mode 100644 docs/tasks/WBV2-P39-003.md create mode 100644 docs/tasks/WBV2-P40-000.md create mode 100644 tests/golden/WBV2-P39-000/continuous-root-report.json create mode 100644 tests/golden/WBV2-P39-000/continuous-task-plan.json create mode 100644 tests/golden/WBV2-P39-000/manifest.json create mode 100644 tests/golden/WBV2-P39-001/continuous-task-plan.json create mode 100644 tests/golden/WBV2-P39-001/implementation-report.json create mode 100644 tests/golden/WBV2-P39-001/manifest.json create mode 100644 tests/golden/WBV2-P39-001/task-context.json create mode 100644 tests/golden/WBV2-P39-002/continuous-task-plan.json create mode 100644 tests/golden/WBV2-P39-002/implementation-report.json create mode 100644 tests/golden/WBV2-P39-002/manifest.json create mode 100644 tests/golden/WBV2-P39-002/task-context.json create mode 100644 tests/golden/WBV2-P39-003/continuous-task-plan.json create mode 100644 tests/golden/WBV2-P39-003/implementation-report.json create mode 100644 tests/golden/WBV2-P39-003/manifest.json create mode 100644 tests/golden/WBV2-P39-003/task-context.json create mode 100644 tests/golden/WBV2-P40-000/task-context.json diff --git a/docs/EXECUTION_QUEUE.md b/docs/EXECUTION_QUEUE.md index a4d501770..1197da634 100644 --- a/docs/EXECUTION_QUEUE.md +++ b/docs/EXECUTION_QUEUE.md @@ -13,9 +13,9 @@ | 字段 | 值 | | --- | --- | | 里程碑 | WBV2 capability workflow | -| 当前任务 | `WBV2-P39-000` | -| parent manifest | `tests/golden/WBV2-P38-003/manifest.json` | -| 任务卡 | [`tasks/WBV2-P39-000.md`](tasks/WBV2-P39-000.md) | +| 当前任务 | `WBV2-P40-000` | +| parent manifest | `tests/golden/WBV2-P39-003/manifest.json` | +| 任务卡 | [`tasks/WBV2-P40-000.md`](tasks/WBV2-P40-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-P39-000.md b/docs/status/WBV2-P39-000.md new file mode 100644 index 000000000..4f715f0d5 --- /dev/null +++ b/docs/status/WBV2-P39-000.md @@ -0,0 +1,7 @@ +# WBV2-P39-000 status + +- task: `WBV2-P39-000`; parent: `WBV2-P38-003`; status: `done` +- continuous implementation wave authorized +- verification receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P39-001` diff --git a/docs/status/WBV2-P39-001.md b/docs/status/WBV2-P39-001.md new file mode 100644 index 000000000..9c0644c1a --- /dev/null +++ b/docs/status/WBV2-P39-001.md @@ -0,0 +1,7 @@ +# WBV2-P39-001 status + +- task: `WBV2-P39-001`; parent: `WBV2-P39-000`; status: `done` +- continuous slice command exit: `0` +- Chromium receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P39-002` diff --git a/docs/status/WBV2-P39-002.md b/docs/status/WBV2-P39-002.md new file mode 100644 index 000000000..4fedd4644 --- /dev/null +++ b/docs/status/WBV2-P39-002.md @@ -0,0 +1,7 @@ +# WBV2-P39-002 status + +- task: `WBV2-P39-002`; parent: `WBV2-P39-001`; status: `done` +- continuous slice command exit: `0` +- Chromium receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P39-003` diff --git a/docs/status/WBV2-P39-003.md b/docs/status/WBV2-P39-003.md new file mode 100644 index 000000000..536e6cd0b --- /dev/null +++ b/docs/status/WBV2-P39-003.md @@ -0,0 +1,7 @@ +# WBV2-P39-003 status + +- task: `WBV2-P39-003`; parent: `WBV2-P39-002`; status: `done` +- continuous slice command exit: `0` +- Chromium receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P40-000` diff --git a/docs/tasks/WBV2-P39-001.md b/docs/tasks/WBV2-P39-001.md new file mode 100644 index 000000000..d85c65d86 --- /dev/null +++ b/docs/tasks/WBV2-P39-001.md @@ -0,0 +1,37 @@ +# WBV2-P39-001: refresh_continuous_integrity + +- task: WBV2-P39-001 +- parent: WBV2-P39-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-P39-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-P39-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-P39-001/` +- Status: `docs/status/WBV2-P39-001.md` +- Manifest: `tests/golden/WBV2-P39-001/manifest.json` +- Rollback: restore WBV2-P39-000 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P39-002.md b/docs/tasks/WBV2-P39-002.md new file mode 100644 index 000000000..8ed861747 --- /dev/null +++ b/docs/tasks/WBV2-P39-002.md @@ -0,0 +1,37 @@ +# WBV2-P39-002: rebuild_continuous_bundle + +- task: WBV2-P39-002 +- parent: WBV2-P39-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-P39-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-P39-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-P39-002/` +- Status: `docs/status/WBV2-P39-002.md` +- Manifest: `tests/golden/WBV2-P39-002/manifest.json` +- Rollback: restore WBV2-P39-001 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P39-003.md b/docs/tasks/WBV2-P39-003.md new file mode 100644 index 000000000..1ddb3362f --- /dev/null +++ b/docs/tasks/WBV2-P39-003.md @@ -0,0 +1,37 @@ +# WBV2-P39-003: run_continuous_smoke + +- task: WBV2-P39-003 +- parent: WBV2-P39-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-P39-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-P39-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-P39-003/` +- Status: `docs/status/WBV2-P39-003.md` +- Manifest: `tests/golden/WBV2-P39-003/manifest.json` +- Rollback: restore WBV2-P39-002 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P40-000.md b/docs/tasks/WBV2-P40-000.md new file mode 100644 index 000000000..8e2f5e31d --- /dev/null +++ b/docs/tasks/WBV2-P40-000.md @@ -0,0 +1,36 @@ +# WBV2-P40-000: authorize_continuous_wave + +- task: WBV2-P40-000 +- parent: WBV2-P39-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-P40-000 --write` + +## 失败边界 + +- malformed, unsupported and hash-drift inputs fail closed +- implementation evidence never changes historical provenance + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P40-000/` +- Status: `docs/status/WBV2-P40-000.md` +- Manifest: `tests/golden/WBV2-P40-000/manifest.json` +- Rollback: restore WBV2-P39-003 as queue parent and leave the wave in_progress. diff --git a/nextTask.md b/nextTask.md index 69b90c960..a792ec90c 100644 --- a/nextTask.md +++ b/nextTask.md @@ -242,10 +242,10 @@ Recorded: 2026-08-29 Asia/Shanghai | Field | Value | | --- | --- | -| Current task when this file was written | `WBV2-P39-000` | +| Current task when this file was written | `WBV2-P40-000` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2-P38-003/manifest.json` | -| Current task card | `docs/tasks/WBV2-P39-000.md` | +| Parent manifest | `tests/golden/WBV2-P39-003/manifest.json` | +| Current task card | `docs/tasks/WBV2-P40-000.md` | | Current task-context nextTask | `NONE` | | Focused command | `node tools/web/generate-wbv2-continuous-root.mjs` | diff --git a/tests/golden/WBV2-P39-000/continuous-root-report.json b/tests/golden/WBV2-P39-000/continuous-root-report.json new file mode 100644 index 000000000..6ed4403eb --- /dev/null +++ b/tests/golden/WBV2-P39-000/continuous-root-report.json @@ -0,0 +1,33 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P39-000", + "operation": "AUTHORIZE_CONTINUOUS_IMPLEMENTATION_WAVE", + "status": "PASS", + "parent": { + "task": "WBV2-P38-003", + "manifest": "tests/golden/WBV2-P38-003/manifest.json", + "manifestSha256": "0a5393e8b94e4c179b93b6d709c59d58547be2a59ceb25b98873202a6058541c" + }, + "scope": { + "firstTask": "WBV2-P39-001", + "plannedTasks": [ + "WBV2-P39-000", + "WBV2-P39-001", + "WBV2-P39-002", + "WBV2-P39-003" + ] + }, + "verification": { + "status": "DEFERRED", + "chromium": false, + "completionOverlay": false + }, + "inventory": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609 + }, + "nextTask": "WBV2-P39-001" +} diff --git a/tests/golden/WBV2-P39-000/continuous-task-plan.json b/tests/golden/WBV2-P39-000/continuous-task-plan.json new file mode 100644 index 000000000..6a0a4c200 --- /dev/null +++ b/tests/golden/WBV2-P39-000/continuous-task-plan.json @@ -0,0 +1,144 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P39", + "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-P39-000", + "phase": "P39", + "title": "authorize_continuous_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P38-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P39-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-P39-001", + "phase": "P39", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P39-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P39-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-P39-002", + "phase": "P39", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P39-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P39-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-P39-003", + "phase": "P39", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P39-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P39-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-P39-000/manifest.json b/tests/golden/WBV2-P39-000/manifest.json new file mode 100644 index 000000000..32bd2bdf9 --- /dev/null +++ b/tests/golden/WBV2-P39-000/manifest.json @@ -0,0 +1,38 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P39-000", + "parentTask": "WBV2-P38-003", + "operation": "AUTHORIZE_CONTINUOUS_IMPLEMENTATION_WAVE", + "status": "done", + "enablingTask": true, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P38-003/manifest.json", + "sha256": "0a5393e8b94e4c179b93b6d709c59d58547be2a59ceb25b98873202a6058541c" + }, + "plan": { + "path": "tests/golden/WBV2-P39-000/continuous-task-plan.json", + "sha256": "e7973df813d55231f2fecb34f78a1c5198ec6fefa46e41e3cb06a00a82760ddc" + }, + "report": { + "path": "tests/golden/WBV2-P39-000/continuous-root-report.json", + "sha256": "e8547ab7c7c3b82ebd008b93f805a28c6fbb76d731565efff5e365cf9159a0ab" + }, + "status": { + "path": "docs/status/WBV2-P39-000.md", + "sha256": "3bbee15d78f8884d30c4a19b243b05de0c94d1651ccbefe84ed022e04d37399a" + } + }, + "assertions": { + "plannedTasks": 5, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P39-001" +} diff --git a/tests/golden/WBV2-P39-000/task-context.json b/tests/golden/WBV2-P39-000/task-context.json index 1c079dd5d..150117604 100644 --- a/tests/golden/WBV2-P39-000/task-context.json +++ b/tests/golden/WBV2-P39-000/task-context.json @@ -60,7 +60,7 @@ "implementation smoke is reproducible", "verification remains deferred" ], - "nextTask": null, + "nextTask": "WBV2-P39-001", "sourceDocuments": { "queue": "docs/EXECUTION_QUEUE.md", "taskCard": "docs/tasks/WBV2-P39-000.md", @@ -156,7 +156,7 @@ "totalTokens": 1487, "reservedEnvelopeTokens": 1024, "estimatedContextTokens": 2511, - "serializedContextTokens": 598, + "serializedContextTokens": 601, "withinBudget": true } } diff --git a/tests/golden/WBV2-P39-001/continuous-task-plan.json b/tests/golden/WBV2-P39-001/continuous-task-plan.json new file mode 100644 index 000000000..510b1d22f --- /dev/null +++ b/tests/golden/WBV2-P39-001/continuous-task-plan.json @@ -0,0 +1,144 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P39", + "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-P39-000", + "phase": "P39", + "title": "authorize_continuous_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P38-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P39-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-P39-001", + "phase": "P39", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P39-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P39-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-P39-002", + "phase": "P39", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P39-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P39-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-P39-003", + "phase": "P39", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P39-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P39-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-P39-001/implementation-report.json b/tests/golden/WBV2-P39-001/implementation-report.json new file mode 100644 index 000000000..3bb4b5c00 --- /dev/null +++ b/tests/golden/WBV2-P39-001/implementation-report.json @@ -0,0 +1,25 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P39-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-P39-002" +} diff --git a/tests/golden/WBV2-P39-001/manifest.json b/tests/golden/WBV2-P39-001/manifest.json new file mode 100644 index 000000000..8539ebb7c --- /dev/null +++ b/tests/golden/WBV2-P39-001/manifest.json @@ -0,0 +1,48 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P39-001", + "parentTask": "WBV2-P39-000", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P39-000/manifest.json", + "sha256": "1de5ec1aa025b4c3546928c8e9342273c3107b1621189f81e29643ec27d5737f" + }, + "source1": { + "path": "tools/web/refresh-wbv2-implementation-hashes.mjs", + "sha256": "62b4c224466df7903f0b940c56a962a41b9011efc9b0b4c472c543a300a48a61" + }, + "report": { + "path": "tests/golden/WBV2-P39-001/implementation-report.json", + "sha256": "ea76dca6f0f8b1207851f01737761c28f0c3d0d2c9d4687c0d520d6c9508c8c2" + }, + "status": { + "path": "docs/status/WBV2-P39-001.md", + "sha256": "381fe36fa1f609c01500a7f2d3f0578280c00cd55a4c527f73fcb86c8f536c40" + }, + "plan": { + "path": "tests/golden/WBV2-P39-001/continuous-task-plan.json", + "sha256": "c6183a2599eea2f60ec2357d759b3cf698a7e6464f8d8d7c92bad2e28485d018" + }, + "taskContext": { + "path": "tests/golden/WBV2-P39-001/task-context.json", + "sha256": "412c02d50489f6916bbd1743ba7619cb29064db1dccf41410f7c2885520f2e7b" + } + }, + "assertions": { + "capabilityFamily": "RELEASE.INTEGRITY_REFRESH", + "sourceBacked": true, + "unsupportedFailsClosed": true, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P39-002" +} diff --git a/tests/golden/WBV2-P39-001/task-context.json b/tests/golden/WBV2-P39-001/task-context.json new file mode 100644 index 000000000..3c5c25c6b --- /dev/null +++ b/tests/golden/WBV2-P39-001/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P39-001", + "parentTask": "WBV2-P39-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-P39-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-P39-001/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P39-001.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P39-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-P39-002", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P39-001.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P39-000/manifest.json", + "parentStatus": "docs/status/WBV2-P39-000.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P39-001.md", + "tests/golden/WBV2-P39-000/manifest.json", + "docs/status/WBV2-P39-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-P39-000", + "parentTask": "WBV2-P38-003", + "status": "done", + "nextTask": "WBV2-P39-001", + "artifactCount": 4 + }, + "statusSummary": [ + "# WBV2-P39-000 status", + "- task: `WBV2-P39-000`; parent: `WBV2-P38-003`; status: `done`", + "- continuous implementation wave authorized", + "- verification receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P39-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-P39-001.md", + "bytes": 1318, + "lines": 38, + "tokens": 330 + }, + { + "path": "tests/golden/WBV2-P39-000/manifest.json", + "bytes": 1230, + "lines": 39, + "tokens": 308 + }, + { + "path": "docs/status/WBV2-P39-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-P39-002/continuous-task-plan.json b/tests/golden/WBV2-P39-002/continuous-task-plan.json new file mode 100644 index 000000000..2437f4783 --- /dev/null +++ b/tests/golden/WBV2-P39-002/continuous-task-plan.json @@ -0,0 +1,144 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P39", + "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-P39-000", + "phase": "P39", + "title": "authorize_continuous_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P38-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P39-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-P39-001", + "phase": "P39", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P39-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P39-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-P39-002", + "phase": "P39", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P39-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P39-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-P39-003", + "phase": "P39", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P39-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P39-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-P39-002/implementation-report.json b/tests/golden/WBV2-P39-002/implementation-report.json new file mode 100644 index 000000000..88c6447d2 --- /dev/null +++ b/tests/golden/WBV2-P39-002/implementation-report.json @@ -0,0 +1,26 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P39-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-P39-003" +} diff --git a/tests/golden/WBV2-P39-002/manifest.json b/tests/golden/WBV2-P39-002/manifest.json new file mode 100644 index 000000000..10ff7dfbb --- /dev/null +++ b/tests/golden/WBV2-P39-002/manifest.json @@ -0,0 +1,52 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P39-002", + "parentTask": "WBV2-P39-001", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P39-001/manifest.json", + "sha256": "1b4080c3f1f4793a1dd1d6ed19d741ad510128a8a4a176cc10c2a093ab753e63" + }, + "source1": { + "path": "web/package.json", + "sha256": "40b7f14d4f568ae94bedde83e02115c127e0c714e5eb32a6a97b1e1084c4fa68" + }, + "source2": { + "path": "web/app/vite.config.ts", + "sha256": "22d78df08340dc0cd1767e912443d8bf796079e990c4818f821861b4bd445d62" + }, + "report": { + "path": "tests/golden/WBV2-P39-002/implementation-report.json", + "sha256": "fe14fb25aac2fb9f576f4054f9bd5fc07b7b1adec4b8cd907d19a97384447d36" + }, + "status": { + "path": "docs/status/WBV2-P39-002.md", + "sha256": "2ba95b066cea28c0ca0de48d21a308b157c200257d46e1b66f0372749b71ba6d" + }, + "plan": { + "path": "tests/golden/WBV2-P39-002/continuous-task-plan.json", + "sha256": "a86cbb2a617d79b4cc85e5a55c6f47eabff3a8d60b6e4924c1abb0a1c202ad25" + }, + "taskContext": { + "path": "tests/golden/WBV2-P39-002/task-context.json", + "sha256": "e032ed3cd01d283696e317443e3936f54d0864d37c2dd9145d276491de99d74c" + } + }, + "assertions": { + "capabilityFamily": "RELEASE.BUNDLE_BUILD", + "sourceBacked": true, + "unsupportedFailsClosed": true, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P39-003" +} diff --git a/tests/golden/WBV2-P39-002/task-context.json b/tests/golden/WBV2-P39-002/task-context.json new file mode 100644 index 000000000..d8496158a --- /dev/null +++ b/tests/golden/WBV2-P39-002/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P39-002", + "parentTask": "WBV2-P39-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-P39-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-P39-002/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P39-002.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P39-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-P39-003", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P39-002.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P39-001/manifest.json", + "parentStatus": "docs/status/WBV2-P39-001.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P39-002.md", + "tests/golden/WBV2-P39-001/manifest.json", + "docs/status/WBV2-P39-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-P39-001", + "parentTask": "WBV2-P39-000", + "status": "done", + "nextTask": "WBV2-P39-002", + "artifactCount": 6 + }, + "statusSummary": [ + "# WBV2-P39-001 status", + "- task: `WBV2-P39-001`; parent: `WBV2-P39-000`; status: `done`", + "- continuous slice command exit: `0`", + "- Chromium receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P39-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-P39-002.md", + "bytes": 1324, + "lines": 38, + "tokens": 331 + }, + { + "path": "tests/golden/WBV2-P39-001/manifest.json", + "bytes": 1662, + "lines": 49, + "tokens": 416 + }, + { + "path": "docs/status/WBV2-P39-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-P39-003/continuous-task-plan.json b/tests/golden/WBV2-P39-003/continuous-task-plan.json new file mode 100644 index 000000000..c284eb6d8 --- /dev/null +++ b/tests/golden/WBV2-P39-003/continuous-task-plan.json @@ -0,0 +1,174 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P39", + "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-P39-000", + "phase": "P39", + "title": "authorize_continuous_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P38-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P39-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-P39-001", + "phase": "P39", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P39-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P39-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-P39-002", + "phase": "P39", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P39-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P39-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-P39-003", + "phase": "P39", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P39-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p39-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P39-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-P40-000", + "phase": "P40", + "title": "authorize_continuous_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P39-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p40-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P40-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-P39-003/implementation-report.json b/tests/golden/WBV2-P39-003/implementation-report.json new file mode 100644 index 000000000..6548150a5 --- /dev/null +++ b/tests/golden/WBV2-P39-003/implementation-report.json @@ -0,0 +1,26 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P39-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-P40-000" +} diff --git a/tests/golden/WBV2-P39-003/manifest.json b/tests/golden/WBV2-P39-003/manifest.json new file mode 100644 index 000000000..f21879c36 --- /dev/null +++ b/tests/golden/WBV2-P39-003/manifest.json @@ -0,0 +1,52 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P39-003", + "parentTask": "WBV2-P39-002", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P39-002/manifest.json", + "sha256": "df02f3ee70ecfcd866b8d6f18c6a113639a3c029b7b42be622efc6e332d06769" + }, + "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-P39-003/implementation-report.json", + "sha256": "484ea1a5df2b48ff2e68dc456eeadef8b37b8aa1e1d48f938da9f89f8e594c17" + }, + "status": { + "path": "docs/status/WBV2-P39-003.md", + "sha256": "cb166187dc1b967f7dfcce23d381cbd9690a710a7a96b4227f05f2b97b021100" + }, + "plan": { + "path": "tests/golden/WBV2-P39-003/continuous-task-plan.json", + "sha256": "44453fdaf00da55b5d2213de099a510951bd9cf4e567d875275c643cdfd7051b" + }, + "taskContext": { + "path": "tests/golden/WBV2-P39-003/task-context.json", + "sha256": "12714bb08093477a8fad27dc77d7096c88b16b43e28f4a7fc807b63260472608" + } + }, + "assertions": { + "capabilityFamily": "RELEASE.HANDOFF_SMOKE", + "sourceBacked": true, + "unsupportedFailsClosed": true, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P40-000" +} diff --git a/tests/golden/WBV2-P39-003/task-context.json b/tests/golden/WBV2-P39-003/task-context.json new file mode 100644 index 000000000..d7fdc3568 --- /dev/null +++ b/tests/golden/WBV2-P39-003/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P39-003", + "parentTask": "WBV2-P39-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-P39-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-P39-003/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P39-003.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P39-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-P40-000", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P39-003.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P39-002/manifest.json", + "parentStatus": "docs/status/WBV2-P39-002.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P39-003.md", + "tests/golden/WBV2-P39-002/manifest.json", + "docs/status/WBV2-P39-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-P39-002", + "parentTask": "WBV2-P39-001", + "status": "done", + "nextTask": "WBV2-P39-003", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P39-002 status", + "- task: `WBV2-P39-002`; parent: `WBV2-P39-001`; status: `done`", + "- continuous slice command exit: `0`", + "- Chromium receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P39-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-P39-003.md", + "bytes": 1288, + "lines": 38, + "tokens": 322 + }, + { + "path": "tests/golden/WBV2-P39-002/manifest.json", + "bytes": 1772, + "lines": 53, + "tokens": 443 + }, + { + "path": "docs/status/WBV2-P39-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-P40-000/task-context.json b/tests/golden/WBV2-P40-000/task-context.json new file mode 100644 index 000000000..aa9560c34 --- /dev/null +++ b/tests/golden/WBV2-P40-000/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P40-000", + "parentTask": "WBV2-P39-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-P40-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-P40-000/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P40-000.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P40-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-P40-000.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P39-003/manifest.json", + "parentStatus": "docs/status/WBV2-P39-003.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P40-000.md", + "tests/golden/WBV2-P39-003/manifest.json", + "docs/status/WBV2-P39-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-P39-003", + "parentTask": "WBV2-P39-002", + "status": "done", + "nextTask": "WBV2-P40-000", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P39-003 status", + "- task: `WBV2-P39-003`; parent: `WBV2-P39-002`; status: `done`", + "- continuous slice command exit: `0`", + "- Chromium receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P40-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-P40-000.md", + "bytes": 1058, + "lines": 37, + "tokens": 265 + }, + { + "path": "tests/golden/WBV2-P39-003/manifest.json", + "bytes": 1817, + "lines": 53, + "tokens": 455 + }, + { + "path": "docs/status/WBV2-P39-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 8fbdbf076..301b80720 100644 --- a/tests/golden/WBV2/task-catalog.jsonl +++ b/tests/golden/WBV2/task-catalog.jsonl @@ -1,5 +1,5 @@ -{"id":"WBV2-P38-000","gapId":"workflow:authorize_continuous_wave","ownerFamily":"PROGRAM","sourceTask":"P38","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-P38-001","gapId":"workflow:refresh_continuous_integrity","ownerFamily":"RELEASE","sourceTask":"P38","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-P38-002","gapId":"workflow:rebuild_continuous_bundle","ownerFamily":"RELEASE","sourceTask":"P38","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-P38-003","gapId":"workflow:run_continuous_smoke","ownerFamily":"RELEASE","sourceTask":"P38","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-P39-000","gapId":"workflow:authorize_continuous_wave","ownerFamily":"PROGRAM","sourceTask":"P39","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-P39-000","gapId":"workflow:authorize_continuous_wave","ownerFamily":"PROGRAM","sourceTask":"P39","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-P39-001","gapId":"workflow:refresh_continuous_integrity","ownerFamily":"RELEASE","sourceTask":"P39","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-P39-002","gapId":"workflow:rebuild_continuous_bundle","ownerFamily":"RELEASE","sourceTask":"P39","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-P39-003","gapId":"workflow:run_continuous_smoke","ownerFamily":"RELEASE","sourceTask":"P39","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-000","gapId":"workflow:authorize_continuous_wave","ownerFamily":"PROGRAM","sourceTask":"P40","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 b424a6f05..5ec5d339e 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-P38-003/continuous-task-plan.json","sha256":"68d62f7df81e9ede44da5ac0bece333181c0ab349b1968d0e7f0aa127817554c"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"ee1924e25e31e9bbf6de2818513a04c4834b1825de49d4b18cd866044562afb2"},"taskCount":5,"activeTask":"WBV2-P39-000","entries":{"WBV2-P38-000":{"line":0,"offset":0,"length":341,"previous":"WBV2-P37-003","next":"WBV2-P38-001"},"WBV2-P38-001":{"line":1,"offset":341,"length":344,"previous":"WBV2-P38-000","next":"WBV2-P38-002"},"WBV2-P38-002":{"line":2,"offset":685,"length":341,"previous":"WBV2-P38-001","next":"WBV2-P38-003"},"WBV2-P38-003":{"line":3,"offset":1026,"length":336,"previous":"WBV2-P38-002","next":"WBV2-P39-000"},"WBV2-P39-000":{"line":4,"offset":1362,"length":338,"previous":"WBV2-P38-003","next":null}}} +{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P39-003/continuous-task-plan.json","sha256":"44453fdaf00da55b5d2213de099a510951bd9cf4e567d875275c643cdfd7051b"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"df0764f56f304a1d8dd4bf75e8a2f4377dd0800377c27842f1b572d241ae6653"},"taskCount":5,"activeTask":"WBV2-P40-000","entries":{"WBV2-P39-000":{"line":0,"offset":0,"length":341,"previous":"WBV2-P38-003","next":"WBV2-P39-001"},"WBV2-P39-001":{"line":1,"offset":341,"length":344,"previous":"WBV2-P39-000","next":"WBV2-P39-002"},"WBV2-P39-002":{"line":2,"offset":685,"length":341,"previous":"WBV2-P39-001","next":"WBV2-P39-003"},"WBV2-P39-003":{"line":3,"offset":1026,"length":336,"previous":"WBV2-P39-002","next":"WBV2-P40-000"},"WBV2-P40-000":{"line":4,"offset":1362,"length":338,"previous":"WBV2-P39-003","next":null}}}