Files
workinf_Blender_Wasm/docs/tasks/WBV2-P1130-001.md
mes123456 f3e21c6b98
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
chore: checkpoint web Blender migration source, tools and docs
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>
2026-11-10 11:18:01 +08:00

43 lines
1.8 KiB
Markdown

# WBV2-P1130-001: verify editor View2D module
- task: WBV2-P1130-001
- parent: WBV2-P1130-000
- status: in_progress
- gap: workflow:ui_editor_view2d_state
- ownerFamily: EDITOR
- targetImplementationClass: LOCAL_EXACT
- moduleId: UI_EDITOR_VIEW2D_STATE
- Implementation entrypoint: `node tools/web/run-wbv2-module-task.mjs --task WBV2-P1130-001 --write`
## 目标
Preserve the Blender Graph/Dope Sheet View2D `cur` and pixel `mask` state through a dedicated protocol adapter. The existing P1102 editor workflow parser remains untouched so its source hash and receipt stay reusable.
## 输入与范围
- Source paths:
- `blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp`
- `web/protocol/editor-view2d.ts`
- `web/app/src/workers/editor-view2d-test.worker.ts`
- `web/app/src/app/App.tsx`
- `web/tests/e2e/ui-editor-view2d-production.spec.ts`
- Production test: `web/tests/e2e/ui-editor-view2d-production.spec.ts`
## 验收
- Positive: Graph main-region View2D cur retention, Graph main-region pixel mask retention, reader/protocol exact state
- Negative: inverted View2D bounds, malformed mask range, missing View2D payload
- Recovery: immutable base editor workflow, worker termination, deterministic repeated parse, save/reopen reader compatibility
- Commands:
- `npm --prefix web run typecheck`
- `npm --prefix web run build`
- `WEB_TEST_PORT=5346 npm --prefix web run test:e2e -- --workers=1 tests/e2e/ui-editor-view2d-production.spec.ts`
- malformed input, missing source, hash drift or Chromium failure remains in_progress and does not advance the queue.
## 交付与回滚
- Receipt: `tests/golden/WBV2-P1130-001/module-receipt.json`
- Manifest: `tests/golden/WBV2-P1130-001/manifest.json`
- Status: `docs/status/WBV2-P1130-001.md`
- Rollback: restore WBV2-P1130-000 as the queue parent and leave this module in_progress.