Govern task context and advance execution pointer
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00064-modifier-GREASE_PENCIL_SMOOTH.blend",
|
||||
"fixtureSha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401",
|
||||
"modifier": {
|
||||
"modifier": {
|
||||
"name": "Gp Smooth",
|
||||
"showEditMode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_SMOOTH",
|
||||
"typeCode": 65
|
||||
},
|
||||
"objectId": "object:GreasePencilObject",
|
||||
"task": "M16-GAP-00064"
|
||||
},
|
||||
"operation": "GREASE_PENCIL_SMOOTH_MODIFIER_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00064"
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00064",
|
||||
"operation": "GREASE_PENCIL_SMOOTH_MODIFIER_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00064-modifier-GREASE_PENCIL_SMOOTH.blend",
|
||||
"sha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00064/grease-pencil-smooth-modifier-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"objectId": "object:GreasePencilObject",
|
||||
"modifier": {
|
||||
"dependsOn": [
|
||||
"modifier:object:GreasePencilObject:411374307"
|
||||
],
|
||||
"enabled": false,
|
||||
"evaluationStatus": "BLOCKED",
|
||||
"name": "Gp Smooth",
|
||||
"parameters": {
|
||||
"flag": 1,
|
||||
"mode": 6,
|
||||
"persistentUid": 486562295,
|
||||
"typeCode": 65
|
||||
},
|
||||
"showEditMode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_SMOOTH",
|
||||
"uuid": "modifier:object:GreasePencilObject:486562295"
|
||||
}
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00065"
|
||||
}
|
||||
24
tests/golden/M16-GAP-00064/manifest.json
Normal file
24
tests/golden/M16-GAP-00064/manifest.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00064",
|
||||
"parentTask": "M16-GAP-00063",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "GREASE_PENCIL_SMOOTH_MODIFIER_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {"path": "tests/golden/M16-GAP-00063/manifest.json", "sha256": "004f0845b881563ebcc3bd208a081ae1626f88406fc912bcd031e5c611879ee2"},
|
||||
"fixture": {"path": "tests/files/web/generated/M16-GAP-00064-modifier-GREASE_PENCIL_SMOOTH.blend", "sha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401"},
|
||||
"generator": {"path": "tools/web/generated/M16-GAP-00064.py", "sha256": "1df74ba06ff31269cf1f98214aa6c0ca6aa0cc600e459315f92196f8aeb3dd4f"},
|
||||
"desktopChecker": {"path": "tools/web/check-generic-modifier-desktop.py", "sha256": "3a372e870f14c4559ee921aef1fbe086eccd609a0af5917e5b4872468ca22e51"},
|
||||
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "3f82ae54142cdae93c0d65765b2b8f3b46b8bbbe4c838f3a21365dc86d0e56ed"},
|
||||
"reader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "aab9b87b27c53777578bacda0b9e5a7e967de81e2b30131d42d1760c1c0f6b19"},
|
||||
"wasm": {"path": "web/app/src/vendor/blender/web_engine.wasm", "sha256": "e3d53ba8f26287ce1f62308962af1c5e6c80213b4fee289d0a1fb4c3c4135c45"},
|
||||
"wasmPublic": {"path": "web/app/public/vendor/blender/web_engine.wasm", "sha256": "e3d53ba8f26287ce1f62308962af1c5e6c80213b4fee289d0a1fb4c3c4135c45"},
|
||||
"wasmJs": {"path": "web/app/src/vendor/blender/web_engine.js", "sha256": "9c831d0351ac9d0714cce3b1da748cba416ced3086e3c59595cf24ac4da459ed"},
|
||||
"desktopReport": {"path": "tests/golden/M16-GAP-00064/grease-pencil-smooth-modifier-desktop-report.json", "sha256": "b58983c079c8271ab9d5230e478d36e16d49102826178e90566cd0a8913dd325"},
|
||||
"webReport": {"path": "tests/golden/M16-GAP-00064/grease-pencil-smooth-modifier-local-exact-report.json", "sha256": "da42e7440e07f1033f98fbd26274654b4f516821fa0e4c08db68df9468598564"}
|
||||
},
|
||||
"nextTask": "M16-GAP-00065"
|
||||
}
|
||||
181
tests/golden/M16-GAP-00064/task-context.json
Normal file
181
tests/golden/M16-GAP-00064/task-context.json
Normal file
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00064",
|
||||
"parentTask": "M16-GAP-00063",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable modifier:GREASE_PENCIL_SMOOTH 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:GREASE_PENCIL_SMOOTH",
|
||||
"ownerFamily": "MODIFIER",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00064.py -- tests/files/web/generated/M16-GAP-00064-modifier-GREASE_PENCIL_SMOOTH.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00064",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00064"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tools/web/generated/M16-GAP-00064.py"
|
||||
],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 7285,
|
||||
"contextRemainingTokens": 1820
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6715,
|
||||
"tokens": 1680
|
||||
},
|
||||
"selected": [
|
||||
{
|
||||
"path": "tools/web/generated/M16-GAP-00064.py",
|
||||
"bytes": 535,
|
||||
"tokens": 134
|
||||
}
|
||||
],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "tests/files/web/generated/M16-GAP-00064-modifier-GREASE_PENCIL_SMOOTH.blend",
|
||||
"bytes": 87791,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"bytes": 221334,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tools/web/check-generated-gap.mjs",
|
||||
"bytes": 138829,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00064/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00064.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00064/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 1,
|
||||
"bytes": 535,
|
||||
"tokens": 134
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"desktop fixture evidence exists",
|
||||
"WASM uses the same fixture",
|
||||
"comparator passes",
|
||||
"save/reopen preserves Main",
|
||||
"manifest hashes all artifacts"
|
||||
],
|
||||
"nextTask": "M16-GAP-00065",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00064.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00063/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00063.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00064.md",
|
||||
"tests/golden/M16-GAP-00063/manifest.json",
|
||||
"docs/status/M16-GAP-00063.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-00063",
|
||||
"parentTask": "M16-GAP-00062",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00064",
|
||||
"artifactCount": 11
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00063 Status",
|
||||
"status: done ",
|
||||
"task: GREASE_PENCIL_SIMPLIFY modifier LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-20 America/New_York",
|
||||
"scope: Grease Pencil SIMPLIFY modifier stack exposure for `object:GreasePencilObject`.",
|
||||
"evidence:",
|
||||
"- Desktop fixture exposes `Gp Simplify`; save/reopen is exact.",
|
||||
"- WASM/Main exposes `GREASE_PENCIL_SIMPLIFY` on the object scene node; save/reopen is exact."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1789,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 448
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2168,
|
||||
"lines": 45,
|
||||
"tokens": 542
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00064.md",
|
||||
"bytes": 1789,
|
||||
"lines": 38,
|
||||
"tokens": 448
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00063/manifest.json",
|
||||
"bytes": 2098,
|
||||
"lines": 25,
|
||||
"tokens": 525
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00063.md",
|
||||
"bytes": 660,
|
||||
"lines": 19,
|
||||
"tokens": 165
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1680,
|
||||
"evidenceFiles": 1,
|
||||
"evidenceBytes": 535,
|
||||
"evidenceTokens": 134,
|
||||
"totalTokens": 1814,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user