Migrate native flight environment contract

This commit is contained in:
Meta Vens 2026-07-16 01:56:29 +01:00
commit 94d3a7ba84
16 changed files with 260 additions and 47 deletions

View file

@ -884,6 +884,27 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
- Cut line: the unconditional `planar.top-down-follow.v1` projection no longer
collapses the fossil dock and flight cameras into one false top-down view.
### Flight Post-Processing Contract
- Owner: Aetheria selects the logical flight profile and owns its native asset
variants. EveUnity owns only a reversible lowering lease for the active world
camera.
- Inputs: `postProcessProfileAssetRef` from the world surface and the matching
provider-catalog variant. The Unity authoring build derives
`profile.environment.flight` from the fossil ARPG global profile's ACES,
bloom, histogram dark-scene exposure bound, contrast, vignette, and grain.
- Outputs: the generic Unity lowerer resolves a `VolumeProfile`, enables URP
post-processing on the leased camera, and installs one global runtime volume.
- Derived state: the Unity `Volume`, additional-camera data, and enabled flag are
client presentation state. They restore or disappear when the camera lease
ends.
- Forbidden writers: scene-local Aetheria scripts, provider-id checks, fog-color
heuristics, and client-authored exposure values cannot choose flight
presentation.
- Cut line: the fossil scene's global `PostProcessVolume` is reference evidence,
not a surviving runtime owner. Missing or incompatible advertised profiles
fail closed instead of silently rendering a different look.
### Gravity Fog Presentation Contract
- Owner: Aetheria owns gravity/fog brush placement and values, authored volume
@ -902,6 +923,15 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
raymarch targets, ping-pong history textures, previous camera matrices, and
viewport-derived texture scales and composite counters are runtime projections.
They are neither daemon truth nor portable Eve state.
- Native target topology: the provider advertises the fossil layer shapes rather
than letting the lowerer invent one common texture: surface height is
`2048x2048`, patch height is `256x256`, patch and tint are `512x512`, and only
tint is mipmapped/trilinear. EveUnity applies those descriptors without owning
the layer meanings.
- Time and camera bindings: the splat document's daemon-authored simulation time
drives logical `flowScroll` through an advertised scale. The provider variant
maps logical camera-to-world and flow-scroll ports to native uniforms; the
generic runtime does not use local gameplay time or provider identifiers.
- Semantic split: `gravity.height` is the negative gameplay terrain projection;
`fog.surface_height` is the positive visual displacement the fossil
`PowerBrush` camera supplied to `_NebulaSurfaceHeight`. Both derive from the
@ -949,8 +979,14 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
complete temporal-program acceptance, partial-program rejection, portable
`PowerPulse` GPU evaluation, and absence of Aetheria assembly references.
Aetheria daemon smoke proves radial brush parity and that the exact fossil
shader ABI is advertised outside the portable surface. A live capture is still
required for visual parity.
shader ABI is advertised outside the portable surface. Released package
`0.3.49` proves target topology, authoritative flow time, explicit camera
transforms, float32 packed-output diagnostics, and both camera-channel masks.
The live warm capture remains visually failing: the fossil vertical-noise
displacement drives raymarch density to `1` within roughly three metres.
A controlled zero-amplitude run restores a fog horizon, isolating the open
parity defect to the noise/daemon-height interaction rather than transport,
pass ordering, camera pose, or missing field textures.
### Daemon Asset Content Delivery

View file

@ -34,7 +34,7 @@ validation proves contract shape, not wiring, exclusivity, lowering, or parity.
| Pilot camera | ARPG follow/dock cameras | Eve view semantics + runtime | camera rig and semantic view id | EveUnity camera rig | daemon dock state selects distinct contracts instead of collapsing both fossil cameras: undocked flight advertises the entity-forward `Third Person Rig` framing (distance 30, screen 0.64/0.81, FOV 60, lens 1-4096) and the shared `aim.presentation` convergence point as its look-at; EveUnity solves native pose while preserving both optical aim and advertised entity framing, without provider types; the retained dock projection remains separate | reproduce the dock camera's separate follow/look-at subjects, blend timeline, noise, and reconnect state |
| 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 | daemon publishes canonical gravity/fog splat layers through `field.volume3d`; Eve Fields `0.2.3` owns portable `PowerPulse` and `AnimatedRadialCosine` semantics; Aetheria emits the fossil global animated simplex/cellular/ambient stack, body-owned radial waves, and separate negative gameplay `gravity.height` and positive visual `fog.surface_height`; daemon entities follow fossil terrain height plus hull grid offset after Ymir XZ motion; released EveUnity `0.3.44` lowers the field sources, temporal history, viewport-derived dither scale, and finite aim convergence without provider code; both camera-channel assertions pass and all field/HDR targets are populated, but the pilot capture is nearly black with sparse clipped geometry rather than the fossil blue fog sea | diagnose native composition and geometry visibility at the pilot camera, then restore tint/color, lighting, patch structure, and gravity-wave visual parity from fossil settings and measured native outputs; keep visual parity explicitly open |
| Fields/fog/gravity | zone renderer and shaders | daemon/plugin semantics | Fields plugin documents | EveUnity fields lowerer | daemon publishes canonical gravity/fog splat layers through `field.volume3d`; Eve Fields `0.2.3` owns portable `PowerPulse` and `AnimatedRadialCosine` semantics; Aetheria emits the fossil global animated simplex/cellular/ambient stack, body-owned radial waves, and separate negative gameplay `gravity.height` and positive visual `fog.surface_height`; daemon entities follow fossil terrain height plus hull grid offset after Ymir XZ motion; released EveUnity `0.3.49` lowers the authored 2048/256/512 layer topology, provider shader ABI, pre-postprocess URP pass, authoritative flow time, explicit camera matrix, and float32 packed-output diagnostics without provider code; both camera-channel assertions pass. The warm capture remains an opaque brown slab because fossil vertical noise saturates ray density to `1`; a controlled zero-amplitude run restores the expected fog horizon and isolates the remaining mismatch to noise versus daemon-generated heights | establish a measured parity rule for the fossil noise displacement against daemon height gradients, then restore blue tint, patch structure, and gravity-wave visual parity; keep the zero-noise result diagnostic-only and visual parity explicitly open |
| HUD/schematic | ARPG HUD and `SchematicDisplay` | Eve composition from daemon facts | semantic status/components | EveUnity UI | provider-authored transparent cockpit is wired, projected, and lowered through generic UI Toolkit panes, metrics, and progress components for hull, shield, capacitor, temperature, cargo, weapon cooldown/groups, selected target, target lock, target shield, and target hull; the original armor/equipment schematic and transient warning choreography remain reference-only | schematic topology, warning timelines, dynamic action state, and composited live capture |
| Hit/lock/warnings | `ActionGameManager` feedback | daemon event facts | transient feedback stream | VFX/UI/audio | bounded deduplicated game-event ledger and Eve `feedback.stream` wired for pickup outcomes, projectile launch/impact, entity damage, alive-to-dead destruction, authoritative weapon reload chronology, and episode-deduplicated `weapon.fire.refused` facts for insufficient energy or missing ammunition; refusal identity, authored weapon, target, reason, and remaining magazine state are runtime-independent cockpit inputs | add lock transitions, thermal and docking event families, negative transaction fixtures, and runtime effect consumption |
| Assets | `Assets/Resources` | Aetheria provider | asset catalog + CultMesh CDN | runtime cache/load | provider manifests name deterministic bundle-internal paths; the authoring build derives presentation-only prefabs, strips missing and non-Eve `MonoBehaviour` components, verifies both saved prefabs and the loaded bundle, and publishes the immutable bundle through CultMesh; released-client warm-cache loading, content verification, and rendered provider identity are proven, while cold transfer still times out because the 46.1 MB body travels through batched snapshot records | mapped/network body transport followed by empty-cache download, atomic promotion, and cache reuse proof |