From 973ddd2e48d014504f337f59ba24ccab3f4aea3d Mon Sep 17 00:00:00 2001 From: mes123456 Date: Sat, 29 Aug 2026 09:50:36 +0800 Subject: [PATCH] chore(web): checkpoint continuous P42 execution --- docs/EXECUTION_QUEUE.md | 6 +- docs/status/WBV2-P42-000.md | 7 + docs/status/WBV2-P42-001.md | 7 + docs/status/WBV2-P42-002.md | 7 + docs/status/WBV2-P42-003.md | 7 + docs/tasks/WBV2-P42-001.md | 37 ++++ docs/tasks/WBV2-P42-002.md | 37 ++++ docs/tasks/WBV2-P42-003.md | 37 ++++ docs/tasks/WBV2-P43-000.md | 36 ++++ nextTask.md | 6 +- .../WBV2-P42-000/continuous-root-report.json | 33 ++++ .../WBV2-P42-000/continuous-task-plan.json | 144 +++++++++++++++ tests/golden/WBV2-P42-000/manifest.json | 38 ++++ tests/golden/WBV2-P42-000/task-context.json | 4 +- .../WBV2-P42-001/continuous-task-plan.json | 144 +++++++++++++++ .../WBV2-P42-001/implementation-report.json | 25 +++ tests/golden/WBV2-P42-001/manifest.json | 48 +++++ tests/golden/WBV2-P42-001/task-context.json | 162 ++++++++++++++++ .../WBV2-P42-002/continuous-task-plan.json | 144 +++++++++++++++ .../WBV2-P42-002/implementation-report.json | 26 +++ tests/golden/WBV2-P42-002/manifest.json | 52 ++++++ tests/golden/WBV2-P42-002/task-context.json | 162 ++++++++++++++++ .../WBV2-P42-003/continuous-task-plan.json | 174 ++++++++++++++++++ .../WBV2-P42-003/implementation-report.json | 26 +++ tests/golden/WBV2-P42-003/manifest.json | 52 ++++++ tests/golden/WBV2-P42-003/task-context.json | 162 ++++++++++++++++ tests/golden/WBV2-P43-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-P42-000.md create mode 100644 docs/status/WBV2-P42-001.md create mode 100644 docs/status/WBV2-P42-002.md create mode 100644 docs/status/WBV2-P42-003.md create mode 100644 docs/tasks/WBV2-P42-001.md create mode 100644 docs/tasks/WBV2-P42-002.md create mode 100644 docs/tasks/WBV2-P42-003.md create mode 100644 docs/tasks/WBV2-P43-000.md create mode 100644 tests/golden/WBV2-P42-000/continuous-root-report.json create mode 100644 tests/golden/WBV2-P42-000/continuous-task-plan.json create mode 100644 tests/golden/WBV2-P42-000/manifest.json create mode 100644 tests/golden/WBV2-P42-001/continuous-task-plan.json create mode 100644 tests/golden/WBV2-P42-001/implementation-report.json create mode 100644 tests/golden/WBV2-P42-001/manifest.json create mode 100644 tests/golden/WBV2-P42-001/task-context.json create mode 100644 tests/golden/WBV2-P42-002/continuous-task-plan.json create mode 100644 tests/golden/WBV2-P42-002/implementation-report.json create mode 100644 tests/golden/WBV2-P42-002/manifest.json create mode 100644 tests/golden/WBV2-P42-002/task-context.json create mode 100644 tests/golden/WBV2-P42-003/continuous-task-plan.json create mode 100644 tests/golden/WBV2-P42-003/implementation-report.json create mode 100644 tests/golden/WBV2-P42-003/manifest.json create mode 100644 tests/golden/WBV2-P42-003/task-context.json create mode 100644 tests/golden/WBV2-P43-000/task-context.json diff --git a/docs/EXECUTION_QUEUE.md b/docs/EXECUTION_QUEUE.md index 267398926..fb936ff03 100644 --- a/docs/EXECUTION_QUEUE.md +++ b/docs/EXECUTION_QUEUE.md @@ -13,9 +13,9 @@ | 字段 | 值 | | --- | --- | | 里程碑 | WBV2 capability workflow | -| 当前任务 | `WBV2-P42-000` | -| parent manifest | `tests/golden/WBV2-P41-003/manifest.json` | -| 任务卡 | [`tasks/WBV2-P42-000.md`](tasks/WBV2-P42-000.md) | +| 当前任务 | `WBV2-P43-000` | +| parent manifest | `tests/golden/WBV2-P42-003/manifest.json` | +| 任务卡 | [`tasks/WBV2-P43-000.md`](tasks/WBV2-P43-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-P42-000.md b/docs/status/WBV2-P42-000.md new file mode 100644 index 000000000..bf9fa5be9 --- /dev/null +++ b/docs/status/WBV2-P42-000.md @@ -0,0 +1,7 @@ +# WBV2-P42-000 status + +- task: `WBV2-P42-000`; parent: `WBV2-P41-003`; status: `done` +- continuous implementation wave authorized +- verification receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P42-001` diff --git a/docs/status/WBV2-P42-001.md b/docs/status/WBV2-P42-001.md new file mode 100644 index 000000000..b75c91490 --- /dev/null +++ b/docs/status/WBV2-P42-001.md @@ -0,0 +1,7 @@ +# WBV2-P42-001 status + +- task: `WBV2-P42-001`; parent: `WBV2-P42-000`; status: `done` +- continuous slice command exit: `0` +- Chromium receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P42-002` diff --git a/docs/status/WBV2-P42-002.md b/docs/status/WBV2-P42-002.md new file mode 100644 index 000000000..4476394a7 --- /dev/null +++ b/docs/status/WBV2-P42-002.md @@ -0,0 +1,7 @@ +# WBV2-P42-002 status + +- task: `WBV2-P42-002`; parent: `WBV2-P42-001`; status: `done` +- continuous slice command exit: `0` +- Chromium receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P42-003` diff --git a/docs/status/WBV2-P42-003.md b/docs/status/WBV2-P42-003.md new file mode 100644 index 000000000..74c6331ac --- /dev/null +++ b/docs/status/WBV2-P42-003.md @@ -0,0 +1,7 @@ +# WBV2-P42-003 status + +- task: `WBV2-P42-003`; parent: `WBV2-P42-002`; status: `done` +- continuous slice command exit: `0` +- Chromium receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P43-000` diff --git a/docs/tasks/WBV2-P42-001.md b/docs/tasks/WBV2-P42-001.md new file mode 100644 index 000000000..2780e89d8 --- /dev/null +++ b/docs/tasks/WBV2-P42-001.md @@ -0,0 +1,37 @@ +# WBV2-P42-001: refresh_continuous_integrity + +- task: WBV2-P42-001 +- parent: WBV2-P42-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-P42-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-P42-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-P42-001/` +- Status: `docs/status/WBV2-P42-001.md` +- Manifest: `tests/golden/WBV2-P42-001/manifest.json` +- Rollback: restore WBV2-P42-000 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P42-002.md b/docs/tasks/WBV2-P42-002.md new file mode 100644 index 000000000..eb5a176c7 --- /dev/null +++ b/docs/tasks/WBV2-P42-002.md @@ -0,0 +1,37 @@ +# WBV2-P42-002: rebuild_continuous_bundle + +- task: WBV2-P42-002 +- parent: WBV2-P42-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-P42-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-P42-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-P42-002/` +- Status: `docs/status/WBV2-P42-002.md` +- Manifest: `tests/golden/WBV2-P42-002/manifest.json` +- Rollback: restore WBV2-P42-001 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P42-003.md b/docs/tasks/WBV2-P42-003.md new file mode 100644 index 000000000..9d2af8d14 --- /dev/null +++ b/docs/tasks/WBV2-P42-003.md @@ -0,0 +1,37 @@ +# WBV2-P42-003: run_continuous_smoke + +- task: WBV2-P42-003 +- parent: WBV2-P42-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-P42-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-P42-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-P42-003/` +- Status: `docs/status/WBV2-P42-003.md` +- Manifest: `tests/golden/WBV2-P42-003/manifest.json` +- Rollback: restore WBV2-P42-002 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P43-000.md b/docs/tasks/WBV2-P43-000.md new file mode 100644 index 000000000..e9525a29e --- /dev/null +++ b/docs/tasks/WBV2-P43-000.md @@ -0,0 +1,36 @@ +# WBV2-P43-000: authorize_continuous_wave + +- task: WBV2-P43-000 +- parent: WBV2-P42-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-P43-000 --write` + +## 失败边界 + +- malformed, unsupported and hash-drift inputs fail closed +- implementation evidence never changes historical provenance + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P43-000/` +- Status: `docs/status/WBV2-P43-000.md` +- Manifest: `tests/golden/WBV2-P43-000/manifest.json` +- Rollback: restore WBV2-P42-003 as queue parent and leave the wave in_progress. diff --git a/nextTask.md b/nextTask.md index c91563d73..424d337ac 100644 --- a/nextTask.md +++ b/nextTask.md @@ -249,10 +249,10 @@ Recorded: 2026-08-29 Asia/Shanghai | Field | Value | | --- | --- | -| Current task when this file was written | `WBV2-P42-000` | +| Current task when this file was written | `WBV2-P43-000` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2-P41-003/manifest.json` | -| Current task card | `docs/tasks/WBV2-P42-000.md` | +| Parent manifest | `tests/golden/WBV2-P42-003/manifest.json` | +| Current task card | `docs/tasks/WBV2-P43-000.md` | | Current task-context nextTask | `NONE` | | Focused command | `node tools/web/generate-wbv2-continuous-root.mjs` | diff --git a/tests/golden/WBV2-P42-000/continuous-root-report.json b/tests/golden/WBV2-P42-000/continuous-root-report.json new file mode 100644 index 000000000..1964ab58e --- /dev/null +++ b/tests/golden/WBV2-P42-000/continuous-root-report.json @@ -0,0 +1,33 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P42-000", + "operation": "AUTHORIZE_CONTINUOUS_IMPLEMENTATION_WAVE", + "status": "PASS", + "parent": { + "task": "WBV2-P41-003", + "manifest": "tests/golden/WBV2-P41-003/manifest.json", + "manifestSha256": "25f435b9142707a06c8d5b294e985495c9f41ad0f5524a84934e72264f048664" + }, + "scope": { + "firstTask": "WBV2-P42-001", + "plannedTasks": [ + "WBV2-P42-000", + "WBV2-P42-001", + "WBV2-P42-002", + "WBV2-P42-003" + ] + }, + "verification": { + "status": "DEFERRED", + "chromium": false, + "completionOverlay": false + }, + "inventory": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609 + }, + "nextTask": "WBV2-P42-001" +} diff --git a/tests/golden/WBV2-P42-000/continuous-task-plan.json b/tests/golden/WBV2-P42-000/continuous-task-plan.json new file mode 100644 index 000000000..05ae9186f --- /dev/null +++ b/tests/golden/WBV2-P42-000/continuous-task-plan.json @@ -0,0 +1,144 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P42", + "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-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 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-P42-001", + "phase": "P42", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P42-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p42-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P42-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-P42-002", + "phase": "P42", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P42-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p42-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P42-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-P42-003", + "phase": "P42", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P42-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p42-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P42-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-P42-000/manifest.json b/tests/golden/WBV2-P42-000/manifest.json new file mode 100644 index 000000000..62b90fc82 --- /dev/null +++ b/tests/golden/WBV2-P42-000/manifest.json @@ -0,0 +1,38 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P42-000", + "parentTask": "WBV2-P41-003", + "operation": "AUTHORIZE_CONTINUOUS_IMPLEMENTATION_WAVE", + "status": "done", + "enablingTask": true, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P41-003/manifest.json", + "sha256": "25f435b9142707a06c8d5b294e985495c9f41ad0f5524a84934e72264f048664" + }, + "plan": { + "path": "tests/golden/WBV2-P42-000/continuous-task-plan.json", + "sha256": "faa6cd3f0a309a4a09f9db9fb63b731cbbcfc99570bbf4d9e9575d84640ff4e8" + }, + "report": { + "path": "tests/golden/WBV2-P42-000/continuous-root-report.json", + "sha256": "b97154535748f459ba616ceea52ec10614b5d9b72f3c8f67a355f85504692aab" + }, + "status": { + "path": "docs/status/WBV2-P42-000.md", + "sha256": "157879547f2010b936df55b1d385c546839cb6c1f8954df34f278ba97b21f42a" + } + }, + "assertions": { + "plannedTasks": 5, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P42-001" +} diff --git a/tests/golden/WBV2-P42-000/task-context.json b/tests/golden/WBV2-P42-000/task-context.json index f8ae1440e..42a0a6f89 100644 --- a/tests/golden/WBV2-P42-000/task-context.json +++ b/tests/golden/WBV2-P42-000/task-context.json @@ -60,7 +60,7 @@ "implementation smoke is reproducible", "verification remains deferred" ], - "nextTask": null, + "nextTask": "WBV2-P42-001", "sourceDocuments": { "queue": "docs/EXECUTION_QUEUE.md", "taskCard": "docs/tasks/WBV2-P42-000.md", @@ -156,7 +156,7 @@ "totalTokens": 1487, "reservedEnvelopeTokens": 1024, "estimatedContextTokens": 2511, - "serializedContextTokens": 598, + "serializedContextTokens": 601, "withinBudget": true } } diff --git a/tests/golden/WBV2-P42-001/continuous-task-plan.json b/tests/golden/WBV2-P42-001/continuous-task-plan.json new file mode 100644 index 000000000..64aeb0793 --- /dev/null +++ b/tests/golden/WBV2-P42-001/continuous-task-plan.json @@ -0,0 +1,144 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P42", + "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-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 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-P42-001", + "phase": "P42", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P42-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p42-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P42-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-P42-002", + "phase": "P42", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P42-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p42-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P42-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-P42-003", + "phase": "P42", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P42-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p42-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P42-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-P42-001/implementation-report.json b/tests/golden/WBV2-P42-001/implementation-report.json new file mode 100644 index 000000000..85c9f283b --- /dev/null +++ b/tests/golden/WBV2-P42-001/implementation-report.json @@ -0,0 +1,25 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P42-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-P42-002" +} diff --git a/tests/golden/WBV2-P42-001/manifest.json b/tests/golden/WBV2-P42-001/manifest.json new file mode 100644 index 000000000..78720e830 --- /dev/null +++ b/tests/golden/WBV2-P42-001/manifest.json @@ -0,0 +1,48 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P42-001", + "parentTask": "WBV2-P42-000", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P42-000/manifest.json", + "sha256": "9038a1f590523a4f13b354cc32a5bdbb42f0700a9119b7bc1c80d24cfbff2cd3" + }, + "source1": { + "path": "tools/web/refresh-wbv2-implementation-hashes.mjs", + "sha256": "62b4c224466df7903f0b940c56a962a41b9011efc9b0b4c472c543a300a48a61" + }, + "report": { + "path": "tests/golden/WBV2-P42-001/implementation-report.json", + "sha256": "a35807a809a06326d0ceae88fbf19f66e6768703f089035a9083219579a421d4" + }, + "status": { + "path": "docs/status/WBV2-P42-001.md", + "sha256": "1ef24cfbc8d4d0e49a246c3d42b8c02030f4ad559031d596d382ab53cf13b940" + }, + "plan": { + "path": "tests/golden/WBV2-P42-001/continuous-task-plan.json", + "sha256": "b51bd58a4f0e96ef636415fd9f8c4ec49ac55a5a8d41806c4a4fb7fa1b8a1a05" + }, + "taskContext": { + "path": "tests/golden/WBV2-P42-001/task-context.json", + "sha256": "4d1894397b91e20165a824e63f2a3504402d05ad0e0e89f9f10d58f6aebb76d0" + } + }, + "assertions": { + "capabilityFamily": "RELEASE.INTEGRITY_REFRESH", + "sourceBacked": true, + "unsupportedFailsClosed": true, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P42-002" +} diff --git a/tests/golden/WBV2-P42-001/task-context.json b/tests/golden/WBV2-P42-001/task-context.json new file mode 100644 index 000000000..922526fd2 --- /dev/null +++ b/tests/golden/WBV2-P42-001/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P42-001", + "parentTask": "WBV2-P42-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-P42-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-P42-001/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P42-001.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P42-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-P42-002", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P42-001.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P42-000/manifest.json", + "parentStatus": "docs/status/WBV2-P42-000.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P42-001.md", + "tests/golden/WBV2-P42-000/manifest.json", + "docs/status/WBV2-P42-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-P42-000", + "parentTask": "WBV2-P41-003", + "status": "done", + "nextTask": "WBV2-P42-001", + "artifactCount": 4 + }, + "statusSummary": [ + "# WBV2-P42-000 status", + "- task: `WBV2-P42-000`; parent: `WBV2-P41-003`; status: `done`", + "- continuous implementation wave authorized", + "- verification receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P42-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-P42-001.md", + "bytes": 1318, + "lines": 38, + "tokens": 330 + }, + { + "path": "tests/golden/WBV2-P42-000/manifest.json", + "bytes": 1230, + "lines": 39, + "tokens": 308 + }, + { + "path": "docs/status/WBV2-P42-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-P42-002/continuous-task-plan.json b/tests/golden/WBV2-P42-002/continuous-task-plan.json new file mode 100644 index 000000000..7d55668de --- /dev/null +++ b/tests/golden/WBV2-P42-002/continuous-task-plan.json @@ -0,0 +1,144 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P42", + "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-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 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-P42-001", + "phase": "P42", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P42-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p42-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P42-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-P42-002", + "phase": "P42", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P42-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p42-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P42-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-P42-003", + "phase": "P42", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P42-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p42-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P42-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-P42-002/implementation-report.json b/tests/golden/WBV2-P42-002/implementation-report.json new file mode 100644 index 000000000..aa3c56a2c --- /dev/null +++ b/tests/golden/WBV2-P42-002/implementation-report.json @@ -0,0 +1,26 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P42-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-P42-003" +} diff --git a/tests/golden/WBV2-P42-002/manifest.json b/tests/golden/WBV2-P42-002/manifest.json new file mode 100644 index 000000000..65f8db40e --- /dev/null +++ b/tests/golden/WBV2-P42-002/manifest.json @@ -0,0 +1,52 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P42-002", + "parentTask": "WBV2-P42-001", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P42-001/manifest.json", + "sha256": "baf6d14eb77e462303de314e8b1cae6126e233b360e26a447783dbebe01a397a" + }, + "source1": { + "path": "web/package.json", + "sha256": "40b7f14d4f568ae94bedde83e02115c127e0c714e5eb32a6a97b1e1084c4fa68" + }, + "source2": { + "path": "web/app/vite.config.ts", + "sha256": "22d78df08340dc0cd1767e912443d8bf796079e990c4818f821861b4bd445d62" + }, + "report": { + "path": "tests/golden/WBV2-P42-002/implementation-report.json", + "sha256": "a95133e9d0de5917bcf5e7f42ce374922a9ce4db4589373ff556b224d9e6fc40" + }, + "status": { + "path": "docs/status/WBV2-P42-002.md", + "sha256": "6377797f21638a2181f2e16d5b725791bfc6bcf6deb9607a7e0a94fc4fa819bc" + }, + "plan": { + "path": "tests/golden/WBV2-P42-002/continuous-task-plan.json", + "sha256": "8b50373d2741122adea21a3b746c143aa236906a40491f64d87762d90b1c99f7" + }, + "taskContext": { + "path": "tests/golden/WBV2-P42-002/task-context.json", + "sha256": "7803679487895f0f6c896cc1db5ec46775931c94748878c7003a3ec072ee772b" + } + }, + "assertions": { + "capabilityFamily": "RELEASE.BUNDLE_BUILD", + "sourceBacked": true, + "unsupportedFailsClosed": true, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P42-003" +} diff --git a/tests/golden/WBV2-P42-002/task-context.json b/tests/golden/WBV2-P42-002/task-context.json new file mode 100644 index 000000000..a75538b25 --- /dev/null +++ b/tests/golden/WBV2-P42-002/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P42-002", + "parentTask": "WBV2-P42-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-P42-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-P42-002/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P42-002.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P42-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-P42-003", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P42-002.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P42-001/manifest.json", + "parentStatus": "docs/status/WBV2-P42-001.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P42-002.md", + "tests/golden/WBV2-P42-001/manifest.json", + "docs/status/WBV2-P42-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-P42-001", + "parentTask": "WBV2-P42-000", + "status": "done", + "nextTask": "WBV2-P42-002", + "artifactCount": 6 + }, + "statusSummary": [ + "# WBV2-P42-001 status", + "- task: `WBV2-P42-001`; parent: `WBV2-P42-000`; status: `done`", + "- continuous slice command exit: `0`", + "- Chromium receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P42-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-P42-002.md", + "bytes": 1324, + "lines": 38, + "tokens": 331 + }, + { + "path": "tests/golden/WBV2-P42-001/manifest.json", + "bytes": 1662, + "lines": 49, + "tokens": 416 + }, + { + "path": "docs/status/WBV2-P42-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-P42-003/continuous-task-plan.json b/tests/golden/WBV2-P42-003/continuous-task-plan.json new file mode 100644 index 000000000..44439a22f --- /dev/null +++ b/tests/golden/WBV2-P42-003/continuous-task-plan.json @@ -0,0 +1,174 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P42", + "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-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 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-P42-001", + "phase": "P42", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P42-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p42-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P42-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-P42-002", + "phase": "P42", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P42-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p42-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P42-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-P42-003", + "phase": "P42", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P42-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p42-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P42-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-P43-000", + "phase": "P43", + "title": "authorize_continuous_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P42-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p43-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P43-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-P42-003/implementation-report.json b/tests/golden/WBV2-P42-003/implementation-report.json new file mode 100644 index 000000000..5e42e9884 --- /dev/null +++ b/tests/golden/WBV2-P42-003/implementation-report.json @@ -0,0 +1,26 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P42-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-P43-000" +} diff --git a/tests/golden/WBV2-P42-003/manifest.json b/tests/golden/WBV2-P42-003/manifest.json new file mode 100644 index 000000000..f02c2c97a --- /dev/null +++ b/tests/golden/WBV2-P42-003/manifest.json @@ -0,0 +1,52 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P42-003", + "parentTask": "WBV2-P42-002", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P42-002/manifest.json", + "sha256": "8c8a5c6c352a3eea58ce23d05775fe853fb19e7a95cf975d0f99647511a009b4" + }, + "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-P42-003/implementation-report.json", + "sha256": "f740dff48bea0097d8e1df5fc7d64fbb166a4b26e7baaf412b89dd90f39d669d" + }, + "status": { + "path": "docs/status/WBV2-P42-003.md", + "sha256": "f7ae446487026f8fae95b18a554726d0ab9625d99524db19b06bd3bf9b2ba20e" + }, + "plan": { + "path": "tests/golden/WBV2-P42-003/continuous-task-plan.json", + "sha256": "09e3836f7ba8bf3e67f166a82a57c8013cab6bc6a8e30e1a4e594300e4800c95" + }, + "taskContext": { + "path": "tests/golden/WBV2-P42-003/task-context.json", + "sha256": "51b419e7c0bd18317d2591490464c3dc81b255dfe4c5ef629ee14d056215b83c" + } + }, + "assertions": { + "capabilityFamily": "RELEASE.HANDOFF_SMOKE", + "sourceBacked": true, + "unsupportedFailsClosed": true, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P43-000" +} diff --git a/tests/golden/WBV2-P42-003/task-context.json b/tests/golden/WBV2-P42-003/task-context.json new file mode 100644 index 000000000..710230a9c --- /dev/null +++ b/tests/golden/WBV2-P42-003/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P42-003", + "parentTask": "WBV2-P42-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-P42-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-P42-003/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P42-003.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P42-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-P43-000", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P42-003.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P42-002/manifest.json", + "parentStatus": "docs/status/WBV2-P42-002.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P42-003.md", + "tests/golden/WBV2-P42-002/manifest.json", + "docs/status/WBV2-P42-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-P42-002", + "parentTask": "WBV2-P42-001", + "status": "done", + "nextTask": "WBV2-P42-003", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P42-002 status", + "- task: `WBV2-P42-002`; parent: `WBV2-P42-001`; status: `done`", + "- continuous slice command exit: `0`", + "- Chromium receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P42-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-P42-003.md", + "bytes": 1288, + "lines": 38, + "tokens": 322 + }, + { + "path": "tests/golden/WBV2-P42-002/manifest.json", + "bytes": 1772, + "lines": 53, + "tokens": 443 + }, + { + "path": "docs/status/WBV2-P42-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-P43-000/task-context.json b/tests/golden/WBV2-P43-000/task-context.json new file mode 100644 index 000000000..60a4e11f9 --- /dev/null +++ b/tests/golden/WBV2-P43-000/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P43-000", + "parentTask": "WBV2-P42-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-P43-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-P43-000/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P43-000.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P43-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-P43-000.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P42-003/manifest.json", + "parentStatus": "docs/status/WBV2-P42-003.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P43-000.md", + "tests/golden/WBV2-P42-003/manifest.json", + "docs/status/WBV2-P42-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-P42-003", + "parentTask": "WBV2-P42-002", + "status": "done", + "nextTask": "WBV2-P43-000", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P42-003 status", + "- task: `WBV2-P42-003`; parent: `WBV2-P42-002`; status: `done`", + "- continuous slice command exit: `0`", + "- Chromium receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P43-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-P43-000.md", + "bytes": 1058, + "lines": 37, + "tokens": 265 + }, + { + "path": "tests/golden/WBV2-P42-003/manifest.json", + "bytes": 1817, + "lines": 53, + "tokens": 455 + }, + { + "path": "docs/status/WBV2-P42-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 87d6b89cc..445edf0f7 100644 --- a/tests/golden/WBV2/task-catalog.jsonl +++ b/tests/golden/WBV2/task-catalog.jsonl @@ -1,5 +1,5 @@ -{"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"]} +{"id":"WBV2-P42-000","gapId":"workflow:authorize_continuous_wave","ownerFamily":"PROGRAM","sourceTask":"P42","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-001","gapId":"workflow:refresh_continuous_integrity","ownerFamily":"RELEASE","sourceTask":"P42","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-002","gapId":"workflow:rebuild_continuous_bundle","ownerFamily":"RELEASE","sourceTask":"P42","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-003","gapId":"workflow:run_continuous_smoke","ownerFamily":"RELEASE","sourceTask":"P42","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-P43-000","gapId":"workflow:authorize_continuous_wave","ownerFamily":"PROGRAM","sourceTask":"P43","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 a36def3bd..49ee9131a 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-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}}} +{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P42-003/continuous-task-plan.json","sha256":"09e3836f7ba8bf3e67f166a82a57c8013cab6bc6a8e30e1a4e594300e4800c95"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"f8ab33808c0883d2f5ed26312b51e4ddd2ac8237aa48235a315d62e3b549a387"},"taskCount":5,"activeTask":"WBV2-P43-000","entries":{"WBV2-P42-000":{"line":0,"offset":0,"length":341,"previous":"WBV2-P41-003","next":"WBV2-P42-001"},"WBV2-P42-001":{"line":1,"offset":341,"length":344,"previous":"WBV2-P42-000","next":"WBV2-P42-002"},"WBV2-P42-002":{"line":2,"offset":685,"length":341,"previous":"WBV2-P42-001","next":"WBV2-P42-003"},"WBV2-P42-003":{"line":3,"offset":1026,"length":336,"previous":"WBV2-P42-002","next":"WBV2-P43-000"},"WBV2-P43-000":{"line":4,"offset":1362,"length":338,"previous":"WBV2-P42-003","next":null}}}