Govern task context and advance execution pointer
This commit is contained in:
61
tests/golden/M16-GAP-00018/manifest.json
Normal file
61
tests/golden/M16-GAP-00018/manifest.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00018",
|
||||
"parentTask": "M16-GAP-00017",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "PARTICLE_SETTINGS_DATABLOCK_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/M16-GAP-00017/manifest.json",
|
||||
"sha256": "f6e791e0e3df1e13ed6e85fa007c2d88b3aea9bd56e85d345a80e2cc6a5e01d3"
|
||||
},
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00018-datablock-ParticleSettings.blend",
|
||||
"sha256": "1a51117f3225e6fb1aa98fd135fc39bbfb9444f741f89956c52bc3e0252fc6c0"
|
||||
},
|
||||
"generator": {
|
||||
"path": "tools/web/generated/M16-GAP-00018.py",
|
||||
"sha256": "c2b7b9c33e92952e9f10ca08b854b4bc0603350aa66f0277d08af4513d18d45e"
|
||||
},
|
||||
"desktopChecker": {
|
||||
"path": "tools/web/check-particle-settings-desktop.py",
|
||||
"sha256": "d49ba0b987adf412c1692819b041a35905330f2fa633464c9425932450419afa"
|
||||
},
|
||||
"webChecker": {
|
||||
"path": "tools/web/check-generated-gap.mjs",
|
||||
"sha256": "70356fe4075db1614907a4da3bfb9fb659b17a76d34f48f4811a1ca0f32d9fad"
|
||||
},
|
||||
"reader": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"sha256": "bc8083ba6ebc4374ad10be004d2ca0a18919f47368c3171485f3bc7b75934e38"
|
||||
},
|
||||
"api": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
|
||||
"sha256": "7d84b022e0ae7fb76989054c55daee0491045dfbd153d7fae49109370a8cdf6f"
|
||||
},
|
||||
"protocol": {
|
||||
"path": "web/protocol/scene-ir.ts",
|
||||
"sha256": "330b1219735fe881dc5bf96ce34c1ce8fc6df2e16c5672c67345deffb015563f"
|
||||
},
|
||||
"wasm": {
|
||||
"path": "web/app/src/vendor/blender/web_engine.wasm",
|
||||
"sha256": "11fd301ef1823d37aaedad00bd9946e13876c517660852bd20f574d12e815d97"
|
||||
},
|
||||
"wasmJs": {
|
||||
"path": "web/app/src/vendor/blender/web_engine.js",
|
||||
"sha256": "9c831d0351ac9d0714cce3b1da748cba416ced3086e3c59595cf24ac4da459ed"
|
||||
},
|
||||
"desktopReport": {
|
||||
"path": "tests/golden/M16-GAP-00018/particle-settings-desktop-report.json",
|
||||
"sha256": "5d1c855ee65c7dc8f715341ed0a2b1269aa1a2f6e3ecde5ca590f393af3042eb"
|
||||
},
|
||||
"webReport": {
|
||||
"path": "tests/golden/M16-GAP-00018/particle-settings-local-exact-report.json",
|
||||
"sha256": "fb3eb8a193cbbf8ee8b98457042d560977e309ba1496903abf638e93c7641b6f"
|
||||
}
|
||||
},
|
||||
"nextTask": "M16-GAP-00019"
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00018-datablock-ParticleSettings.blend",
|
||||
"fixtureSha256": "1a51117f3225e6fb1aa98fd135fc39bbfb9444f741f89956c52bc3e0252fc6c0",
|
||||
"operation": "PARTICLE_SETTINGS_DATABLOCK_DESKTOP",
|
||||
"particleSettings": {
|
||||
"distribution": 0,
|
||||
"drawSize": 0.25,
|
||||
"end": 96.0,
|
||||
"from": 0,
|
||||
"id": "particle-settings:WebGapParticleSettings",
|
||||
"lifetime": 32.0,
|
||||
"name": "WebGapParticleSettings",
|
||||
"physicsType": 0,
|
||||
"size": 0.125,
|
||||
"start": 4.0,
|
||||
"totalParticles": 128,
|
||||
"type": 0
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00018"
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00018",
|
||||
"operation": "PARTICLE_SETTINGS_DATABLOCK_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00018-datablock-ParticleSettings.blend",
|
||||
"sha256": "1a51117f3225e6fb1aa98fd135fc39bbfb9444f741f89956c52bc3e0252fc6c0"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00018/particle-settings-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"particleSettingsId": "particle-settings:WebGapParticleSettings",
|
||||
"fields": {
|
||||
"type": 0,
|
||||
"from": 0,
|
||||
"distribution": 0,
|
||||
"physicsType": 0,
|
||||
"totalParticles": 128,
|
||||
"start": 4,
|
||||
"end": 96,
|
||||
"lifetime": 32,
|
||||
"size": 0.125,
|
||||
"drawSize": 0.25
|
||||
}
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00019"
|
||||
}
|
||||
124
tests/golden/M16-GAP-00018/task-context.json
Normal file
124
tests/golden/M16-GAP-00018/task-context.json
Normal file
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00018",
|
||||
"parentTask": "M16-GAP-00017",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable datablock:ParticleSettings 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": "datablock:ParticleSettings",
|
||||
"ownerFamily": "RNA_DATABLOCK",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00018.py -- tests/files/web/generated/M16-GAP-00018-datablock-ParticleSettings.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00018",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00018"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tests/files/web/generated/M16-GAP-00018-datablock-ParticleSettings.blend",
|
||||
"tools/web/generated/M16-GAP-00018.py",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"tools/web/check-generated-gap.mjs",
|
||||
"tests/golden/M16-GAP-00018/",
|
||||
"docs/status/M16-GAP-00018.md",
|
||||
"tests/golden/M16-GAP-00018/manifest.json"
|
||||
],
|
||||
"exitCriteria": [
|
||||
"desktop fixture evidence exists",
|
||||
"WASM uses the same fixture",
|
||||
"comparator passes",
|
||||
"save/reopen preserves Main",
|
||||
"manifest hashes all artifacts"
|
||||
],
|
||||
"nextTask": "M16-GAP-00019",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00018.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00017/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00017.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00018.md",
|
||||
"tests/golden/M16-GAP-00017/manifest.json",
|
||||
"docs/status/M16-GAP-00017.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-00017",
|
||||
"parentTask": "M16-GAP-00016",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00018",
|
||||
"artifactCount": 11
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00017 Status",
|
||||
"status: done ",
|
||||
"task: Object data-block LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-19 America/New_York",
|
||||
"scope: Blender 5.2 Empty Object metadata: type, visibility/selectability, translation, Euler rotation, scale and parent relation.",
|
||||
"evidence:",
|
||||
"- `tools/web/generated/M16-GAP-00017.py` generated a data-free `WebGapObject` Empty with deterministic transform values.",
|
||||
"- Desktop report reopened after save and matched exactly: EMPTY, visible/selectable, translation `[1.25, -2.5, 3.75]`, rotation `[0.2, -0.35, 0.5]`, scale `[1.5, 0.75, 2]`, no parent."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1779,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 438
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2168,
|
||||
"lines": 45,
|
||||
"tokens": 359
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00018.md",
|
||||
"bytes": 1779,
|
||||
"lines": 38,
|
||||
"tokens": 438
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00017/manifest.json",
|
||||
"bytes": 2183,
|
||||
"lines": 58,
|
||||
"tokens": 546
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00017.md",
|
||||
"bytes": 1712,
|
||||
"lines": 26,
|
||||
"tokens": 428
|
||||
}
|
||||
],
|
||||
"totalTokens": 1771,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user