44 lines
1.7 KiB
Markdown
44 lines
1.7 KiB
Markdown
# WBV2-P10-002: native and WASM engine receipts
|
|
|
|
- task: WBV2-P10-002
|
|
- parent: WBV2-P10-001
|
|
- status: in_progress
|
|
- gap: workflow:bind_native_and_wasm_engine_receipts
|
|
- ownerFamily: ENGINE
|
|
- targetImplementationClass: LOCAL_EXACT
|
|
|
|
## 目标
|
|
|
|
Bind the proven Mesh, Modifier, and Asset Catalog mutations to the compiled Blender native binary and the checked-in web_engine.wasm runtime, with Chromium as the browser gate.
|
|
|
|
## 输入与范围
|
|
|
|
- Native binary: `build_blender_native/bin/blender`
|
|
- WASM binary: `web/app/src/vendor/blender/web_engine.wasm`
|
|
- WASM loader: `web/app/src/vendor/blender/web_engine.js`
|
|
- Native Web Engine API: `blender-5.2.0/source/blender/web_engine/web_engine_api.cpp`
|
|
- Existing P9 capability receipts: `tests/golden/WBV2-P9-004/feature-parity-gate-report.json`
|
|
|
|
## 生产入口
|
|
|
|
- WebEngine client: `web/app/src/engine-client/WebEngineClient.ts`
|
|
- WebEngine worker: `web/app/src/workers/web-engine.worker.ts`
|
|
- Production receipt test: `web/tests/e2e/wbv2-native-engine-production.spec.ts`
|
|
|
|
## 验收
|
|
|
|
- `build_blender_native/bin/blender --version`
|
|
- `node tools/web/check-wbv2-native-engine.mjs --write`
|
|
- `npm --prefix web run test:e2e -- --workers=1 tests/e2e/wbv2-native-engine-production.spec.ts`
|
|
- `node tools/web/generate-wbv2-native-engine-receipt.mjs --write`
|
|
- `node tools/web/check-task-context.mjs --task WBV2-P10-002 --write`
|
|
|
|
Missing binary, source hash drift, fake bridge execution, unsupported browser, non-exact save/reopen, or failure mutation must keep in_progress and must not advance nextTask.
|
|
|
|
## 交付与回滚
|
|
|
|
- Reports: `tests/golden/WBV2-P10-002/`
|
|
- Status: `docs/status/WBV2-P10-002.md`
|
|
- Manifest: `tests/golden/WBV2-P10-002/manifest.json`
|
|
- Rollback: restore P10-001 as queue parent without modifying P9 receipts.
|