diff --git a/docs/EXECUTION_QUEUE.md b/docs/EXECUTION_QUEUE.md index e8a40716a..492c17143 100644 --- a/docs/EXECUTION_QUEUE.md +++ b/docs/EXECUTION_QUEUE.md @@ -13,9 +13,9 @@ | 字段 | 值 | | --- | --- | | 里程碑 | WBV2 capability workflow | -| 当前任务 | `WBV2-P151-001` | -| parent manifest | `tests/golden/WBV2-P151-000/manifest.json` | -| 任务卡 | [`tasks/WBV2-P151-001.md`](tasks/WBV2-P151-001.md) | +| 当前任务 | `WBV2-P151-002` | +| parent manifest | `tests/golden/WBV2-P151-001/manifest.json` | +| 任务卡 | [`tasks/WBV2-P151-002.md`](tasks/WBV2-P151-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-P151-001.md b/docs/status/WBV2-P151-001.md new file mode 100644 index 000000000..5cf393fdc --- /dev/null +++ b/docs/status/WBV2-P151-001.md @@ -0,0 +1,7 @@ +# WBV2-P151-001 status + +- task: `WBV2-P151-001`; parent: `WBV2-P151-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-P151-002` diff --git a/docs/tasks/WBV2-P151-002.md b/docs/tasks/WBV2-P151-002.md new file mode 100644 index 000000000..4d0a24e91 --- /dev/null +++ b/docs/tasks/WBV2-P151-002.md @@ -0,0 +1,38 @@ +# WBV2-P151-002: implement_capability_family_slice + +- task: WBV2-P151-002 +- parent: WBV2-P151-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-P151-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-P151-002 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P151-002/` +- Status: `docs/status/WBV2-P151-002.md` +- Manifest: `tests/golden/WBV2-P151-002/manifest.json` +- Rollback: restore WBV2-P151-001 as queue parent and leave the task in_progress. diff --git a/nextTask.md b/nextTask.md index bbd6deac2..d4cd7e3b6 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-P151-001` | +| Current task when this file was written | `WBV2-P151-002` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2-P151-000/manifest.json` | -| Current task card | `docs/tasks/WBV2-P151-001.md` | -| Current task-context nextTask | `WBV2-P151-002` | -| Focused command | `node tools/web/generate-wbv2-capability-continuation-slice.mjs --task WBV2-P151-001 --write` | +| Parent manifest | `tests/golden/WBV2-P151-001/manifest.json` | +| Current task card | `docs/tasks/WBV2-P151-002.md` | +| Current task-context nextTask | `WBV2-P151-003` | +| Focused command | `node tools/web/generate-wbv2-capability-continuation-slice.mjs --task WBV2-P151-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-P151-001/capability-continuation-plan.json b/tests/golden/WBV2-P151-001/capability-continuation-plan.json new file mode 100644 index 000000000..c73531128 --- /dev/null +++ b/tests/golden/WBV2-P151-001/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P151", + "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-P151-000", + "phase": "P151", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P150-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p151-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P151-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-P151-001", + "phase": "P151", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P151-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p151-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P151-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-P151-002", + "phase": "P151", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P151-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p151-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P151-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-P151-003", + "phase": "P151", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P151-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p151-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P151-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-P151-001/implementation-report.json b/tests/golden/WBV2-P151-001/implementation-report.json new file mode 100644 index 000000000..317a43cb3 --- /dev/null +++ b/tests/golden/WBV2-P151-001/implementation-report.json @@ -0,0 +1,32 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P151-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-P151-002" +} diff --git a/tests/golden/WBV2-P151-001/manifest.json b/tests/golden/WBV2-P151-001/manifest.json new file mode 100644 index 000000000..61577f5bc --- /dev/null +++ b/tests/golden/WBV2-P151-001/manifest.json @@ -0,0 +1,53 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P151-001", + "parentTask": "WBV2-P151-000", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P151-000/manifest.json", + "sha256": "0d10049a8e2f1dceb730e175912cfe6e6462844fea78d4a683aae60bdb662405" + }, + "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-P151-001/implementation-report.json", + "sha256": "a4b6a32a79f032326a418953afaffac55326284ec0e3a4e7e855cf5af4d9d018" + }, + "status": { + "path": "docs/status/WBV2-P151-001.md", + "sha256": "f5b392629b33e0fe834b8ab00d422bf696ca857fc00ecd336469791240bd8e01" + }, + "plan": { + "path": "tests/golden/WBV2-P151-001/capability-continuation-plan.json", + "sha256": "3a457be54e3dba4b5632a3973ea1d5a2a68fbe1707a698106d03d7e185d2dc28" + }, + "taskContext": { + "path": "tests/golden/WBV2-P151-001/task-context.json", + "sha256": "cd758d1de6cb83878a94a0b64d55adfb983f3f3f22e243e6f837bc95bfaf3297" + } + }, + "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-P151-002" +} diff --git a/tests/golden/WBV2-P151-001/task-context.json b/tests/golden/WBV2-P151-001/task-context.json new file mode 100644 index 000000000..f6abb42b5 --- /dev/null +++ b/tests/golden/WBV2-P151-001/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P151-001", + "parentTask": "WBV2-P151-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-P151-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-P151-001/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P151-001.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P151-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-P151-002", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P151-001.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P151-000/manifest.json", + "parentStatus": "docs/status/WBV2-P151-000.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P151-001.md", + "tests/golden/WBV2-P151-000/manifest.json", + "docs/status/WBV2-P151-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-P151-000", + "parentTask": "WBV2-P150-003", + "status": "done", + "nextTask": "WBV2-P151-001", + "artifactCount": 4 + }, + "statusSummary": [ + "# WBV2-P151-000 status", + "- task: `WBV2-P151-000`; parent: `WBV2-P150-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-P151-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-P151-001.md", + "bytes": 1308, + "lines": 39, + "tokens": 327 + }, + { + "path": "tests/golden/WBV2-P151-000/manifest.json", + "bytes": 1289, + "lines": 40, + "tokens": 323 + }, + { + "path": "docs/status/WBV2-P151-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 4559308aa..d75f3a60b 100644 --- a/tests/golden/WBV2/task-catalog.jsonl +++ b/tests/golden/WBV2/task-catalog.jsonl @@ -1,4 +1,4 @@ {"id":"WBV2-P151-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P151","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-P151-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P151","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-P151-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P151","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-P151-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P151","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-P151-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P151","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-P151-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P151","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 239d21ac8..816b7b0e7 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-P151-000/capability-continuation-plan.json","sha256":"11719ed3f1fa0c16148502963d90d7d3d7a7a76bb382eaba905f45545d556d37"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"4a31ad186cdd8da324d4d78fd0448ba8dcc100d273bede59056f2eb33d5ff831"},"taskCount":4,"activeTask":"WBV2-P151-001","entries":{"WBV2-P151-000":{"line":0,"offset":0,"length":404,"previous":"WBV2-P150-003","next":"WBV2-P151-001"},"WBV2-P151-001":{"line":1,"offset":404,"length":400,"previous":"WBV2-P151-000","next":"WBV2-P151-002"},"WBV2-P151-002":{"line":2,"offset":804,"length":410,"previous":"WBV2-P151-001","next":"WBV2-P151-003"},"WBV2-P151-003":{"line":3,"offset":1214,"length":397,"previous":"WBV2-P151-002","next":null}}} +{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P151-001/capability-continuation-plan.json","sha256":"3a457be54e3dba4b5632a3973ea1d5a2a68fbe1707a698106d03d7e185d2dc28"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"7b0419f599b7c260208c11390b0b780ada1ee700ea47d015270ef5717d2f9f0f"},"taskCount":4,"activeTask":"WBV2-P151-002","entries":{"WBV2-P151-000":{"line":0,"offset":0,"length":404,"previous":"WBV2-P150-003","next":"WBV2-P151-001"},"WBV2-P151-001":{"line":1,"offset":404,"length":403,"previous":"WBV2-P151-000","next":"WBV2-P151-002"},"WBV2-P151-002":{"line":2,"offset":807,"length":409,"previous":"WBV2-P151-001","next":"WBV2-P151-003"},"WBV2-P151-003":{"line":3,"offset":1216,"length":397,"previous":"WBV2-P151-002","next":null}}}