Integrate CultMesh UI and URP cleanup
This commit is contained in:
parent
932cc9f906
commit
4d7bb65868
131 changed files with 7209 additions and 5084 deletions
|
|
@ -29,10 +29,11 @@ $mainMenu = Read-Text "Assets\Scripts\UI\MainMenu.cs"
|
|||
Assert-Contains $mainMenu "SetRuntimeInputScreenShell(Func<bool> canOpenRuntimeInputScreen, Action openRuntimeInputScreen)" "MainMenu must receive runtime input-screen handoff explicitly."
|
||||
Assert-Contains $mainMenu "_canOpenRuntimeInputScreen?.Invoke() == true" "MainMenu must query runtime input-screen availability through injected shell."
|
||||
Assert-Contains $mainMenu "_openRuntimeInputScreen?.Invoke();" "MainMenu must open runtime input screen through injected shell."
|
||||
Assert-Contains $mainMenu "LatestSectorMap" "MainMenu observed-game boot must read typed sector-map state."
|
||||
Assert-Contains $mainMenu ".Aetheria()" "MainMenu observed-game boot must enter sector-map state through the semantic Aetheria facade."
|
||||
Assert-Contains $mainMenu "AetheriaUnityRuntimeClientProvider" "MainMenu observed-game boot must enter state through the Unity runtime client provider."
|
||||
Assert-Contains $mainMenu ".RuntimeState(stateBoot, ""unity-main-menu"")" "MainMenu observed-game boot must grab typed runtime state."
|
||||
Assert-Contains $mainMenu ".SectorMap" "MainMenu observed-game boot must read the typed sector-map document handle."
|
||||
Assert-Contains $mainMenu ".LatestAsync()" "MainMenu observed-game boot must read a typed sector-map snapshot."
|
||||
Assert-Contains $mainMenu ".PlayerSettings" "MainMenu must read player settings through the typed document handle."
|
||||
Assert-Contains $mainMenu ".VerseHostSettings" "MainMenu must read Verse host settings through the typed document handle."
|
||||
Assert-NotContains $mainMenu ".SectorMapAsync()" "MainMenu observed-game boot must not use the transitional sector-map helper."
|
||||
Assert-NotContains $mainMenu "LatestDaemonFrame" "MainMenu must not read whole daemon frames for observed-game boot."
|
||||
Assert-NotContains $mainMenu "LatestAuthoritativeRunFrameAsync" "MainMenu must not read whole daemon frames for observed-game boot."
|
||||
|
|
@ -40,13 +41,12 @@ Assert-NotContains $mainMenu "ActionGameManager.Instance.ShowInputScreenFromMenu
|
|||
Assert-NotContains $mainMenu "ActionGameManager.Instance.CanShowInputScreenFromMenu" "MainMenu must not query runtime input screen through ActionGameManager.Instance."
|
||||
|
||||
$mapRenderer = Read-Text "Assets\Scripts\UI\Menu\MapRenderer.cs"
|
||||
Assert-Contains $mapRenderer ".Aetheria()" "MapRenderer must enter map viewport state through the semantic Aetheria facade."
|
||||
Assert-Contains $mapRenderer ".Viewports" "MapRenderer must exercise the managed viewport document facade."
|
||||
Assert-Contains $mapRenderer ".Objects(viewport)" "MapRenderer must read the split objects viewport document handle."
|
||||
Assert-Contains $mapRenderer ".RenderSplats(viewport)" "MapRenderer must read the split render-splats viewport document handle."
|
||||
Assert-Contains $mapRenderer ".Settings" "MapRenderer must read player settings through managed typed state."
|
||||
Assert-Contains $mapRenderer ".Player" "MapRenderer must read player settings through the player settings document handle."
|
||||
Assert-Contains $mapRenderer ".Latest()" "MapRenderer must read a typed player settings snapshot."
|
||||
Assert-Contains $mapRenderer "AetheriaUnityRuntimeClientProvider" "MapRenderer must enter state through the Unity runtime client provider."
|
||||
Assert-Contains $mapRenderer ".MapViewportDocuments(viewport, ""unity-map-renderer"")" "MapRenderer must read managed viewport documents."
|
||||
Assert-Contains $mapRenderer "CurrentObjectsViewport" "MapRenderer must read the split objects viewport document."
|
||||
Assert-Contains $mapRenderer "CurrentRenderSplatsViewport" "MapRenderer must read the split render-splats viewport document."
|
||||
Assert-Contains $mapRenderer "AetheriaUnityRuntimeClientProvider.RuntimeState(""unity-map-renderer"")" "MapRenderer must keep a managed typed state handle."
|
||||
Assert-Contains $mapRenderer "_runtimeState.PlayerSettings.Latest()" "MapRenderer must read typed player settings through its typed state handle."
|
||||
Assert-NotContains $mapRenderer "public ActionGameManager" "MapRenderer must not regain an ActionGameManager serialized dependency."
|
||||
Assert-NotContains $mapRenderer "LatestAuthoritativeRunFrameAsync" "MapRenderer must not regress to whole-frame reads for map viewport data."
|
||||
Assert-NotContains $mapRenderer "ObjectsViewportAsync" "MapRenderer must not use the transitional objects viewport helper."
|
||||
|
|
@ -55,19 +55,18 @@ Assert-NotContains $mapRenderer "PlayerSettingsAsync" "MapRenderer must not use
|
|||
Assert-NotContains $mapRenderer "ActionGameManager.RuntimePlayerSettings" "MapRenderer must not read manager-global player settings."
|
||||
|
||||
$sectorRenderer = Read-Text "Assets\Scripts\UI\Menu\SectorRenderer.cs"
|
||||
Assert-Contains $sectorRenderer "AetheriaClient" "SectorRenderer must keep explicit local Verse client ownership."
|
||||
Assert-Contains $sectorRenderer ".Aetheria()" "SectorRenderer must enter state through the semantic Aetheria facade."
|
||||
Assert-Contains $sectorRenderer ".Current" "SectorRenderer must center from the current-state facade."
|
||||
Assert-Contains $sectorRenderer ".Zone" "SectorRenderer must read the typed current-zone document handle."
|
||||
Assert-Contains $sectorRenderer ".SectorMap" "SectorRenderer zone details must read the typed sector-map document handle."
|
||||
Assert-Contains $sectorRenderer ".LatestAsync()" "SectorRenderer must read typed state snapshots."
|
||||
Assert-Contains $sectorRenderer "AetheriaUnityRuntimeClientProvider.RuntimeState(""unity-sector-renderer"")" "SectorRenderer must keep a managed typed state handle."
|
||||
Assert-Contains $sectorRenderer "RuntimeState.ZoneDetailsSurface(zoneIndex).Latest()" "SectorRenderer zone details must read the managed zone-details surface document through its typed state handle."
|
||||
Assert-Contains $sectorRenderer "RuntimeState.CurrentZone.Latest()" "SectorRenderer must read current zone through its typed state handle."
|
||||
Assert-Contains $sectorRenderer "RenderRuntime(" "SectorRenderer must only render the managed zone-details surface document."
|
||||
Assert-NotContains $sectorRenderer ".CurrentZoneAsync()" "SectorRenderer must not use the transitional current-zone helper."
|
||||
Assert-NotContains $sectorRenderer ".SectorMapAsync()" "SectorRenderer must not use the transitional sector-map helper."
|
||||
Assert-Contains $sectorRenderer ".Details" "SectorRenderer zone details must read daemon zone facts through managed detail documents."
|
||||
Assert-Contains $sectorRenderer ".Zone(zoneIndex)" "SectorRenderer zone details must read the typed zone-details document handle."
|
||||
Assert-Contains $sectorRenderer ".Catalog" "SectorRenderer zone details must read catalog data through managed typed state."
|
||||
Assert-Contains $sectorRenderer ".Settings" "SectorRenderer zone details must read formatting settings through managed typed state."
|
||||
Assert-Contains $sectorRenderer ".Player" "SectorRenderer zone details must read the player settings document handle."
|
||||
Assert-NotContains $sectorRenderer "AetheriaRuntimeZoneDetailsSurfaceBuilder.Build(" "SectorRenderer must not compose zone-details Eve surfaces locally."
|
||||
Assert-NotContains $sectorRenderer "AetheriaRuntimeZoneDetailsSurfaceBuilder.Facts(" "SectorRenderer must not derive zone-detail display facts locally."
|
||||
Assert-NotContains $sectorRenderer "CurrentSectorMap(" "SectorRenderer zone details must not read sector-map state directly."
|
||||
Assert-NotContains $sectorRenderer "CurrentZoneDetails(" "SectorRenderer zone details must not read zone-details state directly."
|
||||
Assert-NotContains $sectorRenderer "CurrentCatalog(" "SectorRenderer zone details must not read catalog state directly."
|
||||
Assert-NotContains $sectorRenderer "CurrentPlayerSettings(" "SectorRenderer zone details must not read formatting settings directly."
|
||||
Assert-NotContains $sectorRenderer "ZoneDetailsAsync" "SectorRenderer zone details must not use the transitional zone-details helper."
|
||||
Assert-NotContains $sectorRenderer "OpenRuntimeCatalog" "SectorRenderer zone details must not use the transitional catalog helper."
|
||||
Assert-NotContains $sectorRenderer "PlayerSettingsAsync" "SectorRenderer zone details must not use the transitional player settings helper."
|
||||
|
|
@ -78,33 +77,54 @@ Assert-NotContains $sectorRenderer "ActionGameManager.RuntimePlayerSettings" "Se
|
|||
Assert-NotContains $sectorRenderer "TryGetObservedZoneSnapshot" "SectorRenderer zone details must not ask ActionGameManager for daemon zone snapshots."
|
||||
Assert-NotContains $sectorRenderer "LatestAuthoritativeRunFrameAsync" "SectorRenderer zone details must not read whole daemon frames."
|
||||
|
||||
$zoneDetailsSurfaceBuilder = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRuntimeZoneDetailsSurfaceBuilder.cs"
|
||||
$verseClient = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRuntimeVerseClient.cs"
|
||||
$clientState = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaClientState.cs"
|
||||
Assert-Contains $zoneDetailsSurfaceBuilder "BuildFromDocuments(" "Zone-details surface composition must live in the shared runtime package."
|
||||
Assert-Contains $zoneDetailsSurfaceBuilder "AetheriaRuntimeZoneDetailsDocument zoneDetails" "Zone-details surface composition must consume the typed zone-details document."
|
||||
Assert-Contains $zoneDetailsSurfaceBuilder "AetheriaRuntimeSectorMapDocument sectorMap" "Zone-details surface composition must consume the typed sector-map document."
|
||||
Assert-Contains $zoneDetailsSurfaceBuilder "AetheriaRuntimeCatalogSnapshot catalog" "Zone-details surface composition must consume the typed catalog document."
|
||||
Assert-Contains $zoneDetailsSurfaceBuilder "AetheriaRuntimePlayerSettingsDocument playerSettings" "Zone-details surface composition must consume typed player settings."
|
||||
Assert-Contains $clientState "ZoneDetailsSurface(int zoneIndex)" "AetheriaClientState must expose a managed zone-details surface handle."
|
||||
Assert-Contains $verseClient "IndexedDocumentId(""aetheria.zone.details.surface"", zoneIndex)" "Verse client must provide the zone-details surface as a managed CultMesh document."
|
||||
Assert-Contains $verseClient "ZoneDetailsSurfaceAsync(frame, zoneIndex)" "Verse client must derive zone-details surfaces through the managed document handle."
|
||||
Assert-Contains $verseClient "AetheriaRuntimeZoneDetailsSurfaceBuilder.BuildFromDocuments(" "Verse client must hoist zone-details surface composition out of Unity."
|
||||
Assert-Contains $verseClient "RequireManagedCatalog()" "Managed zone-details surface must use the typed catalog document."
|
||||
Assert-Contains $verseClient "RequireManagedPlayerSettings()" "Managed zone-details surface must use typed player settings."
|
||||
|
||||
$sectorMap = Read-Text "Assets\Scripts\UI\Menu\SectorMap.cs"
|
||||
Assert-Contains $sectorMap ".Aetheria()" "SectorMap must enter state through the semantic Aetheria facade."
|
||||
Assert-Contains $sectorMap ".SectorMap" "SectorMap must render from the typed sector-map document handle."
|
||||
Assert-Contains $sectorMap ".LatestAsync()" "SectorMap must read a typed sector-map snapshot."
|
||||
Assert-Contains $sectorMap "AetheriaUnityRuntimeClientProvider" "SectorMap must enter state through the ergonomic Unity runtime provider."
|
||||
Assert-Contains $sectorMap "AetheriaUnityRuntimeClientProvider.RuntimeState(""unity-sector-map"")" "SectorMap must keep a managed typed state handle."
|
||||
Assert-Contains $sectorMap "_sectorMap = _runtimeState.SectorMap.Latest()" "SectorMap must render from the managed typed sector-map document through its typed state handle."
|
||||
Assert-NotContains $sectorMap ".SectorMapAsync()" "SectorMap must not use the transitional sector-map helper."
|
||||
Assert-NotContains $sectorMap ".LatestAsync()" "SectorMap must not walk document handles at the call site."
|
||||
Assert-Contains $sectorMap "Subject<int>" "SectorMap clicks must expose typed zone indices, not Unity GalaxyZone objects."
|
||||
Assert-NotContains $sectorMap "TryGetObservedGalaxy" "SectorMap must not ask ActionGameManager for observed galaxy state."
|
||||
Assert-NotContains $sectorMap "GalaxyZone" "SectorMap must not retain the legacy GalaxyZone graph."
|
||||
Assert-NotContains $sectorMap "Dictionary<Faction" "SectorMap must not retain legacy Faction graph materials."
|
||||
|
||||
$inventoryPanel = Read-Text "Assets\Scripts\UI\Menu\InventoryPanel.cs"
|
||||
Assert-Contains $inventoryPanel ".Aetheria()" "InventoryPanel current-subject UI must enter state through the semantic Aetheria facade."
|
||||
Assert-Contains $inventoryPanel ".Current" "InventoryPanel current-subject UI must read the current-state facade."
|
||||
Assert-Contains $inventoryPanel ".Entity" "InventoryPanel current-subject UI must read the typed current-entity document handle."
|
||||
Assert-Contains $inventoryPanel ".LatestAsync()" "InventoryPanel current-subject UI must read a typed current-entity snapshot."
|
||||
Assert-Contains $inventoryPanel "AetheriaUnityRuntimeClientProvider.RuntimeState(""unity-inventory"")" "InventoryPanel must keep a managed typed state handle."
|
||||
Assert-Contains $inventoryPanel "RuntimeState.InventoryPanelSurface(BuildInventoryPanelSurfaceRequest()).Latest()" "InventoryPanel must read the daemon-presented inventory panel surface through its typed state handle."
|
||||
Assert-Contains $inventoryPanel "RenderInventoryPanelSurface()" "InventoryPanel must lower the daemon-presented inventory panel surface instead of merely fetching it for diagnostics."
|
||||
Assert-Contains $inventoryPanel "HandleInventoryPanelSurfaceCommand" "InventoryPanel must route daemon-presented panel commands through the shared command handler."
|
||||
Assert-Contains $inventoryPanel "embeddedDocumentResolver: ResolveEmbeddedInventorySurface" "InventoryPanel must let the daemon-presented panel wire embedded child surfaces."
|
||||
Assert-Contains $inventoryPanel "RuntimeState.InventoryDropdownSurface(BuildDropdownSurfaceRequest()).Latest()" "InventoryPanel dropdown must read the daemon-presented dropdown surface through its typed state handle."
|
||||
Assert-Contains $inventoryPanel "BuildInventoryPanelSurfaceRequest()" "InventoryPanel must pass view state into the managed inventory surface."
|
||||
Assert-Contains $inventoryPanel "DragSession.TryGetDraggedItem(out var itemDragObject)" "InventoryPanel must mirror drag/drop state into the managed inventory surface request."
|
||||
Assert-NotContains $inventoryPanel ".LatestAsync()" "InventoryPanel must not walk document handles at the call site."
|
||||
Assert-NotContains $inventoryPanel ".CurrentEntityAsync()" "InventoryPanel current-subject UI must not use the transitional current-entity helper."
|
||||
Assert-Contains $inventoryPanel ".Docking" "InventoryPanel dropdown docking access must read the typed current-docking document handle."
|
||||
Assert-Contains $inventoryPanel ".StationRefit" "InventoryPanel dropdown entity options must read the typed station-refit document handle."
|
||||
Assert-NotContains $inventoryPanel ".CurrentDockingAsync()" "InventoryPanel dropdown docking access must not use the transitional current-docking helper."
|
||||
Assert-NotContains $inventoryPanel ".StationRefitAsync()" "InventoryPanel dropdown entity options must not use the transitional station-refit helper."
|
||||
Assert-Contains $inventoryPanel "LoadoutRestoreOptions" "InventoryPanel loadout dropdown must read typed station-refit restore options."
|
||||
Assert-Contains $inventoryPanel "AetheriaRuntimeLoadoutSnapshotProjector" "InventoryPanel loadout saves must project the target entity through the managed state projector."
|
||||
Assert-Contains $inventoryPanel "ProjectLoadoutTemplateAsync(client.State, targetEntityKey)" "InventoryPanel loadout saves must compose from managed typed state."
|
||||
Assert-Contains $inventoryPanel ".Ui.SaveLoadoutTemplateAsync" "InventoryPanel loadout saves must submit through the Aetheria UI command shell."
|
||||
Assert-Contains $inventoryPanel "RuntimeState.DaemonFrame" "InventoryPanel loadout saves must compose from the managed current daemon-frame document."
|
||||
Assert-Contains $inventoryPanel ".CreateLoadoutTemplate(targetEntityKey ?? """")" "InventoryPanel loadout saves must use the typed daemon-frame document loadout factory."
|
||||
Assert-Contains $inventoryPanel ".Ui(""unity-inventory"")" "InventoryPanel loadout saves must submit through the Aetheria UI command shell."
|
||||
Assert-Contains $inventoryPanel ".SaveLoadoutTemplateAsync(loadout, ""unity-inventory"")" "InventoryPanel loadout saves must send typed loadout-template commands."
|
||||
Assert-NotContains $inventoryPanel "LoadoutTemplateAsync(targetEntityKey)" "InventoryPanel loadout saves must not use the transitional loadout helper."
|
||||
Assert-Contains $inventoryPanel "AetheriaRuntimeStationLoadoutRestoreOption" "InventoryPanel loadout restore submission must use typed station-refit option rows."
|
||||
Assert-Contains $inventoryPanel "TryResolveObservedDockingIndex(out var dockingIndex)" "InventoryPanel dropdown docking access must enter through the typed docking adapter."
|
||||
Assert-Contains $inventoryPanel "RuntimeState.StationRefit.Latest()" "InventoryPanel docking/dropdown context must read the typed station-refit document through its typed state handle."
|
||||
Assert-NotContains $inventoryPanel "AetheriaUnityRuntimeClientProvider.CurrentStationRefit(""unity-inventory"")" "InventoryPanel must not use provider snapshot shortcuts at the access site."
|
||||
Assert-NotContains $inventoryPanel "TryGetTypedCurrentDockingBayFacade" "InventoryPanel dropdown docking access must not keep transitional typed facade helpers."
|
||||
Assert-Contains $inventoryPanel "selection.EntityKey" "InventoryPanel dropdown selections must carry typed entity keys."
|
||||
Assert-Contains $inventoryPanel "_displayedEntityKey" "InventoryPanel displayed entity state must cache typed entity identity."
|
||||
|
|
@ -118,37 +138,71 @@ Assert-NotContains $inventoryPanel "ObservedLoadoutTemplates" "InventoryPanel mu
|
|||
Assert-NotContains $inventoryPanel "CreateEntityConstructionBlueprint" "InventoryPanel loadout restore validity must not depend on Unity construction blueprints."
|
||||
Assert-NotContains $inventoryPanel "DockedEntity" "InventoryPanel must not target loadout restore through ActionGameManager.DockedEntity."
|
||||
Assert-NotMatches $inventoryPanel "ExecuteDropdownSelection[\s\S]*?TryGetObservedDockingBay[\s\S]*?private void HideDropdownSurface" "InventoryPanel dropdown selection must not read manager docking-bay identity directly."
|
||||
Assert-NotMatches $inventoryPanel "private AetheriaRuntimeInventoryDropdownSurfaceModel ComposeDropdownSurface\(\)[\s\S]*?TryGetObservedDockingBay[\s\S]*?private void Update" "InventoryPanel dropdown model must not read manager docking-bay identity directly."
|
||||
Assert-NotMatches $inventoryPanel "private AetheriaRuntimeInventoryDropdownSurfaceModel ComposeDropdownSurface\(\)[\s\S]*?TryGetTypedCurrentDockingBayFacade[\s\S]*?private void Update" "InventoryPanel dropdown model must use typed docking state, not Unity docking-bay facade objects."
|
||||
Assert-NotMatches $inventoryPanel "private bool IsDisplayedEntityKey\([^)]*\)[\s\S]*?TryResolveEntityRecordKey[\s\S]*?private bool IsDisplayedCargoBayKey" "InventoryPanel displayed entity checks must use cached typed identity."
|
||||
Assert-NotContains $inventoryPanel "AetheriaRuntimeInventoryDropdownSurfaceModel" "InventoryPanel dropdown must consume a normal runtime surface document, not a shadow model."
|
||||
Assert-NotMatches $inventoryPanel "private .*ComposeDropdownSurface\(\)[\s\S]*?TryGetObservedDockingBay[\s\S]*?private void Update" "InventoryPanel dropdown model must not read manager docking-bay identity directly."
|
||||
Assert-NotMatches $inventoryPanel "private .*ComposeDropdownSurface\(\)[\s\S]*?TryGetTypedCurrentDockingBayFacade[\s\S]*?private void Update" "InventoryPanel dropdown model must use typed docking state, not Unity docking-bay presentation objects."
|
||||
Assert-NotMatches $inventoryPanel "private bool IsDisplayedEntityKey\([^)]*\)[\s\S]*?TryGetRecordKeyForPresentationEntity[\s\S]*?private bool IsDisplayedCargoBayKey" "InventoryPanel displayed entity checks must use cached typed identity."
|
||||
Assert-NotMatches $inventoryPanel "private bool IsDisplayedCargoBayKey\([^)]*\)[\s\S]*?TryResolveCargoBay[\s\S]*?private bool TryResolveCargoBay" "InventoryPanel displayed cargo checks must use cached typed identity."
|
||||
Assert-NotMatches $inventoryPanel "ExecuteDropdownSelection[\s\S]*?ObservedAvailableEntities[\s\S]*?private void HideDropdownSurface" "InventoryPanel dropdown selection must resolve options from typed station-refit keys."
|
||||
Assert-NotMatches $inventoryPanel "private AetheriaRuntimeInventoryDropdownSurfaceModel ComposeDropdownSurface\(\)[\s\S]*?ObservedAvailableEntities[\s\S]*?private void Update" "InventoryPanel dropdown model must use typed station-refit options."
|
||||
Assert-NotContains $inventoryPanel "ResolveDropdownSurfaceModel" "InventoryPanel dropdown must not keep a model resolver beside the runtime surface document."
|
||||
Assert-NotMatches $inventoryPanel "private .*ResolveDropdownSurface\(\)[\s\S]*?ObservedAvailableEntities[\s\S]*?private void Update" "InventoryPanel dropdown surface must use typed station-refit options."
|
||||
Assert-NotContains $inventoryPanel "NodePrototype" "InventoryPanel must not instantiate legacy Unity inventory cells."
|
||||
Assert-NotContains $inventoryPanel "NodeTextures" "InventoryPanel must not own inventory cell foreground sprites."
|
||||
Assert-NotContains $inventoryPanel "ThermalTextures" "InventoryPanel must not own inventory thermal sprites."
|
||||
Assert-NotContains $inventoryPanel "TemperatureDisplay" "InventoryPanel must not own the thermal texture renderer."
|
||||
Assert-NotContains $inventoryPanel "GearOccupancy" "InventoryPanel must not read Unity equipment occupancy as inventory UI truth."
|
||||
Assert-NotContains $inventoryPanel "Occupancy[" "InventoryPanel must not read Unity cargo occupancy as inventory UI truth."
|
||||
Assert-NotContains $inventoryPanel "CellInstances.Add" "InventoryPanel must not compose Unity inventory cell instances."
|
||||
|
||||
$inventoryDropdownSurface = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRuntimeInventoryDropdownSurfaceBuilder.cs"
|
||||
Assert-Contains $inventoryDropdownSurface "public string EntityKey { get; }" "Inventory dropdown surface selections must carry typed entity identity."
|
||||
$inventoryDropdownSurfaceDocuments = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRuntimeInventoryDropdownSurfaceDocuments.cs"
|
||||
Assert-Contains $inventoryDropdownSurfaceDocuments "public string EntityKey { get; }" "Inventory dropdown surface selections must carry typed entity identity."
|
||||
Assert-Contains $inventoryDropdownSurface "entityKey: entity.EntityKey" "Inventory dropdown surface builder must copy typed entity identity into selections."
|
||||
Assert-Contains $inventoryDropdownSurface "public static AetheriaRuntimeSurfaceDocument Build(" "Inventory dropdown builder must return a normal runtime surface document."
|
||||
Assert-Contains $inventoryDropdownSurface "selectionKind" "Inventory dropdown surface must carry typed selection metadata in command payload."
|
||||
Assert-NotContains $inventoryDropdownSurfaceDocuments "AetheriaRuntimeInventoryDropdownSurfaceModel" "Inventory dropdown documents must not reintroduce a shadow surface model."
|
||||
$inventoryPanelSurface = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRuntimeInventoryPanelSurfaceBuilder.cs"
|
||||
Assert-Contains $inventoryPanelSurface "BuildFromDocuments(" "Inventory panel composition must live in the shared runtime package."
|
||||
Assert-Contains $inventoryPanelSurface "AetheriaRuntimeInventoryDocument displayedInventory" "Inventory panel surface must consume the typed inventory document."
|
||||
Assert-Contains $inventoryPanelSurface "inventory.drag_session" "Inventory panel surface must expose drag/drop gesture state."
|
||||
Assert-Contains $inventoryPanelSurface "AetheriaRuntimeEmbeddedDocumentSlot" "Inventory panel surface must embed child CultUI documents through first-class slots."
|
||||
Assert-Contains $inventoryPanelSurface "surface.slot" "Inventory panel surface must expose its dropdown as a nested surface slot."
|
||||
Assert-Contains $inventoryPanelSurface "AddAssetProps(props, ""backgroundAtlas""" "Inventory panel surface must publish the cell background atlas asset ref for renderer-independent CultUI inventory cells."
|
||||
Assert-Contains $inventoryPanelSurface "AddAssetProps(props, ""foregroundAtlas""" "Inventory panel surface must publish the cell foreground atlas asset ref for renderer-independent CultUI inventory cells."
|
||||
Assert-Contains $inventoryPanelSurface "AddAssetProps(props, ""thermalLayer""" "Inventory panel surface must publish the thermal layer atlas asset ref for renderer-independent CultUI inventory cells."
|
||||
Assert-Contains $inventoryPanelSurface "AddAssetProps(props, ""icon""" "Inventory panel surface items must publish icon asset refs so clients do not need Unity-side catalog lookups."
|
||||
$runtimeAssets = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRuntimeAssets.cs"
|
||||
Assert-Contains $runtimeAssets "InventoryUiAssets()" "Runtime asset manifest must include inventory UI assets."
|
||||
Assert-Contains $runtimeAssets "inventory.cell.background_atlas" "Runtime asset manifest must publish the inventory cell background atlas."
|
||||
Assert-Contains $runtimeAssets "inventory.cell.foreground_atlas" "Runtime asset manifest must publish the inventory cell foreground atlas."
|
||||
Assert-Contains $runtimeAssets "inventory.cell.thermal_layer_atlas" "Runtime asset manifest must publish the inventory thermal layer atlas."
|
||||
Assert-Contains $runtimeAssets "Sprites/Flat UI/Nodes/Nodes8BG" "Runtime asset manifest must point at the inventory cell background atlas source."
|
||||
Assert-Contains $runtimeAssets "Sprites/Flat UI/Nodes/Nodes8" "Runtime asset manifest must point at the inventory cell foreground atlas source."
|
||||
Assert-Contains $runtimeAssets "Sprites/Flat UI/pipes" "Runtime asset manifest must point at the thermal pipe-layer atlas source."
|
||||
Assert-Contains $clientState "InventoryPanelSurface(" "AetheriaClientState must expose a managed inventory panel surface handle."
|
||||
Assert-Contains $clientState "InventoryDropdownSurface(" "AetheriaClientState must expose a managed inventory dropdown surface handle."
|
||||
Assert-Contains $verseClient "InventoryPanelSurfaceDocumentId(request)" "Verse client must provide inventory panel UI as a managed CultMesh document."
|
||||
Assert-Contains $verseClient "AetheriaRuntimeInventoryPanelSurfaceBuilder.BuildFromDocuments(" "Verse client must hoist inventory panel composition out of Unity."
|
||||
|
||||
$inventoryMenu = Read-Text "Assets\Scripts\UI\Menu\InventoryMenu.cs"
|
||||
Assert-Contains $inventoryMenu ".Aetheria()" "InventoryMenu ship-settings commands must enter state through the semantic Aetheria facade."
|
||||
Assert-Contains $inventoryMenu ".Current" "InventoryMenu ship-settings commands must read the current-state facade."
|
||||
Assert-Contains $inventoryMenu ".Entity" "InventoryMenu ship-settings commands must read the typed current-entity document handle."
|
||||
Assert-Contains $inventoryMenu ".LatestAsync()" "InventoryMenu ship-settings commands must read a typed current-entity snapshot."
|
||||
Assert-Contains $inventoryMenu "AetheriaUnityRuntimeClientProvider.RuntimeState(""unity-inventory-menu"")" "InventoryMenu must keep a managed typed state handle."
|
||||
Assert-Contains $inventoryMenu "RuntimeState.CurrentEntity.Latest()" "InventoryMenu ship-settings commands must read the managed current-entity document through its typed state handle."
|
||||
Assert-Contains $inventoryMenu "RuntimeState.StationRefit.Latest()" "InventoryMenu docking context must read the managed station-refit document through its typed state handle."
|
||||
Assert-Contains $inventoryMenu "RuntimeState.PlayerSettings.Latest()" "InventoryMenu ship-settings defaults must read typed player settings through its typed state handle."
|
||||
Assert-NotContains $inventoryMenu ".LatestAsync()" "InventoryMenu must not walk document handles at the call site."
|
||||
Assert-NotContains $inventoryMenu ".CurrentEntityAsync()" "InventoryMenu ship-settings commands must not use the transitional current-entity helper."
|
||||
Assert-Contains $inventoryMenu "TryResolveCurrentEntityDocument" "InventoryMenu ship-settings state must read the typed current-entity document."
|
||||
Assert-Contains $inventoryMenu "TryReadCurrentEntity(out var latestCurrentEntity)" "InventoryMenu ship-settings state must read the typed current-entity document."
|
||||
Assert-Contains $inventoryMenu "_shipSettingsCurrentEntity" "InventoryMenu ship-settings surface must retain typed current-entity state."
|
||||
Assert-Contains $inventoryMenu "latestCurrentEntity.ShutdownPerformance" "InventoryMenu ship-settings surface must use typed shutdown-performance projection."
|
||||
Assert-Contains $inventoryMenu "TryResolveObservedDockingIndex(out var dockingIndex)" "InventoryMenu current facade access must enter through the typed docking adapter."
|
||||
Assert-Contains $inventoryMenu "latestCurrentEntity.ShutdownPerformance" "InventoryMenu ship-settings surface must use the managed current-entity document."
|
||||
Assert-Contains $inventoryMenu "refit.DockingBays" "InventoryMenu current docking access must use typed station-refit docking rows."
|
||||
Assert-NotContains $inventoryMenu "TryGetTypedCurrentEntityFacade" "InventoryMenu current facade access must not keep transitional typed facade helpers."
|
||||
Assert-NotContains $inventoryMenu "SetObservedFacadeIndex(AetheriaUnityObservedFacadeIndex observedFacadeIndex)" "InventoryMenu must not keep transitional observed facade adaptation."
|
||||
Assert-NotContains $inventoryMenu "_observedFacadeIndex.TryResolveEntityByRecordKey" "InventoryMenu must not adapt current entity facades by typed daemon record key."
|
||||
Assert-Contains $inventoryMenu ".Docking" "InventoryMenu docking facade access must read the typed current-docking document handle."
|
||||
Assert-Contains $inventoryMenu ".StationRefit" "InventoryMenu docking options must read the typed station-refit document handle."
|
||||
Assert-NotContains $inventoryMenu "_observedFacadeIndex.TryGetPresentationEntityByRecordKey" "InventoryMenu must not adapt current entity presentation objects through the old generic facade index."
|
||||
Assert-NotContains $inventoryMenu ".CurrentDockingAsync()" "InventoryMenu docking facade access must not use the transitional current-docking helper."
|
||||
Assert-NotContains $inventoryMenu ".StationRefitAsync()" "InventoryMenu docking options must not use the transitional station-refit helper."
|
||||
Assert-NotContains $inventoryMenu "TryGetTypedCurrentDockingBayFacade" "InventoryMenu docking facade access must not keep transitional typed facade helpers."
|
||||
Assert-Contains $inventoryMenu "ResolveDefaultShutdownPerformance()" "InventoryMenu ship-settings reset must use typed runtime policy for the default threshold."
|
||||
Assert-Contains $inventoryMenu "ResolvePlayerSettings()?.DefaultShutdownPerformance" "InventoryMenu must read default shutdown performance from typed player settings."
|
||||
Assert-Contains $inventoryMenu "PlayerSettingsSnapshot()?.DefaultShutdownPerformance" "InventoryMenu must read default shutdown performance from typed player settings."
|
||||
Assert-NotContains $inventoryMenu "TryGetObservedCurrentEntity(" "InventoryMenu must not read broad manager-global current entity state."
|
||||
Assert-NotContains $inventoryMenu "entity.Settings.ShutdownPerformance" "InventoryMenu ship-settings surface must not read shutdown threshold from a Unity entity facade."
|
||||
Assert-NotContains $inventoryMenu "_shipSettingsEntity" "InventoryMenu ship-settings surface must not store Unity entity facade state."
|
||||
|
|
@ -156,23 +210,22 @@ Assert-NotContains $inventoryMenu "GameManager.Settings.GameplaySettings.Default
|
|||
Assert-NotMatches $inventoryMenu "OnEnable\(\)[\s\S]*?TryGetObservedCurrentEntity[\s\S]*?private void OnDisable" "InventoryMenu OnEnable must not read manager current-entity identity directly."
|
||||
Assert-NotMatches $inventoryMenu "OnBackgroundClick[\s\S]*?TryGetObservedCurrentEntity[\s\S]*?private void RenderCurrentShipSettingsSurface" "InventoryMenu background click must not read manager current-entity identity directly."
|
||||
Assert-NotMatches $inventoryMenu "HandleCurrentShipSettingsSurfaceCommand[\s\S]*?TryGetObservedCurrentEntity[\s\S]*?private void HideCurrentShipSettingsSurface" "InventoryMenu ship-settings command handler must not ask ActionGameManager for current-entity identity."
|
||||
Assert-Contains $inventoryPanel "TryResolveTypedInventoryRows" "InventoryPanel cargo/equipment submissions must validate against typed inventory projection rows."
|
||||
Assert-Contains $inventoryPanel "TryValidateTypedCargoSlot" "InventoryPanel cargo submissions must validate typed cargo slot identity."
|
||||
Assert-Contains $inventoryPanel "TryValidateTypedEquipmentSlot" "InventoryPanel equipment submissions must validate typed equipment slot identity."
|
||||
Assert-Contains $inventoryPanel ".Details" "InventoryPanel must read non-current inventory through managed detail documents."
|
||||
Assert-Contains $inventoryPanel ".Inventory(entityIndex)" "InventoryPanel must read non-current inventory through the typed inventory document handle."
|
||||
Assert-NotContains $inventoryPanel "TryResolveTypedInventoryRows" "InventoryPanel must not describe managed inventory document rows as projection rows."
|
||||
Assert-NotContains $inventoryPanel "TryValidateTypedCargoSlot" "InventoryPanel must not locally validate cargo slot operations; inventory mutation gestures belong to the daemon-presented surface."
|
||||
Assert-NotContains $inventoryPanel "TryValidateTypedEquipmentSlot" "InventoryPanel must not locally validate equipment slot operations; inventory mutation gestures belong to the daemon-presented surface."
|
||||
Assert-NotContains $inventoryPanel "RuntimeState.Inventory(entityIndex).Latest()" "InventoryPanel must not fetch per-entity inventory rows for Unity-side cell composition."
|
||||
Assert-NotContains $inventoryPanel "InventoryAsync(entityIndex)" "InventoryPanel must not use the transitional inventory helper."
|
||||
Assert-Contains $inventoryPanel "origin.Cargo.TryGetValue(item, out var originPosition)" "InventoryPanel cargo submissions must carry the typed origin grid cell."
|
||||
Assert-NotContains $inventoryPanel "origin.Cargo.TryGetValue(item, out var originPosition)" "InventoryPanel must not resolve drag origins through Unity cargo dictionaries."
|
||||
Assert-NotContains $inventoryPanel "int.MinValue" "InventoryPanel cargo/equipment submissions must not send unknown origin coordinates."
|
||||
Assert-NotContains $inventoryPanel "TryResolveObservedCargoBayCommandTarget" "InventoryPanel must not resolve cargo operations through manager command-target adapters."
|
||||
Assert-NotContains $inventoryPanel "TryResolveObservedEquippedItemCommandTarget" "InventoryPanel must not resolve equipment operations through manager command-target adapters."
|
||||
Assert-Contains $inventoryMenu "TryResolveTypedInventoryRows" "InventoryMenu cargo/equipment submissions must validate against typed inventory projection rows."
|
||||
Assert-Contains $inventoryMenu "TryValidateTypedCargoSlot" "InventoryMenu cargo submissions must validate typed cargo slot identity."
|
||||
Assert-Contains $inventoryMenu "TryValidateTypedEquipmentSlot" "InventoryMenu equipment submissions must validate typed equipment slot identity."
|
||||
Assert-Contains $inventoryMenu ".Details" "InventoryMenu must read non-current inventory through managed detail documents."
|
||||
Assert-Contains $inventoryMenu ".Inventory(entityIndex)" "InventoryMenu must read non-current inventory through the typed inventory document handle."
|
||||
Assert-NotContains $inventoryMenu "TryResolveManagedInventoryRows" "InventoryMenu must not locally resolve inventory rows for mutation authority; inventory gestures belong to the daemon-presented surface."
|
||||
Assert-NotContains $inventoryMenu "TryResolveTypedInventoryRows" "InventoryMenu must not describe managed inventory document rows as projection rows."
|
||||
Assert-NotContains $inventoryMenu "TryValidateTypedCargoSlot" "InventoryMenu must not locally validate cargo slot operations; inventory mutation gestures belong to the daemon-presented surface."
|
||||
Assert-NotContains $inventoryMenu "TryValidateTypedEquipmentSlot" "InventoryMenu must not locally validate equipment slot operations; inventory mutation gestures belong to the daemon-presented surface."
|
||||
Assert-NotContains $inventoryMenu "RuntimeState.Inventory(entityIndex).Latest()" "InventoryMenu must not fetch per-entity inventory rows for Unity-side cell interpretation."
|
||||
Assert-NotContains $inventoryMenu "InventoryAsync(entityIndex)" "InventoryMenu must not use the transitional inventory helper."
|
||||
Assert-Contains $inventoryMenu "origin.Cargo.TryGetValue(item, out var originPosition)" "InventoryMenu cargo submissions must carry the typed origin grid cell."
|
||||
Assert-NotContains $inventoryMenu "origin.Cargo.TryGetValue(item, out var originPosition)" "InventoryMenu must not resolve drag origins through Unity cargo dictionaries."
|
||||
Assert-Contains $inventoryMenu "SetActionBarPresentation(AetheriaUnityActionBarPresentation actionBarPresentation)" "InventoryMenu must receive action-bar presentation explicitly."
|
||||
Assert-NotContains $inventoryMenu "ProjectEquippedItemActionBarSlots(" "InventoryMenu must not project Unity-local action-bar binding controls into the shared equipped-item surface."
|
||||
Assert-NotContains $inventoryMenu "RequestWeaponGroupActionBarBinding(" "InventoryMenu must not treat shared equipped-item commands as Unity action-bar binding edits."
|
||||
|
|
@ -188,13 +241,14 @@ Assert-NotContains $inventoryMenu "TryResolveObservedCargoBayCommandTarget" "Inv
|
|||
Assert-NotContains $inventoryMenu "TryResolveObservedEquippedItemCommandTarget" "InventoryMenu must not resolve equipment operations through manager command-target adapters."
|
||||
|
||||
$tradeMenu = Read-Text "Assets\Scripts\UI\Menu\TradeMenu.cs"
|
||||
Assert-Contains $tradeMenu ".Docking" "TradeMenu docking and docked-ship purchase access must read the typed current-docking document handle."
|
||||
Assert-Contains $tradeMenu ".StationRefit" "TradeMenu cargo selector ship options must read the typed station-refit document handle."
|
||||
Assert-Contains $tradeMenu "AetheriaUnityRuntimeClientProvider.RuntimeState(""unity-trade"")" "TradeMenu must keep a managed typed state handle."
|
||||
Assert-Contains $tradeMenu "RuntimeState.StationRefit.Latest()" "TradeMenu cargo selector ship options must read the managed station-refit document through its typed state handle."
|
||||
Assert-NotContains $tradeMenu "AetheriaUnityRuntimeClientProvider.CurrentStationRefit(""unity-trade"")" "TradeMenu must not use provider snapshot shortcuts at the access site."
|
||||
Assert-NotContains $tradeMenu ".CurrentDockingAsync()" "TradeMenu docking and docked-ship purchase access must not use the transitional current-docking helper."
|
||||
Assert-NotContains $tradeMenu ".StationRefitAsync()" "TradeMenu cargo selector ship options must not use the transitional station-refit helper."
|
||||
Assert-Contains $tradeMenu "ResolveStationRefit()?.Credits" "TradeMenu credits must read from the typed station-refit projection."
|
||||
Assert-Contains $tradeMenu "StationRefitSnapshot()?.Credits" "TradeMenu credits must read from the managed station-refit document."
|
||||
Assert-Contains $tradeMenu "BuildStationStockRows" "TradeMenu row list must be built from typed station stock."
|
||||
Assert-Contains $tradeMenu "ResolveStationRefit()?.StationStock" "TradeMenu station stock rows must read from the typed station-refit projection."
|
||||
Assert-Contains $tradeMenu "StationRefitSnapshot()?.StationStock" "TradeMenu station stock rows must read from the managed station-refit document."
|
||||
Assert-Contains $tradeMenu "var sourcePosition = new int2(row.Stock.X, row.Stock.Y)" "TradeMenu trade purchase source position must come from typed station stock."
|
||||
Assert-Contains $tradeMenu "TryResolveCurrentDockingTargetEntityKey" "TradeMenu docked-ship purchase target must resolve from typed current docking."
|
||||
Assert-Contains $tradeMenu "SetTargetCargo" "TradeMenu target cargo selection must store typed entity key and cargo index."
|
||||
|
|
@ -228,32 +282,36 @@ Assert-NotMatches $tradeMenu "private int CountAvailablePlayerShips\([^)]*\)\s*\
|
|||
Assert-NotContains $tradeMenu "HullItemKey" "TradeMenu owned ship counts must come from station stock facts, not UI-side hull comparisons."
|
||||
|
||||
$inventoryPanel = Read-Text "Assets\Scripts\UI\Menu\InventoryPanel.cs"
|
||||
Assert-Contains $inventoryPanel ".StationRefit" "InventoryPanel must resolve station/refit selections from typed station-refit projection."
|
||||
Assert-Contains $inventoryPanel "SetObservedEntityIndex(AetheriaUnityObservedEntityIndex observedEntityIndex)" "InventoryPanel must receive entity adaptation explicitly."
|
||||
Assert-Contains $inventoryPanel "_observedEntityIndex.TryResolveEntityByRecordKey" "InventoryPanel may adapt Unity facade objects only by typed daemon record key."
|
||||
Assert-Contains $inventoryPanel "new AetheriaUnityObservedDockingIndex(ResolveClient, _observedEntityIndex)" "InventoryPanel must adapt docking through the typed docking index."
|
||||
Assert-Contains $inventoryPanel "RuntimeState.StationRefit.Latest()" "InventoryPanel must resolve station/refit selections from the managed station-refit document."
|
||||
Assert-Contains $inventoryPanel "SetPresentationEntityIndex(AetheriaUnityPresentationEntityIndex presentationEntityIndex)" "InventoryPanel must receive entity adaptation explicitly."
|
||||
Assert-Contains $inventoryPanel "_presentationEntityIndex.TryGetPresentationEntityByRecordKey" "InventoryPanel's remaining Unity presentation lookup must be keyed by typed daemon record key."
|
||||
Assert-Contains $inventoryPanel "_presentationEntityIndex.TryGetPresentationDockingBayByRecordKey" "InventoryPanel's remaining docking presentation lookup must be keyed by typed daemon record key."
|
||||
Assert-NotContains $inventoryPanel "SetObservedFacadeIndex(AetheriaUnityObservedFacadeIndex observedFacadeIndex)" "InventoryPanel must not keep transitional generic facade adaptation."
|
||||
Assert-NotContains $inventoryPanel "_observedFacadeIndex" "InventoryPanel must not keep the generic observed facade index."
|
||||
Assert-NotContains $inventoryPanel "ObservedAvailableEntities()" "InventoryPanel must not read broad manager-global available entity collections."
|
||||
Assert-NotContains $inventoryPanel "TryGetObservedDockingBay(" "InventoryPanel must read typed current docking before adapting a Unity docking bay facade."
|
||||
Assert-NotContains $inventoryPanel "TryGetObservedDockingBay(" "InventoryPanel must read typed current docking before touching Unity docking presentation objects."
|
||||
|
||||
$inventoryMenu = Read-Text "Assets\Scripts\UI\Menu\InventoryMenu.cs"
|
||||
Assert-Contains $inventoryMenu ".Docking" "InventoryMenu must resolve docking display state from typed current-docking projection."
|
||||
Assert-Contains $inventoryMenu "new AetheriaUnityObservedDockingIndex(ResolveClient, _observedEntityIndex)" "InventoryMenu must adapt docking bays through the typed docking index."
|
||||
Assert-Contains $inventoryMenu "RuntimeState.StationRefit.Latest()" "InventoryMenu must resolve docking display state from the managed station-refit document."
|
||||
Assert-Contains $inventoryMenu "_presentationEntityIndex.TryGetPresentationDockingBayByRecordKey" "InventoryMenu's remaining docking presentation lookup must be keyed by typed daemon record key."
|
||||
Assert-NotContains $inventoryMenu "_observedFacadeIndex" "InventoryMenu must not keep the generic observed facade index."
|
||||
Assert-NotContains $inventoryMenu "TryGetObservedDockingBay(" "InventoryMenu must not read broad manager-global docking bay state."
|
||||
|
||||
$localMenu = Read-Text "Assets\Scripts\UI\Menu\LocalMenu.cs"
|
||||
Assert-Contains $localMenu "TryResolveDockedLocalStory(out _currentLocation)" "LocalMenu must resolve local story visibility through its typed docking path."
|
||||
Assert-Contains $localMenu ".Aetheria()" "LocalMenu local story visibility must enter state through the semantic Aetheria facade."
|
||||
Assert-Contains $localMenu ".Docking" "LocalMenu must read typed current-docking state before showing local story."
|
||||
Assert-Contains $localMenu "TryResolveDockedLocalInkStory(out _currentLocalInkLocation)" "LocalMenu must resolve local Ink story visibility from managed docking identity."
|
||||
Assert-Contains $localMenu "AetheriaUnityRuntimeClientProvider.RuntimeState(""unity-local-menu"")" "LocalMenu must cache a managed typed state handle before showing local story."
|
||||
Assert-Contains $localMenu "_runtimeState.CurrentDocking.Latest()" "LocalMenu must read current docking from the managed typed document handle."
|
||||
Assert-Contains $localMenu "Ink story execution is still a Unity-local island." "LocalMenu must name its remaining local Ink boundary until story state is a daemon-owned CultMesh document."
|
||||
Assert-NotContains $localMenu "AetheriaUnityRuntimeClientProvider.CurrentDockingState(""unity-local-menu"")" "LocalMenu must not use provider snapshot shortcuts."
|
||||
Assert-NotContains $localMenu ".CurrentDockingAsync()" "LocalMenu must not use the transitional current-docking helper."
|
||||
Assert-Contains $localMenu "SetObservedEntityIndex(AetheriaUnityObservedEntityIndex observedEntityIndex)" "LocalMenu must receive entity adaptation explicitly."
|
||||
Assert-Contains $localMenu "_observedEntityIndex.TryResolveDockingBayByRecordKey" "LocalMenu may adapt story-bearing docking parents only by typed parent key and docking bay index."
|
||||
Assert-Contains $localMenu "SetPresentationEntityIndex(AetheriaUnityPresentationEntityIndex presentationEntityIndex)" "LocalMenu must receive entity adaptation explicitly."
|
||||
Assert-Contains $localMenu "_presentationEntityIndex.TryGetPresentationDockingBayByRecordKey" "LocalMenu's remaining story-bearing docking presentation lookup must be keyed by typed parent key and docking bay index."
|
||||
Assert-NotContains $localMenu "TryResolveDockedLocalStory(" "LocalMenu must not hide the remaining local Ink island behind a generic story resolver name."
|
||||
Assert-NotContains $localMenu "_currentLocation" "LocalMenu must name the remaining local Ink state explicitly."
|
||||
Assert-NotContains $localMenu "SetObservedFacadeIndex(AetheriaUnityObservedFacadeIndex observedFacadeIndex)" "LocalMenu must not keep transitional generic facade adaptation."
|
||||
Assert-NotContains $localMenu "_observedFacadeIndex" "LocalMenu must not keep the generic observed facade index."
|
||||
Assert-Contains $localMenu "dockingState.DockParentEntityKey" "LocalMenu must use typed dock parent identity for local story adaptation."
|
||||
Assert-Contains $localMenu "dockingState.DockingBayIndex" "LocalMenu must use typed docking bay index for local story adaptation."
|
||||
Assert-Contains $localMenu "docking.DockParentEntityKey" "LocalMenu must use typed dock parent identity for local story adaptation."
|
||||
Assert-Contains $localMenu "docking.DockingBayIndex" "LocalMenu must use typed docking bay index for local story adaptation."
|
||||
Assert-NotContains $localMenu "TryGetObservedDockedLocalStory" "LocalMenu must not ask ActionGameManager for docked local story state."
|
||||
Assert-NotContains $localMenu "DockedEntity" "LocalMenu must not read ActionGameManager.DockedEntity."
|
||||
|
||||
|
|
@ -264,13 +322,15 @@ Assert-NotContains $confirmationDialog "ActionGameManager.Instance" "Confirmatio
|
|||
$schematicDisplay = Read-Text "Assets\Scripts\UI\HUD\SchematicDisplay.cs"
|
||||
Assert-Contains $schematicDisplay "public void SetRenderSettings(AetheriaRuntimeDaemonRenderSettings renderSettings)" "SchematicDisplay must receive HUD render settings explicitly."
|
||||
Assert-Contains $schematicDisplay "_renderSettings?.NormalizeThermalRisk(" "SchematicDisplay must normalize thermal risk through injected daemon render settings."
|
||||
Assert-Contains $schematicDisplay "private AetheriaRuntimeCurrentEntityDocument _currentEntityDocument;" "SchematicDisplay must cache the typed current-entity HUD document."
|
||||
Assert-Contains $schematicDisplay "ResolveCurrentEntityHudStatus()" "SchematicDisplay must read player HUD facts from typed current-entity state."
|
||||
Assert-Contains $schematicDisplay ".Aetheria()" "SchematicDisplay must enter current entity HUD state through the semantic Aetheria facade."
|
||||
Assert-Contains $schematicDisplay ".Current" "SchematicDisplay must read current entity HUD state from the current-state facade."
|
||||
Assert-Contains $schematicDisplay ".Entity" "SchematicDisplay must read current entity HUD state from the typed entity document handle."
|
||||
Assert-Contains $schematicDisplay ".LatestAsync()" "SchematicDisplay must read current entity HUD status through a typed document handle."
|
||||
Assert-Contains $schematicDisplay "private AetheriaClientState _runtimeState;" "SchematicDisplay must cache the managed CultMesh runtime state handle."
|
||||
Assert-Contains $schematicDisplay "private AetheriaClientState RuntimeState" "SchematicDisplay must expose local access to the managed typed state handle."
|
||||
Assert-Contains $schematicDisplay "AetheriaUnityRuntimeClientProvider" "SchematicDisplay must enter current entity HUD state through managed typed state."
|
||||
Assert-Contains $schematicDisplay ".RuntimeState(""unity-schematic-display"")" "SchematicDisplay must grab the shared managed typed state handle once."
|
||||
Assert-Contains $schematicDisplay "RuntimeState.CurrentEntity.Latest()?.Hud" "SchematicDisplay must read current entity HUD status through the typed document handle."
|
||||
Assert-Contains $schematicDisplay "RuntimeState.Catalog.Latest()" "SchematicDisplay must read catalog state through a named typed document handle."
|
||||
Assert-Contains $schematicDisplay "RuntimeState.PlayerSettings.Latest()" "SchematicDisplay must read player settings through a named typed document handle."
|
||||
Assert-NotContains $schematicDisplay ".CurrentEntityAsync()" "SchematicDisplay must not use the transitional current-entity helper."
|
||||
Assert-NotContains $schematicDisplay ".CurrentEntityState(""unity-schematic-display"")" "SchematicDisplay must not use provider snapshot shortcuts at the access site."
|
||||
Assert-Contains $schematicDisplay "hud.OverrideShutdown" "SchematicDisplay must render override shutdown from typed HUD state."
|
||||
Assert-Contains $schematicDisplay "hud.HeatsinksEnabled" "SchematicDisplay must render heatsink status from typed HUD state."
|
||||
Assert-Contains $schematicDisplay "hud.Heatstroke" "SchematicDisplay must render heatstroke from typed HUD state."
|
||||
|
|
@ -284,24 +344,26 @@ Assert-NotContains $schematicDisplay "ActionGameManager.Instance.ZoneRenderer" "
|
|||
|
||||
$actionGameManager = Read-Text "Assets\Scripts\Gameplay\ActionGameManager.cs"
|
||||
$observedFrameApplier = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityObservedFrameApplier.cs"
|
||||
$observedTargetQuery = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityObservedTargetQuery.cs"
|
||||
$daemonRenderDocuments = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityDaemonRenderDocuments.cs"
|
||||
$observedZoneContextFactory = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityObservedZoneContextFactory.cs"
|
||||
$targetPresentation = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityTargetPresentation.cs"
|
||||
$observedDockingIndex = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityObservedDockingIndex.cs"
|
||||
$currentEntityBinder = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityCurrentEntityBinder.cs"
|
||||
$currentEntityPresentation = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityCurrentEntityPresentation.cs"
|
||||
$menuShell = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityMenuShell.cs"
|
||||
$gameplayInputShell = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityGameplayInputShell.cs"
|
||||
$pilotOperationController = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityPilotOperationController.cs"
|
||||
$runtimeClientProvider = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityRuntimeClientProvider.cs"
|
||||
$renderSettingsBridge = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityRenderSettingsBridge.cs"
|
||||
$cockpitHudShell = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityCockpitHudShell.cs"
|
||||
$gameplayBootShell = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityGameplayBootShell.cs"
|
||||
$sceneWiring = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityGameplaySceneWiring.cs"
|
||||
Assert-Contains $actionGameManager "private readonly AetheriaUnityObservedEntityIndex _observedEntityIndex" "ActionGameManager must keep observed entity adaptation behind an explicit helper."
|
||||
Assert-Contains $actionGameManager "private AetheriaUnityObservedDockingIndex _observedDocking" "ActionGameManager must keep observed docking adaptation behind an explicit helper."
|
||||
Assert-Contains $actionGameManager "private readonly AetheriaUnityPresentationEntityIndex _presentationEntityIndex" "ActionGameManager must keep observed entity adaptation behind an explicit helper."
|
||||
Assert-Contains $actionGameManager "private AetheriaClientState _gameplayState;" "ActionGameManager must cache the managed CultMesh state handle for gameplay reads."
|
||||
Assert-Contains $actionGameManager "AetheriaUnityRuntimeClientProvider.RuntimeState(""unity-action-game-manager"")" "ActionGameManager must grab gameplay state through the Unity runtime provider."
|
||||
Assert-Contains $actionGameManager "private AetheriaUnityGameplaySceneWiring SceneWiring =>" "ActionGameManager should delegate Unity scene dependency wiring to a focused helper."
|
||||
Assert-Contains $actionGameManager "SceneWiring.ConfigureObservedEntityIndex(_observedEntityIndex)" "ActionGameManager should delegate entity-index injection to scene wiring."
|
||||
Assert-Contains $actionGameManager "SceneWiring.ConfigurePresentationEntityIndex(_presentationEntityIndex)" "ActionGameManager should delegate entity-index injection to scene wiring."
|
||||
Assert-Contains $sceneWiring "public sealed class AetheriaUnityGameplaySceneWiring" "Unity scene wiring should live outside ActionGameManager."
|
||||
Assert-Contains $sceneWiring "Inventory?.SetObservedEntityIndex(observedEntityIndex)" "Scene wiring should inject entity adaptation into InventoryMenu."
|
||||
Assert-Contains $sceneWiring "Inventory?.SetPresentationEntityIndex(presentationEntityIndex)" "Scene wiring should inject entity adaptation into InventoryMenu."
|
||||
Assert-NotContains $actionGameManager "AetheriaUnityObservedFacadeIndex" "ActionGameManager must not keep the generic observed facade index."
|
||||
Assert-NotContains $sceneWiring "SetObservedFacadeIndex" "Scene wiring must not inject the generic observed facade index."
|
||||
Assert-NotContains $actionGameManager "public bool TryResolveObservedEntityRecordKey" "ActionGameManager must not expose facade record-key lookup as public manager API."
|
||||
|
|
@ -310,8 +372,8 @@ Assert-NotContains $actionGameManager "public bool TryResolveObservedDockingBayF
|
|||
Assert-Contains $actionGameManager "var boot = GameplayBootShell.Boot();" "ActionGameManager should delegate runtime boot/catalog setup to the gameplay boot shell."
|
||||
Assert-Contains $actionGameManager "SceneWiring.ConfigureCurrentEntityPresentation(_currentEntityPresentation, boot.RuntimeCatalog);" "ActionGameManager should delegate boot catalog injection into current-entity presentation."
|
||||
Assert-Contains $actionGameManager "SceneWiring.ConfigureTargetPresentation(" "ActionGameManager should delegate boot catalog injection into target presentation."
|
||||
Assert-Contains $actionGameManager "() => ResolveDaemonObserver()?.Client" "ActionGameManager should give target queries the typed local client, not a raw zone snapshot delegate."
|
||||
Assert-Contains $sceneWiring "observedEntityIndex.TryResolveEntityByDaemonIndex" "Scene wiring should adapt target presentation entities through the observed entity index."
|
||||
Assert-Contains $sceneWiring "presentation.ResolveZoneContacts = ReadZoneContacts;" "Scene wiring should give target presentation typed zone-contact state, not a raw zone snapshot delegate."
|
||||
Assert-Contains $sceneWiring "presentationEntityIndex.TryGetPresentationEntityByDaemonIndex" "Scene wiring should adapt target presentation entities through the observed entity index."
|
||||
Assert-Contains $actionGameManager "SceneWiring.ConfigureActionBarPresentation(" "ActionGameManager should delegate boot catalog injection into local action-bar presentation."
|
||||
Assert-NotContains $actionGameManager "private void ConfigureCurrentEntityPresentation(" "ActionGameManager must not own current-entity presentation scene wiring."
|
||||
Assert-NotContains $actionGameManager "private void ConfigureTargetPresentation(" "ActionGameManager must not own target presentation scene wiring."
|
||||
|
|
@ -325,9 +387,9 @@ Assert-Contains $actionGameManager "ItemManager = boot.ItemManager;" "ActionGame
|
|||
Assert-Contains $actionGameManager "_loadoutItemFactory = boot.LoadoutItemFactory;" "ActionGameManager should receive loadout item factory from the gameplay boot shell."
|
||||
Assert-Contains $gameplayBootShell "public sealed class AetheriaUnityGameplayBootShell" "Unity runtime boot/catalog setup should live outside ActionGameManager."
|
||||
Assert-Contains $gameplayBootShell "AetheriaRuntimeStateBoot.Inspect(AetheriaUnityRuntimePaths.GameDataDirectory)" "Gameplay boot shell should inspect the runtime target."
|
||||
Assert-Contains $gameplayBootShell "AetheriaUnityRuntimeClientProvider.ResolveClient(stateBoot.StateFilePath, stateBoot.RuntimeId)" "Gameplay boot shell should resolve the typed runtime client with the inspected Verse runtime id."
|
||||
Assert-Contains $gameplayBootShell "AetheriaUnityRuntimeClientProvider.RuntimeState(stateBoot, stateBoot.RuntimeId)" "Gameplay boot shell should resolve managed typed runtime state with the inspected Verse runtime id."
|
||||
Assert-Contains $gameplayBootShell "Aetheria runtime id: {stateBoot.RuntimeId}" "Gameplay boot shell should log the inspected Verse runtime id."
|
||||
Assert-Contains $gameplayBootShell ".Aetheria()" "Gameplay boot shell should enter managed typed state for runtime catalog."
|
||||
Assert-Contains $gameplayBootShell "AetheriaUnityRuntimeClientProvider" "Gameplay boot shell should enter managed typed state for runtime catalog."
|
||||
Assert-Contains $gameplayBootShell ".Catalog" "Gameplay boot shell should read the managed runtime catalog document handle."
|
||||
Assert-Contains $gameplayBootShell ".Latest()" "Gameplay boot shell should read the latest typed runtime catalog snapshot."
|
||||
Assert-NotContains $gameplayBootShell ".OpenRuntimeCatalog()" "Gameplay boot shell should not use the transitional runtime catalog helper."
|
||||
|
|
@ -357,30 +419,36 @@ Assert-NotContains $actionGameManager "ResolveClient(stateBoot.StateFilePath).Op
|
|||
Assert-NotContains $actionGameManager "ItemManager = new ItemManager(" "ActionGameManager must not construct ItemManager directly."
|
||||
Assert-NotContains $actionGameManager "ZoneRenderer.SetDroppedPickupItemFactory(" "ActionGameManager must not configure renderer pickup factory binding directly."
|
||||
Assert-NotContains $actionGameManager "ZoneRenderer.BodySettingsCollections = Settings.BodySettingsCollections" "ActionGameManager must not configure renderer body settings directly."
|
||||
Assert-Contains $observedFrameApplier ".Aetheria()" "Unity observed frame application must enter state through the semantic Aetheria facade."
|
||||
Assert-Contains $observedFrameApplier ".ZoneRender" "Unity observed frame application must consume the typed zone-render document handle."
|
||||
Assert-Contains $observedFrameApplier ".LatestAsync()" "Unity observed frame application must read typed zone-render snapshots."
|
||||
Assert-Contains $daemonRenderDocuments "state.DaemonFrame.Reactive()" "Unity observed frame state must bind daemon frame by grabbing the managed typed document handle directly."
|
||||
Assert-Contains $daemonRenderDocuments "state.DaemonSoaView.Reactive()" "Unity observed frame state must bind SoA view by grabbing the managed typed document handle directly."
|
||||
Assert-Contains $daemonRenderDocuments "state.ZoneRender.Reactive()" "Unity observed frame state must bind zone render by grabbing the managed typed document handle directly."
|
||||
Assert-NotContains $daemonRenderDocuments "state.ReactiveDaemonFrame()" "Unity observed frame state must not use per-document reactive wrapper methods."
|
||||
Assert-NotContains $daemonRenderDocuments "state.ReactiveDaemonSoaView()" "Unity observed frame state must not use per-document reactive wrapper methods."
|
||||
Assert-NotContains $daemonRenderDocuments "state.ReactiveZoneRender()" "Unity observed frame state must not use per-document reactive wrapper methods."
|
||||
Assert-Contains $observedFrameApplier "observer.LastRenderView?.ZoneRender" "Unity observed frame application must consume the managed render view, not reacquire raw daemon state."
|
||||
Assert-NotContains $observedFrameApplier ".ZoneRenderAsync()" "Unity observed frame application must not use the transitional zone-render helper."
|
||||
Assert-NotContains $observedFrameApplier "ProjectZoneRender(" "Unity observed frame application must not rebuild zone-render feeds from raw frames."
|
||||
Assert-NotContains $observedFrameApplier "LastObservedState?.Run" "Unity observed frame application must not read the raw observed run for current-zone lookups."
|
||||
Assert-NotContains $observedFrameApplier "FramePath" "Unity observed frame application should key the presentation cache by typed projection identity, not publication file paths."
|
||||
Assert-Contains $observedTargetQuery ".Aetheria()" "Unity target queries must enter state through the semantic Aetheria facade."
|
||||
Assert-Contains $observedTargetQuery ".ZoneContacts" "Unity target queries must consume the typed zone-contacts document handle."
|
||||
Assert-Contains $observedTargetQuery ".LatestAsync()" "Unity target queries must read typed zone-contacts snapshots."
|
||||
Assert-NotContains $observedTargetQuery ".ZoneContactsAsync()" "Unity target queries must not use the transitional zone-contacts helper."
|
||||
Assert-NotContains $observedTargetQuery "AetheriaRuntimeZoneSnapshotCommit" "Unity target queries must not receive raw zone snapshots."
|
||||
Assert-NotContains $observedTargetQuery "AetheriaRuntimeDaemonRenderQueries.TryQueryEntityContact" "Unity target queries must not query contacts from raw zone snapshots."
|
||||
Assert-NotContains $observedTargetQuery "AetheriaRuntimeDaemonRenderQueries.TryQueryEntityTarget" "Unity target queries must not query targets from raw zone snapshots."
|
||||
Assert-Contains $targetPresentation "ResolveVisibleContacts" "Unity target presentation must receive typed contact rows."
|
||||
Assert-Contains $sceneWiring "private AetheriaClientState _targetPresentationState;" "Unity target presentation wiring must cache the managed CultMesh state handle."
|
||||
Assert-Contains $sceneWiring "AetheriaUnityRuntimeClientProvider.RuntimeState(""unity-target-presentation"")" "Unity target presentation wiring must grab typed runtime state through the Unity provider."
|
||||
Assert-Contains $sceneWiring "TargetPresentationState.ZoneContacts.Latest()" "Unity target presentation wiring must consume the typed zone-contacts document handle."
|
||||
Assert-NotContains $sceneWiring ".CurrentZoneContacts(""unity-target-presentation"")" "Unity target presentation wiring must not use provider snapshot shortcuts at the access site."
|
||||
Assert-NotContains $targetPresentation "AetheriaRuntimeZoneSnapshotCommit" "Unity target presentation must not receive raw zone snapshots."
|
||||
Assert-NotContains $targetPresentation "AetheriaRuntimeDaemonRenderQueries.TryQueryEntityContact" "Unity target presentation must not query contacts from raw zone snapshots."
|
||||
Assert-NotContains $targetPresentation "AetheriaRuntimeDaemonRenderQueries.TryQueryEntityTarget" "Unity target presentation must not query targets from raw zone snapshots."
|
||||
Assert-Contains $targetPresentation "AetheriaRuntimeZoneContactRow[]" "Unity target presentation must receive typed contact rows."
|
||||
Assert-Contains $targetPresentation "GetObservedVisibleContacts" "Unity target presentation must derive visible indicators from typed contact rows."
|
||||
Assert-NotContains $targetPresentation "QueryEntityContacts(" "Unity target presentation must not query contacts from raw zone snapshots."
|
||||
Assert-NotContains $targetPresentation "ResolveZone" "Unity target presentation must not hold raw zone snapshot access."
|
||||
Assert-Contains $observedDockingIndex ".Aetheria()" "Unity docking state must enter state through the semantic Aetheria facade."
|
||||
Assert-Contains $observedDockingIndex ".DockingState" "Unity docking state must read the typed CultMesh-backed docking snapshot."
|
||||
Assert-NotContains $observedDockingIndex ".CurrentDockingAsync()" "Unity docking state must not use the transitional current-docking helper."
|
||||
Assert-Contains $observedDockingIndex "TryResolveEntityByRecordKey(docking.DockParentEntityKey" "Unity docking facade adaptation must be keyed by typed dock parent identity."
|
||||
Assert-NotContains $observedDockingIndex "AetheriaRuntimeZoneSnapshotCommit" "Unity docking state must not receive raw zone snapshots."
|
||||
Assert-NotContains $observedDockingIndex "TryGetParentSnapshot" "Unity docking state must not scan raw snapshot parent relationships."
|
||||
Assert-NotContains $observedDockingIndex "TryGetEntitySnapshot" "Unity docking state must not scan raw entity snapshots."
|
||||
Assert-NotContains $targetPresentation "ResolveZoneSnapshot" "Unity target presentation must not hold raw zone snapshot access."
|
||||
Assert-NotContains $targetPresentation "Func<AetheriaRuntimeZoneSnapshotCommit" "Unity target presentation must not hold raw zone snapshot access."
|
||||
Assert-Contains $actionGameManager "GameplayState.CurrentDocking.Latest()" "Unity docking state must read the typed CultMesh-backed docking snapshot."
|
||||
Assert-Contains $actionGameManager "TryGetPresentationEntityByRecordKey(docking.DockParentEntityKey" "Unity docking presentation lookup must be keyed by typed dock parent identity."
|
||||
Assert-NotContains $actionGameManager ".CurrentDockingAsync()" "Unity docking state must not use the transitional current-docking helper."
|
||||
Assert-NotContains $actionGameManager ".CurrentDockingState(""unity-action-game-manager"")" "ActionGameManager must not use provider snapshot shortcuts at the access site."
|
||||
Assert-NotContains $actionGameManager "AetheriaRuntimeZoneSnapshotCommit" "Unity docking state must not receive raw zone snapshots."
|
||||
Assert-NotContains $actionGameManager "TryGetParentSnapshot" "Unity docking state must not scan raw snapshot parent relationships."
|
||||
Assert-NotContains $actionGameManager "TryGetEntitySnapshot" "Unity docking state must not scan raw entity snapshots."
|
||||
Assert-Contains $currentEntityBinder "ResolveZoneRender?.Invoke()" "Current-entity binding may resolve dock camera context through the typed zone-render feed."
|
||||
Assert-NotContains $currentEntityBinder "ResolveDaemonZone" "Current-entity binding must not pass raw zone snapshots into docked presentation."
|
||||
Assert-Contains $currentEntityPresentation "AetheriaRuntimeZoneRenderDocument zoneRender" "Docked presentation must consume the typed zone-render document for body lookups."
|
||||
|
|
@ -400,7 +468,8 @@ Assert-Contains $menuShell "public bool CanOpenRuntimeInputScreen()" "Unity menu
|
|||
Assert-Contains $menuShell "public void ShowRuntimeInputScreen()" "Unity menu shell should own runtime input-screen opening."
|
||||
Assert-Contains $gameplayInputShell "public sealed class AetheriaUnityGameplayInputShell" "Unity gameplay input callbacks should live outside ActionGameManager."
|
||||
Assert-Contains $gameplayInputShell "Input.Global.InputScreen.performed += context => MenuShell.ToggleFullscreenMenu(MenuShell.HelpScreen);" "Gameplay input shell should route the runtime input-screen hotkey through the shared menu shell."
|
||||
Assert-Contains $gameplayInputShell "Input.Player.TargetNearest.performed += context => PilotOperationAdapter.RequestTargetNearest();" "Gameplay input shell should lower player targeting input through typed pilot operations."
|
||||
Assert-Contains $gameplayInputShell "Input.Player.TargetNearest.performed += context => PilotOperationController.RequestTargetNearest();" "Gameplay input shell should lower player targeting input through typed pilot operations."
|
||||
Assert-Contains $pilotOperationController "Submit(operations => operations.TargetNearest(), ""target nearest"");" "Pilot operation controller should lower nearest-target input to typed pilot operations."
|
||||
Assert-Contains $gameplayInputShell "private void RegisterActionBarInput()" "Gameplay input shell should own action-bar control registration."
|
||||
Assert-Contains $gameplayInputShell "DragSession.RegisterTarget(dragAction => ActionBarPresentation.RequestBinding(slot, dragAction));" "Gameplay input shell should wire action-bar drag targets through injected presentation."
|
||||
Assert-NotContains $actionGameManager "private bool CanOpenRuntimeInputScreen()" "ActionGameManager should not own runtime input-screen availability."
|
||||
|
|
@ -416,12 +485,14 @@ Assert-NotContains $actionGameManager "private void RequestInteract()" "ActionGa
|
|||
Assert-NotContains $actionGameManager "private void RequestTowToStation()" "ActionGameManager should not keep gameplay request pass-through wrappers."
|
||||
Assert-NotContains $actionGameManager "_towingStation" "ActionGameManager should not cache stale towing context."
|
||||
Assert-NotContains $actionGameManager "UpdateTowingStation" "ActionGameManager should not receive stale towing context callbacks."
|
||||
Assert-Contains $actionGameManager "AetheriaUnityObservedRunProjection.FindZone" "ActionGameManager must not own observed galaxy zone lookup logic."
|
||||
Assert-Contains $actionGameManager "() => AetheriaUnityObservedRunProjection.Galaxy" "ActionGameManager may pass the observed sector projection only into the quarantined zone context adapter."
|
||||
Assert-Contains $actionGameManager "ObservedZoneContextFactory.ResolveGalaxyZone" "ActionGameManager must delegate observed galaxy zone lookup logic."
|
||||
Assert-Contains $observedZoneContextFactory "public GalaxyZone ResolveGalaxyZone(int daemonZoneIndex)" "Observed zone context factory must own observed galaxy zone lookup logic."
|
||||
Assert-Contains $actionGameManager "() => ObservedGalaxy" "ActionGameManager may pass the observed sector projection only into the quarantined zone context adapter."
|
||||
Assert-NotContains $actionGameManager "private static Galaxy ObservedGalaxy" "ActionGameManager must not keep an observed galaxy property."
|
||||
Assert-NotContains $actionGameManager "FindObservedGalaxyZone" "ActionGameManager must not own observed galaxy zone lookup logic."
|
||||
Assert-NotContains $actionGameManager "private GalaxyZone ResolveObservedGalaxyZone" "ActionGameManager must not own observed galaxy zone lookup logic."
|
||||
Assert-NotContains $actionGameManager "public static void ProjectObservedDaemonRun(" "ActionGameManager must not own daemon run projection."
|
||||
Assert-Contains $mainMenu "AetheriaUnityObservedRunProjection.Project(" "MainMenu must project daemon run boot data through the explicit observed-run projection holder."
|
||||
Assert-Contains $mainMenu "ResolveSectorMap(stateBoot)" "MainMenu must boot observed games from the typed sector-map document."
|
||||
Assert-NotContains $actionGameManager "public bool CanShowInputScreenFromMenu()" "ActionGameManager must not expose input-screen availability as public manager API."
|
||||
Assert-NotContains $actionGameManager "public void ShowInputScreenFromMenu()" "ActionGameManager must not expose input-screen opening as public manager API."
|
||||
Assert-NotContains $actionGameManager "public static Galaxy ObservedGalaxy" "ActionGameManager must not expose the observed galaxy as public gameplay state."
|
||||
|
|
@ -443,14 +514,12 @@ Assert-NotContains $actionGameManager "new AetheriaRuntimeDaemonRenderSettings("
|
|||
Assert-NotContains $actionGameManager "public EntityConstructionBlueprint CreateEntityConstructionBlueprint(AetheriaRuntimeLoadoutTemplateSnapshot template)" "ActionGameManager loadout template lowering must remain private renderer/bootstrap adaptation."
|
||||
Assert-NotContains $actionGameManager "public static RuntimePlayerSettings RuntimePlayerSettings" "ActionGameManager must not expose player settings as manager-global gameplay state."
|
||||
Assert-Contains $actionGameManager "AetheriaUnityRuntimeClientProvider.PlayerSettings" "ActionGameManager should read Unity runtime player settings through the runtime client provider."
|
||||
Assert-Contains $gameplayBootShell "AetheriaUnityRuntimeClientProvider.ResolveClient(stateBoot.StateFilePath, stateBoot.RuntimeId)" "Gameplay boot shell should open typed catalog through the runtime client provider."
|
||||
Assert-Contains $gameplayBootShell "AetheriaUnityRuntimeClientProvider.RuntimeState(stateBoot, stateBoot.RuntimeId)" "Gameplay boot shell should open typed state through the runtime client provider."
|
||||
Assert-Contains $runtimeClientProvider "public static class AetheriaUnityRuntimeClientProvider" "Unity runtime client cache should live outside ActionGameManager."
|
||||
Assert-Contains $runtimeClientProvider "public static RuntimePlayerSettings PlayerSettings =>" "Unity runtime client provider should own player settings loading."
|
||||
Assert-Contains $runtimeClientProvider "public static AetheriaClient ResolveClient(string stateFilePath, string runtimeId = """")" "Unity runtime client provider should own runtime-id-aware typed client caching."
|
||||
Assert-Contains $runtimeClientProvider ".Aetheria()" "Unity runtime client provider should read player settings through managed typed state."
|
||||
Assert-Contains $runtimeClientProvider ".Settings" "Unity runtime client provider should read player settings through the settings facade."
|
||||
Assert-Contains $runtimeClientProvider ".Player" "Unity runtime client provider should read the player settings document handle."
|
||||
Assert-Contains $runtimeClientProvider ".Latest()" "Unity runtime client provider should read a typed player settings snapshot."
|
||||
Assert-Contains $runtimeClientProvider "public static RuntimePlayerSettings PlayerSettings" "Unity runtime client provider should own player settings loading."
|
||||
Assert-Contains $runtimeClientProvider "private static AetheriaClient ResolveClient(string stateFilePath, string runtimeId = """")" "Unity runtime client provider should own runtime-id-aware typed client caching."
|
||||
Assert-Contains $runtimeClientProvider ".State" "Unity runtime client provider should read player settings through managed typed state."
|
||||
Assert-Contains $runtimeClientProvider "RuntimeState().PlayerSettings.Latest()" "Unity runtime client provider should read player settings through the named document handle."
|
||||
Assert-NotContains $runtimeClientProvider "PlayerSettingsAsync()" "Unity runtime client provider must not use the transitional player settings helper."
|
||||
Assert-NotContains $actionGameManager "ResolveRuntimeClient(" "ActionGameManager should not own typed client caching."
|
||||
Assert-NotContains $actionGameManager "PlayerSettingsAsync()" "ActionGameManager should not load player settings directly."
|
||||
|
|
@ -547,11 +616,9 @@ Assert-NotContains $hitscanEffect "ActionGameManager.Instance" "Hitscan effects
|
|||
Assert-NotContains $guidedProjectile "ActionGameManager.Instance" "Guided projectiles must not reach through ActionGameManager.Instance."
|
||||
|
||||
$client = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaClient.cs"
|
||||
$loadoutProjector = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRuntimeLoadoutSnapshotProjector.cs"
|
||||
Assert-Contains $loadoutProjector "ProjectLoadoutTemplate(" "Typed loadout projection must live in the shared runtime package."
|
||||
Assert-Contains $loadoutProjector "AetheriaRuntimeEntitySnapshotCommit entity" "Shared loadout projection must support daemon entity snapshots."
|
||||
Assert-Contains $loadoutProjector "ProjectLoadoutTemplateAsync(" "Shared loadout projection must compose loadout templates from managed typed state."
|
||||
Assert-Contains $loadoutProjector "AetheriaClientState state" "Shared loadout projection must accept the managed client state surface."
|
||||
Assert-Contains $clientState "CultMeshDocumentHandle<AetheriaRuntimeLoadoutTemplatesDocument> LoadoutTemplates" "Loadout templates must be a named managed CultMesh document."
|
||||
Assert-Contains $inventoryPanel "CreateLoadoutTemplate(targetEntityKey ?? """")" "InventoryPanel loadout saves must compose from typed daemon-frame state."
|
||||
Assert-Contains $inventoryPanel "StationRefitSnapshot()?.LoadoutRestoreOptions" "InventoryPanel loadout restores must use typed station-refit restore options."
|
||||
Assert-NotContains $client "LoadoutTemplateAsync" "AetheriaClient must not expose transitional loadout template projection helpers."
|
||||
|
||||
$inventoryPanel = Read-Text "Assets\Scripts\UI\Menu\InventoryPanel.cs"
|
||||
|
|
@ -585,8 +652,7 @@ Assert-Contains $stateDocs "ZoneDetails" "Daemon schema catalog must advertise z
|
|||
Assert-Contains $stateDocs "ZoneRender" "Daemon schema catalog must advertise zone render feed."
|
||||
|
||||
$catalogStore = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRuntimeCatalogStore.cs"
|
||||
Assert-Contains $catalogStore "ProjectTradeValuePolicySurfaceDocument" "Catalog store must expose typed trade-value policy as a designer Eve surface."
|
||||
Assert-Contains $catalogStore "AetheriaRuntimeTradeValuePolicySurfaceBuilder.Build" "Catalog store must build trade-value policy through the shared Eve surface builder."
|
||||
Assert-NotContains $catalogStore "ProjectTradeValuePolicySurfaceDocument" "Catalog store must not own trade-value policy surface projection."
|
||||
|
||||
$tradeValuePolicySurface = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRuntimeTradeValuePolicySurfaceBuilder.cs"
|
||||
Assert-Contains $tradeValuePolicySurface "SurfaceId = ""aetheria.tradeValuePolicy""" "Trade-value policy surface must have a stable designer surface id."
|
||||
|
|
@ -606,14 +672,15 @@ Assert-Contains $eveCommandClient "ReadTradeValuePolicyBody" "Eve command client
|
|||
|
||||
$eveCommandBridge = Read-Text "Aetheria.State\AetheriaEveCommandBridge.cs"
|
||||
Assert-Contains $eveCommandBridge "ExecuteTradeValuePolicyCommandAsync" "Eve command bridge must persist typed trade-value policy edits."
|
||||
Assert-Contains $eveCommandBridge "PutTradeValuePolicyAsync" "Trade-value policy edits must write the typed policy document."
|
||||
Assert-Contains $eveCommandBridge "MutableDocument<AetheriaTradeValuePolicy>(AetheriaStateNode.TradeValuePolicyKey)" "Trade-value policy edits must write the typed policy document."
|
||||
Assert-Contains $eveCommandBridge "tradeValuePolicy.ReplaceAsync(policy)" "Trade-value policy edits must persist the typed policy document."
|
||||
|
||||
$tickRunner = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRuntimeDaemonTickRunner.cs"
|
||||
Assert-Contains $tickRunner "ProjectTradeValuePolicySurfaceDocument(stateFilePath)" "Daemon editor surface must publish the trade-value policy designer surface."
|
||||
Assert-Contains $tickRunner "AetheriaRuntimeTradeValuePolicySurfaceBuilder.BuildFromCatalog(catalog)" "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 "AetheriaClientState State" "AetheriaClient must expose the managed typed state object."
|
||||
Assert-NotContains $client "Aetheria() => State" "AetheriaClient must not keep an Aetheria() alias over State."
|
||||
Assert-Contains $client "AetheriaControl Control" "AetheriaClient must expose command controls separately from managed state documents."
|
||||
Assert-Contains $client "AetheriaUi Ui" "AetheriaClient must expose UI command submission separately from managed state documents."
|
||||
Assert-NotContains $client "Document<TDocument>()" "AetheriaClient must not forward typed document lookup; use AetheriaClientState."
|
||||
|
|
@ -623,42 +690,43 @@ Assert-NotContains $client "Watch<TDocument>()" "AetheriaClient must not forward
|
|||
Assert-NotContains $client "ReactiveAsync<TDocument>" "AetheriaClient must not forward reactive document creation; use AetheriaClientState."
|
||||
|
||||
$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."
|
||||
Assert-Contains $verseClient "AetheriaClientState Aetheria()" "AetheriaRuntimeVerseClient must expose the managed typed state root for low-level bootstrap."
|
||||
Assert-Contains $verseClient "private AetheriaClientState CreateAetheriaState()" "AetheriaRuntimeVerseClient must own managed state creation."
|
||||
|
||||
$clientState = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaClientState.cs"
|
||||
Assert-Contains $clientState "CultMeshDocumentHandle<TDocument>" "Aetheria state documents must expose CultMesh typed document handles directly."
|
||||
Assert-Contains $clientState "CultMeshDocumentCatalog" "Aetheria state facade must delegate type/schema lookup to CultMesh."
|
||||
Assert-Contains $clientState "CultMesh.Documents" "Aetheria state facade must build its projected document catalog through CultMesh."
|
||||
Assert-Contains $clientState "ICultMeshDocumentHandle" "Aetheria schema lookup must expose CultMesh schema metadata independent of exact CLR type."
|
||||
Assert-NotContains $clientState "AetheriaRuntimeProjectedDocument" "Aetheria state facade must not wrap CultMesh document handles in a private projected-document abstraction."
|
||||
Assert-NotContains $clientState "_documentsByType" "Aetheria state facade must not maintain a private type index beside CultMeshDocumentCatalog."
|
||||
Assert-Contains $clientState "TryGetDocument<TDocument>" "Aetheria state facade must support safe typed document lookup."
|
||||
Assert-Contains $clientState "TryGetDocumentBySchema" "Aetheria state facade must support safe schema document lookup."
|
||||
Assert-Contains $clientState "Document<TDocument>()" "Aetheria state facade must support direct typed document lookup."
|
||||
Assert-Contains $clientState "DocumentBySchema(string schemaVersion)" "Aetheria state facade must support direct schema document lookup."
|
||||
Assert-NotContains $clientState "CultDocumentMessagePackSerialization" "Aetheria projected document aliasing must be owned by CultMesh, not the Aetheria facade."
|
||||
Assert-Contains $clientState "LatestAsync<TDocument>()" "Aetheria state facade must support one-call typed document reads."
|
||||
Assert-Contains $clientState "Watch<TDocument>()" "Aetheria state facade must support reactive typed document lookup."
|
||||
Assert-Contains $clientState "CultMeshDocumentHandle<" "Aetheria state documents must expose CultMesh typed document handles directly."
|
||||
Assert-Contains $clientState "public CultMeshDocumentHandle<AetheriaRuntimeDaemonFrameDocument> DaemonFrame" "Aetheria state must expose named managed typed document handles."
|
||||
Assert-Contains $clientState "public CultMeshDocumentHandle<AetheriaRuntimeCatalogSnapshot> Catalog" "Aetheria state must expose named managed typed document handles."
|
||||
Assert-Contains $clientState "public CultMeshDocumentHandle<AetheriaRuntimeCurrentEntityDocument> CurrentEntity" "Aetheria state must expose named managed typed document handles."
|
||||
Assert-Contains $clientState "public CultMeshDocumentHandle<AetheriaRuntimeInventoryDocument> Inventory(" "Aetheria state must expose parameterized typed document handles."
|
||||
Assert-NotContains $clientState "AetheriaRuntimeProjectedDocument" "Aetheria state must not wrap CultMesh document handles in a private projected-document abstraction."
|
||||
Assert-NotContains $clientState "_documentsByType" "Aetheria state must not maintain a private type index beside named handles."
|
||||
Assert-NotContains $clientState "TryGetDocument<TDocument>" "Aetheria state must not expose generic document lookup beside named handles."
|
||||
Assert-NotContains $clientState "TryGetDocumentBySchema" "Aetheria state must not expose schema-string lookup beside named handles."
|
||||
Assert-NotContains $clientState "Document<TDocument>()" "Aetheria state must not expose generic document lookup beside named handles."
|
||||
Assert-NotContains $clientState "DocumentBySchema(" "Aetheria state must not expose schema-string lookup beside named handles."
|
||||
Assert-NotContains $clientState "CultMeshDocumentCatalog" "Aetheria state must not maintain a generic document catalog beside named handles."
|
||||
Assert-NotContains $clientState "LatestAsync<TDocument>()" "Aetheria state must not expose generic one-call reads beside named handles."
|
||||
Assert-NotContains $clientState "Watch<TDocument>()" "Aetheria state must not expose generic watch shortcuts beside named handles."
|
||||
|
||||
$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."
|
||||
Assert-Contains $projection "ProjectZoneTargetRow" "Zone-contacts projection must carry target geometry rows."
|
||||
Assert-Contains $projection "Distance = Math.Sqrt(deltaX * deltaX + deltaZ * deltaZ)" "Zone-contacts projection must carry target/contact distances."
|
||||
Assert-Contains $projection "ProjectZoneRender" "Shared projection code must own the zone-render feed."
|
||||
Assert-Contains $projection "ProjectCurrentEntity" "Shared projection code must own the current-entity feed."
|
||||
Assert-Contains $projection "ProjectCurrentDocking" "Shared projection code must own the current-docking feed."
|
||||
Assert-Contains $projection "ProjectStationRefit" "Shared projection code must own the station-refit feed."
|
||||
Assert-Contains $projection "Credits = context.Run.Credits" "Station-refit projection must carry typed run credits."
|
||||
Assert-Contains $projection "ProjectStationStock" "Station-refit projection must carry typed station stock."
|
||||
Assert-Contains $projection "CargoItems = ProjectStationStock(entity)" "Station-refit entity options must carry typed cargo rows for target counts."
|
||||
Assert-Contains $projection "ProjectStationStockTradeFacts" "Station-refit projection must enrich station stock with trade facts."
|
||||
Assert-Contains $projection "OwnedQuantity = CountStationOwnedQuantity" "Station-refit projection must publish owned counts for trade rows."
|
||||
Assert-Contains $projection "CanAfford = price >= 0 && credits >= price" "Station-refit projection must publish affordability for trade rows."
|
||||
Assert-Contains $projection "SourceIndex = sourceIndex" "Inventory projections must carry source slot identity for cargo/equipment operations."
|
||||
Assert-Contains $projection "X = slot.X" "Inventory projections must carry item grid X for cargo/equipment operations."
|
||||
Assert-Contains $projection "Y = slot.Y" "Inventory projections must carry item grid Y for cargo/equipment operations."
|
||||
$rtsDocuments = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRuntimeRtsDocuments.cs"
|
||||
Assert-Contains $rtsDocuments "ZoneDetails(" "Shared document code must own the zone-details feed."
|
||||
Assert-Contains $rtsDocuments "ZoneContacts(" "Shared document code must own the zone-contacts feed."
|
||||
Assert-Contains $rtsDocuments "ToZoneTargetRow" "Zone-contacts document must carry target geometry rows."
|
||||
Assert-Contains $rtsDocuments "Distance = Math.Sqrt(deltaX * deltaX + deltaZ * deltaZ)" "Zone-contacts document must carry target/contact distances."
|
||||
Assert-Contains $rtsDocuments "ZoneRender(" "Shared document code must own the zone-render feed."
|
||||
Assert-Contains $rtsDocuments "CurrentEntity(" "Shared document code must own the current-entity feed."
|
||||
Assert-Contains $rtsDocuments "CurrentDocking(" "Shared document code must own the current-docking feed."
|
||||
Assert-Contains $rtsDocuments "StationRefit(" "Shared document code must own the station-refit feed."
|
||||
Assert-Contains $rtsDocuments "Credits = context.Run.Credits" "Station-refit document must carry typed run credits."
|
||||
Assert-Contains $rtsDocuments "StationStock(" "Station-refit document must carry typed station stock."
|
||||
Assert-Contains $rtsDocuments "CargoItems = StationStock(entity)" "Station-refit entity options must carry typed cargo rows for target counts."
|
||||
Assert-Contains $rtsDocuments "StationStockTradeFacts(" "Station-refit document must enrich station stock with trade facts."
|
||||
Assert-Contains $rtsDocuments "OwnedQuantity = CountStationOwnedQuantity" "Station-refit document must publish owned counts for trade rows."
|
||||
Assert-Contains $rtsDocuments "CanAfford = price >= 0 && credits >= price" "Station-refit document must publish affordability for trade rows."
|
||||
Assert-Contains $rtsDocuments "SourceIndex = sourceIndex" "Inventory documents must carry source slot identity for cargo/equipment operations."
|
||||
Assert-Contains $rtsDocuments "X = slot.X" "Inventory documents must carry item grid X for cargo/equipment operations."
|
||||
Assert-Contains $rtsDocuments "Y = slot.Y" "Inventory documents must carry item grid Y for cargo/equipment operations."
|
||||
|
||||
$zoneRenderDocs = Read-Text "Packages\org.gamecult.aetheria.state\Runtime\AetheriaRuntimeRtsViewportDocuments.cs"
|
||||
Assert-Contains $zoneRenderDocs "public int SourceIndex" "Inventory item projection documents must carry source index."
|
||||
|
|
@ -689,6 +757,7 @@ Assert-NotContains $zoneRenderDocs "public AetheriaRuntimeRunCheckpointCommit Ru
|
|||
Assert-NotContains $zoneRenderDocs "public AetheriaRuntimeZoneSnapshotCommit Zone" "Zone-render feed must not expose the whole daemon zone snapshot."
|
||||
|
||||
$zoneRenderer = Read-Text "Assets\Scripts\Zone Display\ZoneRenderer.cs"
|
||||
$rtsViewportDocuments = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityRtsViewportDocuments.cs"
|
||||
Assert-Contains $zoneRenderer "ApplyZoneRender" "ZoneRenderer must consume the typed zone-render feed."
|
||||
Assert-Contains $zoneRenderer "_daemonCurrentEntityKey" "ZoneRenderer must track current entity as a render-feed fact, not through a run snapshot."
|
||||
Assert-Contains $zoneRenderer "_daemonSimulationTimeSeconds" "ZoneRenderer must track simulation time as a render-feed fact."
|
||||
|
|
@ -696,14 +765,19 @@ Assert-Contains $zoneRenderer "_zoneRenderBodyPoses" "ZoneRenderer must consume
|
|||
Assert-Contains $zoneRenderer "_zoneRenderAsteroidBeltPoses" "ZoneRenderer must consume asteroid belt poses from the zone-render feed."
|
||||
Assert-Contains $zoneRenderer "beltPose.InstancePoses" "ZoneRenderer asteroid rendering must consume typed asteroid instance poses from the zone-render feed."
|
||||
Assert-Contains $zoneRenderer "RestoreDroppedPickupsFromZoneRender" "ZoneRenderer dropped-pickup restore must consume the typed zone-render feed."
|
||||
Assert-Contains $zoneRenderer ".Aetheria()" "ZoneRenderer target distance cache must enter state through the semantic Aetheria facade."
|
||||
Assert-Contains $zoneRenderer ".ZoneContacts" "ZoneRenderer target distance cache must read the typed zone-contacts document handle."
|
||||
Assert-Contains $zoneRenderer ".LatestAsync()" "ZoneRenderer target distance cache must read a typed zone-contacts snapshot."
|
||||
Assert-Contains $zoneRenderer "AetheriaUnityRuntimeClientProvider" "ZoneRenderer target distance cache must enter state through managed typed documents."
|
||||
Assert-Contains $zoneRenderer ".ZonePresentationDocuments(" "ZoneRenderer target distance cache must bind managed presentation documents."
|
||||
Assert-Contains $zoneRenderer "CurrentContacts" "ZoneRenderer target distance cache must read the typed zone-contacts document from the presentation bundle."
|
||||
Assert-Contains $rtsViewportDocuments "state.ZoneContacts.Reactive()" "Zone presentation documents must bind zone contacts by grabbing the managed typed document handle directly."
|
||||
Assert-NotContains $rtsViewportDocuments "state.ReactiveZoneContacts()" "Zone presentation documents must not use per-document reactive wrapper methods."
|
||||
Assert-NotContains $zoneRenderer ".ZoneContactsAsync()" "ZoneRenderer target distance cache must not use the transitional zone-contacts helper."
|
||||
Assert-Contains $zoneRenderer "_daemonTargetRowsByEntityIndex" "ZoneRenderer target distance cache must store typed target rows."
|
||||
Assert-Contains $zoneRenderer "_daemonContactRows" "ZoneRenderer compass and visibility state must cache typed contact rows."
|
||||
Assert-Contains $zoneRenderer ".Viewports" "ZoneRenderer presentation loading must use managed viewport document handles."
|
||||
Assert-Contains $zoneRenderer ".Objects(ToViewportBounds(viewport))" "ZoneRenderer presentation loading must use the typed objects viewport document handle."
|
||||
Assert-Contains $zoneRenderer ".ZonePresentationDocuments(viewportBounds, ""unity-zone-renderer"")" "ZoneRenderer presentation loading must use managed viewport document handles."
|
||||
Assert-Contains $rtsViewportDocuments "state.ObjectsViewport(viewport).Reactive()" "Zone presentation documents must use the typed objects viewport document handle directly."
|
||||
Assert-Contains $rtsViewportDocuments "state.RenderSplatsViewport(viewport).Reactive()" "Zone presentation documents must use the typed render-splats viewport document handle directly."
|
||||
Assert-NotContains $rtsViewportDocuments "state.ReactiveObjectsViewport(viewport)" "Zone presentation documents must not use per-document reactive wrapper methods."
|
||||
Assert-NotContains $rtsViewportDocuments "state.ReactiveRenderSplatsViewport(viewport)" "Zone presentation documents must not use per-document reactive wrapper methods."
|
||||
Assert-NotContains $zoneRenderer "ObjectsViewportAsync(ToViewportBounds(viewport))" "ZoneRenderer presentation loading must not use the transitional objects viewport helper."
|
||||
Assert-NotContains $zoneRenderer "GravityViewportAsync(viewport)" "ZoneRenderer body view loading must not use the transitional gravity viewport helper."
|
||||
Assert-Contains $zoneRenderDocs "public AetheriaRuntimeBodySnapshotCommit Body" "Gravity/body viewport rows must carry the typed body payload needed for Unity presentation lowering."
|
||||
|
|
@ -731,7 +805,7 @@ $actionGameManager = Read-Text "Assets\Scripts\Gameplay\ActionGameManager.cs"
|
|||
$observedFrameApplier = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityObservedFrameApplier.cs"
|
||||
$gameplayLoopShell = Read-Text "Assets\Scripts\Gameplay\AetheriaUnityGameplayLoopShell.cs"
|
||||
Assert-Contains $actionGameManager "ObservedFrameApplier.ApplyLatestZoneRender()" "ActionGameManager must delegate typed zone-render application to the observed frame applier."
|
||||
Assert-Contains $actionGameManager ".Aetheria()" "ActionGameManager current-entity binding must enter zone-render state through the semantic Aetheria facade."
|
||||
Assert-Contains $actionGameManager "AetheriaUnityRuntimeClientProvider" "ActionGameManager current-entity binding must enter zone-render state through managed typed documents."
|
||||
Assert-Contains $actionGameManager ".ZoneRender" "ActionGameManager current-entity binding must resolve the typed zone-render document handle."
|
||||
Assert-NotContains $actionGameManager ".ZoneRenderAsync()" "ActionGameManager current-entity binding must not use the transitional zone-render helper."
|
||||
Assert-Contains $actionGameManager "private AetheriaUnityGameplayLoopShell GameplayLoopShell =>" "ActionGameManager should delegate per-frame Unity presentation/input ticking to the gameplay loop shell."
|
||||
|
|
@ -740,17 +814,17 @@ Assert-Contains $actionGameManager "GameplayLoopShell.LateTick()" "ActionGameMan
|
|||
Assert-Contains $gameplayLoopShell "public sealed class AetheriaUnityGameplayLoopShell" "Unity gameplay loop presentation ticking should live outside ActionGameManager."
|
||||
Assert-Contains $gameplayLoopShell "ApplyLatestZoneRender?.Invoke();" "Gameplay loop shell should apply the latest typed zone-render feed."
|
||||
Assert-Contains $gameplayLoopShell "CurrentEntityPresentation?.Tick(deltaTime);" "Gameplay loop shell should tick current-entity presentation."
|
||||
Assert-Contains $gameplayLoopShell "PilotFrameAdapter?.Tick(ResolveCurrentEntity?.Invoke(), deltaTime, time);" "Gameplay loop shell should tick pilot frame presentation/input."
|
||||
Assert-Contains $gameplayLoopShell "PilotFrameController?.Tick(ResolveCurrentEntity?.Invoke(), deltaTime, time);" "Gameplay loop shell should tick pilot frame presentation/input."
|
||||
Assert-Contains $gameplayLoopShell "TargetPresentation?.UpdateTargetIndicators(" "Gameplay loop shell should tick target indicators."
|
||||
Assert-NotContains $actionGameManager "_currentEntityPresentation.Tick(Time.deltaTime);" "ActionGameManager must not tick current-entity presentation directly."
|
||||
Assert-NotContains $actionGameManager "PilotFrameAdapter.Tick(CurrentEntity, Time.deltaTime, Time.time)" "ActionGameManager must not tick pilot frame presentation/input directly."
|
||||
Assert-NotContains $actionGameManager "PilotFrameController.Tick(CurrentEntity, Time.deltaTime, Time.time)" "ActionGameManager must not tick pilot frame presentation/input directly."
|
||||
Assert-NotContains $actionGameManager "_targetPresentation.UpdateTargetIndicators(" "ActionGameManager must not tick target indicators directly."
|
||||
Assert-NotContains $actionGameManager "_paused" "ActionGameManager must not own pause state; the loop shell owns it."
|
||||
Assert-NotContains $actionGameManager "_time" "ActionGameManager must not keep unused local simulation time."
|
||||
Assert-Contains $observedFrameApplier "TryRestoreEntityGraphFromZoneRender" "Observed frame applier must restore Unity shell state from the typed zone-render feed."
|
||||
Assert-Contains $observedFrameApplier "ApplyLatestZoneRender" "Observed frame applier must name the handoff as zone-render application."
|
||||
Assert-Contains $observedFrameApplier ".ZoneRender" "Observed frame applier must use the shared zone-render document handle at the frame handoff."
|
||||
Assert-Contains $observedFrameApplier "render.EntitySnapshots" "Observed frame applier entity restoration must consume the typed zone-render entity snapshot payload."
|
||||
Assert-Contains $observedFrameApplier "render.CreateEntitySnapshots()" "Observed frame applier entity restoration must consume the typed zone-render entity snapshot payload."
|
||||
Assert-NotContains $observedFrameApplier "Func<Galaxy>" "Observed frame applier must not depend on the whole observed galaxy facade."
|
||||
Assert-Contains $observedFrameApplier "_resolveObservedZone" "Observed frame applier should name the narrow target-zone resolver explicitly."
|
||||
Assert-NotContains $observedFrameApplier "resolveObservedGalaxy" "Observed frame applier must resolve only the target zone needed for Unity shell adaptation."
|
||||
|
|
|
|||
Loading…
Reference in a new issue