chore(web): continuous handoff WBV2-P1264-001
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
| 字段 | 值 |
|
||||
| --- | --- |
|
||||
| 里程碑 | WBV2 capability workflow |
|
||||
| 当前任务 | `WBV2-P1263-001` |
|
||||
| parent manifest | `tests/golden/WBV2-P1263-000/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P1263-001.md`](tasks/WBV2-P1263-001.md) |
|
||||
| 当前任务 | `WBV2-P1264-001` |
|
||||
| parent manifest | `tests/golden/WBV2-P1264-000/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P1264-001.md`](tasks/WBV2-P1264-001.md) |
|
||||
| 专项验收 | `node tools/web/check-execution-control-plane.mjs` |
|
||||
| legacy coverage checkpoint | `M16-GAP-00282` |
|
||||
| legacy coverage parent | `tests/golden/M16-GAP-00281/manifest.json` |
|
||||
|
||||
9
docs/status/WBV2-P1264-001.md
Normal file
9
docs/status/WBV2-P1264-001.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# WBV2-P1264-001 status
|
||||
|
||||
- task: `WBV2-P1264-001`; module: `AUTO_SHADER_NATIVE_NODE_READER`; status: `done`
|
||||
- source hashes stable: `true`; commands passed: `4`
|
||||
- existing production evidence reused: `false`; skipped commands: `0`
|
||||
- positive Main mutation, negative no-mutation, recovery and Chromium gates are recorded in the module receipt
|
||||
- dynamic source inventory: `3745` units; verified `990`; unverified `2755`; planning estimate `5200` (non-binding); this-segment binding delta: `1`
|
||||
- historical 6900-entry inventory remains read-only; full-family parity: `false`
|
||||
- nextTask: `NONE`
|
||||
48
docs/tasks/WBV2-P1264-001.md
Normal file
48
docs/tasks/WBV2-P1264-001.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# WBV2-P1264-001: verify auto-generated native shader node reader batch
|
||||
|
||||
- task: WBV2-P1264-001
|
||||
- parent: WBV2-P1264-000
|
||||
- status: in_progress
|
||||
- gap: capability:AUTO_SHADER_NATIVE_NODE_READER
|
||||
- ownerFamily: NODES
|
||||
- targetImplementationClass: LOCAL_EXACT
|
||||
- batchId: WBV2-P1264-001:AUTO_SHADER_NATIVE_NODE_READER:bc4cce1c19a5ca22
|
||||
- selectedRecordIds: ["node:ShaderNodeWireframe"]
|
||||
- commandBudget: max=48; read/exploration max=16
|
||||
- Implementation entrypoint: `node tools/web/run-wbv2-module-task.mjs --task WBV2-P1264-001 --write`
|
||||
|
||||
## 目标
|
||||
|
||||
以一个共享 Blender Main reader、WASM build、Worker 路由和 Chromium receipt 批量验证 ShaderNodeWireframe 的真实 modifier/RNA 元数据。
|
||||
|
||||
## 输入与范围
|
||||
|
||||
- Blender modifier sources: `blender-5.2.0/source/blender/modifiers/intern/`
|
||||
- RNA source: `blender-5.2.0/source/blender/makesrna/intern/rna_modifier.cc`
|
||||
- Native reader: `blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp`
|
||||
- Fixtures: `tests/files/web/generated/wbv2-shader-bc4cce1c19a5ca22.blend`
|
||||
- Chromium test: `web/tests/e2e/shader-main-reader-production.spec.ts`
|
||||
- Selected modifier units: `modifier-source:ShaderNodeWireframe`
|
||||
- Selected RNA units: none (source-only dependency batch)
|
||||
|
||||
## 验收
|
||||
|
||||
- one shared Main/WASM/Worker/Chromium chain observes every selected type
|
||||
- malformed input is rejected without Main mutation
|
||||
- save/reopen and deterministic second read are exact
|
||||
- only Chromium is used; JS simulation and per-API duplicate workers are forbidden
|
||||
- each selected source unit receives an explicit hash-bound coverage binding
|
||||
- `node tools/web/check-task-context.mjs --task WBV2-P1264-001 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- any missing source, unsupported type, hash drift, malformed data or non-exact recovery keeps the batch `in_progress`/`blocked`
|
||||
- partial batch success never claims the omitted family; historical inventory remains read-only
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Receipt: `tests/golden/WBV2-P1264-001/module-receipt.json`
|
||||
- Aggregate production evidence: `tests/golden/WBV2-P1264-001/modifier-reader-batch-production.json`
|
||||
- Manifest: `tests/golden/WBV2-P1264-001/manifest.json`
|
||||
- Status: `docs/status/WBV2-P1264-001.md`
|
||||
- Rollback: restore WBV2-P1264-000 as queue parent without rewriting prior evidence.
|
||||
BIN
tests/files/web/generated/wbv2-shader-bc4cce1c19a5ca22.blend
Normal file
BIN
tests/files/web/generated/wbv2-shader-bc4cce1c19a5ca22.blend
Normal file
Binary file not shown.
46
tests/golden/WBV2-P1264-000/manifest.json
Normal file
46
tests/golden/WBV2-P1264-000/manifest.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1264-000",
|
||||
"parentTask": "WBV2-P1263-001",
|
||||
"operation": "AUTHORIZE_SOURCE_BACKED_MODULE_BATCH",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "MODULE_EXECUTION_QUEUE_BRIDGE",
|
||||
"batchId": "WBV2-P1264-001:AUTO_SHADER_NATIVE_NODE_READER:bc4cce1c19a5ca22",
|
||||
"selectedRecordIds": [
|
||||
"node:ShaderNodeWireframe"
|
||||
],
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P1263-001/manifest.json",
|
||||
"sha256": "7075c2d3c875239162cf30549aac131b48e6e6965f395dd1ece854df3bc623ac"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P1264-000/module-execution-plan.json",
|
||||
"sha256": "1e175063da6f5d39bca30b8723b8057ec6d162617395d152d233a5925c1cd670"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P1264-000/successor-authorization-report.json",
|
||||
"sha256": "79d23c198489cd85419253f53ea496f60d5829d7b7df76796d73f6760c3f56ce"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P1264-000.md",
|
||||
"sha256": "779153836b9e34e0f7af66c05bf680333d69522af8c4de6db348e28505ee85b7"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"sourceBackedSuccessor": true,
|
||||
"moduleId": "AUTO_SHADER_NATIVE_NODE_READER",
|
||||
"batchSize": 1,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"dynamicUnitCount": 3745,
|
||||
"dynamicVerifiedUnits": 989,
|
||||
"dynamicUnverifiedUnits": 2756,
|
||||
"boundUnitDelta": 0,
|
||||
"fullHistoricalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P1264-001"
|
||||
}
|
||||
27342
tests/golden/WBV2-P1264-000/module-execution-plan.json
Normal file
27342
tests/golden/WBV2-P1264-000/module-execution-plan.json
Normal file
File diff suppressed because it is too large
Load Diff
92
tests/golden/WBV2-P1264-001/manifest.json
Normal file
92
tests/golden/WBV2-P1264-001/manifest.json
Normal file
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1264-001",
|
||||
"parentTask": "WBV2-P1264-000",
|
||||
"operation": "MODULE_FUNCTION_EXECUTION",
|
||||
"phase": "CONTINUE",
|
||||
"taskClass": "MODULE",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "BLENDER_WEB_FUNCTION_MODULE",
|
||||
"batchId": "WBV2-P1264-001:AUTO_SHADER_NATIVE_NODE_READER:bc4cce1c19a5ca22",
|
||||
"selectedRecordIds": [
|
||||
"node:ShaderNodeWireframe"
|
||||
],
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P1264-000/manifest.json",
|
||||
"sha256": "387d0a425b11b3ba6894cabdbad276e6ec7169695eefce3e26410b67f1d42347"
|
||||
},
|
||||
"source1": {
|
||||
"path": "blender-5.2.0/source/blender/nodes/shader/nodes/node_shader_wireframe.cc",
|
||||
"sha256": "7a969b9d0afe51fe3c06c4f27de5e8240a93539c476b6a5d69ddf16308e48f7d"
|
||||
},
|
||||
"source2": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"sha256": "8a9b46e8f5f9c4b30ad7818fac6fbd64b20dc2d0a962630f50c8f352bdf230d3"
|
||||
},
|
||||
"source3": {
|
||||
"path": "web/tests/e2e/shader-main-reader-production.spec.ts",
|
||||
"sha256": "1e43659a14084afd46821fb8bbdc1e564d6213ee87193271d172bc2b0452ea6d"
|
||||
},
|
||||
"source4": {
|
||||
"path": "tests/files/web/generated/wbv2-shader-bc4cce1c19a5ca22.blend",
|
||||
"sha256": "685d6a56d645042af91d115f337906a6dcaf44b01fd00f5df2ffe818099ee229"
|
||||
},
|
||||
"source5": {
|
||||
"path": "web/app/src/vendor/blender/web_engine.wasm",
|
||||
"sha256": "66fc59cba55a8c17d398b74d12ea4a9f09746c0f30c40f579c44aa34956e3072"
|
||||
},
|
||||
"evidence1": {
|
||||
"path": "tests/golden/WBV2-P1264-001/shader-main-reader-production.json",
|
||||
"sha256": "b103745e665e37d4d34b61a468e6d5e20c441bfeab9fbf2916b5cf599e220b71"
|
||||
},
|
||||
"moduleReceipt": {
|
||||
"path": "tests/golden/WBV2-P1264-001/module-receipt.json",
|
||||
"sha256": "d9ea6e2a8f18a8c69293a1a30dc285ca1f14fbe0af4d0aacf15d35e34a5c0b73"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P1264-001.md",
|
||||
"sha256": "fee5cbfab7644235c1d5124dd67e80147b3b31b453d08ee40778d511f673efae"
|
||||
},
|
||||
"log": {
|
||||
"path": "tests/golden/WBV2-P1264-001/module-run.log",
|
||||
"sha256": "daf2a5c16174d0b1e6a96806f87075209d340c90678dc8c037c933606353ef07"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P1264-000/module-execution-plan.json",
|
||||
"sha256": "282e3dcd5bff40aa8665f0c45c0f8a83aedab71809bfe0be52ae0ed188f6c10a"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P1264-001/task-context.json",
|
||||
"sha256": "51c53faea06ce4524a4afd92a4f4f5e845f4cb335d25655893f691611d6c640e"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"moduleId": "AUTO_SHADER_NATIVE_NODE_READER",
|
||||
"batchId": "WBV2-P1264-001:AUTO_SHADER_NATIVE_NODE_READER:bc4cce1c19a5ca22",
|
||||
"selectedRecordIds": [
|
||||
"node:ShaderNodeWireframe"
|
||||
],
|
||||
"sourceBacked": true,
|
||||
"positiveCases": 3,
|
||||
"negativeCases": 3,
|
||||
"recoveryCases": 3,
|
||||
"commandCount": 4,
|
||||
"reusedReceiptCount": 1,
|
||||
"sourceUnchanged": true,
|
||||
"fullFamilyParity": false,
|
||||
"dynamicInventoryPath": "tests/golden/WBV2/dynamic-inventory.json",
|
||||
"dynamicSourceTreeSha256": "600cb3dd441f09d9655b740735fbf8fa49ad6c14d308c68d59a29f9c338e4202",
|
||||
"dynamicUnitCount": 3745,
|
||||
"dynamicVerifiedUnits": 990,
|
||||
"dynamicUnverifiedUnits": 2755,
|
||||
"planningEstimate": 5200,
|
||||
"historicalInventoryTotal": 6900,
|
||||
"historicalEffectiveCompleted": 290,
|
||||
"historicalEffectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": null
|
||||
}
|
||||
130
tests/golden/WBV2-P1264-001/module-receipt.json
Normal file
130
tests/golden/WBV2-P1264-001/module-receipt.json
Normal file
@@ -0,0 +1,130 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1264-001",
|
||||
"operation": "MODULE_FUNCTION_EXECUTION",
|
||||
"phase": "CONTINUE",
|
||||
"moduleId": "AUTO_SHADER_NATIVE_NODE_READER",
|
||||
"batchId": "WBV2-P1264-001:AUTO_SHADER_NATIVE_NODE_READER:bc4cce1c19a5ca22",
|
||||
"selectedRecordIds": [
|
||||
"node:ShaderNodeWireframe"
|
||||
],
|
||||
"commandBudget": {
|
||||
"maxCommands": 48,
|
||||
"maxReadCommands": 16,
|
||||
"commandCount": 4,
|
||||
"readCommandCount": 0,
|
||||
"withinBudget": true
|
||||
},
|
||||
"status": "PASS",
|
||||
"source": {
|
||||
"paths": [
|
||||
"blender-5.2.0/source/blender/nodes/shader/nodes/node_shader_wireframe.cc",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"web/tests/e2e/shader-main-reader-production.spec.ts",
|
||||
"tests/files/web/generated/wbv2-shader-bc4cce1c19a5ca22.blend",
|
||||
"web/app/src/vendor/blender/web_engine.wasm"
|
||||
],
|
||||
"auditedPaths": [
|
||||
"blender-5.2.0/source/blender/nodes/shader/nodes/node_shader_wireframe.cc",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"
|
||||
],
|
||||
"before": {
|
||||
"blender-5.2.0/source/blender/nodes/shader/nodes/node_shader_wireframe.cc": "7a969b9d0afe51fe3c06c4f27de5e8240a93539c476b6a5d69ddf16308e48f7d",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp": "8a9b46e8f5f9c4b30ad7818fac6fbd64b20dc2d0a962630f50c8f352bdf230d3"
|
||||
},
|
||||
"after": {
|
||||
"blender-5.2.0/source/blender/nodes/shader/nodes/node_shader_wireframe.cc": "7a969b9d0afe51fe3c06c4f27de5e8240a93539c476b6a5d69ddf16308e48f7d",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp": "8a9b46e8f5f9c4b30ad7818fac6fbd64b20dc2d0a962630f50c8f352bdf230d3"
|
||||
},
|
||||
"unchanged": true
|
||||
},
|
||||
"reusedReceipts": [
|
||||
{
|
||||
"manifest": "tests/golden/WBV2-P1107-000/manifest.json",
|
||||
"report": "tests/golden/WBV2-P1107-000/module-receipt.json",
|
||||
"manifestSha256": "a53ebdc52db5dcf27d44e938e5551f1ee2adae8e46c3fe8661604ee6b1000f8c",
|
||||
"reportSha256": "6dd419799e1a4b9251328d9496f2459d148cd89118740a06b0ee6ffb78e0b1d2"
|
||||
}
|
||||
],
|
||||
"cases": {
|
||||
"positive": [
|
||||
"ShaderNodeWireframe type is read from Blender Main",
|
||||
"shared RNA metadata is preserved",
|
||||
"save/reopen preserves the batch metadata"
|
||||
],
|
||||
"negative": [
|
||||
"malformed blend is rejected without Main mutation",
|
||||
"unsupported batch data fails closed",
|
||||
"non-finite metadata is not synthesized"
|
||||
],
|
||||
"recovery": [
|
||||
"save/reopen",
|
||||
"worker termination",
|
||||
"deterministic second read"
|
||||
]
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"command": "source tools/web/emscripten-env.sh && cmake --build build_web_blender6 --target web_engine -- -j8 && cp build_web_blender6/bin/web_engine.wasm web/app/src/vendor/blender/web_engine.wasm && cp build_web_blender6/bin/web_engine.wasm web/app/public/vendor/blender/web_engine.wasm",
|
||||
"exitCode": 0,
|
||||
"durationMs": 142
|
||||
},
|
||||
{
|
||||
"command": "npm --prefix web run typecheck",
|
||||
"exitCode": 0,
|
||||
"durationMs": 3324
|
||||
},
|
||||
{
|
||||
"command": "npm --prefix web run build",
|
||||
"exitCode": 0,
|
||||
"durationMs": 3899
|
||||
},
|
||||
{
|
||||
"command": "WBV2_BATCH_TASK=WBV2-P1264-001 WBV2_BATCH_PRODUCTION=tests/golden/WBV2-P1264-001/shader-main-reader-production.json WBV2_BATCH_FIXTURE=tests/files/web/generated/wbv2-shader-bc4cce1c19a5ca22.blend WBV2_BATCH_TYPES='[\"ShaderNodeWireframe\"]' WBV2_BATCH_UNITS='[\"node:ShaderNodeWireframe\"]' WEB_TEST_PORT=5371 npm --prefix web run test:e2e -- --workers=1 tests/e2e/shader-main-reader-production.spec.ts",
|
||||
"exitCode": 0,
|
||||
"durationMs": 2823
|
||||
}
|
||||
],
|
||||
"verification": {
|
||||
"required": [
|
||||
"sourceHash",
|
||||
"wasmBuild",
|
||||
"positiveMainMutation",
|
||||
"negativeNoMutation",
|
||||
"undoRedo",
|
||||
"saveReopen",
|
||||
"aggregateManifest"
|
||||
],
|
||||
"chromiumOnly": true,
|
||||
"fullFamilyParity": false
|
||||
},
|
||||
"efficiency": {
|
||||
"existingEvidenceReused": false,
|
||||
"skippedCommands": 0,
|
||||
"totalDurationMs": 10188,
|
||||
"reusePolicy": "hash_bound_receipt"
|
||||
},
|
||||
"inventory": {
|
||||
"historical": {
|
||||
"path": "tests/golden/WBV2-P0-002/parity-map.json",
|
||||
"sha256": "a60a77cae000941a953d55adbf93d8f6e275533891713d6eae993f60faed94e8",
|
||||
"total": 6900,
|
||||
"legacyCompleted": 281,
|
||||
"legacyPending": 6618,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"mutation": "forbidden_by_module_execution"
|
||||
},
|
||||
"dynamic": {
|
||||
"path": "tests/golden/WBV2/dynamic-inventory.json",
|
||||
"sha256": "94e366695a05393992f1363b6ecbf64a9237cb0e8301f450ce2ea8f0913dbd3e",
|
||||
"sourceTreeSha256": "600cb3dd441f09d9655b740735fbf8fa49ad6c14d308c68d59a29f9c338e4202",
|
||||
"unitCount": 3745,
|
||||
"planningEstimate": 5200,
|
||||
"hardTarget": false,
|
||||
"verifiedUnits": 990,
|
||||
"unverifiedUnits": 2755
|
||||
}
|
||||
},
|
||||
"nextTask": null
|
||||
}
|
||||
49
tests/golden/WBV2-P1264-001/module-run.log
Normal file
49
tests/golden/WBV2-P1264-001/module-run.log
Normal file
@@ -0,0 +1,49 @@
|
||||
> source tools/web/emscripten-env.sh && cmake --build build_web_blender6 --target web_engine -- -j8 && cp build_web_blender6/bin/web_engine.wasm web/app/src/vendor/blender/web_engine.wasm && cp build_web_blender6/bin/web_engine.wasm web/app/public/vendor/blender/web_engine.wasm
|
||||
ninja: no work to do.
|
||||
|
||||
> npm --prefix web run typecheck
|
||||
|
||||
> blender-web-editor@0.1.0-rc.1 typecheck
|
||||
> tsc -p tsconfig.json --noEmit
|
||||
|
||||
|
||||
> npm --prefix web run build
|
||||
|
||||
> blender-web-editor@0.1.0-rc.1 build
|
||||
> tsc -p tsconfig.json && vite build --config app/vite.config.ts
|
||||
|
||||
vite v8.2.0 building client environment for production...
|
||||
[2K
|
||||
transforming...✓ 102 modules transformed.
|
||||
rendering chunks...
|
||||
computing gzip size...
|
||||
dist/index.html 0.46 kB │ gzip: 0.29 kB
|
||||
dist/assets/storage.worker-D9TqXsGS.js 66.59 kB
|
||||
dist/assets/web-engine.worker-ynL11m10.js 362.11 kB
|
||||
dist/assets/viewport-render.worker-BKnJyAEz.js 634.08 kB
|
||||
dist/assets/web_engine-C04Dp4ba.wasm 16,243.50 kB │ gzip: 3,858.52 kB
|
||||
dist/assets/index-BgTbQCE2.css 15.35 kB │ gzip: 3.91 kB
|
||||
dist/assets/index-B1m0FaKy.js 1,190.30 kB │ gzip: 316.69 kB
|
||||
|
||||
✓ built in 465ms
|
||||
[plugin rolldown:vite-resolve] Module "module" has been externalized for browser compatibility, imported by "/home/mes123456/workinf_Blender_Wasm/web/app/src/vendor/blender/web_engine.js". See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
|
||||
[plugin builtin:vite-reporter]
|
||||
(!) Some chunks are larger than 500 kB after minification. Consider:
|
||||
- Using dynamic import() to code-split the application
|
||||
- Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting
|
||||
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
|
||||
|
||||
> WBV2_BATCH_TASK=WBV2-P1264-001 WBV2_BATCH_PRODUCTION=tests/golden/WBV2-P1264-001/shader-main-reader-production.json WBV2_BATCH_FIXTURE=tests/files/web/generated/wbv2-shader-bc4cce1c19a5ca22.blend WBV2_BATCH_TYPES='["ShaderNodeWireframe"]' WBV2_BATCH_UNITS='["node:ShaderNodeWireframe"]' WEB_TEST_PORT=5371 npm --prefix web run test:e2e -- --workers=1 tests/e2e/shader-main-reader-production.spec.ts
|
||||
|
||||
> blender-web-editor@0.1.0-rc.1 test:e2e
|
||||
> playwright test --config playwright.config.ts --workers=1 tests/e2e/shader-main-reader-production.spec.ts
|
||||
|
||||
|
||||
Running 1 test using 1 worker
|
||||
|
||||
✓ 1 tests/e2e/shader-main-reader-production.spec.ts:15:1 › WBV2-P1113-000 reads Shader nodes from Blender Main without JS simulation (1.7s)
|
||||
|
||||
1 passed (2.5s)
|
||||
[WebServer] (node:1335415) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||||
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
|
||||
(node:1335469) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||||
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1264-001",
|
||||
"operation": "SHADER_MAIN_READER_CHROMIUM",
|
||||
"browser": "chromium",
|
||||
"queueMutation": false,
|
||||
"fixture": "tests/files/web/generated/wbv2-shader-bc4cce1c19a5ca22.blend",
|
||||
"fixtureSha256": "685d6a56d645042af91d115f337906a6dcaf44b01fd00f5df2ffe818099ee229",
|
||||
"sourceUnits": [
|
||||
"node:ShaderNodeWireframe"
|
||||
],
|
||||
"expectedTypes": [
|
||||
"ShaderNodeWireframe"
|
||||
],
|
||||
"sourceNodes": {
|
||||
"node:ShaderNodeBsdfPrincipled": "material.nodes[type=PRINCIPLED]",
|
||||
"node:ShaderNodeOutputMaterial": "material.nodes[type=OUTPUT]"
|
||||
},
|
||||
"materials": [
|
||||
{
|
||||
"id": "material:Material",
|
||||
"nodes": [
|
||||
{
|
||||
"type": "OUTPUT",
|
||||
"name": "Material Output"
|
||||
},
|
||||
{
|
||||
"type": "PRINCIPLED",
|
||||
"name": "Principled BSDF"
|
||||
}
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"fromNodeId": "node:132449552:Principled BSDF",
|
||||
"fromSocket": "BSDF",
|
||||
"toNodeId": "node:156502014:Material Output",
|
||||
"toSocket": "Surface"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "material:WBV2 Shader Batch",
|
||||
"nodes": [
|
||||
{
|
||||
"type": "UNSUPPORTED",
|
||||
"name": "WBV2 ShaderNodeWireframe"
|
||||
}
|
||||
],
|
||||
"links": []
|
||||
}
|
||||
],
|
||||
"reopenedMaterials": [
|
||||
{
|
||||
"id": "material:Material",
|
||||
"nodes": [
|
||||
{
|
||||
"type": "OUTPUT",
|
||||
"name": "Material Output"
|
||||
},
|
||||
{
|
||||
"type": "PRINCIPLED",
|
||||
"name": "Principled BSDF"
|
||||
}
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"fromNodeId": "node:132449552:Principled BSDF",
|
||||
"fromSocket": "BSDF",
|
||||
"toNodeId": "node:156502014:Material Output",
|
||||
"toSocket": "Surface"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "material:WBV2 Shader Batch",
|
||||
"nodes": [
|
||||
{
|
||||
"type": "UNSUPPORTED",
|
||||
"name": "WBV2 ShaderNodeWireframe"
|
||||
}
|
||||
],
|
||||
"links": []
|
||||
}
|
||||
],
|
||||
"openedRevision": 1,
|
||||
"reopenedRevision": 1
|
||||
}
|
||||
217
tests/golden/WBV2-P1264-001/task-context.json
Normal file
217
tests/golden/WBV2-P1264-001/task-context.json
Normal file
@@ -0,0 +1,217 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1264-001",
|
||||
"parentTask": "WBV2-P1264-000",
|
||||
"status": "in_progress",
|
||||
"goal": "以一个共享 Blender Main reader、WASM build、Worker 路由和 Chromium receipt 批量验证 ShaderNodeWireframe 的真实 modifier/RNA 元数据。",
|
||||
"scope": {
|
||||
"gap": "capability:AUTO_SHADER_NATIVE_NODE_READER",
|
||||
"ownerFamily": "NODES",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"node tools/web/check-task-context.mjs --task WBV2-P1264-001 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputMetadata": {
|
||||
"docs/EXECUTION_QUEUE.md": {
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"exists": true,
|
||||
"bytes": 4030,
|
||||
"mtime_ns": "1788484802059077077",
|
||||
"sha256": "80a23c5c15624c55bcb6934dd57c4f30f33ebbdd98455782f3e0b3d88cd306e5"
|
||||
},
|
||||
"docs/tasks/WBV2-P1264-001.md": {
|
||||
"path": "docs/tasks/WBV2-P1264-001.md",
|
||||
"exists": true,
|
||||
"bytes": 2258,
|
||||
"mtime_ns": "1788484791368257294",
|
||||
"sha256": "bf5ec3bc7c00668def8113cb6b78a86942455c05331c3e18a0a6f1e35236e5d8"
|
||||
},
|
||||
"tests/golden/WBV2-P1264-000/manifest.json": {
|
||||
"path": "tests/golden/WBV2-P1264-000/manifest.json",
|
||||
"exists": true,
|
||||
"bytes": 1525,
|
||||
"mtime_ns": "1788484791369124873",
|
||||
"sha256": "387d0a425b11b3ba6894cabdbad276e6ec7169695eefce3e26410b67f1d42347"
|
||||
},
|
||||
"docs/status/WBV2-P1264-000.md": {
|
||||
"path": "docs/status/WBV2-P1264-000.md",
|
||||
"exists": true,
|
||||
"bytes": 362,
|
||||
"mtime_ns": "1788484791368420812",
|
||||
"sha256": "779153836b9e34e0f7af66c05bf680333d69522af8c4de6db348e28505ee85b7"
|
||||
}
|
||||
},
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 1729,
|
||||
"contextRemainingTokens": 430
|
||||
},
|
||||
"source": {
|
||||
"bytes": 8175,
|
||||
"tokens": 2046
|
||||
},
|
||||
"selected": [],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/modifiers/intern/",
|
||||
"bytes": 10155,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/makesrna/intern/rna_modifier.cc",
|
||||
"bytes": 521651,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"bytes": 314614,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/files/web/generated/wbv2-shader-bc4cce1c19a5ca22.blend",
|
||||
"bytes": 96676,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "web/tests/e2e/shader-main-reader-production.spec.ts",
|
||||
"bytes": 3665,
|
||||
"reason": "CONTEXT_REMAINING_SPACE"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1264-001/module-receipt.json",
|
||||
"bytes": 4833,
|
||||
"reason": "CONTEXT_REMAINING_SPACE"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1264-001/modifier-reader-batch-production.json",
|
||||
"bytes": null,
|
||||
"reason": "MISSING_PATH"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1264-001/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P1264-001.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 0,
|
||||
"bytes": 0,
|
||||
"tokens": 0
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"source and protocol hashes are bound",
|
||||
"every selected Main reader type is proven",
|
||||
"negative no-mutation and recovery are proven",
|
||||
"Chromium and save/reopen evidence are exact"
|
||||
],
|
||||
"nextTask": null,
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P1264-001.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P1264-000/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P1264-000.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P1264-001.md",
|
||||
"tests/golden/WBV2-P1264-000/manifest.json",
|
||||
"docs/status/WBV2-P1264-000.md"
|
||||
],
|
||||
"machineOnly": [
|
||||
"tests/golden/WBV2/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": "WBV2-P1264-000",
|
||||
"parentTask": "WBV2-P1263-001",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P1264-001",
|
||||
"artifactCount": 4
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P1264-000 status",
|
||||
"- task: `WBV2-P1264-000`; parent: `WBV2-P1263-001`; status: `done`",
|
||||
"- taskClass: `QUEUE_ENABLEMENT`; no modifier-family parity completion claimed",
|
||||
"- source-backed batch authorized: `AUTO_SHADER_NATIVE_NODE_READER` (1 units)",
|
||||
"- dynamic inventory: `3745` units; verified `989`; unverified `2756`; bound delta `0`",
|
||||
"- nextTask: `WBV2-P1264-001`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 2258,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 49,
|
||||
"taskTokens": 565
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 4030,
|
||||
"lines": 58,
|
||||
"tokens": 1008
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P1264-001.md",
|
||||
"bytes": 2258,
|
||||
"lines": 49,
|
||||
"tokens": 565
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P1264-000/manifest.json",
|
||||
"bytes": 1525,
|
||||
"lines": 47,
|
||||
"tokens": 382
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P1264-000.md",
|
||||
"bytes": 362,
|
||||
"lines": 8,
|
||||
"tokens": 91
|
||||
}
|
||||
],
|
||||
"sourceTokens": 2046,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 2046,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 3070,
|
||||
"serializedContextTokens": 653,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
@@ -305,3 +305,5 @@
|
||||
{"id":"WBV2-P1262-001","gapId":"AUTO_SHADER_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1262","state":"completed","targetImplementationClass":"LOCAL_EXACT","exitCriteria":["source and protocol hashes are bound","every selected Main reader type is proven","negative no-mutation and recovery are proven","Chromium and save/reopen evidence are exact"]}
|
||||
{"id":"WBV2-P1263-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1263","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1263-001","gapId":"AUTO_SHADER_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1263","state":"completed","targetImplementationClass":"LOCAL_EXACT","exitCriteria":["source and protocol hashes are bound","every selected Main reader type is proven","negative no-mutation and recovery are proven","Chromium and save/reopen evidence are exact"]}
|
||||
{"id":"WBV2-P1264-000","gapId":"workflow:authorize_modifier_reader_batch","ownerFamily":"PROGRAM","sourceTask":"1264","state":"completed","targetImplementationClass":"QUEUE_ONLY","exitCriteria":["prior evidence remains hash-bound","batch source mapping is explicit","inventory remains source-derived"]}
|
||||
{"id":"WBV2-P1264-001","gapId":"AUTO_SHADER_NATIVE_NODE_READER","ownerFamily":"NODES","sourceTask":"1264","state":"completed","targetImplementationClass":"LOCAL_EXACT","exitCriteria":["source and protocol hashes are bound","every selected Main reader type is proven","negative no-mutation and recovery are proven","Chromium and save/reopen evidence are exact"]}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user