Expose Aetheria domain state from Verse client
This commit is contained in:
parent
2266ae096e
commit
e08c9e9c3c
6 changed files with 143 additions and 80 deletions
|
|
@ -268,7 +268,10 @@ Gates:
|
|||
|
||||
## Stage 3A: Collapse State Access To Typed Reactive Handles
|
||||
|
||||
Status: not started; current Unity and RTS clients still perform byzantine protocol walks.
|
||||
Status: started; `AetheriaRuntimeVerseClient.Aetheria()` now exposes the first
|
||||
C# domain facade for current, station, and zone projected documents, and
|
||||
`AetheriaClient` delegates to that shared facade. Unity and RTS clients still
|
||||
perform byzantine protocol walks in several menus/renderers.
|
||||
|
||||
Goal: every client-facing state access becomes a single CultMesh document, collection, query, or pointer call. The caller names the domain state it wants and gets a typed reactive value. It does not manually inspect daemon frames, current-state projections, station rows, record keys, local facade indexes, or transport route details.
|
||||
|
||||
|
|
|
|||
|
|
@ -534,6 +534,8 @@ $tickRunner = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRu
|
|||
Assert-Contains $tickRunner "ProjectTradeValuePolicySurfaceDocument(stateFilePath)" "Daemon editor surface must publish the trade-value policy designer surface."
|
||||
|
||||
$client = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaClient.cs"
|
||||
Assert-Contains $client "AetheriaClientState State" "AetheriaClient must expose the semantic typed state facade."
|
||||
Assert-Contains $client "Aetheria()" "AetheriaClient must expose the canonical domain facade entrypoint."
|
||||
Assert-Contains $client "ObjectsViewportAsync" "AetheriaClient must expose objects viewport facade."
|
||||
Assert-Contains $client "GravityViewportAsync" "AetheriaClient must expose gravity viewport facade."
|
||||
Assert-Contains $client "CurrentZoneAsync" "AetheriaClient must expose current-zone facade."
|
||||
|
|
@ -545,6 +547,15 @@ Assert-Contains $client "SectorMapAsync" "AetheriaClient must expose sector-map
|
|||
Assert-Contains $client "ZoneDetailsAsync" "AetheriaClient must expose zone-details facade."
|
||||
Assert-Contains $client "ZoneRenderAsync" "AetheriaClient must expose zone-render facade."
|
||||
|
||||
$verseClient = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRuntimeVerseClient.cs"
|
||||
Assert-Contains $verseClient "AetheriaClientState Aetheria()" "AetheriaRuntimeVerseClient must expose the shared domain state facade."
|
||||
Assert-Contains $verseClient "CreateAetheriaStateFacade" "AetheriaRuntimeVerseClient must own projected state facade creation."
|
||||
|
||||
$clientState = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaClientState.cs"
|
||||
Assert-Contains $clientState "CultMeshBoundLiveFeed" "Aetheria state documents must bind through CultMesh live feeds."
|
||||
Assert-Contains $clientState "LatestAsync()" "Aetheria state documents must support one-shot typed reads."
|
||||
Assert-Contains $clientState "Watch()" "Aetheria state documents must support reactive typed reads."
|
||||
|
||||
$projection = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRuntimeRtsProjection.cs"
|
||||
Assert-Contains $projection "ProjectZoneDetails" "Shared projection code must own the zone-details feed."
|
||||
Assert-Contains $projection "ProjectZoneContacts" "Shared projection code must own the zone-contacts feed."
|
||||
|
|
|
|||
Loading…
Reference in a new issue