Continue Blender Web parity task handoff
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-23 05:47:21 -04:00
parent 0a22992a13
commit 9f43244982
962 changed files with 60772 additions and 297 deletions

View File

@@ -0,0 +1,104 @@
{
"after": {
"actions": {
"Action": 2,
"WebGapAnimReplaceNewOldAction": 1
},
"activeObject": "WebGapAnimReplaceNewOldA",
"objects": {
"WebGapAnimReplaceNewOldA": {
"channels": [],
"name": "Action"
},
"WebGapAnimReplaceNewOldB": {
"channels": [],
"name": "Action"
}
}
},
"before": {
"actions": {
"WebGapAnimReplaceNewOldAction": 3
},
"activeObject": "WebGapAnimReplaceNewOldA",
"objects": {
"WebGapAnimReplaceNewOldA": {
"channels": [
{
"frames": [
1.0,
3.0,
5.0
],
"index": 0,
"path": "[\"replace_target\"]",
"values": [
1.0,
3.0,
5.0
]
},
{
"frames": [
1.0,
3.0,
5.0
],
"index": 0,
"path": "[\"replace_target\"]",
"values": [
2.0,
4.0,
6.0
]
}
],
"name": "WebGapAnimReplaceNewOldAction"
},
"WebGapAnimReplaceNewOldB": {
"channels": [
{
"frames": [
1.0,
3.0,
5.0
],
"index": 0,
"path": "[\"replace_target\"]",
"values": [
1.0,
3.0,
5.0
]
},
{
"frames": [
1.0,
3.0,
5.0
],
"index": 0,
"path": "[\"replace_target\"]",
"values": [
2.0,
4.0,
6.0
]
}
],
"name": "WebGapAnimReplaceNewOldAction"
}
}
},
"blenderVersion": "5.2.0 LTS",
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00203-operator-anim.replace_action_new.blend",
"fixtureSha256": "dd278ab743c34b61566c20e545b90e42bcfe641ecbb523550fcdacea188f12b4",
"mainMutation": "ACTION_REPLACED_WITH_NEW",
"newAction": "Action",
"operation": "ANIM_REPLACE_ACTION_NEW_DESKTOP",
"operatorStatus": "FINISHED",
"poll": true,
"saveReopen": "EXACT",
"schemaVersion": 1,
"task": "M16-GAP-00203"
}

View File

@@ -0,0 +1,34 @@
{
"schemaVersion": 1,
"task": "M16-GAP-00203",
"operation": "ANIM_REPLACE_ACTION_NEW_LOCAL_EXACT",
"fixture": {
"path": "tests/files/web/generated/M16-GAP-00203-operator-anim.replace_action_new.blend",
"sha256": "dd278ab743c34b61566c20e545b90e42bcfe641ecbb523550fcdacea188f12b4"
},
"desktop": {
"status": "EXACT",
"report": "tests/golden/M16-GAP-00203/anim-replace-action-new-desktop-report.json",
"saveReopen": "EXACT",
"poll": true,
"operatorStatus": "FINISHED",
"mainMutation": "ACTION_REPLACED_WITH_NEW"
},
"wasm": {
"status": "EXACT",
"replacedObjectIds": [
"object:WebGapAnimReplaceNewOldA",
"object:WebGapAnimReplaceNewOldB"
],
"newAction": "Action",
"newActionChannels": 0,
"oldActionUnlinked": "action:WebGapAnimReplaceNewOldAction:unlinked",
"oldActionChannels": 2,
"emptyActionVisibility": "NOT_EXPOSED_BY_SCENE_SNAPSHOT"
},
"saveReopen": "EXACT",
"negative": {
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
},
"nextTask": "M16-GAP-00204"
}

View File

@@ -0,0 +1,28 @@
{
"schemaVersion": 1,
"task": "M16-GAP-00203",
"parentTask": "M16-GAP-00202",
"enablingTask": false,
"parityStateChange": true,
"runtime": "BLENDER_5_2_LOCAL_EXACT",
"operation": "ANIM_REPLACE_ACTION_NEW_LOCAL_EXACT",
"status": "done",
"artifacts": {
"parentManifest": { "path": "tests/golden/M16-GAP-00202/manifest.json", "sha256": "8d3a4e0f3ff82b80f1cca0410e87999b324a817a8054ac322c8eea7e0ed7a81f" },
"fixture": { "path": "tests/files/web/generated/M16-GAP-00203-operator-anim.replace_action_new.blend", "sha256": "dd278ab743c34b61566c20e545b90e42bcfe641ecbb523550fcdacea188f12b4" },
"generator": { "path": "tools/web/generated/M16-GAP-00203.py", "sha256": "7da43b3e6d4774e5cd90ecbe51e6249a34778e58caec85945fbc9f3abfe83c4f" },
"desktopChecker": { "path": "tools/web/check-action-replace-action-new-desktop.py", "sha256": "9920d9911715035ed99a9615df37e8cfdb70c3aa9b96f12fd5296c52047b0c64" },
"webChecker": { "path": "tools/web/check-generated-gap.mjs", "sha256": "2c9f6d0ae72f175987aeb45bf3656207dee2742aa4213f656a5641d86992bfb7" },
"reader": { "path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "8824ba3dfb4090b85dc679a583d263b4bdb190a47978f72f3c11f6b565fdacaf" },
"protocol": { "path": "web/protocol/editor-workflow.ts", "sha256": "a3d4f32fafdc205f0a76362d1a43db85fa023e9edba444fcd77479da0c6f573a" },
"sceneIrProtocol": { "path": "web/protocol/scene-ir.ts", "sha256": "9e877612886c629786405e03e1939d3954af2d38dfea2d6359b367934d06f226" },
"wasm": { "path": "web/app/src/vendor/blender/web_engine.wasm", "sha256": "3bcb7c5d1c3f85318febb9dfd8273ce141b5b38735d622ebb984d64c61059e0f" },
"wasmPublic": { "path": "web/app/public/vendor/blender/web_engine.wasm", "sha256": "3bcb7c5d1c3f85318febb9dfd8273ce141b5b38735d622ebb984d64c61059e0f" },
"wasmJs": { "path": "web/app/src/vendor/blender/web_engine.js", "sha256": "9c831d0351ac9d0714cce3b1da748cba416ced3086e3c59595cf24ac4da459ed" },
"desktopReport": { "path": "tests/golden/M16-GAP-00203/anim-replace-action-new-desktop-report.json", "sha256": "1017546d241a1e8b8f26c02bb392269a1325b18cbba90b1598f786250f13976a" },
"webReport": { "path": "tests/golden/M16-GAP-00203/anim-replace-action-new-local-exact-report.json", "sha256": "d743947398ac1b4beca0f6cf86f676bf24d668488e1a9a575ec561d2445a1ed6" },
"status": { "path": "docs/status/M16-GAP-00203.md", "sha256": "0504f0cc178ce3f7d3678d0170294f3fdc5c0c0ff40458a9891ef471e8bded96" },
"taskContext": { "path": "tests/golden/M16-GAP-00203/task-context.json", "sha256": "772d0122a85d60e0f0ed73fb53f700a89d251e2f8581ca84b2ee01c7792e66ca" }
},
"nextTask": "M16-GAP-00204"
}

View File

@@ -0,0 +1,185 @@
{
"schemaVersion": 1,
"task": "M16-GAP-00203",
"parentTask": "M16-GAP-00202",
"status": "in_progress",
"goal": "Make the same minimal fixture produce observable operator:anim.replace_action_new data in Blender desktop and WASM/Main, with save/reopen stability. Change only this gap; do not expand to other data-blocks, editors, or browsers.",
"scope": {
"gap": "operator:anim.replace_action_new",
"ownerFamily": "OPERATOR",
"implementationClass": "LOCAL_EXACT"
},
"commands": [
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00203.py -- tests/files/web/generated/M16-GAP-00203-operator-anim.replace_action_new.blend",
"npm --prefix web run test:generated-gap -- --task M16-GAP-00203",
"node tools/web/check-generated-gap.mjs --task M16-GAP-00203"
],
"inputPaths": [
"tools/web/generated/M16-GAP-00203.py"
],
"inputSelection": {
"schemaVersion": 1,
"limits": {
"maxFiles": 12,
"evidenceBytes": 8192,
"contextRemainingBytes": 2146,
"contextRemainingTokens": 535
},
"source": {
"bytes": 7758,
"tokens": 1941
},
"selected": [
{
"path": "tools/web/generated/M16-GAP-00203.py",
"bytes": 1565,
"tokens": 392
}
],
"excluded": [
{
"path": "tests/files/web/generated/M16-GAP-00203-operator-anim.replace_action_new.blend",
"bytes": 87267,
"reason": "EVIDENCE_BYTE_BUDGET"
},
{
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
"bytes": 231498,
"reason": "EVIDENCE_BYTE_BUDGET"
},
{
"path": "tools/web/check-generated-gap.mjs",
"bytes": 505156,
"reason": "EVIDENCE_BYTE_BUDGET"
},
{
"path": "tests/golden/M16-GAP-00203/",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "docs/status/M16-GAP-00203.md",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "tests/golden/M16-GAP-00203/manifest.json",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
}
],
"totals": {
"files": 1,
"bytes": 1565,
"tokens": 392
}
},
"exitCriteria": [
"desktop fixture evidence exists",
"WASM uses the same fixture",
"comparator passes",
"save/reopen preserves Main",
"manifest hashes all artifacts"
],
"nextTask": "M16-GAP-00204",
"sourceDocuments": {
"queue": "docs/EXECUTION_QUEUE.md",
"taskCard": "docs/tasks/M16-GAP-00203.md",
"taskIndex": "tests/golden/M15-03A/task-index.json",
"parentManifest": "tests/golden/M16-GAP-00202/manifest.json",
"parentStatus": "docs/status/M16-GAP-00202.md"
},
"readPolicy": {
"required": [
"docs/EXECUTION_QUEUE.md",
"docs/tasks/M16-GAP-00203.md",
"tests/golden/M16-GAP-00202/manifest.json",
"docs/status/M16-GAP-00202.md"
],
"machineOnly": [
"tests/golden/M15-03A/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": "M16-GAP-00202",
"parentTask": "M16-GAP-00201",
"status": "done",
"nextTask": "M16-GAP-00203",
"artifactCount": 15
},
"statusSummary": [
"# M16-GAP-00202 Status",
"status: done",
"task: anim.replace_action operator LOCAL_EXACT slice",
"updated: 2026-08-22 America/New_York",
"scope:",
"- The minimal fixture has two objects using `WebGapAnimReplaceOldAction` and one object using `WebGapAnimReplaceNewAction`. Desktop calls `ANIM_OT_replace_action` with the explicit action session UIDs.",
"- All three object users switch to the new action; the old action remains unlinked with its original channels. WASM/Main exposes both the replaced users and preserved unlinked action without reader/protocol changes.",
"evidence:"
]
},
"budgets": {
"queueBytes": 4096,
"taskBytes": 1804,
"parentManifestBytes": 24576,
"parentStatusBytes": 6144,
"evidenceFiles": 12,
"evidenceBytes": 8192,
"contextTokens": 3500,
"contextEnvelopeTokens": 1024,
"taskLines": 38,
"taskTokens": 451
},
"size": {
"documents": [
{
"path": "docs/EXECUTION_QUEUE.md",
"bytes": 2168,
"lines": 45,
"tokens": 542
},
{
"path": "docs/tasks/M16-GAP-00203.md",
"bytes": 1804,
"lines": 38,
"tokens": 451
},
{
"path": "tests/golden/M16-GAP-00202/manifest.json",
"bytes": 2661,
"lines": 29,
"tokens": 666
},
{
"path": "docs/status/M16-GAP-00202.md",
"bytes": 1125,
"lines": 19,
"tokens": 282
}
],
"sourceTokens": 1941,
"evidenceFiles": 1,
"evidenceBytes": 1565,
"evidenceTokens": 392,
"totalTokens": 2333,
"reservedEnvelopeTokens": 1024,
"estimatedContextTokens": 3357,
"serializedContextTokens": 757,
"withinBudget": true
}
}