35 lines
1.4 KiB
Markdown
35 lines
1.4 KiB
Markdown
# WBV2-P25-001: implement_main_command_registry_and_dispatch
|
|
|
|
- task: WBV2-P25-001
|
|
- parent: WBV2-P25-000
|
|
- status: in_progress
|
|
- gap: ENGINE.COMMAND_REGISTRY
|
|
- ownerFamily: ENGINE
|
|
- targetImplementationClass: SOURCE_BACKED
|
|
|
|
## 目标
|
|
|
|
Create one typed registry for all WebEngine edit commands and consume it at the client/Main dispatch boundary, while keeping existing command behavior unchanged.
|
|
|
|
## 输入与范围
|
|
|
|
- Focused source: `blender-5.2.0/source/blender/web_engine/web_engine_api.cpp`
|
|
- Focused source: `web/protocol/web-engine.ts`
|
|
- Focused source: `web/app/src/engine-client/WebEngineClient.ts`
|
|
- Implementation entrypoint: `node tools/web/generate-wbv2-main-command-registry.mjs --write`
|
|
|
|
## 验收
|
|
|
|
- real source or WebEngine Main implementation is present and connected
|
|
- worker/client/frontend route uses the typed protocol without a duplicate shim
|
|
- malformed or unsupported input fails closed without claiming parity
|
|
- implementation smoke is reproducible; detailed Chromium receipt, undo/redo, save/reopen and deterministic verification remain deferred
|
|
- `node tools/web/check-task-context.mjs --task WBV2-P25-001 --write`
|
|
|
|
## 交付与回滚
|
|
|
|
- Reports: `tests/golden/WBV2-P25-001/`
|
|
- Status: `docs/status/WBV2-P25-001.md`
|
|
- Manifest: `tests/golden/WBV2-P25-001/manifest.json`
|
|
- Rollback: restore WBV2-P25-000 as queue parent and leave the implementation slice in_progress.
|