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>
40 lines
2.0 KiB
Markdown
40 lines
2.0 KiB
Markdown
# WBV2-P1119-000: library workflow module
|
|
|
|
- task: `WBV2-P1119-000`
|
|
- parent: `WBV2-P1118-000`
|
|
- status: `in_progress`
|
|
- gap: `workflow:module_library_workflow`
|
|
- ownerFamily: `ASSET`
|
|
- targetImplementationClass: `LOCAL_EXACT`
|
|
|
|
## 目标
|
|
|
|
按功能模块验证 library append/link/override/reload 的 authoritative Main mutation、依赖图和路径安全。
|
|
|
|
## 输入与范围
|
|
|
|
- Blender Main/API: `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`
|
|
- Protocol: `web/protocol/library-main-append.ts`, `web/protocol/library-linked-mutation.ts`, `web/protocol/library-linked-reload.ts`, `web/protocol/library-linked-missing.ts`, `web/protocol/library-override-writer.ts`, `web/protocol/library-override-freshness.ts`, `web/protocol/library-negative-cases.ts`, `web/protocol/library-operation-identity.ts`, `web/protocol/library-source-origin.ts`, `web/protocol/asset-path.ts`
|
|
- Runtime: `web/app/src/engine-client/WebEngineClient.ts`, `web/app/src/workers/web-engine.worker.ts`, `web/app/src/app/App.tsx`
|
|
- Existing receipts: `tests/golden/WBV2-P11-003/manifest.json`, `tests/golden/WBV2-P9-003/manifest.json`
|
|
|
|
## 验收
|
|
|
|
```bash
|
|
npm --prefix web run test:library-main-append
|
|
npm --prefix web run test:library-link-chromium
|
|
npm --prefix web run test:library-override-chromium
|
|
npm --prefix web run test:library-negative-cases
|
|
npm --prefix web run test:library-path-security
|
|
npm --prefix web run typecheck
|
|
```
|
|
|
|
必须记录 append/link/override 正例、missing/cycle/unsafe path/ownership 负例、undo/redo、save/reopen、确定性 replay 和 Chromium。历史 `library-operation-commands` manifest hash 漂移保持为后续修复项。
|
|
|
|
## 交付与回滚
|
|
|
|
- Receipt: `tests/golden/WBV2-P1119-000/module-receipt.json`
|
|
- Manifest: `tests/golden/WBV2-P1119-000/manifest.json`
|
|
- Status: `docs/status/WBV2-P1119-000.md`
|
|
- 回滚:恢复 P1118 manifest 为 queue parent。
|