diff --git a/docs/EXECUTION_QUEUE.md b/docs/EXECUTION_QUEUE.md index 178d6956c..ddac17b41 100644 --- a/docs/EXECUTION_QUEUE.md +++ b/docs/EXECUTION_QUEUE.md @@ -13,9 +13,9 @@ | 字段 | 值 | | --- | --- | | 里程碑 | WBV2 capability workflow | -| 当前任务 | `WBV2-P365-001` | -| parent manifest | `tests/golden/WBV2-P365-000/manifest.json` | -| 任务卡 | [`tasks/WBV2-P365-001.md`](tasks/WBV2-P365-001.md) | +| 当前任务 | `WBV2-P365-002` | +| parent manifest | `tests/golden/WBV2-P365-001/manifest.json` | +| 任务卡 | [`tasks/WBV2-P365-002.md`](tasks/WBV2-P365-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-P365-001.md b/docs/status/WBV2-P365-001.md new file mode 100644 index 000000000..709a70639 --- /dev/null +++ b/docs/status/WBV2-P365-001.md @@ -0,0 +1,7 @@ +# WBV2-P365-001 status + +- task: `WBV2-P365-001`; parent: `WBV2-P365-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-P365-002` diff --git a/docs/tasks/WBV2-P365-002.md b/docs/tasks/WBV2-P365-002.md new file mode 100644 index 000000000..61b9b9827 --- /dev/null +++ b/docs/tasks/WBV2-P365-002.md @@ -0,0 +1,38 @@ +# WBV2-P365-002: implement_capability_family_slice + +- task: WBV2-P365-002 +- parent: WBV2-P365-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-P365-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-P365-002 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P365-002/` +- Status: `docs/status/WBV2-P365-002.md` +- Manifest: `tests/golden/WBV2-P365-002/manifest.json` +- Rollback: restore WBV2-P365-001 as queue parent and leave the task in_progress. diff --git a/nextTask.md b/nextTask.md index 880bc8fff..8b54b671f 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-P365-001` | +| Current task when this file was written | `WBV2-P365-002` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2-P365-000/manifest.json` | -| Current task card | `docs/tasks/WBV2-P365-001.md` | -| Current task-context nextTask | `WBV2-P365-002` | -| Focused command | `node tools/web/generate-wbv2-capability-continuation-slice.mjs --task WBV2-P365-001 --write` | +| Parent manifest | `tests/golden/WBV2-P365-001/manifest.json` | +| Current task card | `docs/tasks/WBV2-P365-002.md` | +| Current task-context nextTask | `WBV2-P365-003` | +| Focused command | `node tools/web/generate-wbv2-capability-continuation-slice.mjs --task WBV2-P365-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-P365-001/capability-continuation-plan.json b/tests/golden/WBV2-P365-001/capability-continuation-plan.json new file mode 100644 index 000000000..053348267 --- /dev/null +++ b/tests/golden/WBV2-P365-001/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P365", + "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-P365-000", + "phase": "P365", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P364-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p365-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P365-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-P365-001", + "phase": "P365", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P365-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p365-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P365-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-P365-002", + "phase": "P365", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P365-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p365-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P365-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-P365-003", + "phase": "P365", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P365-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p365-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P365-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-P365-001/implementation-report.json b/tests/golden/WBV2-P365-001/implementation-report.json new file mode 100644 index 000000000..901baa5c6 --- /dev/null +++ b/tests/golden/WBV2-P365-001/implementation-report.json @@ -0,0 +1,32 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P365-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-P365-002" +} diff --git a/tests/golden/WBV2-P365-001/manifest.json b/tests/golden/WBV2-P365-001/manifest.json new file mode 100644 index 000000000..d58cb564c --- /dev/null +++ b/tests/golden/WBV2-P365-001/manifest.json @@ -0,0 +1,53 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P365-001", + "parentTask": "WBV2-P365-000", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P365-000/manifest.json", + "sha256": "88fa22e74f5d74bf5de53c02374b85b68dd8515e60a5f75438466a07ff745ccd" + }, + "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-P365-001/implementation-report.json", + "sha256": "09296b17e04f4fa356783fcc697269cf09b5a2c04b3051a93ab3b674165c62c6" + }, + "status": { + "path": "docs/status/WBV2-P365-001.md", + "sha256": "afc99f619d803185d7e5399d9a1af0bd1199b4c0ec884b6b1121e6bd99498033" + }, + "plan": { + "path": "tests/golden/WBV2-P365-001/capability-continuation-plan.json", + "sha256": "8612b9e56306243fc308299d61ae139407d8e151e670cc448529605e9a45f40a" + }, + "taskContext": { + "path": "tests/golden/WBV2-P365-001/task-context.json", + "sha256": "a05ff1482096b5cac6ea25e6958b474fdc6b1c27ba6853b2fd62b9b8535375fa" + } + }, + "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-P365-002" +} diff --git a/tests/golden/WBV2-P365-001/task-context.json b/tests/golden/WBV2-P365-001/task-context.json new file mode 100644 index 000000000..b92cc37a4 --- /dev/null +++ b/tests/golden/WBV2-P365-001/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P365-001", + "parentTask": "WBV2-P365-000", + "status": "in_progress", + "goal": "Reuse the 27 deduplicated capability batches and unique behavior keys.", + "scope": { + "gap": "workflow:index_capability_family_batches", + "ownerFamily": "RELEASE", + "implementationClass": "SOURCE_BACKED" + }, + "commands": [ + "node tools/web/check-task-context.mjs --task WBV2-P365-001 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 4208, + "contextRemainingTokens": 1051 + }, + "source": { + "bytes": 5696, + "tokens": 1425 + }, + "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-P365-001/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P365-001.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P365-001/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-P365-002", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P365-001.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P365-000/manifest.json", + "parentStatus": "docs/status/WBV2-P365-000.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P365-001.md", + "tests/golden/WBV2-P365-000/manifest.json", + "docs/status/WBV2-P365-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-P365-000", + "parentTask": "WBV2-P364-003", + "status": "done", + "nextTask": "WBV2-P365-001", + "artifactCount": 4 + }, + "statusSummary": [ + "# WBV2-P365-000 status", + "- task: `WBV2-P365-000`; parent: `WBV2-P364-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-P365-001`" + ] + }, + "budgets": { + "queueBytes": 4096, + "taskBytes": 1308, + "parentManifestBytes": 24576, + "parentStatusBytes": 6144, + "evidenceFiles": 12, + "evidenceBytes": 8192, + "contextTokens": 3500, + "contextEnvelopeTokens": 1024, + "taskLines": 39, + "taskTokens": 327 + }, + "size": { + "documents": [ + { + "path": "docs/EXECUTION_QUEUE.md", + "bytes": 2807, + "lines": 51, + "tokens": 702 + }, + { + "path": "docs/tasks/WBV2-P365-001.md", + "bytes": 1308, + "lines": 39, + "tokens": 327 + }, + { + "path": "tests/golden/WBV2-P365-000/manifest.json", + "bytes": 1289, + "lines": 40, + "tokens": 323 + }, + { + "path": "docs/status/WBV2-P365-000.md", + "bytes": 292, + "lines": 8, + "tokens": 73 + } + ], + "sourceTokens": 1425, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1425, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2449, + "serializedContextTokens": 624, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2/task-catalog.jsonl b/tests/golden/WBV2/task-catalog.jsonl index 6534d9efa..2a9c14d09 100644 --- a/tests/golden/WBV2/task-catalog.jsonl +++ b/tests/golden/WBV2/task-catalog.jsonl @@ -1,4 +1,4 @@ {"id":"WBV2-P365-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P365","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-P365-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P365","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-P365-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P365","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-P365-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P365","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-P365-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P365","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-P365-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P365","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 d662b677c..682168f66 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-P365-000/capability-continuation-plan.json","sha256":"b6a93282322ec6a978f93c6f96b7839b7c4a250fe9eb9ac3f9976ecb7d50a72e"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"5269bdf094b9e83552ba223725c1b88369312d16f6dae8f8bc8b8a198937acd4"},"taskCount":4,"activeTask":"WBV2-P365-001","entries":{"WBV2-P365-000":{"line":0,"offset":0,"length":404,"previous":"WBV2-P364-003","next":"WBV2-P365-001"},"WBV2-P365-001":{"line":1,"offset":404,"length":400,"previous":"WBV2-P365-000","next":"WBV2-P365-002"},"WBV2-P365-002":{"line":2,"offset":804,"length":410,"previous":"WBV2-P365-001","next":"WBV2-P365-003"},"WBV2-P365-003":{"line":3,"offset":1214,"length":397,"previous":"WBV2-P365-002","next":null}}} +{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P365-001/capability-continuation-plan.json","sha256":"8612b9e56306243fc308299d61ae139407d8e151e670cc448529605e9a45f40a"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"ed0c753688a191cd0efa8df2a815877580f8b188569051920b696b05cb9bb97d"},"taskCount":4,"activeTask":"WBV2-P365-002","entries":{"WBV2-P365-000":{"line":0,"offset":0,"length":404,"previous":"WBV2-P364-003","next":"WBV2-P365-001"},"WBV2-P365-001":{"line":1,"offset":404,"length":403,"previous":"WBV2-P365-000","next":"WBV2-P365-002"},"WBV2-P365-002":{"line":2,"offset":807,"length":409,"previous":"WBV2-P365-001","next":"WBV2-P365-003"},"WBV2-P365-003":{"line":3,"offset":1216,"length":397,"previous":"WBV2-P365-002","next":null}}}