feat(web): reuse verified source dependencies
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-09-03 13:50:55 +08:00
parent c3cce050f8
commit c334bb1437
28 changed files with 8504 additions and 70 deletions

View File

@@ -0,0 +1,31 @@
# WBV2-P1153-000: authorize module batch
- task: WBV2-P1153-000
- parent: WBV2-P1152-001
- status: done
- gap: capability:MODIFIER_SOURCE_DEPENDENCY_REUSE
- ownerFamily: MODIFIER
- targetImplementationClass: QUEUE_ONLY
- Implementation entrypoint: `python3 my-tools/authorize_next_wbv2_task.py --write`
## 目标
授权一个共享 Blender Main/WASM/Chromium 功能批次:MODIFIER_SOURCE_DEPENDENCY_REUSE,共 5 个源码/RNA 单元。
## 输入与范围
- Blender source: `blender-5.2.0/source/blender`
- Fixtures/test: existing Chromium receipts, `tools/web/reuse-wbv2-source-dependencies.mjs`
## 验收
- prior evidence and dynamic inventory remain hash-bound and immutable
- one shared function chain validates the complete selected batch
- missing source, unsupported data, hash drift or false completion remains blocked
- `node tools/web/check-task-context.mjs --task WBV2-P1153-000 --write`
## 交付与回滚
- Manifest: `tests/golden/WBV2-P1153-000/manifest.json`
- Status: `docs/status/WBV2-P1153-000.md`
- Rollback: restore WBV2-P1152-001 as queue parent.

View File

@@ -0,0 +1,45 @@
# WBV2-P1153-001: reuse verified modifier receipts for shared source utilities
- task: WBV2-P1153-001
- parent: WBV2-P1153-000
- status: in_progress
- gap: capability:MODIFIER_SOURCE_DEPENDENCY_REUSE
- ownerFamily: MODIFIER
- targetImplementationClass: LOCAL_EXACT
- Implementation entrypoint: `node tools/web/run-wbv2-module-task.mjs --task WBV2-P1153-001 --write`
## 目标
以一个共享 Blender Main reader、WASM build、Worker 路由和 Chromium receipt 批量验证 MOD_grease_pencil_util, MOD_meshcache_mdd, MOD_meshcache_pc2, MOD_meshcache_util, MOD_weightvg_util 的真实 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: existing Chromium receipts
- Chromium test: `tools/web/reuse-wbv2-source-dependencies.mjs`
- Selected modifier units: `modifier-source:MOD_grease_pencil_util`, `modifier-source:MOD_meshcache_mdd`, `modifier-source:MOD_meshcache_pc2`, `modifier-source:MOD_meshcache_util`, `modifier-source:MOD_weightvg_util`
- 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-P1153-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-P1153-001/module-receipt.json`
- Aggregate production evidence: `tests/golden/WBV2-P1153-001/modifier-reader-batch-production.json`
- Manifest: `tests/golden/WBV2-P1153-001/manifest.json`
- Status: `docs/status/WBV2-P1153-001.md`
- Rollback: restore WBV2-P1153-000 as queue parent without rewriting prior evidence.