WebAssembly and Third-Party Applets¶
This decision sets how sprint 7's sandboxed custom views relate to the roadmap's Not now list, which names WebAssembly and third-party applets, and to Phase 2's split of applets into a native computation and a WebAssembly interface.
| Field | Value |
|---|---|
| ID | SPC-21 |
| Status | Decision |
| Scope | Core |
| Pillar | Builder and Specs |
| Sprint | None |
| Depends On | None |
| Unblocks | Applets in a Browser (EMB-11)Custom WebAssembly Views ( SPC-15)Script Runtime for Specs ( SPC-26) |
| Docs | None |
| Branches | None |
| Design | Roadmap, Not now |
Coverage Ledger¶
- design/applet-builder.md, under Three ways an agent could build an applet. Declarative spec first, embedded script (Lua or WASM) for custom logic, generated native applet as an eject to C++ step.
- design/applet-builder.md, under Three ways an agent could build an applet. Embedded script runtime (Lua, WASM or a Python sidecar) for custom logic.
- design/platform-candidates.md, under Platform candidates. Phase 2 settles the split into native computation and WebAssembly interface; drawing pieces belong to the interface, computing pieces stay native.
- design/roadmap.md, under Phase 2: promote proven features. Phase 2 starts by settling one decision: every applet splits into a native computation and a WebAssembly interface, and interface code may use only services with a wire form; applets built before stay native-only.
- design/roadmap.md, under Streaming and embedding. Still to do 2.4: applets in the browser, through the split settled in Phase 2.
- design/roadmap.md, under Not now. Lua or WebAssembly applets and third-party native applets are not now.
- design/roadmap.md, under Open questions. Applet shaders: whether applets still supply no shaders once agent-built panels exist.
- design/streaming-and-embedding.md, under Applets in the browser. Every applet splits into a native computation and an interface compiled to WebAssembly; the SDK allows interface code only services with a wire form; earlier applets stay native-only.
- Pieces, Refusals. The sandbox checks each piece in the editor, the script and the viewer.