Advance deduplicated collection creation coverage
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-08-28 15:16:11 +08:00
parent c21813334d
commit ec46223aba
40 changed files with 2124 additions and 20 deletions

View File

@@ -0,0 +1,25 @@
{
"schemaVersion": 1,
"task": "WBV2-P20-002",
"operation": "COLLECTION_CREATE_ENGINE_CHROMIUM",
"queueMutation": false,
"fixtureSha256": "6fcc55bda74da8c95da96ba068b60339bf60ca44147ff8000fbb95d296db2a73",
"browser": "chromium",
"baseRevision": 1,
"beforeCount": 2,
"createRevision": 2,
"undoRevision": 3,
"redoRevision": 4,
"afterCount": 3,
"createdId": "collection:WBV2P2002Collection",
"createdName": "WBV2P2002Collection",
"malformed": {
"code": "INVALID_ARGUMENT",
"message": "createCollection requires a non-empty name"
},
"malformedRevisionPreserved": true,
"reopenedCount": 3,
"reopenedHasCollection": true,
"reopenedRevision": 1,
"savedSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}

View File

@@ -0,0 +1,25 @@
{
"schemaVersion": 1,
"task": "WBV2-P20-002",
"operation": "COLLECTION_CREATE_ENGINE_CHROMIUM",
"queueMutation": false,
"fixtureSha256": "6fcc55bda74da8c95da96ba068b60339bf60ca44147ff8000fbb95d296db2a73",
"browser": "chromium",
"baseRevision": 1,
"beforeCount": 2,
"createRevision": 2,
"undoRevision": 3,
"redoRevision": 4,
"afterCount": 3,
"createdId": "collection:WBV2P2002Collection",
"createdName": "WBV2P2002Collection",
"malformed": {
"code": "INVALID_ARGUMENT",
"message": "createCollection requires a non-empty name"
},
"malformedRevisionPreserved": true,
"reopenedCount": 3,
"reopenedHasCollection": true,
"reopenedRevision": 1,
"savedSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}

View File

@@ -0,0 +1,67 @@
{
"schemaVersion": 1,
"task": "WBV2-P20-002",
"operation": "COLLECTION_CREATE_ENGINE_RECEIPT",
"status": "PASS",
"browser": "chromium",
"queueMutation": false,
"source": {
"manifest": "tests/golden/WBV2-P20-001/manifest.json",
"manifestSha256": "af983ff4b28dc97e9cdf4c2f17eb965aadd007252998db6bbdbdde55fc6e1522",
"selection": "tests/golden/WBV2-P20-001/collection-selection-report.json",
"selectionSha256": "13aa417b6d3e8c8b13f86eb6a1abf4894d160eb1d1af963f9910c3ab1484c352",
"api": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
"apiSha256": "8fa70dc7605e66393482e661e5987a8443dded56ab0092aeb977b40ae49888f8",
"test": "web/tests/e2e/wbv2-collection-create-production.spec.ts",
"testSha256": "bff4cc0850a60dd8b02ed7c2004a586e459f19932004e8e86d126f7079dee47e",
"fixture": "tests/files/web/basic_scene.blend",
"fixtureSha256": "6fcc55bda74da8c95da96ba068b60339bf60ca44147ff8000fbb95d296db2a73"
},
"production": {
"report": "tests/golden/WBV2-P20-002/collection-create-production.json",
"reportSha256": "25e0731dce332d0802e15120627b5ccf378fa9ee6d5ab2f07f3f52c10f7d4ea3",
"secondReport": "tests/golden/WBV2-P20-002/collection-create-production.second.json",
"secondReportSha256": "25e0731dce332d0802e15120627b5ccf378fa9ee6d5ab2f07f3f52c10f7d4ea3",
"deterministic": true,
"beforeCount": 2,
"afterCount": 3,
"createdId": "collection:WBV2P2002Collection",
"createdName": "WBV2P2002Collection",
"revisions": [
1,
2,
3,
4
],
"malformed": {
"code": "INVALID_ARGUMENT",
"message": "createCollection requires a non-empty name"
},
"malformedRevisionPreserved": true,
"reopenedCount": 3,
"reopenedHasCollection": true,
"reopenedRevision": 1,
"saveReopen": "EXACT"
},
"inventoryBindings": [
{
"id": "operator:object.collection_add",
"evidence": "createCollection",
"exact": true,
"reason": "bounded protocol command creates and persists a collection"
}
],
"assertions": {
"collectionCreated": true,
"undoRedoSequential": true,
"malformedRejected": true,
"mainUnchangedOnMalformed": true,
"saveReopenExact": true,
"deterministic": true,
"inventoryBindingsExact": true,
"representativeSliceOnly": true,
"fullFamilyParity": false,
"historicalReproduction": false
},
"nextTask": "WBV2-P20-003"
}

View File

@@ -0,0 +1,150 @@
{
"schemaVersion": 1,
"planId": "BLENDER_WEB_PARITY_V2_COLLECTION_CREATE_EPOCH_1",
"status": "ACTIVE_COLLECTION_CREATE_QUEUE",
"authority": "queue_reactivated_after_p19_parent_gate",
"sourcePlan": "docs/BLENDER_WEB_PARITY_TASK_PLAN_V2.json",
"executionPointer": "docs/EXECUTION_QUEUE.md",
"runtimePolicy": {
"blenderSource": "blender-5.2.0",
"browserEvidence": [
"chromium"
],
"forbiddenBrowsers": [
"firefox",
"webkit"
],
"mainAuthority": "blender_main",
"reusePolicy": "source_hash_and_behavior_hash_deduplication"
},
"parentParent": {
"manifest": "tests/golden/WBV2-P19-003/manifest.json",
"report": "tests/golden/WBV2-P19-003/object-parent-gate-report.json",
"basePending": 6618,
"effectivePending": 6613,
"duplicateValidationAvoided": true
},
"tasks": [
{
"id": "WBV2-P20-000",
"phase": "P20",
"title": "authorize_collection_create_continuation",
"kind": "enabling",
"owner": "PROGRAM",
"dependsOn": [
"WBV2-P19-003"
],
"parityId": null,
"implementationClass": "LOCAL_BOUNDED",
"parallelGroup": "p20-governance",
"gate": "G2",
"card": "docs/tasks/WBV2-P20-000.md",
"behavior": "Authorize one Collection Add behavior after the P19 parent overlay.",
"outputs": [
"continuation root",
"candidate scope",
"hash boundary"
],
"acceptance": [
"P19 overlay remains hash-bound",
"createCollection API is present",
"one production task is active"
],
"status": "done",
"ready": false,
"queueMutationAllowed": true
},
{
"id": "WBV2-P20-001",
"phase": "P20",
"title": "select_collection_create_batch",
"kind": "enabling",
"owner": "PARITY",
"dependsOn": [
"WBV2-P20-000"
],
"parityId": "OBJECT_OPERATIONS.COLLECTION_CREATE",
"implementationClass": "LOCAL_BOUNDED",
"parallelGroup": "p20-selection",
"gate": "G2",
"card": "docs/tasks/WBV2-P20-001.md",
"behavior": "Select createCollection as one unique Object Operations behavior.",
"outputs": [
"candidate report",
"behavior hash",
"dedupe key"
],
"acceptance": [
"source command is hash-bound",
"parent/create/duplicate evidence is not rerun",
"one legacy operator binding is selected"
],
"status": "done",
"ready": false,
"queueMutationAllowed": false
},
{
"id": "WBV2-P20-002",
"phase": "P20",
"title": "collection_create_engine_receipt",
"kind": "feature",
"owner": "OBJECT",
"dependsOn": [
"WBV2-P20-001"
],
"parityId": "OBJECT_OPERATIONS.COLLECTION_CREATE",
"implementationClass": "LOCAL_EXACT",
"parallelGroup": "p20-object",
"gate": "G2",
"card": "docs/tasks/WBV2-P20-002.md",
"behavior": "Bind createCollection, undo/redo, malformed rejection, and exact save/reopen to compiled WASM Main in Chromium.",
"outputs": [
"collection production report",
"collection receipt",
"manifest"
],
"acceptance": [
"collection is created",
"undo/redo revisions are sequential",
"malformed collection fails closed",
"save/reopen is exact"
],
"status": "done",
"ready": false,
"queueMutationAllowed": false
},
{
"id": "WBV2-P20-003",
"phase": "P20",
"title": "close_collection_create_gate",
"kind": "enabling",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P20-002"
],
"parityId": null,
"implementationClass": "LOCAL_BOUNDED",
"parallelGroup": "p20-release",
"gate": "G5",
"card": "docs/tasks/WBV2-P20-003.md",
"behavior": "Close the createCollection gate and graduate only the exact operator binding.",
"outputs": [
"collection gate",
"completion overlay",
"manifest"
],
"acceptance": [
"only collection add is claimed",
"effective inventory remains explicit",
"no duplicate validation or historical over-claim"
],
"status": "in_progress",
"ready": true,
"queueMutationAllowed": false
}
],
"parentRecoveryPlan": {
"path": "tests/golden/WBV2-P20-001/collection-task-plan.json",
"sha256": "6c3b16281c89a9a94d59386a5e1cc37e2b7303a91264782d4ee44f0233ba134f"
}
}

View File

@@ -0,0 +1,78 @@
{
"schemaVersion": 1,
"task": "WBV2-P20-002",
"parentTask": "WBV2-P20-001",
"operation": "COLLECTION_CREATE_ENGINE_RECEIPT",
"status": "done",
"enablingTask": false,
"parityStateChange": true,
"runtime": "PLAYWRIGHT_CHROMIUM_WEBENGINE_WASM",
"artifacts": {
"parentManifest": {
"path": "tests/golden/WBV2-P20-001/manifest.json",
"sha256": "af983ff4b28dc97e9cdf4c2f17eb965aadd007252998db6bbdbdde55fc6e1522"
},
"selection": {
"path": "tests/golden/WBV2-P20-001/collection-selection-report.json",
"sha256": "13aa417b6d3e8c8b13f86eb6a1abf4894d160eb1d1af963f9910c3ab1484c352"
},
"api": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
"sha256": "8fa70dc7605e66393482e661e5987a8443dded56ab0092aeb977b40ae49888f8"
},
"test": {
"path": "web/tests/e2e/wbv2-collection-create-production.spec.ts",
"sha256": "bff4cc0850a60dd8b02ed7c2004a586e459f19932004e8e86d126f7079dee47e"
},
"fixture": {
"path": "tests/files/web/basic_scene.blend",
"sha256": "6fcc55bda74da8c95da96ba068b60339bf60ca44147ff8000fbb95d296db2a73"
},
"production": {
"path": "tests/golden/WBV2-P20-002/collection-create-production.json",
"sha256": "25e0731dce332d0802e15120627b5ccf378fa9ee6d5ab2f07f3f52c10f7d4ea3"
},
"secondProduction": {
"path": "tests/golden/WBV2-P20-002/collection-create-production.second.json",
"sha256": "25e0731dce332d0802e15120627b5ccf378fa9ee6d5ab2f07f3f52c10f7d4ea3"
},
"report": {
"path": "tests/golden/WBV2-P20-002/collection-create-receipt-report.json",
"sha256": "5182020f14821f4e058eeccc59af74fa4bb4536e5d95ab9f4252d65b1d4b5717"
},
"generator": {
"path": "tools/web/generate-wbv2-collection-receipt.mjs",
"sha256": "59946a2b2c546982b243bee49a738fb0c653ba95c7503d54e32e6e204e298618"
},
"status": {
"path": "docs/status/WBV2-P20-002.md",
"sha256": "462ca6d14bfb16fcddf9a0c568b0900beac251120045c2b406bf3128cdb8e60f"
},
"parityPlan": {
"path": "tests/golden/WBV2-P20-002/collection-task-plan.json",
"sha256": "f38ce72c1ae5bed2efef9f0a23fa1f74c35d6102ea16400a774d20661ee75258"
},
"taskContext": {
"path": "tests/golden/WBV2-P20-002/task-context.json",
"sha256": "ba8b9516b0502c3f6104834efe3f564cdf2909cb0c0e05682ec7096fc3c261eb"
}
},
"assertions": {
"exactInventoryBindings": 1,
"boundInventoryIds": [
"operator:object.collection_add"
],
"collectionCreated": true,
"undoRedoSequential": true,
"malformedRejected": true,
"saveReopen": "EXACT",
"deterministic": true,
"representativeSliceOnly": true,
"fullFamilyParity": false,
"inventoryTotal": 6900,
"baseInventoryPending": 6618,
"effectivePending": 6613,
"historicalReproduction": false
},
"nextTask": "WBV2-P20-003"
}

View File

@@ -0,0 +1,170 @@
{
"schemaVersion": 1,
"task": "WBV2-P20-002",
"parentTask": "WBV2-P20-001",
"status": "in_progress",
"goal": "Bind createCollection, undo/redo, malformed rejection, and exact save/reopen to compiled WASM Main in Chromium.",
"scope": {
"gap": "capability:OBJECT_OPERATIONS.COLLECTION_CREATE",
"ownerFamily": "OBJECT",
"implementationClass": "LOCAL_EXACT"
},
"commands": [
"node tools/web/check-task-context.mjs --task WBV2-P20-002 --write"
],
"inputPaths": [
"tests/golden/WBV2-P20-001/collection-selection-report.json"
],
"inputSelection": {
"schemaVersion": 1,
"limits": {
"maxFiles": 12,
"evidenceBytes": 8192,
"contextRemainingBytes": 3105,
"contextRemainingTokens": 775
},
"source": {
"bytes": 6799,
"tokens": 1701
},
"selected": [
{
"path": "tests/golden/WBV2-P20-001/collection-selection-report.json",
"bytes": 2034,
"tokens": 509
}
],
"excluded": [
{
"path": "web/tests/e2e/wbv2-collection-create-production.spec.ts",
"bytes": 3379,
"reason": "CONTEXT_REMAINING_SPACE"
},
{
"path": "tests/golden/WBV2-P20-002/",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "docs/status/WBV2-P20-002.md",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "tests/golden/WBV2-P20-002/manifest.json",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
}
],
"totals": {
"files": 1,
"bytes": 2034,
"tokens": 509
}
},
"exitCriteria": [
"collection is created",
"undo/redo revisions are sequential",
"malformed collection fails closed",
"save/reopen is exact"
],
"nextTask": "WBV2-P20-003",
"sourceDocuments": {
"queue": "docs/EXECUTION_QUEUE.md",
"taskCard": "docs/tasks/WBV2-P20-002.md",
"taskIndex": "tests/golden/WBV2/task-index.json",
"parentManifest": "tests/golden/WBV2-P20-001/manifest.json",
"parentStatus": "docs/status/WBV2-P20-001.md"
},
"readPolicy": {
"required": [
"docs/EXECUTION_QUEUE.md",
"docs/tasks/WBV2-P20-002.md",
"tests/golden/WBV2-P20-001/manifest.json",
"docs/status/WBV2-P20-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-P20-001",
"parentTask": "WBV2-P20-000",
"status": "done",
"nextTask": "WBV2-P20-002",
"artifactCount": 10
},
"statusSummary": [
"# WBV2-P20-001 status",
"- task: `WBV2-P20-001`; parent: `WBV2-P20-000`; status: `done`",
"- selected behavior: `createCollection`; exact candidate: `operator:object.collection_add`",
"- base inventory: `6900` total, `6618` pending; effective carried overlay: `6613` pending",
"- behavior hash: `c02606bfd07e72c848be849cd65e743824ea496e465c303e043f21fd7bcf4ef4`; duplicate validation: `forbidden`",
"- nextTask: `WBV2-P20-002`"
]
},
"budgets": {
"queueBytes": 4096,
"taskBytes": 1131,
"parentManifestBytes": 24576,
"parentStatusBytes": 6144,
"evidenceFiles": 12,
"evidenceBytes": 8192,
"contextTokens": 3500,
"contextEnvelopeTokens": 1024,
"taskLines": 35,
"taskTokens": 283
},
"size": {
"documents": [
{
"path": "docs/EXECUTION_QUEUE.md",
"bytes": 2803,
"lines": 51,
"tokens": 701
},
{
"path": "docs/tasks/WBV2-P20-002.md",
"bytes": 1131,
"lines": 35,
"tokens": 283
},
{
"path": "tests/golden/WBV2-P20-001/manifest.json",
"bytes": 2452,
"lines": 68,
"tokens": 613
},
{
"path": "docs/status/WBV2-P20-001.md",
"bytes": 413,
"lines": 8,
"tokens": 104
}
],
"sourceTokens": 1701,
"evidenceFiles": 1,
"evidenceBytes": 2034,
"evidenceTokens": 509,
"totalTokens": 2210,
"reservedEnvelopeTokens": 1024,
"estimatedContextTokens": 3234,
"serializedContextTokens": 667,
"withinBudget": true
}
}