Continue Blender Web parity task handoff
This commit is contained in:
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"after": {
|
||||
"armature": "WebGapArmatureCalculateRollArmature",
|
||||
"bones": [
|
||||
{
|
||||
"head": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"matrix": [
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"name": "WebGapArmatureCalculateRollBone",
|
||||
"tail": [
|
||||
0.0,
|
||||
2.0,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"object": "WebGapArmatureCalculateRollObject"
|
||||
},
|
||||
"alreadyCalculated": false,
|
||||
"before": {
|
||||
"armature": "WebGapArmatureCalculateRollArmature",
|
||||
"bones": [
|
||||
{
|
||||
"head": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"matrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"name": "WebGapArmatureCalculateRollBone",
|
||||
"tail": [
|
||||
0.0,
|
||||
2.0,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"object": "WebGapArmatureCalculateRollObject"
|
||||
},
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00219-operator-armature.calculate_roll.blend",
|
||||
"fixtureSha256": "7c6f851456147c2e69de3ddf1136885ccff9bd907cd480a5af5fd81f5769c862",
|
||||
"mainMutation": "ROLL_CALCULATED_GLOBAL_POS_X",
|
||||
"operation": "ARMATURE_CALCULATE_ROLL_DESKTOP",
|
||||
"operatorStatus": "FINISHED",
|
||||
"poll": true,
|
||||
"roll": 1.570796,
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00219"
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00219",
|
||||
"operation": "ARMATURE_CALCULATE_ROLL_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00219-operator-armature.calculate_roll.blend",
|
||||
"sha256": "7c6f851456147c2e69de3ddf1136885ccff9bd907cd480a5af5fd81f5769c862"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00219/armature-calculate-roll-desktop-report.json",
|
||||
"saveReopen": "EXACT",
|
||||
"poll": true,
|
||||
"operatorStatus": "FINISHED",
|
||||
"mainMutation": "ROLL_CALCULATED_GLOBAL_POS_X",
|
||||
"roll": 1.570796
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"armatureId": "armature:WebGapArmatureCalculateRollArmature",
|
||||
"bone": {
|
||||
"id": "bone:armature:WebGapArmatureCalculateRollArmature:WebGapArmatureCalculateRollBone",
|
||||
"name": "WebGapArmatureCalculateRollBone",
|
||||
"head": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"tail": [
|
||||
0,
|
||||
2,
|
||||
0
|
||||
],
|
||||
"restMatrix": [
|
||||
7.549790126404332e-8,
|
||||
0,
|
||||
-1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
7.549790126404332e-8,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
]
|
||||
}
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00220"
|
||||
}
|
||||
27
tests/golden/M16-GAP-00219/manifest.json
Normal file
27
tests/golden/M16-GAP-00219/manifest.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00219",
|
||||
"parentTask": "M16-GAP-00218",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "ARMATURE_CALCULATE_ROLL_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {"path": "tests/golden/M16-GAP-00218/manifest.json", "sha256": "ed1737fa32a6d1bb5bdaca5e5eb35ff5006fbe14eeba59d96e6b24e64cd7bcc9"},
|
||||
"fixture": {"path": "tests/files/web/generated/M16-GAP-00219-operator-armature.calculate_roll.blend", "sha256": "7c6f851456147c2e69de3ddf1136885ccff9bd907cd480a5af5fd81f5769c862"},
|
||||
"generator": {"path": "tools/web/generated/M16-GAP-00219.py", "sha256": "97a7da237cc8f8154f08b96e2ba6b5d6e608a6bc1b0bfa20fe165c00a3bb68b7"},
|
||||
"desktopChecker": {"path": "tools/web/check-action-armature-calculate-roll-desktop.py", "sha256": "570471197617ea452db37d8d972f372db07de15c3f78fd934905ecdbfe3e3a7f"},
|
||||
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "62ad26cec00dd5a3d59a7ddbfbfa9cd0b7fbae0f0b252b6e40ce9ae73d027f98"},
|
||||
"reader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "c56d254a74ace9664104f139692cf37f825547301824872bfd8db95f6ad2117b"},
|
||||
"wasm": {"path": "web/app/src/vendor/blender/web_engine.wasm", "sha256": "82b9fb9488a20543f0db1235b18a7c28b2593ac498c152a12f45f8299ced1927"},
|
||||
"wasmPublic": {"path": "web/app/public/vendor/blender/web_engine.wasm", "sha256": "82b9fb9488a20543f0db1235b18a7c28b2593ac498c152a12f45f8299ced1927"},
|
||||
"wasmJs": {"path": "web/app/src/vendor/blender/web_engine.js", "sha256": "2263ccecdf7193aeb8508119accfe01c65fa991124969e0e7ede7b3af3057b35"},
|
||||
"wasmJsPublic": {"path": "web/app/public/vendor/blender/web_engine.js", "sha256": "2263ccecdf7193aeb8508119accfe01c65fa991124969e0e7ede7b3af3057b35"},
|
||||
"desktopReport": {"path": "tests/golden/M16-GAP-00219/armature-calculate-roll-desktop-report.json", "sha256": "b4ea9eee1596aa99d045e7064b96a763faf7b29d6f7c79b95045d75ff26dd922"},
|
||||
"webReport": {"path": "tests/golden/M16-GAP-00219/armature-calculate-roll-local-exact-report.json", "sha256": "1c888b9739c03fcd5aed2b1de20a2aea3871c80cff6b6fcb464e09a5478f5c23"},
|
||||
"status": {"path": "docs/status/M16-GAP-00219.md", "sha256": "66adfb1390f39daeeedc52b0db0cfe1a4542af738ea6c5944a292faa53936e57"},
|
||||
"taskContext": {"path": "tests/golden/M16-GAP-00219/task-context.json", "sha256": "1c6a55bdc4fd17687a7695b44fba71bd5ad26644919dbcd363b6a7dec07cbde9"}
|
||||
},
|
||||
"nextTask": "M16-GAP-00220"
|
||||
}
|
||||
185
tests/golden/M16-GAP-00219/task-context.json
Normal file
185
tests/golden/M16-GAP-00219/task-context.json
Normal file
@@ -0,0 +1,185 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00219",
|
||||
"parentTask": "M16-GAP-00218",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable operator:armature.calculate_roll 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:armature.calculate_roll",
|
||||
"ownerFamily": "OPERATOR",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00219.py -- tests/files/web/generated/M16-GAP-00219-operator-armature.calculate_roll.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00219",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00219"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tools/web/generated/M16-GAP-00219.py"
|
||||
],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 2070,
|
||||
"contextRemainingTokens": 516
|
||||
},
|
||||
"source": {
|
||||
"bytes": 7834,
|
||||
"tokens": 1960
|
||||
},
|
||||
"selected": [
|
||||
{
|
||||
"path": "tools/web/generated/M16-GAP-00219.py",
|
||||
"bytes": 1104,
|
||||
"tokens": 276
|
||||
}
|
||||
],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "tests/files/web/generated/M16-GAP-00219-operator-armature.calculate_roll.blend",
|
||||
"bytes": 86240,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"bytes": 237877,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tools/web/check-generated-gap.mjs",
|
||||
"bytes": 569706,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00219/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00219.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00219/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 1,
|
||||
"bytes": 1104,
|
||||
"tokens": 276
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"desktop fixture evidence exists",
|
||||
"WASM uses the same fixture",
|
||||
"comparator passes",
|
||||
"save/reopen preserves Main",
|
||||
"manifest hashes all artifacts"
|
||||
],
|
||||
"nextTask": "M16-GAP-00220",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00219.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00218/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00218.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00219.md",
|
||||
"tests/golden/M16-GAP-00218/manifest.json",
|
||||
"docs/status/M16-GAP-00218.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-00218",
|
||||
"parentTask": "M16-GAP-00217",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00219",
|
||||
"artifactCount": 14
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00218 Status",
|
||||
"status: done",
|
||||
"task: armature.bone_primitive_add operator LOCAL_EXACT slice",
|
||||
"updated: 2026-08-22 America/New_York",
|
||||
"scope:",
|
||||
"- The minimal fixture contains one empty armature object and a fixed 3D cursor at `(1.5, -2.0, 0.75)`.",
|
||||
"- Desktop runs `ARMATURE_OT_bone_primitive_add(name, length=2.5, align='UP', space='OBJECT', use_deform=false)` with `poll=true` and `FINISHED`, creating the named bone at the cursor and preserving its head/tail through save/reopen.",
|
||||
"- The existing Main reader exposes the same armature bone name and coordinates; no new reader field, data-block, editor, or browser behavior was added."
|
||||
]
|
||||
},
|
||||
"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-00219.md",
|
||||
"bytes": 1804,
|
||||
"lines": 38,
|
||||
"tokens": 451
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00218/manifest.json",
|
||||
"bytes": 2805,
|
||||
"lines": 70,
|
||||
"tokens": 702
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00218.md",
|
||||
"bytes": 1057,
|
||||
"lines": 20,
|
||||
"tokens": 265
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1960,
|
||||
"evidenceFiles": 1,
|
||||
"evidenceBytes": 1104,
|
||||
"evidenceTokens": 276,
|
||||
"totalTokens": 2236,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 3260,
|
||||
"serializedContextTokens": 757,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user