How Kernel and Boson connect
Neither depends on the other. One types-only contract sits between them, and the host application decides what happens.
From a function to a pixel and back
- Kernel builds. A function or verb builds geometry exactly and returns a result or a coded error.
- Changes become patches. Only what changed is sent on, not the whole scene again.
- One shared contract. A types-only contract is the whole interface between the two.
- The host decides. The host application owns the document, undo and collaboration, and passes the patches on.
- Boson draws. Large coordinates draw without jitter.
- A pick comes back.
pickreturns the persistent IDs the kernel gave the geometry, not a renderer index.
Who owns what
| Concern | Owner | How |
|---|---|---|
| Geometry and its decisions | Kernel | Exact answers, coded errors |
| Drawing, picking, interaction | Boson | WebGPU, proposed edits |
| Document, history, collaboration | Host | Commits edits, routes verbs |
One verb shape
Kernel verbs and Boson verbs both describe themselves with CapabilityDescriptor from the contract, so an agent reads one describe() format for both.