Define provider-neutral embedded document resolution
This commit is contained in:
parent
a3b1123186
commit
319b2917e9
3 changed files with 21 additions and 3 deletions
|
|
@ -285,9 +285,10 @@ Exit criteria:
|
|||
|
||||
## Active Work Queue
|
||||
|
||||
1. Replace Aetheria's specialized browser embedded-document methods with a
|
||||
generic CultMesh document handle once the field/plugin document contract is
|
||||
explicit; do not move Aetheria gravity or object schemas into Eve.
|
||||
1. Graduate the generic Electron host/preload contract into EveElectron so
|
||||
Aetheria retains only daemon lifecycle and provider transport configuration.
|
||||
2. Replace incubating Sai/Norn projection declarations with one live sidecar
|
||||
deployment witness per plugin, preserving their independent ownership.
|
||||
|
||||
Recently cut:
|
||||
|
||||
|
|
@ -344,6 +345,14 @@ Recently cut:
|
|||
Export consumption passed for both `eveunity.aetheria.game.warm` (68.27 s
|
||||
wall, 7.72 s test) and `eveunity.aetheria.game.cold` (138.90 s wall,
|
||||
111.52 s test), including all three reconciled command receipts.
|
||||
- Embedded document resolution is now provider-neutral in the Aetheria
|
||||
renderer. The browser forwards only document/schema/slot identity plus
|
||||
viewport presentation context through `eveDocument`; Aetheria's main-process
|
||||
transport adapter owns its gravity, render-splat, object, and nested-surface
|
||||
query routing. Static verification rejects those Aetheria schema ids in the
|
||||
renderer bundle, while the live Electron witness still proves the resolved
|
||||
field surface. Eve core documents this as the host/plugin decoding boundary,
|
||||
not as an Aetheria-specific exception.
|
||||
|
||||
- The clean EveUnity PlayMode client now consumes Aetheria's independently
|
||||
running daemon without importing Aetheria code. Aetheria builds its authored
|
||||
|
|
|
|||
|
|
@ -144,6 +144,14 @@ Renderers lower normal `children` first, then resolve and mount
|
|||
cannot resolve a slot must preserve the slot identity in diagnostics or a
|
||||
placeholder; it must not invent a local substitute for the child document.
|
||||
|
||||
The renderer-to-host request is provider-neutral. It carries `documentId`,
|
||||
`schemaId`, `slotId`, `presentationKind`, and optional presentation context such
|
||||
as the current viewport. The host returns a resolved envelope containing the
|
||||
same document/schema identity and either an opaque typed document or a nested
|
||||
Eve surface. Provider adapters or advertised plugins own schema-specific query
|
||||
selection and decoding. Renderer code must not switch on provider schema ids or
|
||||
call provider-specific query methods to resolve a slot.
|
||||
|
||||
## Embedded Knowledge Surfaces
|
||||
|
||||
Eve must be able to place rich interactive surfaces inside another surface.
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ This package owns the shared browser renderer contract:
|
|||
- `renderEveComponent(component, options)` lowers a single component tree.
|
||||
- `applyEveSurfaceStyles(styles, body)` maps portable Eve style tokens to CSS custom properties.
|
||||
- `createEveCommandIntent(commandId, props, options)` creates the browser command envelope for host daemons and carries the provider-advertised `commandBoundary` / `receiptSchema` when the active surface exposes `worldInteraction`.
|
||||
- `EveBrowserProviderHost` owns advertisement-backed surface selection and uses one provider-neutral embedded-document resolver; provider schema dispatch stays behind the host transport boundary.
|
||||
|
||||
Host applications own transport and command delivery. Providers own command acceptance and receipts through their advertisements. For example, Eir resolves surfaces through Odin/CultMesh and posts commands to `/eir/command`; Aetheria resolves surfaces through Electron IPC. Neither host should duplicate DOM lowering or import provider internals to find a command route.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue