diff --git a/docs/EXECUTION_QUEUE.md b/docs/EXECUTION_QUEUE.md index 51e54e56b..288b29796 100644 --- a/docs/EXECUTION_QUEUE.md +++ b/docs/EXECUTION_QUEUE.md @@ -13,9 +13,9 @@ | 字段 | 值 | | --- | --- | | 里程碑 | WBV2 capability workflow | -| 当前任务 | `WBV2-P78-001` | -| parent manifest | `tests/golden/WBV2-P78-000/manifest.json` | -| 任务卡 | [`tasks/WBV2-P78-001.md`](tasks/WBV2-P78-001.md) | +| 当前任务 | `WBV2-P78-002` | +| parent manifest | `tests/golden/WBV2-P78-001/manifest.json` | +| 任务卡 | [`tasks/WBV2-P78-002.md`](tasks/WBV2-P78-002.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-P78-001.md b/docs/status/WBV2-P78-001.md new file mode 100644 index 000000000..65fc6f6b0 --- /dev/null +++ b/docs/status/WBV2-P78-001.md @@ -0,0 +1,7 @@ +# WBV2-P78-001 status + +- task: `WBV2-P78-001`; parent: `WBV2-P78-000`; status: `done` +- capability-family implementation: `PASS`; 27 deduplicated batches; 6609 pending rows +- Chromium, E2E receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P78-002` diff --git a/docs/tasks/WBV2-P78-002.md b/docs/tasks/WBV2-P78-002.md new file mode 100644 index 000000000..ea637fe8c --- /dev/null +++ b/docs/tasks/WBV2-P78-002.md @@ -0,0 +1,38 @@ +# WBV2-P78-002: implement_capability_family_slice + +- task: WBV2-P78-002 +- parent: WBV2-P78-001 +- status: planned +- gap: workflow:implement_capability_family_slice +- ownerFamily: IMPLEMENTATION +- targetImplementationClass: SOURCE_BACKED + +## 目标 + +Implement the next uncovered Blender capability family from the source-backed index. + +## 输入与范围 + +- Blender source authority: `blender-5.2.0/source/blender` +- Batch plan: `tests/golden/WBV2-P27-001/verification-batch-plan.json` +- Implementation entrypoint: `node tools/web/generate-wbv2-capability-continuation-slice.mjs --task WBV2-P78-002 --write` + +## 验收 + +- 6900 inventory and provenance remain read-only +- capability-family deduplication is reused +- malformed, unsupported, hash-drift and false-completion input fails closed +- Chromium, E2E receipts and completion overlays remain deferred +- `node tools/web/check-task-context.mjs --task WBV2-P78-002 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P78-002/` +- Status: `docs/status/WBV2-P78-002.md` +- Manifest: `tests/golden/WBV2-P78-002/manifest.json` +- Rollback: restore WBV2-P78-001 as queue parent and leave the task in_progress. diff --git a/nextTask.md b/nextTask.md index 29f7c4052..0f51504e8 100644 --- a/nextTask.md +++ b/nextTask.md @@ -335,12 +335,12 @@ Recorded: 2026-08-29 Asia/Shanghai | Field | Value | | --- | --- | -| Current task when this file was written | `WBV2-P78-001` | +| Current task when this file was written | `WBV2-P78-002` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2-P78-000/manifest.json` | -| Current task card | `docs/tasks/WBV2-P78-001.md` | -| Current task-context nextTask | `WBV2-P78-002` | -| Focused command | `node tools/web/generate-wbv2-capability-continuation-slice.mjs --task WBV2-P78-001 --write` | +| Parent manifest | `tests/golden/WBV2-P78-001/manifest.json` | +| Current task card | `docs/tasks/WBV2-P78-002.md` | +| Current task-context nextTask | `WBV2-P78-003` | +| Focused command | `node tools/web/generate-wbv2-capability-continuation-slice.mjs --task WBV2-P78-002 --write` | The snapshot is informational and may become stale. On every resume, the queue, parent manifest, and fresh `print-task-context` output win. Never infer a task diff --git a/tests/golden/WBV2-P78-001/capability-continuation-plan.json b/tests/golden/WBV2-P78-001/capability-continuation-plan.json new file mode 100644 index 000000000..f14558688 --- /dev/null +++ b/tests/golden/WBV2-P78-001/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P78", + "status": "ACTIVE_CAPABILITY_FAMILY_QUEUE", + "authority": "user_authorized_implementation_first_execution", + "sourceAuthority": { + "blenderRoot": "blender-5.2.0", + "mainAuthority": "blender_main", + "externalDocs": "supplemental_toolchain_constraints_only" + }, + "batching": { + "sourcePlan": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "batchCount": 27, + "pendingRows": 6609, + "dedupeBy": [ + "sourceHash", + "behaviorHash", + "dedupeKey" + ] + }, + "inventoryPolicy": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609, + "overlayMutation": "forbidden_during_implementation_wave" + }, + "tasks": [ + { + "id": "WBV2-P78-000", + "phase": "P78", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P77-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p78-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P78-000.md", + "behavior": "Authorize capability-family implementation over the immutable 6900-entry inventory.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": true + }, + { + "id": "WBV2-P78-001", + "phase": "P78", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P78-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p78-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P78-001.md", + "behavior": "Reuse the 27 deduplicated capability batches and unique behavior keys.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P78-002", + "phase": "P78", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P78-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p78-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P78-002.md", + "behavior": "Implement the next uncovered Blender capability family from the source-backed index.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "in_progress", + "ready": true, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P78-003", + "phase": "P78", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P78-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p78-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P78-003.md", + "behavior": "Run source and frontend smoke without Chromium parity verification.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "planned", + "ready": false, + "queueMutationAllowed": false + } + ] +} diff --git a/tests/golden/WBV2-P78-001/implementation-report.json b/tests/golden/WBV2-P78-001/implementation-report.json new file mode 100644 index 000000000..5e83dc64c --- /dev/null +++ b/tests/golden/WBV2-P78-001/implementation-report.json @@ -0,0 +1,32 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P78-001", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "PASS", + "family": "INVENTORY.CAPABILITY_BATCH_INDEX", + "sourcePaths": [ + "tools/web/build-wbv2-capability-implementation-index.mjs", + "tests/golden/WBV2-P27-001/verification-batch-plan.json" + ], + "command": "/home/mes123456/.nvm/versions/node/v24.19.0/bin/node tools/web/build-wbv2-capability-implementation-index.mjs", + "batching": { + "sourcePlan": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "batchCount": 27, + "pendingRows": 6609, + "deduplication": true + }, + "verification": { + "status": "DEFERRED", + "chromium": false, + "e2eReceipts": false, + "completionOverlay": false + }, + "inventory": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609 + }, + "nextTask": "WBV2-P78-002" +} diff --git a/tests/golden/WBV2-P78-001/manifest.json b/tests/golden/WBV2-P78-001/manifest.json new file mode 100644 index 000000000..f098ff859 --- /dev/null +++ b/tests/golden/WBV2-P78-001/manifest.json @@ -0,0 +1,53 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P78-001", + "parentTask": "WBV2-P78-000", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P78-000/manifest.json", + "sha256": "6601118b65ce49a130da7676545704bf68b0945603c3cd18367f5c61814f3106" + }, + "source1": { + "path": "tools/web/build-wbv2-capability-implementation-index.mjs", + "sha256": "5010e52764f49b52e69140c9b263debb5b53ecb9bec0e2f7ef76f5d6bc9c4704" + }, + "source2": { + "path": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "sha256": "56dddc2e4c380f364d1760dfd9bc7a6be04c1bd8979e0c2aeaa69ae80e80a14e" + }, + "report": { + "path": "tests/golden/WBV2-P78-001/implementation-report.json", + "sha256": "2c900893f17dfaac2939aa5975f633fe5cbaec507cce12e6963ae764bacc623f" + }, + "status": { + "path": "docs/status/WBV2-P78-001.md", + "sha256": "814125028153ad3a179a6d4681916abd7810da0d5922b1ebfbf8e4505661961b" + }, + "plan": { + "path": "tests/golden/WBV2-P78-001/capability-continuation-plan.json", + "sha256": "d4802d41295a5d200f7ffb9c01a77978525641cb92c9d6fb4c47814bdbb7b68d" + }, + "taskContext": { + "path": "tests/golden/WBV2-P78-001/task-context.json", + "sha256": "791e49a3999ba25e7403306e7abc0e8a81f360c65166f80c6f8a15d690826c46" + } + }, + "assertions": { + "capabilityFamily": "INVENTORY.CAPABILITY_BATCH_INDEX", + "sourceBacked": true, + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P78-002" +} diff --git a/tests/golden/WBV2/task-catalog.jsonl b/tests/golden/WBV2/task-catalog.jsonl index 339e92781..f51aae532 100644 --- a/tests/golden/WBV2/task-catalog.jsonl +++ b/tests/golden/WBV2/task-catalog.jsonl @@ -1,4 +1,4 @@ {"id":"WBV2-P78-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P78","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} -{"id":"WBV2-P78-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P78","state":"active","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} -{"id":"WBV2-P78-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P78","state":"pending","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} +{"id":"WBV2-P78-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P78","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} +{"id":"WBV2-P78-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P78","state":"active","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} {"id":"WBV2-P78-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P78","state":"pending","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} diff --git a/tests/golden/WBV2/task-index.json b/tests/golden/WBV2/task-index.json index 3180020f4..c56f0cba8 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-P78-000/capability-continuation-plan.json","sha256":"671c824c2bd65d89270a15b650befe886a8f9ae978d1b25e6acc6cab0deba210"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"304eae483c55a00349558862d3d8c1609efe4a7aacb417d0ec1bd56f992d4cbb"},"taskCount":4,"activeTask":"WBV2-P78-001","entries":{"WBV2-P78-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P77-003","next":"WBV2-P78-001"},"WBV2-P78-001":{"line":1,"offset":402,"length":398,"previous":"WBV2-P78-000","next":"WBV2-P78-002"},"WBV2-P78-002":{"line":2,"offset":800,"length":408,"previous":"WBV2-P78-001","next":"WBV2-P78-003"},"WBV2-P78-003":{"line":3,"offset":1208,"length":395,"previous":"WBV2-P78-002","next":null}}} +{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P78-001/capability-continuation-plan.json","sha256":"d4802d41295a5d200f7ffb9c01a77978525641cb92c9d6fb4c47814bdbb7b68d"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"d6fe253c95704d53dc5f069e9f69d69f66546eee0bef45976c395d066a563059"},"taskCount":4,"activeTask":"WBV2-P78-002","entries":{"WBV2-P78-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P77-003","next":"WBV2-P78-001"},"WBV2-P78-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P78-000","next":"WBV2-P78-002"},"WBV2-P78-002":{"line":2,"offset":803,"length":407,"previous":"WBV2-P78-001","next":"WBV2-P78-003"},"WBV2-P78-003":{"line":3,"offset":1210,"length":395,"previous":"WBV2-P78-002","next":null}}}