Govern task context and advance execution pointer
This commit is contained in:
24
tests/golden/M16-GAP-00021/manifest.json
Normal file
24
tests/golden/M16-GAP-00021/manifest.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00021",
|
||||
"parentTask": "M16-GAP-00020",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "SCREEN_DATABLOCK_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {"path": "tests/golden/M16-GAP-00020/manifest.json", "sha256": "4cd3a4de64fbb95386f17e096a50622c3f56380635881e2539c10d65db820b1f"},
|
||||
"fixture": {"path": "tests/files/web/generated/M16-GAP-00021-datablock-Screen.blend", "sha256": "0975c534e78b6a05c7c10adc7313cb611a3350cc3c7f6e9bfd4013c334b9f376"},
|
||||
"generator": {"path": "tools/web/generated/M16-GAP-00021.py", "sha256": "f6a97289626552e3e319fe72f3932beb610289c7da8710c0d4219312b0566c1e"},
|
||||
"desktopChecker": {"path": "tools/web/check-screen-desktop.py", "sha256": "16ba526404558472d2dacc48e6f51440031556483dfeab9b52a43f69a3d5644e"},
|
||||
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "dbd2d79fd5dba004e91c79eafec46a1e520804ea447aa1b594256cee801cd88a"},
|
||||
"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-00021/screen-desktop-report.json", "sha256": "41a5d58883238d89e4e6ed3805b452bc165632b63e0065109529de3c0e230ecd"},
|
||||
"webReport": {"path": "tests/golden/M16-GAP-00021/screen-local-exact-report.json", "sha256": "792206b5b046411d921b3b916d2b76222aab39050df8028a64c39437e285023c"}
|
||||
},
|
||||
"nextTask": "M16-GAP-00022"
|
||||
}
|
||||
21
tests/golden/M16-GAP-00021/screen-desktop-report.json
Normal file
21
tests/golden/M16-GAP-00021/screen-desktop-report.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00021-datablock-Screen.blend",
|
||||
"fixtureSha256": "0975c534e78b6a05c7c10adc7313cb611a3350cc3c7f6e9bfd4013c334b9f376",
|
||||
"operation": "SCREEN_DATABLOCK_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"screen": {
|
||||
"areaCount": 4,
|
||||
"editors": [
|
||||
"DOPESHEET_EDITOR",
|
||||
"OUTLINER",
|
||||
"PROPERTIES",
|
||||
"VIEW_3D"
|
||||
],
|
||||
"id": "screen:WebGapScreen",
|
||||
"name": "WebGapScreen",
|
||||
"regionCount": 18
|
||||
},
|
||||
"task": "M16-GAP-00021"
|
||||
}
|
||||
31
tests/golden/M16-GAP-00021/screen-local-exact-report.json
Normal file
31
tests/golden/M16-GAP-00021/screen-local-exact-report.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00021",
|
||||
"operation": "SCREEN_DATABLOCK_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00021-datablock-Screen.blend",
|
||||
"sha256": "0975c534e78b6a05c7c10adc7313cb611a3350cc3c7f6e9bfd4013c334b9f376"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00021/screen-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"workflowStatus": "AVAILABLE",
|
||||
"workspaceId": "workspace:Layout",
|
||||
"areaCount": 4,
|
||||
"editorTypes": [
|
||||
"DOPE_SHEET",
|
||||
"OUTLINER",
|
||||
"PROPERTIES",
|
||||
"VIEW_3D"
|
||||
]
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00022"
|
||||
}
|
||||
124
tests/golden/M16-GAP-00021/task-context.json
Normal file
124
tests/golden/M16-GAP-00021/task-context.json
Normal file
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00021",
|
||||
"parentTask": "M16-GAP-00020",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable datablock:Screen 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:Screen",
|
||||
"ownerFamily": "RNA_DATABLOCK",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00021.py -- tests/files/web/generated/M16-GAP-00021-datablock-Screen.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00021",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00021"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tests/files/web/generated/M16-GAP-00021-datablock-Screen.blend",
|
||||
"tools/web/generated/M16-GAP-00021.py",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"tools/web/check-generated-gap.mjs",
|
||||
"tests/golden/M16-GAP-00021/",
|
||||
"docs/status/M16-GAP-00021.md",
|
||||
"tests/golden/M16-GAP-00021/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-00022",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00021.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00020/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00020.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00021.md",
|
||||
"tests/golden/M16-GAP-00020/manifest.json",
|
||||
"docs/status/M16-GAP-00020.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-00020",
|
||||
"parentTask": "M16-GAP-00019",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00021",
|
||||
"artifactCount": 11
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00020 Status",
|
||||
"status: done ",
|
||||
"task: Scene data-block LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-19 America/New_York",
|
||||
"scope: Blender 5.2 Scene identity and bounded timeline/render/unit metadata: current/start/end frames, FPS, render engine and unit scale.",
|
||||
"evidence:",
|
||||
"- `tools/web/generated/M16-GAP-00020.py` generated `WebGapScene` with frame 48 in range 12-180, 30 FPS, Eevee render and metric unit scale 0.25.",
|
||||
"- Desktop report reopened after save and matched exactly for scene identity, timeline, render engine and unit metadata."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1729,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 426
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2168,
|
||||
"lines": 45,
|
||||
"tokens": 359
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00021.md",
|
||||
"bytes": 1729,
|
||||
"lines": 38,
|
||||
"tokens": 426
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00020/manifest.json",
|
||||
"bytes": 1980,
|
||||
"lines": 25,
|
||||
"tokens": 495
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00020.md",
|
||||
"bytes": 1724,
|
||||
"lines": 26,
|
||||
"tokens": 431
|
||||
}
|
||||
],
|
||||
"totalTokens": 1711,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user