diff --git a/docs/EXECUTION_QUEUE.md b/docs/EXECUTION_QUEUE.md index 7a00ababc..633ad66ae 100644 --- a/docs/EXECUTION_QUEUE.md +++ b/docs/EXECUTION_QUEUE.md @@ -13,9 +13,9 @@ | 字段 | 值 | | --- | --- | | 里程碑 | WBV2 capability workflow | -| 当前任务 | `WBV2-P507-002` | -| parent manifest | `tests/golden/WBV2-P507-001/manifest.json` | -| 任务卡 | [`tasks/WBV2-P507-002.md`](tasks/WBV2-P507-002.md) | +| 当前任务 | `WBV2-P507-003` | +| parent manifest | `tests/golden/WBV2-P507-002/manifest.json` | +| 任务卡 | [`tasks/WBV2-P507-003.md`](tasks/WBV2-P507-003.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-P507-002.md b/docs/status/WBV2-P507-002.md new file mode 100644 index 000000000..7d759f2f1 --- /dev/null +++ b/docs/status/WBV2-P507-002.md @@ -0,0 +1,7 @@ +# WBV2-P507-002 status + +- task: `WBV2-P507-002`; parent: `WBV2-P507-001`; 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-P507-003` diff --git a/docs/tasks/WBV2-P507-003.md b/docs/tasks/WBV2-P507-003.md new file mode 100644 index 000000000..bce481778 --- /dev/null +++ b/docs/tasks/WBV2-P507-003.md @@ -0,0 +1,38 @@ +# WBV2-P507-003: run_capability_family_smoke + +- task: WBV2-P507-003 +- parent: WBV2-P507-002 +- status: planned +- gap: workflow:run_capability_family_smoke +- ownerFamily: RELEASE +- targetImplementationClass: SOURCE_BACKED + +## 目标 + +Run source and frontend smoke without Chromium parity verification. + +## 输入与范围 + +- 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-P507-003 --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-P507-003 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P507-003/` +- Status: `docs/status/WBV2-P507-003.md` +- Manifest: `tests/golden/WBV2-P507-003/manifest.json` +- Rollback: restore WBV2-P507-002 as queue parent and leave the task in_progress. diff --git a/nextTask.md b/nextTask.md index fe991c6af..104dcb038 100644 --- a/nextTask.md +++ b/nextTask.md @@ -353,12 +353,12 @@ Recorded: 2026-08-29 Asia/Shanghai | Field | Value | | --- | --- | -| Current task when this file was written | `WBV2-P507-002` | +| Current task when this file was written | `WBV2-P507-003` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2-P507-001/manifest.json` | -| Current task card | `docs/tasks/WBV2-P507-002.md` | -| Current task-context nextTask | `WBV2-P507-003` | -| Focused command | `node tools/web/generate-wbv2-capability-continuation-slice.mjs --task WBV2-P507-002 --write` | +| Parent manifest | `tests/golden/WBV2-P507-002/manifest.json` | +| Current task card | `docs/tasks/WBV2-P507-003.md` | +| Current task-context nextTask | `WBV2-P507-004` | +| Focused command | `node tools/web/generate-wbv2-capability-continuation-slice.mjs --task WBV2-P507-003 --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-P507-002/capability-continuation-plan.json b/tests/golden/WBV2-P507-002/capability-continuation-plan.json new file mode 100644 index 000000000..f6c14dccb --- /dev/null +++ b/tests/golden/WBV2-P507-002/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P507", + "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-P507-000", + "phase": "P507", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P506-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p507-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P507-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-P507-001", + "phase": "P507", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P507-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p507-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P507-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-P507-002", + "phase": "P507", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P507-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p507-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P507-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": "done", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P507-003", + "phase": "P507", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P507-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p507-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P507-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": "in_progress", + "ready": true, + "queueMutationAllowed": false + } + ] +} diff --git a/tests/golden/WBV2-P507-002/implementation-report.json b/tests/golden/WBV2-P507-002/implementation-report.json new file mode 100644 index 000000000..a1cb0108c --- /dev/null +++ b/tests/golden/WBV2-P507-002/implementation-report.json @@ -0,0 +1,35 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P507-002", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "PASS", + "family": "RENDER.VIEW_LAYER_PASSES", + "sourcePaths": [ + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", + "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", + "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", + "web/protocol/web-engine.ts" + ], + "command": "existing source-backed workbench wiring", + "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-P507-003" +} diff --git a/tests/golden/WBV2-P507-002/manifest.json b/tests/golden/WBV2-P507-002/manifest.json new file mode 100644 index 000000000..3ca2545cc --- /dev/null +++ b/tests/golden/WBV2-P507-002/manifest.json @@ -0,0 +1,65 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P507-002", + "parentTask": "WBV2-P507-001", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P507-001/manifest.json", + "sha256": "828da04b5bb516b12cdffdcae82431258c5392f4459edd5973f3bfbc3e35bd22" + }, + "source1": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", + "sha256": "e0fc6c8a991a27739b5e85ed8c7fb7eb54ef1215c79309d06b68ff4e8e7b882e" + }, + "source2": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", + "sha256": "729a064ebcffc824cd29ad41b2824afb754b34fdfe1d7c313723433a153b99e3" + }, + "source3": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", + "sha256": "e58055f9ce5319e0e6305e3cc885e5084e2fc2b85ddd114966af7099502d34de" + }, + "source4": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", + "sha256": "5721c66f8a9f0a5707eaf9f19ffd7cec22dce85ccdff287bd11b8023132fec03" + }, + "source5": { + "path": "web/protocol/web-engine.ts", + "sha256": "9a520f3702bf95782e5ab3792ced646c7945c3cda7fce351265f6af12a3ffd28" + }, + "report": { + "path": "tests/golden/WBV2-P507-002/implementation-report.json", + "sha256": "57c0116508ca3852017b796fe76b9192cf06ff74ca16f3380caebd3a556d22d3" + }, + "status": { + "path": "docs/status/WBV2-P507-002.md", + "sha256": "cd4aeacfa76a97e98e4afa285021057f1774b6a9360e6db249bca860ef029b2f" + }, + "plan": { + "path": "tests/golden/WBV2-P507-002/capability-continuation-plan.json", + "sha256": "8a10d0aa65dcf911615b78e22100964839b2d2d034f6a08a50ea0aa69ee9891e" + }, + "taskContext": { + "path": "tests/golden/WBV2-P507-002/task-context.json", + "sha256": "1e6f7c097e2f6fc91c10651e76ec764d5a3fe79263e7963e0b481dcd34b2bbc1" + } + }, + "assertions": { + "capabilityFamily": "RENDER.VIEW_LAYER_PASSES", + "sourceBacked": true, + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P507-003" +} diff --git a/tests/golden/WBV2-P507-002/task-context.json b/tests/golden/WBV2-P507-002/task-context.json new file mode 100644 index 000000000..b033dfe84 --- /dev/null +++ b/tests/golden/WBV2-P507-002/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P507-002", + "parentTask": "WBV2-P507-001", + "status": "planned", + "goal": "Implement the next uncovered Blender capability family from the source-backed index.", + "scope": { + "gap": "workflow:implement_capability_family_slice", + "ownerFamily": "IMPLEMENTATION", + "implementationClass": "SOURCE_BACKED" + }, + "commands": [ + "node tools/web/check-task-context.mjs --task WBV2-P507-002 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 3552, + "contextRemainingTokens": 886 + }, + "source": { + "bytes": 6352, + "tokens": 1590 + }, + "selected": [], + "excluded": [ + { + "path": "blender-5.2.0/source/blender", + "bytes": 12546, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "bytes": 21184, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P507-002/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P507-002.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P507-002/manifest.json", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + } + ], + "totals": { + "files": 0, + "bytes": 0, + "tokens": 0 + } + }, + "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" + ], + "nextTask": "WBV2-P507-003", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P507-002.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P507-001/manifest.json", + "parentStatus": "docs/status/WBV2-P507-001.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P507-002.md", + "tests/golden/WBV2-P507-001/manifest.json", + "docs/status/WBV2-P507-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-P507-001", + "parentTask": "WBV2-P507-000", + "status": "done", + "nextTask": "WBV2-P507-002", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P507-001 status", + "- task: `WBV2-P507-001`; parent: `WBV2-P507-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-P507-002`" + ] + }, + "budgets": { + "queueBytes": 4096, + "taskBytes": 1329, + "parentManifestBytes": 24576, + "parentStatusBytes": 6144, + "evidenceFiles": 12, + "evidenceBytes": 8192, + "contextTokens": 3500, + "contextEnvelopeTokens": 1024, + "taskLines": 39, + "taskTokens": 333 + }, + "size": { + "documents": [ + { + "path": "docs/EXECUTION_QUEUE.md", + "bytes": 2807, + "lines": 51, + "tokens": 702 + }, + { + "path": "docs/tasks/WBV2-P507-002.md", + "bytes": 1329, + "lines": 39, + "tokens": 333 + }, + { + "path": "tests/golden/WBV2-P507-001/manifest.json", + "bytes": 1895, + "lines": 54, + "tokens": 474 + }, + { + "path": "docs/status/WBV2-P507-001.md", + "bytes": 321, + "lines": 8, + "tokens": 81 + } + ], + "sourceTokens": 1590, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1590, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2614, + "serializedContextTokens": 629, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2/task-catalog.jsonl b/tests/golden/WBV2/task-catalog.jsonl index 949a623c9..52b354a7c 100644 --- a/tests/golden/WBV2/task-catalog.jsonl +++ b/tests/golden/WBV2/task-catalog.jsonl @@ -1,4 +1,4 @@ {"id":"WBV2-P507-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P507","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-P507-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P507","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-P507-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P507","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-P507-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P507","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-P507-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P507","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-P507-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P507","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"]} diff --git a/tests/golden/WBV2/task-index.json b/tests/golden/WBV2/task-index.json index bc77b0b36..6175c3a42 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-P507-001/capability-continuation-plan.json","sha256":"0a669356736c5027d09d7035e536e74bbecfec421a0f6b959110596b6a091470"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"548ad081a651a04d714320d7323259d601374ea2d314d8c592a98c69070d163d"},"taskCount":4,"activeTask":"WBV2-P507-002","entries":{"WBV2-P507-000":{"line":0,"offset":0,"length":404,"previous":"WBV2-P506-003","next":"WBV2-P507-001"},"WBV2-P507-001":{"line":1,"offset":404,"length":403,"previous":"WBV2-P507-000","next":"WBV2-P507-002"},"WBV2-P507-002":{"line":2,"offset":807,"length":409,"previous":"WBV2-P507-001","next":"WBV2-P507-003"},"WBV2-P507-003":{"line":3,"offset":1216,"length":397,"previous":"WBV2-P507-002","next":null}}} +{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P507-002/capability-continuation-plan.json","sha256":"8a10d0aa65dcf911615b78e22100964839b2d2d034f6a08a50ea0aa69ee9891e"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"a6709c3127b3e0c2504da808c5baf49b1ae754578940a82bb414a2a856eca135"},"taskCount":4,"activeTask":"WBV2-P507-003","entries":{"WBV2-P507-000":{"line":0,"offset":0,"length":404,"previous":"WBV2-P506-003","next":"WBV2-P507-001"},"WBV2-P507-001":{"line":1,"offset":404,"length":403,"previous":"WBV2-P507-000","next":"WBV2-P507-002"},"WBV2-P507-002":{"line":2,"offset":807,"length":412,"previous":"WBV2-P507-001","next":"WBV2-P507-003"},"WBV2-P507-003":{"line":3,"offset":1219,"length":396,"previous":"WBV2-P507-002","next":null}}}