Publish CultMesh-native Aetheria Eve surfaces

This commit is contained in:
Meta Vens 2026-07-04 22:46:04 +01:00
commit f220057ccf
35 changed files with 1993 additions and 1247 deletions

View file

@ -145,18 +145,20 @@ Current Ymir control flow:
`TryOverlapZoneHulls`, or `TryCastZoneHulls`.
- `TryBuildDaemonWorld` builds Ymir bodies from `AetheriaDaemonRenderNativeView`
rather than from Unity `HullCollider` geometry.
- Ymir step/overlap/cast requests execute through the typed
`YmirPhysicsQueries` surface in `YmirPhysicsContracts.cs`.
- Query results are resolved back to Unity presentation hulls through daemon
entity ids, so visual effects still have a GameObject to attach to.
This is the right authority direction: Ymir receives bodies derived from daemon
SoA, and Unity hulls are presentation targets. Remaining debt:
- `AetheriaYmirPhysicsBridge` still has a fallback from missing daemon
`EntityIndex` to row index. That should be removed; stable entity identity is
required for daemon/Ymir correspondence.
- Ymir query requests are still JSON-over-local-HTTP from Unity. That can be a
temporary transport, but the durable model should be typed CultNet/CultMesh
command/query boundaries.
- `AetheriaYmirPhysicsBridge` requires daemon `EntityIndex` and
`PhysicsBodyRadius` columns before it builds Ymir bodies; stable entity
identity is required for daemon/Ymir correspondence.
- Ymir query requests no longer use Unity-owned JSON endpoint calls. The
remaining durable target is exposing the same typed query semantics through
CultNet/CultMesh query handles.
- Clickable raycasts still construct query bodies from Unity click bounds. That
is presentation picking, not simulation authority, but it should stay clearly
labeled as renderer/UI picking.
@ -273,22 +275,20 @@ Moved or moving out:
## High-Value Next Cuts
1. Remove the Ymir row-index fallback. `TryBuildDaemonWorld` should require
daemon `EntityIndex`; Ymir body ids must never derive from SoA row order.
2. Enrich daemon SoA physics columns. Publish body radius/mass/inverse mass
1. Enrich daemon SoA physics columns. Publish body radius/mass/inverse mass
from typed entity/hull state instead of `1.0` placeholders.
3. Add daemon current-stat query documents/surfaces. Designers and clients
2. Add daemon current-stat query documents/surfaces. Designers and clients
should query current resolved stats through daemon-owned state refs, not
inspect Unity behavior objects.
4. Convert hot behavior reads from `PerformanceStat` to stat handles with
3. Convert hot behavior reads from `PerformanceStat` to stat handles with
dependency masks and cached condition sampling. Leave legacy exponent
evaluation only as migration import/readback.
5. Shrink `ZoneRenderer` toward stateless per-frame render lowering. Persistent
4. Shrink `ZoneRenderer` toward stateless per-frame render lowering. Persistent
GameObjects can remain for prefabs, but zone/body/entity discovery should be
query-driven from daemon state.
6. Replace local HTTP Ymir calls with typed CultNet/CultMesh query boundaries
5. Promote Ymir's typed local query surface to CultNet/CultMesh query handles
when the Ymir daemon interface is ready.
7. Make Eve state refs first-class in the UI runtime so surfaces can point to
6. Make Eve state refs first-class in the UI runtime so surfaces can point to
daemon state and clients resolve it automatically.
## Mental Model
@ -298,4 +298,3 @@ It is now "the Aetheria daemon owns typed state and publications, while Unity is
a powerful but still-too-large observer/projection runtime." The main migration
task is to keep deleting places where Unity turns observed daemon facts back
into local authority.

View file

@ -149,6 +149,23 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
action-bar group binding, override shutdown, and thermotoggle target
temperature controls directly instead of routing them through
`PropertiesPanel`.
- Main-menu level presentation is now authored as a field-oriented Eve/CultUI
surface, not as a renderer-owned Aetheria special case. The provider publishes
`field.surface2d` with embedded document slots for `gravity.height`,
`nebula.tint`, and object rows. `gravity.height` is a 2D scalar field;
isolines are one declared visualizer, alongside other possible scalar
visualizers such as shaded height and probes. `nebula.tint` is a 2D
vector/color field accumulated from render splats as color times the
PowerPulse window. The browser lowerer and the Unity client should both lower
this same field surface. Unity's current `ZoneRenderer`, `PowerBrush`, and
`Zone.GetHeight` behavior are parity evidence for the new Eve field renderer,
not a permanent side path.
Object and body icon selection is provider-owned too:
`AetheriaRuntimeRtsViewportObject.IconAsset` and
`AetheriaRuntimeRtsBodyView.IconAsset` carry the CultMesh CDN asset refs. A
lowering target may draw the advertised asset or expose the missing provider
data, but it must not synthesize icons, glow, asset paths, gravity fields,
or backdrop noise as renderer-local compensation.
- The combat schematic HUD uses typed runtime catalog weapon facets for its
static weapon icon strip; missing typed weapon facets no longer fall back to
legacy `WeaponItemData`. Schematic weapon-row selection now uses typed
@ -550,8 +567,8 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
- `AetheriaEveSurfacePresenter` is the first runtime UI Toolkit consumer of
those typed surface documents. It owns mounting only: state file resolution,
surface lookup, lowering, and command emission into a typed pending queue.
Provider command acceptance still belongs to the future CultMesh command
bridge.
Provider command acceptance belongs to `AetheriaEveCommandBridge`, which
consumes typed Eve command documents from the CultCache/CultMesh state node.
- `AetheriaEveRuntimeBootstrap` mounts the first runtime Eve surface after
scene load. The default surface is `aetheria.operations`, hosted in a
runtime-created `UIDocument`; environment variables or a command-line switch
@ -1684,7 +1701,7 @@ First Aetheria surfaces to publish:
- Done: publish an Eve provider advertisement so Odin/Eve can discover
Aetheria surfaces and command boundaries through typed state.
- Done: make the daemon/provider advertisements derive from the shared
`AetheriaRuntimeEveSurfaceCatalog`, so Odin/Eir can index every known
`AetheriaRuntimeEveSurfaceCatalog`, so Odin/Hermodr can index every known
Aetheria Eve panel instead of only the daemon game/editor surfaces.
- Done: stop legacy catalog pull/read paths from writing entries back to
their source backing store.