From 0ca108b52324cb6cea98977e0c006aaa199b26ee Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 13 Jul 2026 21:38:18 +0100 Subject: [PATCH] Publish semantic render-channel policy --- Aetheria.State.Daemon/Program.cs | 2 +- Aetheria.Unity/Packages/manifest.json | 2 +- Aetheria.Unity/Packages/packages-lock.json | 4 ++-- ...AetheriaRuntimeDaemonGameSurfaceBuilder.cs | 1 + docs/original-game-migration-matrix.md | 23 +++++++++++-------- scripts/verify-aetheria-unity-client.ps1 | 4 ++-- 6 files changed, 20 insertions(+), 16 deletions(-) diff --git a/Aetheria.State.Daemon/Program.cs b/Aetheria.State.Daemon/Program.cs index 094e6acbf..7b9f3207d 100644 --- a/Aetheria.State.Daemon/Program.cs +++ b/Aetheria.State.Daemon/Program.cs @@ -2150,7 +2150,7 @@ static EveAssetCatalogDocument BuildCoreAssetCatalog( unityAssetPath, new Dictionary(StringComparer.Ordinal) { - ["view.pilot.excludeUnityLayers"] = "14" + ["renderChannel.map.unityLayer"] = "14" })) .ToArray(), new Dictionary(StringComparer.Ordinal) diff --git a/Aetheria.Unity/Packages/manifest.json b/Aetheria.Unity/Packages/manifest.json index 097757fb4..ed4482727 100644 --- a/Aetheria.Unity/Packages/manifest.json +++ b/Aetheria.Unity/Packages/manifest.json @@ -9,6 +9,6 @@ "org.gamecult.cultlib": "https://github.com/GameCult/CultLib.git?path=/unity/org.gamecult.cultlib#cultlib-unity-v1.0.10", "org.gamecult.eve.plugin-fields": "https://github.com/GameCult/EvePlugins.git?path=/plugins/eve-plugin-fields/unity/org.gamecult.eve.plugin-fields#eve-plugin-fields-unity-v0.1.1", "org.gamecult.eve.surface": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.surface#eveunity-surface-v0.2.0", - "org.gamecult.eve.unity-scene": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.2.4" + "org.gamecult.eve.unity-scene": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.3.0" } } diff --git a/Aetheria.Unity/Packages/packages-lock.json b/Aetheria.Unity/Packages/packages-lock.json index 9759ee071..6996eb399 100644 --- a/Aetheria.Unity/Packages/packages-lock.json +++ b/Aetheria.Unity/Packages/packages-lock.json @@ -142,7 +142,7 @@ "hash": "010ddeff90b70ce5278da373ce2dd0bb2c9eb9ac" }, "org.gamecult.eve.unity-scene": { - "version": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.2.4", + "version": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.3.0", "depth": 0, "source": "git", "dependencies": { @@ -151,7 +151,7 @@ "org.gamecult.eve.surface": "0.2.0", "com.unity.mathematics": "1.3.2" }, - "hash": "890692e30f8327806b0fc93d3b7d33be2e7a10ca" + "hash": "e45171952030dbb7ea3997f7abdc0af96b483b26" }, "com.unity.modules.assetbundle": { "version": "1.0.0", diff --git a/Packages/org.gamecult.aetheria.state/Runtime/AetheriaRuntimeDaemonGameSurfaceBuilder.cs b/Packages/org.gamecult.aetheria.state/Runtime/AetheriaRuntimeDaemonGameSurfaceBuilder.cs index d724946ac..435fd465d 100644 --- a/Packages/org.gamecult.aetheria.state/Runtime/AetheriaRuntimeDaemonGameSurfaceBuilder.cs +++ b/Packages/org.gamecult.aetheria.state/Runtime/AetheriaRuntimeDaemonGameSurfaceBuilder.cs @@ -592,6 +592,7 @@ namespace GameCult.Aetheria.State.Verse ["inputProfile"] = "arpg.pointer-keyboard.v1", ["cameraRig"] = "arpg.orbital-follow.v1", ["viewId"] = "pilot", + ["excludedRenderChannels"] = "map", ["playerEntityId"] = playerEntityId, ["cameraTargetEntityId"] = cameraTargetEntityId, ["subjectVisible"] = isDocked ? "false" : "true", diff --git a/docs/original-game-migration-matrix.md b/docs/original-game-migration-matrix.md index bb6f68b2f..668728b53 100644 --- a/docs/original-game-migration-matrix.md +++ b/docs/original-game-migration-matrix.md @@ -32,7 +32,7 @@ validation proves contract shape, not wiring, exclusivity, lowering, or parity. | Trade | trade UI/economy | daemon | stock, quote, purchase commands | generic UI | daemon derives station, stock row, catalog item, current price, quantity, credits, target capacity, and hull-vs-cargo result; Eve advertises only currently available stock actions; generic Unity live witness receives an authoritative purchase receipt while paused | sell flow, quote expiry, contested stock, and full trade surface parity | | Action bar/input | input shell and rebinding UI | daemon advertises actions; client owns bindings | input capability and action descriptors | universal binding UI | contracts wired; cargo actions are catalog-filtered to consumables the current actor can actually activate, including suppression of active non-stackable items | dynamic equipment behavior validity and runtime action-bar quantity/fill proof | | Pilot camera | ARPG follow/dock cameras | Eve view semantics + runtime | camera rig and semantic view id | EveUnity camera rig | basic follow lowered; dock/view parity absent | authored framing and dock transition | -| Render channels | Unity layers/culling masks | provider variant + runtime | semantic view id | native layer policy | specification work; incomplete uncommitted prototype | no map glyphs in pilot view | +| Render channels | Unity layers/culling masks | provider surface policy + runtime asset variant | semantic channel exclusions | EveUnity native layer mapping | wired, exclusive, and lowered: the pilot surface excludes the semantic `map` channel; the Unity asset variant maps `map` to its authored native layer; EveUnity subtracts that layer from the configured camera mask; portable state contains no Unity layer or mask; package tests and the clean-client dependency verifier pass | live pilot capture proving no map glyphs while the map camera retains them | | Minimap/tactical map | `ZoneRenderer`, map cameras | daemon world facts | explicit map projections | Unity and Electron | facts fragmented; generic lowerers absent | same state in both runtimes | | Fields/fog/gravity | zone renderer and shaders | daemon/plugin semantics | Fields plugin documents | EveUnity fields lowerer | owner-exists; basic lowering; composition parity absent | visual parity captures | | HUD/schematic | ARPG HUD and `SchematicDisplay` | Eve composition from daemon facts | semantic status/components | EveUnity UI | reference | source-fact and timing matrix | @@ -104,9 +104,11 @@ These are source-confirmed ownership failures, not feature backlog: expiry, projectile launch/impact, damage, and destruction now use a bounded deduplicated daemon ledger projected through Eve, but lock transitions, damage topology, thermal warnings, and docking effects still need event families. -4. **View composition is implicit.** Provider prefabs contain pilot and map - subviews, but portable render channels, entity presentation graphs, effects, - attachment sockets, and map products are not yet first-class contracts. +4. **View composition remains partial.** Pilot surfaces now exclude semantic + render channels and runtime asset variants map those channels to native + layers without leaking Unity masks into portable state. Entity presentation + graphs, attachment sockets, map products, and richer effect composition are + not yet first-class contracts. 5. **The game loop has no single daemon owner.** Exploration, discovery, encounter, loot, docking, trade, refit, narrative, boss progression, completion, failure, and continue exist as pieces rather than one explicit @@ -118,10 +120,11 @@ These are source-confirmed ownership failures, not feature backlog: 7. **Live conformance has no complete owner.** Static provider packs can pass while daemon, runtime, or split-target dependencies are absent. The current Eve consumer smoke fails because its expected EveElectron proof is missing. -8. **Normative native presentation has no implemented owner.** Render channels, +8. **Normative native presentation is incomplete.** EveUnity owns semantic + render-channel lowering and immutable presented-entity generations. General presentation graphs, map products, attachment/effect lifecycles, material - profiles, and source-version diagnostics are assigned in specification but - lack complete Eve contracts and EveUnity lowerers. + profiles, and source-version diagnostics still lack complete Eve contracts + and generic runtime lowerers. 9. **Original-game acceptance lacks an evidence ledger.** No current owner records fossil baseline, target state timeline, commands/receipts, rendered captures, and negative-writer checks as one scenario result. @@ -145,9 +148,9 @@ These are source-confirmed ownership failures, not feature backlog: `ActionGameManager`, and `ZoneRenderer` remain reference and asset-authoring inputs in the original Unity project. They are absent from the canonical `Aetheria.Unity` client, whose verifier rejects Aetheria, ServerShared, and - gameplay assemblies. EveUnity still needs a read-only presented-entity - registry before richer camera, selection, and HUD adapters can avoid - rebuilding a parallel presentation index. + gameplay assemblies. EveUnity now publishes each committed SoA generation + through a read-only presented-entity registry; richer selection and HUD + adapters still need to consume it instead of rebuilding parallel indexes. 11. **Remote provider asset delivery remains unproven.** The authoring build now derives deterministic presentation-only variants, strips missing and non-Eve scripts, verifies the saved prefabs and loaded AssetBundle, and the diff --git a/scripts/verify-aetheria-unity-client.ps1 b/scripts/verify-aetheria-unity-client.ps1 index a4d49e50d..bafa77341 100644 --- a/scripts/verify-aetheria-unity-client.ps1 +++ b/scripts/verify-aetheria-unity-client.ps1 @@ -20,8 +20,8 @@ $expected = @{ "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.surface#eveunity-surface-v0.2.0", "010ddeff90b70ce5278da373ce2dd0bb2c9eb9ac") "org.gamecult.eve.unity-scene" = @( - "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.2.4", - "890692e30f8327806b0fc93d3b7d33be2e7a10ca") + "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.3.0", + "e45171952030dbb7ea3997f7abdc0af96b483b26") } foreach ($packageName in $expected.Keys) {