Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer, web workflow engine and protocol, tooling, docs and task records. Large generated evidence, user-testing archives, build snapshots and imported test assets remain untracked. Co-Authored-By: Claude Code <noreply@anthropic.com>
54 lines
2.2 KiB
Markdown
54 lines
2.2 KiB
Markdown
# WBV2-P1101-002: verify_asset_io_module
|
|
|
|
- task: WBV2-P1101-002
|
|
- parent: WBV2-P1101-001
|
|
- status: planned
|
|
- gap: workflow:module_asset_io
|
|
- ownerFamily: ASSET
|
|
- targetImplementationClass: LOCAL_EXACT
|
|
- moduleId: ASSET_IO
|
|
|
|
## 目标
|
|
|
|
Complete one coherent Blender function module through shared Main primitives and an aggregate operator case matrix.
|
|
|
|
## 输入与范围
|
|
|
|
- Source paths:
|
|
- `blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp`
|
|
- `blender-5.2.0/source/blender/web_engine/web_engine_main_state.h`
|
|
- `blender-5.2.0/source/blender/web_engine/web_engine_api.cpp`
|
|
- `blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp`
|
|
- `web/protocol/web-engine.ts`
|
|
- `web/app/src/workers/web-engine.worker.ts`
|
|
- Reused receipts:
|
|
- `tests/golden/WBV2-P11-003/manifest.json`
|
|
- `tests/golden/WBV2-P11-003/asset-link-override-receipt-report.json`
|
|
- `tests/golden/WBV2-P10-003/manifest.json`
|
|
- `tests/golden/WBV2-P10-003/module-matrix-production.json`
|
|
- Implementation and verification entrypoint: `node tools/web/run-wbv2-module-task.mjs --task WBV2-P1101-002 --write`
|
|
|
|
```
|
|
node tools/web/run-wbv2-module-task.mjs --task WBV2-P1101-002 --write
|
|
```
|
|
|
|
## 验收
|
|
|
|
Positive cases: append, link, override, reload, asset catalog v2
|
|
Negative boundaries: missing source, ownership violation, hash drift, collision
|
|
Recovery: undo, redo, save/reopen, IndexedDB restart
|
|
Commands:
|
|
- `npm --prefix web run test:asset-catalog-v2`
|
|
- `npm --prefix web run test:asset-catalog-migration`
|
|
- `npm --prefix web run test:asset-catalog-negatives`
|
|
- `npm --prefix web run test:e2e -- --workers=1 tests/e2e/wbv2-asset-link-override-production.spec.ts tests/e2e/wbv2-asset-catalog-production.spec.ts`
|
|
|
|
Malformed or unsupported input must fail closed. A module advances only when source hashes, positive Main mutation, negative no-mutation, undo/redo, save/reopen, Chromium and aggregate manifest checks pass. A representative case never claims full-family parity.
|
|
|
|
## 交付与回滚
|
|
|
|
- Reports: `tests/golden/WBV2-P1101-002/`
|
|
- Manifest: `tests/golden/WBV2-P1101-002/manifest.json`
|
|
- Status: `docs/status/WBV2-P1101-002.md`
|
|
- Rollback: restore WBV2-P1101-001 as queue parent and leave this module in_progress.
|