diff --git a/docs/EXECUTION_QUEUE.md b/docs/EXECUTION_QUEUE.md index 1197da634..03b2d6086 100644 --- a/docs/EXECUTION_QUEUE.md +++ b/docs/EXECUTION_QUEUE.md @@ -13,9 +13,9 @@ | 字段 | 值 | | --- | --- | | 里程碑 | WBV2 capability workflow | -| 当前任务 | `WBV2-P40-000` | -| parent manifest | `tests/golden/WBV2-P39-003/manifest.json` | -| 任务卡 | [`tasks/WBV2-P40-000.md`](tasks/WBV2-P40-000.md) | +| 当前任务 | `WBV2-P41-000` | +| parent manifest | `tests/golden/WBV2-P40-003/manifest.json` | +| 任务卡 | [`tasks/WBV2-P41-000.md`](tasks/WBV2-P41-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-P40-000.md b/docs/status/WBV2-P40-000.md new file mode 100644 index 000000000..a630b88dc --- /dev/null +++ b/docs/status/WBV2-P40-000.md @@ -0,0 +1,7 @@ +# WBV2-P40-000 status + +- task: `WBV2-P40-000`; parent: `WBV2-P39-003`; status: `done` +- continuous implementation wave authorized +- verification receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P40-001` diff --git a/docs/status/WBV2-P40-001.md b/docs/status/WBV2-P40-001.md new file mode 100644 index 000000000..8064c7b40 --- /dev/null +++ b/docs/status/WBV2-P40-001.md @@ -0,0 +1,7 @@ +# WBV2-P40-001 status + +- task: `WBV2-P40-001`; parent: `WBV2-P40-000`; status: `done` +- continuous slice command exit: `0` +- Chromium receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P40-002` diff --git a/docs/status/WBV2-P40-002.md b/docs/status/WBV2-P40-002.md new file mode 100644 index 000000000..f6533469b --- /dev/null +++ b/docs/status/WBV2-P40-002.md @@ -0,0 +1,7 @@ +# WBV2-P40-002 status + +- task: `WBV2-P40-002`; parent: `WBV2-P40-001`; status: `done` +- continuous slice command exit: `0` +- Chromium receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P40-003` diff --git a/docs/status/WBV2-P40-003.md b/docs/status/WBV2-P40-003.md new file mode 100644 index 000000000..4ee619d47 --- /dev/null +++ b/docs/status/WBV2-P40-003.md @@ -0,0 +1,7 @@ +# WBV2-P40-003 status + +- task: `WBV2-P40-003`; parent: `WBV2-P40-002`; status: `done` +- continuous slice command exit: `0` +- Chromium receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P41-000` diff --git a/docs/tasks/WBV2-P40-001.md b/docs/tasks/WBV2-P40-001.md new file mode 100644 index 000000000..57d126297 --- /dev/null +++ b/docs/tasks/WBV2-P40-001.md @@ -0,0 +1,37 @@ +# WBV2-P40-001: refresh_continuous_integrity + +- task: WBV2-P40-001 +- parent: WBV2-P40-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-P40-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-P40-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-P40-001/` +- Status: `docs/status/WBV2-P40-001.md` +- Manifest: `tests/golden/WBV2-P40-001/manifest.json` +- Rollback: restore WBV2-P40-000 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P40-002.md b/docs/tasks/WBV2-P40-002.md new file mode 100644 index 000000000..7fd4da8a0 --- /dev/null +++ b/docs/tasks/WBV2-P40-002.md @@ -0,0 +1,37 @@ +# WBV2-P40-002: rebuild_continuous_bundle + +- task: WBV2-P40-002 +- parent: WBV2-P40-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-P40-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-P40-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-P40-002/` +- Status: `docs/status/WBV2-P40-002.md` +- Manifest: `tests/golden/WBV2-P40-002/manifest.json` +- Rollback: restore WBV2-P40-001 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P40-003.md b/docs/tasks/WBV2-P40-003.md new file mode 100644 index 000000000..6aac87815 --- /dev/null +++ b/docs/tasks/WBV2-P40-003.md @@ -0,0 +1,37 @@ +# WBV2-P40-003: run_continuous_smoke + +- task: WBV2-P40-003 +- parent: WBV2-P40-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-P40-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-P40-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-P40-003/` +- Status: `docs/status/WBV2-P40-003.md` +- Manifest: `tests/golden/WBV2-P40-003/manifest.json` +- Rollback: restore WBV2-P40-002 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P41-000.md b/docs/tasks/WBV2-P41-000.md new file mode 100644 index 000000000..e1d1018f5 --- /dev/null +++ b/docs/tasks/WBV2-P41-000.md @@ -0,0 +1,36 @@ +# WBV2-P41-000: authorize_continuous_wave + +- task: WBV2-P41-000 +- parent: WBV2-P40-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-P41-000 --write` + +## 失败边界 + +- malformed, unsupported and hash-drift inputs fail closed +- implementation evidence never changes historical provenance + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P41-000/` +- Status: `docs/status/WBV2-P41-000.md` +- Manifest: `tests/golden/WBV2-P41-000/manifest.json` +- Rollback: restore WBV2-P40-003 as queue parent and leave the wave in_progress. diff --git a/nextTask.md b/nextTask.md index a792ec90c..bc6140585 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-P40-000` | +| Current task when this file was written | `WBV2-P41-000` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2-P39-003/manifest.json` | -| Current task card | `docs/tasks/WBV2-P40-000.md` | +| Parent manifest | `tests/golden/WBV2-P40-003/manifest.json` | +| Current task card | `docs/tasks/WBV2-P41-000.md` | | Current task-context nextTask | `NONE` | | Focused command | `node tools/web/generate-wbv2-continuous-root.mjs` | diff --git a/tests/golden/WBV2-P40-000/continuous-root-report.json b/tests/golden/WBV2-P40-000/continuous-root-report.json new file mode 100644 index 000000000..3133c6085 --- /dev/null +++ b/tests/golden/WBV2-P40-000/continuous-root-report.json @@ -0,0 +1,33 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P40-000", + "operation": "AUTHORIZE_CONTINUOUS_IMPLEMENTATION_WAVE", + "status": "PASS", + "parent": { + "task": "WBV2-P39-003", + "manifest": "tests/golden/WBV2-P39-003/manifest.json", + "manifestSha256": "dadc7a12686bf2bd70258ee022e4470ac121276a7c49ab2b7b195f61d65d1de2" + }, + "scope": { + "firstTask": "WBV2-P40-001", + "plannedTasks": [ + "WBV2-P40-000", + "WBV2-P40-001", + "WBV2-P40-002", + "WBV2-P40-003" + ] + }, + "verification": { + "status": "DEFERRED", + "chromium": false, + "completionOverlay": false + }, + "inventory": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609 + }, + "nextTask": "WBV2-P40-001" +} diff --git a/tests/golden/WBV2-P40-000/continuous-task-plan.json b/tests/golden/WBV2-P40-000/continuous-task-plan.json new file mode 100644 index 000000000..ca89fd750 --- /dev/null +++ b/tests/golden/WBV2-P40-000/continuous-task-plan.json @@ -0,0 +1,144 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P40", + "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-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 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-P40-001", + "phase": "P40", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P40-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p40-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P40-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-P40-002", + "phase": "P40", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P40-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p40-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P40-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-P40-003", + "phase": "P40", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P40-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p40-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P40-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-P40-000/manifest.json b/tests/golden/WBV2-P40-000/manifest.json new file mode 100644 index 000000000..426ef3ea0 --- /dev/null +++ b/tests/golden/WBV2-P40-000/manifest.json @@ -0,0 +1,38 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P40-000", + "parentTask": "WBV2-P39-003", + "operation": "AUTHORIZE_CONTINUOUS_IMPLEMENTATION_WAVE", + "status": "done", + "enablingTask": true, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P39-003/manifest.json", + "sha256": "dadc7a12686bf2bd70258ee022e4470ac121276a7c49ab2b7b195f61d65d1de2" + }, + "plan": { + "path": "tests/golden/WBV2-P40-000/continuous-task-plan.json", + "sha256": "b10badf9488a2bb05eb98ecde9a7b1a4db3fd5401a4f3889d376083051bdc873" + }, + "report": { + "path": "tests/golden/WBV2-P40-000/continuous-root-report.json", + "sha256": "5514560604663ac1e467e1a5d7d18398891fc329af25009573eed760ad8cb994" + }, + "status": { + "path": "docs/status/WBV2-P40-000.md", + "sha256": "b6b01ba7f593d1c41a6e52d48e5752a3483d97ca29ec26ba65867c7d679266ff" + } + }, + "assertions": { + "plannedTasks": 5, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P40-001" +} diff --git a/tests/golden/WBV2-P40-000/task-context.json b/tests/golden/WBV2-P40-000/task-context.json index aa9560c34..6961c4b0f 100644 --- a/tests/golden/WBV2-P40-000/task-context.json +++ b/tests/golden/WBV2-P40-000/task-context.json @@ -60,7 +60,7 @@ "implementation smoke is reproducible", "verification remains deferred" ], - "nextTask": null, + "nextTask": "WBV2-P40-001", "sourceDocuments": { "queue": "docs/EXECUTION_QUEUE.md", "taskCard": "docs/tasks/WBV2-P40-000.md", @@ -156,7 +156,7 @@ "totalTokens": 1487, "reservedEnvelopeTokens": 1024, "estimatedContextTokens": 2511, - "serializedContextTokens": 598, + "serializedContextTokens": 601, "withinBudget": true } } diff --git a/tests/golden/WBV2-P40-001/continuous-task-plan.json b/tests/golden/WBV2-P40-001/continuous-task-plan.json new file mode 100644 index 000000000..9fef8d12a --- /dev/null +++ b/tests/golden/WBV2-P40-001/continuous-task-plan.json @@ -0,0 +1,144 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P40", + "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-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 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-P40-001", + "phase": "P40", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P40-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p40-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P40-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-P40-002", + "phase": "P40", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P40-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p40-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P40-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-P40-003", + "phase": "P40", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P40-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p40-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P40-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-P40-001/implementation-report.json b/tests/golden/WBV2-P40-001/implementation-report.json new file mode 100644 index 000000000..c9356e14a --- /dev/null +++ b/tests/golden/WBV2-P40-001/implementation-report.json @@ -0,0 +1,25 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P40-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-P40-002" +} diff --git a/tests/golden/WBV2-P40-001/manifest.json b/tests/golden/WBV2-P40-001/manifest.json new file mode 100644 index 000000000..67beff703 --- /dev/null +++ b/tests/golden/WBV2-P40-001/manifest.json @@ -0,0 +1,48 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P40-001", + "parentTask": "WBV2-P40-000", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P40-000/manifest.json", + "sha256": "64e33834f72729a80b2c825986f7e82897ba0bff96559df7b759f59b3180e264" + }, + "source1": { + "path": "tools/web/refresh-wbv2-implementation-hashes.mjs", + "sha256": "62b4c224466df7903f0b940c56a962a41b9011efc9b0b4c472c543a300a48a61" + }, + "report": { + "path": "tests/golden/WBV2-P40-001/implementation-report.json", + "sha256": "48120fae23cbeaeacdf09209696f8efc29d5a817fa2f6e199ae8ae9332555a68" + }, + "status": { + "path": "docs/status/WBV2-P40-001.md", + "sha256": "a2d8728a67cf42df0a68ca130543a208f4e5e83b36927eb61282c552c4c75a99" + }, + "plan": { + "path": "tests/golden/WBV2-P40-001/continuous-task-plan.json", + "sha256": "5d34226569464d88abccdd17ae36191b21dff875ac6324de16aaceca7422b251" + }, + "taskContext": { + "path": "tests/golden/WBV2-P40-001/task-context.json", + "sha256": "e5c03ea0e03cfb64ab654067eb20e613742e29b9e7a01655baf5f59ed9fda422" + } + }, + "assertions": { + "capabilityFamily": "RELEASE.INTEGRITY_REFRESH", + "sourceBacked": true, + "unsupportedFailsClosed": true, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P40-002" +} diff --git a/tests/golden/WBV2-P40-001/task-context.json b/tests/golden/WBV2-P40-001/task-context.json new file mode 100644 index 000000000..5a5ad4291 --- /dev/null +++ b/tests/golden/WBV2-P40-001/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P40-001", + "parentTask": "WBV2-P40-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-P40-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-P40-001/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P40-001.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P40-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-P40-002", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P40-001.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P40-000/manifest.json", + "parentStatus": "docs/status/WBV2-P40-000.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P40-001.md", + "tests/golden/WBV2-P40-000/manifest.json", + "docs/status/WBV2-P40-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-P40-000", + "parentTask": "WBV2-P39-003", + "status": "done", + "nextTask": "WBV2-P40-001", + "artifactCount": 4 + }, + "statusSummary": [ + "# WBV2-P40-000 status", + "- task: `WBV2-P40-000`; parent: `WBV2-P39-003`; status: `done`", + "- continuous implementation wave authorized", + "- verification receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P40-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-P40-001.md", + "bytes": 1318, + "lines": 38, + "tokens": 330 + }, + { + "path": "tests/golden/WBV2-P40-000/manifest.json", + "bytes": 1230, + "lines": 39, + "tokens": 308 + }, + { + "path": "docs/status/WBV2-P40-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-P40-002/continuous-task-plan.json b/tests/golden/WBV2-P40-002/continuous-task-plan.json new file mode 100644 index 000000000..126d7228d --- /dev/null +++ b/tests/golden/WBV2-P40-002/continuous-task-plan.json @@ -0,0 +1,144 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P40", + "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-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 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-P40-001", + "phase": "P40", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P40-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p40-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P40-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-P40-002", + "phase": "P40", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P40-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p40-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P40-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-P40-003", + "phase": "P40", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P40-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p40-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P40-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-P40-002/implementation-report.json b/tests/golden/WBV2-P40-002/implementation-report.json new file mode 100644 index 000000000..23d4ca1bc --- /dev/null +++ b/tests/golden/WBV2-P40-002/implementation-report.json @@ -0,0 +1,26 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P40-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-P40-003" +} diff --git a/tests/golden/WBV2-P40-002/manifest.json b/tests/golden/WBV2-P40-002/manifest.json new file mode 100644 index 000000000..5891706d2 --- /dev/null +++ b/tests/golden/WBV2-P40-002/manifest.json @@ -0,0 +1,52 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P40-002", + "parentTask": "WBV2-P40-001", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P40-001/manifest.json", + "sha256": "960c9ba5d9857ffd43580f33d3b84abc999c5c6d0818227fd0514802defb73a6" + }, + "source1": { + "path": "web/package.json", + "sha256": "40b7f14d4f568ae94bedde83e02115c127e0c714e5eb32a6a97b1e1084c4fa68" + }, + "source2": { + "path": "web/app/vite.config.ts", + "sha256": "22d78df08340dc0cd1767e912443d8bf796079e990c4818f821861b4bd445d62" + }, + "report": { + "path": "tests/golden/WBV2-P40-002/implementation-report.json", + "sha256": "79a95230977758cd652a750216964306fd9194df6ab0de59a91a8862259af4c2" + }, + "status": { + "path": "docs/status/WBV2-P40-002.md", + "sha256": "608749b72756ac4098e7e852756873ffe813375d011e098ce84af3443aa49084" + }, + "plan": { + "path": "tests/golden/WBV2-P40-002/continuous-task-plan.json", + "sha256": "fb976dd2791379c9714274b3e88d423e41bcdaf73fdd8a4571bbb4edc2b89ea7" + }, + "taskContext": { + "path": "tests/golden/WBV2-P40-002/task-context.json", + "sha256": "d5f5807b1592015730ebc5765ae6c1b1287758d36c38935199054af2d4a600a1" + } + }, + "assertions": { + "capabilityFamily": "RELEASE.BUNDLE_BUILD", + "sourceBacked": true, + "unsupportedFailsClosed": true, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P40-003" +} diff --git a/tests/golden/WBV2-P40-002/task-context.json b/tests/golden/WBV2-P40-002/task-context.json new file mode 100644 index 000000000..2c16ba833 --- /dev/null +++ b/tests/golden/WBV2-P40-002/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P40-002", + "parentTask": "WBV2-P40-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-P40-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-P40-002/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P40-002.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P40-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-P40-003", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P40-002.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P40-001/manifest.json", + "parentStatus": "docs/status/WBV2-P40-001.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P40-002.md", + "tests/golden/WBV2-P40-001/manifest.json", + "docs/status/WBV2-P40-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-P40-001", + "parentTask": "WBV2-P40-000", + "status": "done", + "nextTask": "WBV2-P40-002", + "artifactCount": 6 + }, + "statusSummary": [ + "# WBV2-P40-001 status", + "- task: `WBV2-P40-001`; parent: `WBV2-P40-000`; status: `done`", + "- continuous slice command exit: `0`", + "- Chromium receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P40-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-P40-002.md", + "bytes": 1324, + "lines": 38, + "tokens": 331 + }, + { + "path": "tests/golden/WBV2-P40-001/manifest.json", + "bytes": 1662, + "lines": 49, + "tokens": 416 + }, + { + "path": "docs/status/WBV2-P40-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-P40-003/continuous-task-plan.json b/tests/golden/WBV2-P40-003/continuous-task-plan.json new file mode 100644 index 000000000..4a25bafc0 --- /dev/null +++ b/tests/golden/WBV2-P40-003/continuous-task-plan.json @@ -0,0 +1,174 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CONTINUOUS_P40", + "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-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 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-P40-001", + "phase": "P40", + "title": "refresh_continuous_integrity", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P40-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p40-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P40-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-P40-002", + "phase": "P40", + "title": "rebuild_continuous_bundle", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P40-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p40-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P40-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-P40-003", + "phase": "P40", + "title": "run_continuous_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P40-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p40-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P40-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-P41-000", + "phase": "P41", + "title": "authorize_continuous_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P40-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p41-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P41-000.md", + "behavior": "Authorize the next 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-P40-003/implementation-report.json b/tests/golden/WBV2-P40-003/implementation-report.json new file mode 100644 index 000000000..3f932cb6a --- /dev/null +++ b/tests/golden/WBV2-P40-003/implementation-report.json @@ -0,0 +1,26 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P40-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-P41-000" +} diff --git a/tests/golden/WBV2-P40-003/manifest.json b/tests/golden/WBV2-P40-003/manifest.json new file mode 100644 index 000000000..bd9917aa4 --- /dev/null +++ b/tests/golden/WBV2-P40-003/manifest.json @@ -0,0 +1,52 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P40-003", + "parentTask": "WBV2-P40-002", + "operation": "RUN_CONTINUOUS_IMPLEMENTATION_SLICE", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CONTINUOUS_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P40-002/manifest.json", + "sha256": "2bc2a062ce24bc20a1334ef4f32902420d82bbfc729c6226b95c9e44e32e0cb2" + }, + "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-P40-003/implementation-report.json", + "sha256": "4893b642407248558cdc6f968fcb6d1c504b66d952c1669aeb1ba79801d5a545" + }, + "status": { + "path": "docs/status/WBV2-P40-003.md", + "sha256": "e5f531c3299d2ac9c9124afc04142bb5df696bac0f9f2ad27088e4f84784d2de" + }, + "plan": { + "path": "tests/golden/WBV2-P40-003/continuous-task-plan.json", + "sha256": "9ef94b28350931c079e9aff7bc580884e42341e3fc306e8c11cb66ffa4e57a61" + }, + "taskContext": { + "path": "tests/golden/WBV2-P40-003/task-context.json", + "sha256": "68591816b183ee5c49970be8f91ea7c162c674dac59dbfaf7faea39595455d36" + } + }, + "assertions": { + "capabilityFamily": "RELEASE.HANDOFF_SMOKE", + "sourceBacked": true, + "unsupportedFailsClosed": true, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P41-000" +} diff --git a/tests/golden/WBV2-P40-003/task-context.json b/tests/golden/WBV2-P40-003/task-context.json new file mode 100644 index 000000000..9b8ce4d85 --- /dev/null +++ b/tests/golden/WBV2-P40-003/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P40-003", + "parentTask": "WBV2-P40-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-P40-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-P40-003/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P40-003.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P40-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-P41-000", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P40-003.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P40-002/manifest.json", + "parentStatus": "docs/status/WBV2-P40-002.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P40-003.md", + "tests/golden/WBV2-P40-002/manifest.json", + "docs/status/WBV2-P40-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-P40-002", + "parentTask": "WBV2-P40-001", + "status": "done", + "nextTask": "WBV2-P40-003", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P40-002 status", + "- task: `WBV2-P40-002`; parent: `WBV2-P40-001`; status: `done`", + "- continuous slice command exit: `0`", + "- Chromium receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P40-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-P40-003.md", + "bytes": 1288, + "lines": 38, + "tokens": 322 + }, + { + "path": "tests/golden/WBV2-P40-002/manifest.json", + "bytes": 1772, + "lines": 53, + "tokens": 443 + }, + { + "path": "docs/status/WBV2-P40-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-P41-000/task-context.json b/tests/golden/WBV2-P41-000/task-context.json new file mode 100644 index 000000000..74cfd4193 --- /dev/null +++ b/tests/golden/WBV2-P41-000/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P41-000", + "parentTask": "WBV2-P40-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-P41-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-P41-000/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P41-000.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P41-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-P41-000.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P40-003/manifest.json", + "parentStatus": "docs/status/WBV2-P40-003.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P41-000.md", + "tests/golden/WBV2-P40-003/manifest.json", + "docs/status/WBV2-P40-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-P40-003", + "parentTask": "WBV2-P40-002", + "status": "done", + "nextTask": "WBV2-P41-000", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P40-003 status", + "- task: `WBV2-P40-003`; parent: `WBV2-P40-002`; status: `done`", + "- continuous slice command exit: `0`", + "- Chromium receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P41-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-P41-000.md", + "bytes": 1058, + "lines": 37, + "tokens": 265 + }, + { + "path": "tests/golden/WBV2-P40-003/manifest.json", + "bytes": 1817, + "lines": 53, + "tokens": 455 + }, + { + "path": "docs/status/WBV2-P40-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 301b80720..a3a1ffa30 100644 --- a/tests/golden/WBV2/task-catalog.jsonl +++ b/tests/golden/WBV2/task-catalog.jsonl @@ -1,5 +1,5 @@ -{"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"]} +{"id":"WBV2-P40-000","gapId":"workflow:authorize_continuous_wave","ownerFamily":"PROGRAM","sourceTask":"P40","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} +{"id":"WBV2-P40-001","gapId":"workflow:refresh_continuous_integrity","ownerFamily":"RELEASE","sourceTask":"P40","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} +{"id":"WBV2-P40-002","gapId":"workflow:rebuild_continuous_bundle","ownerFamily":"RELEASE","sourceTask":"P40","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} +{"id":"WBV2-P40-003","gapId":"workflow:run_continuous_smoke","ownerFamily":"RELEASE","sourceTask":"P40","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} +{"id":"WBV2-P41-000","gapId":"workflow:authorize_continuous_wave","ownerFamily":"PROGRAM","sourceTask":"P41","state":"active","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["real source or WebEngine Main path is wired","unsupported input fails closed","implementation smoke is reproducible","verification remains deferred"]} diff --git a/tests/golden/WBV2/task-index.json b/tests/golden/WBV2/task-index.json index 5ec5d339e..3fec79288 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-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}}} +{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P40-003/continuous-task-plan.json","sha256":"9ef94b28350931c079e9aff7bc580884e42341e3fc306e8c11cb66ffa4e57a61"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"e67e2a09f45ceeca6f98ac59ce893cacbb962404a2a0458752d4aaa0abf7a52d"},"taskCount":5,"activeTask":"WBV2-P41-000","entries":{"WBV2-P40-000":{"line":0,"offset":0,"length":341,"previous":"WBV2-P39-003","next":"WBV2-P40-001"},"WBV2-P40-001":{"line":1,"offset":341,"length":344,"previous":"WBV2-P40-000","next":"WBV2-P40-002"},"WBV2-P40-002":{"line":2,"offset":685,"length":341,"previous":"WBV2-P40-001","next":"WBV2-P40-003"},"WBV2-P40-003":{"line":3,"offset":1026,"length":336,"previous":"WBV2-P40-002","next":"WBV2-P41-000"},"WBV2-P41-000":{"line":4,"offset":1362,"length":338,"previous":"WBV2-P40-003","next":null}}}