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-00050-modifier-GREASE_PENCIL_COLOR.blend",
|
||||
"fixtureSha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401",
|
||||
"modifier": {
|
||||
"modifier": {
|
||||
"name": "Gp Color",
|
||||
"showEditMode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_COLOR",
|
||||
"typeCode": 63
|
||||
},
|
||||
"objectId": "object:GreasePencilObject",
|
||||
"task": "M16-GAP-00050"
|
||||
},
|
||||
"operation": "GREASE_PENCIL_COLOR_MODIFIER_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00050"
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00050",
|
||||
"operation": "GREASE_PENCIL_COLOR_MODIFIER_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00050-modifier-GREASE_PENCIL_COLOR.blend",
|
||||
"sha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00050/grease-pencil-color-modifier-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"objectId": "object:GreasePencilObject",
|
||||
"modifier": {
|
||||
"dependsOn": [
|
||||
"modifier:object:GreasePencilObject:421891574"
|
||||
],
|
||||
"enabled": false,
|
||||
"evaluationStatus": "BLOCKED",
|
||||
"name": "Gp Color",
|
||||
"parameters": {
|
||||
"flag": 1,
|
||||
"mode": 6,
|
||||
"persistentUid": 252453400,
|
||||
"typeCode": 63
|
||||
},
|
||||
"showEditMode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_COLOR",
|
||||
"uuid": "modifier:object:GreasePencilObject:252453400"
|
||||
}
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00051"
|
||||
}
|
||||
25
tests/golden/M16-GAP-00050/manifest.json
Normal file
25
tests/golden/M16-GAP-00050/manifest.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00050",
|
||||
"parentTask": "M16-GAP-00049",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "GREASE_PENCIL_COLOR_MODIFIER_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {"path": "tests/golden/M16-GAP-00049/manifest.json", "sha256": "40a1973a8c461d876e93115c4ccc0e7c6f3cd19ba495947d6c30b50b03aef49c"},
|
||||
"fixture": {"path": "tests/files/web/generated/M16-GAP-00050-modifier-GREASE_PENCIL_COLOR.blend", "sha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401"},
|
||||
"generator": {"path": "tools/web/generated/M16-GAP-00050.py", "sha256": "3940edc4cca7b1d5cf9a335b8190be744cbbd6e6201614372dbf39163ff9efa1"},
|
||||
"desktopChecker": {"path": "tools/web/check-generic-modifier-desktop.py", "sha256": "3a372e870f14c4559ee921aef1fbe086eccd609a0af5917e5b4872468ca22e51"},
|
||||
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "9d7f692b1907b7e54d307bd0325a7cedefb75d10b5e9a8a356bda032084b1d5c"},
|
||||
"reader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "aab9b87b27c53777578bacda0b9e5a7e967de81e2b30131d42d1760c1c0f6b19"},
|
||||
"protocol": {"path": "web/protocol/scene-ir.ts", "sha256": "196950e7a0dab3d6e5cbf0015bf7e45665cbd957e0762db4467bf3551064e838"},
|
||||
"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-00050/grease-pencil-color-modifier-desktop-report.json", "sha256": "79e44b5d0443f81d2ba334902990f73c20601b4c15e890aff1b73fae4879f771"},
|
||||
"webReport": {"path": "tests/golden/M16-GAP-00050/grease-pencil-color-modifier-local-exact-report.json", "sha256": "73126cf9fc415f9eccf9538d1d23055857fa9c772e1b15721470e1653bc2ce73"}
|
||||
},
|
||||
"nextTask": "M16-GAP-00051"
|
||||
}
|
||||
181
tests/golden/M16-GAP-00050/task-context.json
Normal file
181
tests/golden/M16-GAP-00050/task-context.json
Normal file
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00050",
|
||||
"parentTask": "M16-GAP-00049",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable modifier:GREASE_PENCIL_COLOR 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_COLOR",
|
||||
"ownerFamily": "MODIFIER",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00050.py -- tests/files/web/generated/M16-GAP-00050-modifier-GREASE_PENCIL_COLOR.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00050",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00050"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tools/web/generated/M16-GAP-00050.py"
|
||||
],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 7185,
|
||||
"contextRemainingTokens": 1795
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6815,
|
||||
"tokens": 1705
|
||||
},
|
||||
"selected": [
|
||||
{
|
||||
"path": "tools/web/generated/M16-GAP-00050.py",
|
||||
"bytes": 535,
|
||||
"tokens": 134
|
||||
}
|
||||
],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "tests/files/web/generated/M16-GAP-00050-modifier-GREASE_PENCIL_COLOR.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": 135649,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00050/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00050.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00050/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-00051",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00050.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00049/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00049.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00050.md",
|
||||
"tests/golden/M16-GAP-00049/manifest.json",
|
||||
"docs/status/M16-GAP-00049.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-00049",
|
||||
"parentTask": "M16-GAP-00048",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00050",
|
||||
"artifactCount": 12
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00049 Status",
|
||||
"status: done ",
|
||||
"task: GREASE_PENCIL_BUILD modifier LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-20 America/New_York",
|
||||
"scope: Grease Pencil BUILD modifier stack exposure for `object:GreasePencilObject`.",
|
||||
"evidence:",
|
||||
"- Desktop fixture exposes `Gp Build`; save/reopen is exact.",
|
||||
"- WASM/Main exposes `GREASE_PENCIL_BUILD` on the object scene node; save/reopen is exact."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1784,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 446
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2168,
|
||||
"lines": 45,
|
||||
"tokens": 542
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00050.md",
|
||||
"bytes": 1784,
|
||||
"lines": 38,
|
||||
"tokens": 446
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00049/manifest.json",
|
||||
"bytes": 2218,
|
||||
"lines": 26,
|
||||
"tokens": 555
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00049.md",
|
||||
"bytes": 645,
|
||||
"lines": 19,
|
||||
"tokens": 162
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1705,
|
||||
"evidenceFiles": 1,
|
||||
"evidenceBytes": 535,
|
||||
"evidenceTokens": 134,
|
||||
"totalTokens": 1839,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user