Govern task context and advance execution pointer
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00031-modifier-ARRAY.blend",
|
||||
"fixtureSha256": "ff8619e63a5611dbc78599f849d27f0e4e2dc3c1c5849e9db86349e00106c23b",
|
||||
"modifier": {
|
||||
"meshId": "mesh:WebGapArrayObjectMesh",
|
||||
"modifier": {
|
||||
"count": 4,
|
||||
"endCapObjectId": "object:WebGapArrayEndCap",
|
||||
"name": "WebGapArray",
|
||||
"showEditMode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": false,
|
||||
"showViewport": true,
|
||||
"startCapObjectId": "object:WebGapArrayStartCap",
|
||||
"type": "ARRAY",
|
||||
"typeCode": 12
|
||||
}
|
||||
},
|
||||
"operation": "ARRAY_MODIFIER_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00031"
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00031",
|
||||
"operation": "ARRAY_MODIFIER_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00031-modifier-ARRAY.blend",
|
||||
"sha256": "ff8619e63a5611dbc78599f849d27f0e4e2dc3c1c5849e9db86349e00106c23b"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00031/array-modifier-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"meshId": "mesh:WebGapArrayObjectMesh",
|
||||
"modifier": {
|
||||
"dependsOn": [
|
||||
"object:WebGapArrayStartCap",
|
||||
"object:WebGapArrayEndCap"
|
||||
],
|
||||
"enabled": true,
|
||||
"evaluationStatus": "METADATA_ONLY",
|
||||
"name": "WebGapArray",
|
||||
"parameters": {
|
||||
"count": 4,
|
||||
"flag": 5,
|
||||
"mode": 5,
|
||||
"persistentUid": 650905928,
|
||||
"targetObjectIds": [
|
||||
"object:WebGapArrayStartCap",
|
||||
"object:WebGapArrayEndCap"
|
||||
],
|
||||
"typeCode": 12
|
||||
},
|
||||
"showEditMode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": false,
|
||||
"showViewport": true,
|
||||
"type": "ARRAY",
|
||||
"uuid": "modifier:object:WebGapArrayObject:650905928"
|
||||
}
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00032"
|
||||
}
|
||||
25
tests/golden/M16-GAP-00031/manifest.json
Normal file
25
tests/golden/M16-GAP-00031/manifest.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00031",
|
||||
"parentTask": "M16-GAP-00030",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "ARRAY_MODIFIER_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {"path": "tests/golden/M16-GAP-00030/manifest.json", "sha256": "65f93b217bc35c886da135c52079ed52df24d9834b67551a1fb6c302da313014"},
|
||||
"fixture": {"path": "tests/files/web/generated/M16-GAP-00031-modifier-ARRAY.blend", "sha256": "ff8619e63a5611dbc78599f849d27f0e4e2dc3c1c5849e9db86349e00106c23b"},
|
||||
"generator": {"path": "tools/web/generated/M16-GAP-00031.py", "sha256": "28504da60ebf881eda9ed407884b403029bb8ced6131c425b64f512c82b2d292"},
|
||||
"desktopChecker": {"path": "tools/web/check-array-modifier-desktop.py", "sha256": "82d5e59a60324101b1c97a277ab07afa2e1c52c55d1914fee27076d1c1619489"},
|
||||
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "f6dd8efad7849574ae479a707792e2b3f837b8c22e434afa44b5fe60a85673ec"},
|
||||
"reader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "1f962be51a8201d1d0a119761a51de7864fbda4e553a13dcf7b14f19fbec79db"},
|
||||
"protocol": {"path": "web/protocol/scene-ir.ts", "sha256": "196950e7a0dab3d6e5cbf0015bf7e45665cbd957e0762db4467bf3551064e838"},
|
||||
"wasm": {"path": "web/app/src/vendor/blender/web_engine.wasm", "sha256": "bf5361e4b5e3e2105b59494c548617b463063e64a340398494cde77632b9424c"},
|
||||
"wasmPublic": {"path": "web/app/public/vendor/blender/web_engine.wasm", "sha256": "bf5361e4b5e3e2105b59494c548617b463063e64a340398494cde77632b9424c"},
|
||||
"wasmJs": {"path": "web/app/src/vendor/blender/web_engine.js", "sha256": "9c831d0351ac9d0714cce3b1da748cba416ced3086e3c59595cf24ac4da459ed"},
|
||||
"desktopReport": {"path": "tests/golden/M16-GAP-00031/array-modifier-desktop-report.json", "sha256": "739ae5333a5046cd4b0c60333eec89bf4f0bb9508d95022238a173f4a698833f"},
|
||||
"webReport": {"path": "tests/golden/M16-GAP-00031/array-modifier-local-exact-report.json", "sha256": "df9326e8ddbb5ace859ade67dff067229c55f19536c568ee6e102d981971c17a"}
|
||||
},
|
||||
"nextTask": "M16-GAP-00032"
|
||||
}
|
||||
181
tests/golden/M16-GAP-00031/task-context.json
Normal file
181
tests/golden/M16-GAP-00031/task-context.json
Normal file
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00031",
|
||||
"parentTask": "M16-GAP-00030",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable modifier:ARRAY 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": "modifier:ARRAY",
|
||||
"ownerFamily": "MODIFIER",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00031.py -- tests/files/web/generated/M16-GAP-00031-modifier-ARRAY.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00031",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00031"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tools/web/generated/M16-GAP-00031.py"
|
||||
],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 7029,
|
||||
"contextRemainingTokens": 1756
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6971,
|
||||
"tokens": 1744
|
||||
},
|
||||
"selected": [
|
||||
{
|
||||
"path": "tools/web/generated/M16-GAP-00031.py",
|
||||
"bytes": 1701,
|
||||
"tokens": 426
|
||||
}
|
||||
],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "tests/files/web/generated/M16-GAP-00031-modifier-ARRAY.blend",
|
||||
"bytes": 87078,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"bytes": 221094,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tools/web/check-generated-gap.mjs",
|
||||
"bytes": 109698,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00031/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00031.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00031/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 1,
|
||||
"bytes": 1701,
|
||||
"tokens": 426
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"desktop fixture evidence exists",
|
||||
"WASM uses the same fixture",
|
||||
"comparator passes",
|
||||
"save/reopen preserves Main",
|
||||
"manifest hashes all artifacts"
|
||||
],
|
||||
"nextTask": "M16-GAP-00032",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00031.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00030/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00030.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00031.md",
|
||||
"tests/golden/M16-GAP-00030/manifest.json",
|
||||
"docs/status/M16-GAP-00030.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-00030",
|
||||
"parentTask": "M16-GAP-00029",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00031",
|
||||
"artifactCount": 12
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00030 Status",
|
||||
"status: done ",
|
||||
"task: ARMATURE modifier LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-20 America/New_York",
|
||||
"scope: ARMATURE modifier identity, target object, vertex group, deform flags, visibility modes and dependency linkage for `mesh:WebGapArmatureMesh`.",
|
||||
"evidence:",
|
||||
"- Desktop fixture exposes one ARMATURE modifier targeting `object:WebGapArmatureObject`; save/reopen is exact.",
|
||||
"- WASM/Main exposes the same modifier stack from the same fixture, including `armatureObjectId`, `vertexGroup`, `deformFlags`, and dependency; save/reopen is exact."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1714,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 429
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2168,
|
||||
"lines": 45,
|
||||
"tokens": 542
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00031.md",
|
||||
"bytes": 1714,
|
||||
"lines": 38,
|
||||
"tokens": 429
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00030/manifest.json",
|
||||
"bytes": 2175,
|
||||
"lines": 26,
|
||||
"tokens": 544
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00030.md",
|
||||
"bytes": 914,
|
||||
"lines": 19,
|
||||
"tokens": 229
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1744,
|
||||
"evidenceFiles": 1,
|
||||
"evidenceBytes": 1701,
|
||||
"evidenceTokens": 426,
|
||||
"totalTokens": 2170,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user