Govern task context and advance execution pointer
This commit is contained in:
24
tests/golden/M16-GAP-00019/manifest.json
Normal file
24
tests/golden/M16-GAP-00019/manifest.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00019",
|
||||
"parentTask": "M16-GAP-00018",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "POINT_CLOUD_DATABLOCK_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {"path": "tests/golden/M16-GAP-00018/manifest.json", "sha256": "4713266b567a14e1b9a7c2cffeb7806e054742b83684e82bfa592a0b900c5533"},
|
||||
"fixture": {"path": "tests/files/web/generated/M16-GAP-00019-datablock-PointCloud.blend", "sha256": "57ef80323ae70ce21842c00b3777e8ef484b7e332a6645c165fd5f029a522089"},
|
||||
"generator": {"path": "tools/web/generated/M16-GAP-00019.py", "sha256": "36ead922241d5372ba4ae5c4656d449faeb62bb8958b4e96231c09b6b316fa13"},
|
||||
"desktopChecker": {"path": "tools/web/check-pointcloud-desktop.py", "sha256": "7223e0684f4bb8559228ffdd118b69dfd31c42959643ed17b885f13bb57eb400"},
|
||||
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "a1295ac16691ba55c7ca803030ac304ba0cbca7876695b0bf30658b29547c509"},
|
||||
"reader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "bc8083ba6ebc4374ad10be004d2ca0a18919f47368c3171485f3bc7b75934e38"},
|
||||
"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-00019/pointcloud-desktop-report.json", "sha256": "c3c874f8f5e95c97f2862d6b2c4711ac78a90f3a5de289bfdb9a5ae0459dc1d7"},
|
||||
"webReport": {"path": "tests/golden/M16-GAP-00019/pointcloud-local-exact-report.json", "sha256": "e304b3dd36b08a43307f1dc2a70a14cb6b29214d324b18faf8d8225f7342b23d"}
|
||||
},
|
||||
"nextTask": "M16-GAP-00020"
|
||||
}
|
||||
34
tests/golden/M16-GAP-00019/pointcloud-desktop-report.json
Normal file
34
tests/golden/M16-GAP-00019/pointcloud-desktop-report.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00019-datablock-PointCloud.blend",
|
||||
"fixtureSha256": "57ef80323ae70ce21842c00b3777e8ef484b7e332a6645c165fd5f029a522089",
|
||||
"operation": "POINT_CLOUD_DATABLOCK_DESKTOP",
|
||||
"pointCloud": {
|
||||
"controlPoints": [
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.5,
|
||||
1.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
1.5
|
||||
],
|
||||
"id": "pointcloud:WebGapPointCloud",
|
||||
"name": "WebGapPointCloud",
|
||||
"pointCount": 4,
|
||||
"radii": [
|
||||
0.25,
|
||||
0.5,
|
||||
0.75,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00019"
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00019",
|
||||
"operation": "POINT_CLOUD_DATABLOCK_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00019-datablock-PointCloud.blend",
|
||||
"sha256": "57ef80323ae70ce21842c00b3777e8ef484b7e332a6645c165fd5f029a522089"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00019/pointcloud-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"pointCloudId": "pointcloud:WebGapPointCloud",
|
||||
"pointCount": 4,
|
||||
"geometryStatus": "available",
|
||||
"pointHash": "8ebdf7eaacf3144710d905ad4e496593869f0f151bcb7b142bd462b0dad21c81",
|
||||
"radiusHash": "55e896f6bf2ec386905ac6241192bb8e85f4be3965e8fcc2b068c39eb1930bf6"
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00020"
|
||||
}
|
||||
124
tests/golden/M16-GAP-00019/task-context.json
Normal file
124
tests/golden/M16-GAP-00019/task-context.json
Normal file
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00019",
|
||||
"parentTask": "M16-GAP-00018",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable datablock:PointCloud 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:PointCloud",
|
||||
"ownerFamily": "RNA_DATABLOCK",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00019.py -- tests/files/web/generated/M16-GAP-00019-datablock-PointCloud.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00019",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00019"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tests/files/web/generated/M16-GAP-00019-datablock-PointCloud.blend",
|
||||
"tools/web/generated/M16-GAP-00019.py",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"tools/web/check-generated-gap.mjs",
|
||||
"tests/golden/M16-GAP-00019/",
|
||||
"docs/status/M16-GAP-00019.md",
|
||||
"tests/golden/M16-GAP-00019/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-00020",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00019.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00018/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00018.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00019.md",
|
||||
"tests/golden/M16-GAP-00018/manifest.json",
|
||||
"docs/status/M16-GAP-00018.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-00018",
|
||||
"parentTask": "M16-GAP-00017",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00019",
|
||||
"artifactCount": 12
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00018 Status",
|
||||
"status: done ",
|
||||
"task: ParticleSettings data-block LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-19 America/New_York",
|
||||
"scope: Blender 5.2 ParticleSettings identity and bounded emission fields: type, source, distribution, physics, count, frame range, lifetime, particle size and draw size.",
|
||||
"evidence:",
|
||||
"- `tools/web/generated/M16-GAP-00018.py` generated a minimal retained `WebGapParticleSettings` data-block without a particle-system modifier, avoiding unrelated modifier state while preserving the exact RNA data.",
|
||||
"- Desktop report reopened after save and matched exactly: emitter type, face source, JIT distribution, Newton physics, 128 particles, frames 4-96, lifetime 32, size 0.125 and draw size 0.25."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1749,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 431
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2168,
|
||||
"lines": 45,
|
||||
"tokens": 359
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00019.md",
|
||||
"bytes": 1749,
|
||||
"lines": 38,
|
||||
"tokens": 431
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00018/manifest.json",
|
||||
"bytes": 2416,
|
||||
"lines": 62,
|
||||
"tokens": 604
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00018.md",
|
||||
"bytes": 1978,
|
||||
"lines": 26,
|
||||
"tokens": 495
|
||||
}
|
||||
],
|
||||
"totalTokens": 1889,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user