Add Unity provider surface document source

This commit is contained in:
Meta Vens 2026-07-09 19:02:02 +01:00
commit da9bc3f4ff
11 changed files with 213 additions and 19 deletions

View file

@ -614,6 +614,12 @@ Recently cut:
movement/focus/target/action intents through the advertised command boundary,
while `EveUnitySceneProviderConnection` defines the generic surface source
and command sink ports that a CultMesh/CultNet adapter must implement.
`IEveUnitySceneProviderSurfaceDocumentSource`,
`EveUnitySceneProviderSurfaceDocument`, and
`EveUnitySceneProviderSurfaceDocumentSource` now add the typed provider
document boundary in front of those snapshots, so live CultMesh/CultCache
readers can publish daemon-owned surface documents without teaching EveUnity
Aetheria types.
`EveUnityPlayableWorldLiveClient` now composes the provider connection with
the playable-world presenter, so provider snapshots immediately drive scene
presentation and Unity input still exits through the provider command sink
@ -640,7 +646,7 @@ Recently cut:
Aetheria asset classes. The Unity client boundary is generic before it learns
live transport. The next blocker is the live generic Unity player loop:
implement the CultMesh/CultNet adapter, implement concrete CultMesh/CultCache
readers for provider snapshots and asset manifest documents, and prove
readers for provider surface and asset manifest documents, and prove
provider receipts plus daemon snapshots drive rendered Unity frames rather
than renderer-local simulation.
- EveElectron capture lifecycle now carries the same kind of structured pending

View file

@ -485,6 +485,12 @@ types. It also declares `providerSurfaceSource` through
`EveUnitySceneProviderConnection`, `IEveUnitySceneProviderSurfaceSource`, and
`IEveUnitySceneCommandSink`, so the live CultMesh/CultNet adapter has a narrow
runtime-owned port to implement. The runtime now also declares
`providerSurfaceDocumentSource`: `IEveUnitySceneProviderSurfaceDocumentSource`,
`EveUnitySceneProviderSurfaceDocument`, and
`EveUnitySceneProviderSurfaceDocumentSource` convert provider-authored surface
documents into snapshots before lowering, so the future CultMesh/CultCache
reader can own document delivery without importing Aetheria types. The runtime
now also declares
`livePlayableWorldClient`: `EveUnityPlayableWorldLiveClient` composes the
provider connection with `EveUnityPlayableWorldPresenter`, applies every live
snapshot to the scene sink, and delegates player intent back to the advertised
@ -514,8 +520,8 @@ declares `providerAssetManifestDocumentSource`:
`EveUnityPlayableWorldAssetManifestDocumentSource` convert provider-authored
manifest documents into the runtime cache without importing Aetheria asset
classes. The remaining blocker is the live CultMesh/CultNet adapter, concrete
CultMesh/CultCache readers for provider snapshots and asset manifests, and Unity
screenshot or frame-capture PNG production from EveUnity.
CultMesh/CultCache readers for provider surface and asset manifest documents,
and Unity screenshot or frame-capture PNG production from EveUnity.
Runtime capture probe coverage is exported as `runtimeCaptureProbeCoverage[]`.
Each record joins runtime status, capture owner, lifecycle capture contract,

View file

@ -164,6 +164,12 @@ radii, asset refs, controllability, and command affordances. The generic
`EveUnitySceneProviderConnection` adds the live-source port shape:
`IEveUnitySceneProviderSurfaceSource` supplies current and updated snapshots,
while `IEveUnitySceneCommandSink` receives command envelopes.
`IEveUnitySceneProviderSurfaceDocumentSource`,
`EveUnitySceneProviderSurfaceDocument`, and
`EveUnitySceneProviderSurfaceDocumentSource` now make that snapshot source a
typed document-consumer boundary: a CultMesh/CultCache adapter can own surface
delivery and publish provider-authored documents, while EveUnity only converts
them into snapshots for the generic lowerer.
`EveUnityPlayableWorldLiveClient` composes that connection with the playable
world presenter: every provider snapshot is lowered into a presentation pass,
Unity input still emits provider-owned command intents rather than mutating
@ -193,10 +199,10 @@ does not import Aetheria runtime types, prefab classes, or apply movement
locally.
This is not yet the final playable client. The remaining cut is a live
CultMesh/CultNet provider subscription adapter implementing those source/sink
ports, concrete CultMesh/CultCache readers for provider snapshots and asset
manifest documents, and proof that daemon receipts plus provider snapshots drive
the next rendered Unity frame rather than renderer-local state.
CultMesh/CultNet provider subscription adapter implementing those document and
command ports, concrete CultMesh/CultCache readers for provider snapshots and
asset manifest documents, and proof that daemon receipts plus provider
snapshots drive the next rendered Unity frame rather than renderer-local state.
## Non-Goals