Add Unity live playable world client

This commit is contained in:
Meta Vens 2026-07-09 18:38:46 +01:00
commit c66d3fb590
11 changed files with 235 additions and 12 deletions

View file

@ -614,6 +614,10 @@ 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.
`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
rather than local simulation.
`EveUnityPlayableWorldPresenter` now maps provider-authored entity rows and
asset refs into scene sink operations, including removal of entities absent
from later provider snapshots, without importing Aetheria entity/prefab
@ -630,7 +634,8 @@ Recently cut:
Unity client boundary is generic before it learns live transport. The next
blocker is the live generic Unity player loop: implement that CultMesh/CultNet
adapter, implement the concrete CultMesh/CultCache asset-manifest source, and
wait for provider receipts/next frames rather than renderer-local simulation.
route provider receipts/next frames through the live client rather than
renderer-local simulation.
- EveElectron capture lifecycle now carries the same kind of structured pending
capture contract. `captureContract` names the Electron shell runtime, capture
kind, PNG artifact pattern, conformance attachment point, required Aetheria

View file

@ -485,6 +485,10 @@ 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
`livePlayableWorldClient`: `EveUnityPlayableWorldLiveClient` composes the
provider connection with `EveUnityPlayableWorldPresenter`, applies every live
snapshot to the scene sink, and delegates player intent back to the advertised
provider command boundary. The runtime now also declares
`playableWorldScenePresentation`: `EveUnityPlayableWorldPresenter` maps
provider-authored entity rows and asset refs into scene sink operations while
removing entities absent from later provider snapshots. The runtime now also
@ -499,8 +503,9 @@ declares `providerAssetManifestSource`: `IEveUnityPlayableWorldAssetManifestSour
and `EveUnityPlayableWorldAssetManifestCache` key live manifest updates by the
`playableWorld.AssetManifest` pointer, giving the future CultMesh/CultCache
reader a narrow slot that does not change scene lowering. The remaining blocker
is the live adapter, a concrete CultMesh/CultCache provider asset-manifest
source, and Unity screenshot or frame-capture PNG production from EveUnity.
is the live CultMesh/CultNet adapter, a concrete CultMesh/CultCache provider
asset-manifest source, receipt-aware refresh through the live client, 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,10 @@ 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.
`EveUnityPlayableWorldLiveClient` composes that connection with the playable
world presenter: every provider snapshot is lowered into a presentation pass,
and Unity input still emits provider-owned command intents rather than mutating
local world truth.
`EveUnityPlayableWorldPresenter` maps the provider-authored entity rows and
asset refs into scene operations through `IEveUnityPlayableWorldSceneSink` and
`IEveUnityPlayableWorldAssetResolver`, including removal of entities that
@ -184,9 +188,9 @@ 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, a concrete CultMesh/CultCache asset-manifest source implementation, and
proof that daemon receipts drive the next rendered Unity frame rather than
renderer-local state.
ports, a concrete CultMesh/CultCache asset-manifest source implementation,
receipt-aware refresh over the same live client, and proof that daemon receipts
drive the next rendered Unity frame rather than renderer-local state.
## Non-Goals