diff --git a/docs/EXECUTION_QUEUE.md b/docs/EXECUTION_QUEUE.md index a9ac5094e..3199c59e0 100644 --- a/docs/EXECUTION_QUEUE.md +++ b/docs/EXECUTION_QUEUE.md @@ -13,9 +13,9 @@ | 字段 | 值 | | --- | --- | | 里程碑 | WBV2 capability workflow | -| 当前任务 | `WBV2-P122-000` | -| parent manifest | `tests/golden/WBV2-P121-003/manifest.json` | -| 任务卡 | [`tasks/WBV2-P122-000.md`](tasks/WBV2-P122-000.md) | +| 当前任务 | `WBV2-P122-001` | +| parent manifest | `tests/golden/WBV2-P122-000/manifest.json` | +| 任务卡 | [`tasks/WBV2-P122-001.md`](tasks/WBV2-P122-001.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-P122-000.md b/docs/status/WBV2-P122-000.md new file mode 100644 index 000000000..fb34bab37 --- /dev/null +++ b/docs/status/WBV2-P122-000.md @@ -0,0 +1,7 @@ +# WBV2-P122-000 status + +- task: `WBV2-P122-000`; parent: `WBV2-P121-003`; status: `done` +- capability-family continuation authorized from Blender source +- 6900 inventory: 27 deduplicated batches, 6609 pending rows +- verification and completion overlay: `DEFERRED` +- nextTask: `WBV2-P122-001` diff --git a/docs/tasks/WBV2-P122-001.md b/docs/tasks/WBV2-P122-001.md new file mode 100644 index 000000000..13d8f0515 --- /dev/null +++ b/docs/tasks/WBV2-P122-001.md @@ -0,0 +1,38 @@ +# WBV2-P122-001: index_capability_family_batches + +- task: WBV2-P122-001 +- parent: WBV2-P122-000 +- status: in_progress +- gap: workflow:index_capability_family_batches +- ownerFamily: RELEASE +- targetImplementationClass: SOURCE_BACKED + +## 目标 + +Reuse the 27 deduplicated capability batches and unique behavior keys. + +## 输入与范围 + +- 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-P122-001 --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-P122-001 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P122-001/` +- Status: `docs/status/WBV2-P122-001.md` +- Manifest: `tests/golden/WBV2-P122-001/manifest.json` +- Rollback: restore WBV2-P122-000 as queue parent and leave the task in_progress. diff --git a/nextTask.md b/nextTask.md index 29679a80f..834bc0654 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-P122-000` | +| Current task when this file was written | `WBV2-P122-001` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2-P121-003/manifest.json` | -| Current task card | `docs/tasks/WBV2-P122-000.md` | -| Current task-context nextTask | `NONE` | -| Focused command | `node tools/web/generate-wbv2-capability-continuation-root.mjs` | +| Parent manifest | `tests/golden/WBV2-P122-000/manifest.json` | +| Current task card | `docs/tasks/WBV2-P122-001.md` | +| Current task-context nextTask | `WBV2-P122-002` | +| Focused command | `node tools/web/generate-wbv2-capability-continuation-slice.mjs --task WBV2-P122-001 --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-P122-000/capability-continuation-plan.json b/tests/golden/WBV2-P122-000/capability-continuation-plan.json new file mode 100644 index 000000000..fec07d327 --- /dev/null +++ b/tests/golden/WBV2-P122-000/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P122", + "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-P122-000", + "phase": "P122", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P121-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p122-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P122-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-P122-001", + "phase": "P122", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P122-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p122-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P122-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": "in_progress", + "ready": true, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P122-002", + "phase": "P122", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P122-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p122-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P122-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": "planned", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P122-003", + "phase": "P122", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P122-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p122-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P122-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-P122-000/capability-continuation-root-report.json b/tests/golden/WBV2-P122-000/capability-continuation-root-report.json new file mode 100644 index 000000000..e02aeca5f --- /dev/null +++ b/tests/golden/WBV2-P122-000/capability-continuation-root-report.json @@ -0,0 +1,30 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P122-000", + "operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION", + "status": "PASS", + "parent": { + "task": "WBV2-P121-003", + "manifest": "tests/golden/WBV2-P121-003/manifest.json", + "manifestSha256": "4f7175faed0a2232a413cd93c5a85c3e46371a0b148ccc2a1e6c3e1eac608199" + }, + "sourceAuthority": "blender-5.2.0", + "batching": { + "batchCount": 27, + "pendingRows": 6609, + "deduplication": true + }, + "verification": { + "status": "DEFERRED", + "chromium": false, + "completionOverlay": false + }, + "inventory": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609 + }, + "nextTask": "WBV2-P122-001" +} diff --git a/tests/golden/WBV2-P122-000/manifest.json b/tests/golden/WBV2-P122-000/manifest.json new file mode 100644 index 000000000..62c8b1f97 --- /dev/null +++ b/tests/golden/WBV2-P122-000/manifest.json @@ -0,0 +1,39 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P122-000", + "parentTask": "WBV2-P121-003", + "operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": true, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P121-003/manifest.json", + "sha256": "4f7175faed0a2232a413cd93c5a85c3e46371a0b148ccc2a1e6c3e1eac608199" + }, + "plan": { + "path": "tests/golden/WBV2-P122-000/capability-continuation-plan.json", + "sha256": "93099efaf68d3b0a3ddd1f48e8147e5b605dad952c391aef0dd049dd9a5d0a26" + }, + "report": { + "path": "tests/golden/WBV2-P122-000/capability-continuation-root-report.json", + "sha256": "352e715aa45611c3db2dbbc7b74894339d7589571df4eaaf5b68a674744b044c" + }, + "status": { + "path": "docs/status/WBV2-P122-000.md", + "sha256": "eb0be42774573e7a5f27397b7affa8a087013f38dd0a1d8391fac01483db1ade" + } + }, + "assertions": { + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P122-001" +} diff --git a/tests/golden/WBV2/task-catalog.jsonl b/tests/golden/WBV2/task-catalog.jsonl index 5da72e3db..df3039b11 100644 --- a/tests/golden/WBV2/task-catalog.jsonl +++ b/tests/golden/WBV2/task-catalog.jsonl @@ -1,5 +1,4 @@ -{"id":"WBV2-P121-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P121","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-P121-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P121","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-P121-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P121","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-P121-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P121","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-P122-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P122","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-P122-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P122","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-P122-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P122","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-P122-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P122","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-P122-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P122","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 25a994bb9..10d03e6b4 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-P121-003/capability-continuation-plan.json","sha256":"f9eecd2b36ab723c29c90cee628bbd080f53c3bd69ed7bbe33bad9b25cf00ab6"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"db1463ba2a7add109187dad67f7e85543908a15ca2f2220e05960fa1aed8c9bf"},"taskCount":5,"activeTask":"WBV2-P122-000","entries":{"WBV2-P121-000":{"line":0,"offset":0,"length":404,"previous":"WBV2-P120-003","next":"WBV2-P121-001"},"WBV2-P121-001":{"line":1,"offset":404,"length":403,"previous":"WBV2-P121-000","next":"WBV2-P121-002"},"WBV2-P121-002":{"line":2,"offset":807,"length":412,"previous":"WBV2-P121-001","next":"WBV2-P121-003"},"WBV2-P121-003":{"line":3,"offset":1219,"length":399,"previous":"WBV2-P121-002","next":"WBV2-P122-000"},"WBV2-P122-000":{"line":4,"offset":1618,"length":401,"previous":"WBV2-P121-003","next":null}}} +{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P122-000/capability-continuation-plan.json","sha256":"93099efaf68d3b0a3ddd1f48e8147e5b605dad952c391aef0dd049dd9a5d0a26"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"96e833c4da208bca4304b31cbf0d23d4d548c7b3f69c3d41bba3925d3abf5dc3"},"taskCount":4,"activeTask":"WBV2-P122-001","entries":{"WBV2-P122-000":{"line":0,"offset":0,"length":404,"previous":"WBV2-P121-003","next":"WBV2-P122-001"},"WBV2-P122-001":{"line":1,"offset":404,"length":400,"previous":"WBV2-P122-000","next":"WBV2-P122-002"},"WBV2-P122-002":{"line":2,"offset":804,"length":410,"previous":"WBV2-P122-001","next":"WBV2-P122-003"},"WBV2-P122-003":{"line":3,"offset":1214,"length":397,"previous":"WBV2-P122-002","next":null}}}