WASM editor runtime paths are drifting between editors/wasm/* and pkg//*,
which causes fragile behavior and path mismatches.
Goal:
Make packaging/npm/build.mjs outputs the only runtime source of truth for the web
editor.
Scope:
- Editor runtime must load only from pkg/ artifacts produced by packaging/
npm.
- Worker/module/wasm filenames must use canonical wasm-pack names
(rumoca_bind_wasm.js, rumoca_bind_wasm_bg.wasm) everywhere.
- Remove/avoid parallel legacy runtime paths from editors/wasm artifacts.
- Keep one shared subdir-selection rule (release-full-web vs release-full-web-rayon)
used consistently by editor + verify/smoke flows.
Acceptance criteria:
- One authoritative artifact path scheme: pkg//....
- No runtime imports that depend on editors/wasm/rumoca.js or editors/wasm/
rumoca_bg.wasm.
- Local run (rum wasm edit) and CI smoke use the same artifact resolution logic.
WASM editor runtime paths are drifting between editors/wasm/* and pkg//*,
which causes fragile behavior and path mismatches.
Goal:
Make packaging/npm/build.mjs outputs the only runtime source of truth for the web
editor.
Scope:
npm.
(rumoca_bind_wasm.js, rumoca_bind_wasm_bg.wasm) everywhere.
used consistently by editor + verify/smoke flows.
Acceptance criteria:
rumoca_bg.wasm.