Add Fensalir daemon Eve surface

This commit is contained in:
Meta Vens 2026-06-02 17:43:30 +01:00
commit 85459184f5
9 changed files with 1096 additions and 0 deletions

View file

@ -50,3 +50,36 @@ The remaining gap is real: Fensalir still lacks a flat program-layer video
backend that draws Fensalir-owned camera texture leases as 2D synced layers.
That backend is separate from the reservoir daemon. Build it as the editor's
presentation path; do not smuggle it through field diagnostics.
## Current Daemon Cut
`src/Mimir.FensalirDaemon` is the first owner-shaped daemon:
- eats CultCache through `state/fensalir-daemon.ccmp`, using the canonical
MessagePack CultCache backing store;
- drinks Well JSONL logs containing `mimir.well_snapshot.v1`,
`mimir.well_capture_page.v1`, and `mimir.well_stream_pressure.v1`;
- publishes typed `mimir.fensalir_daemon_state.v1` state;
- speaks a CultNet-shaped WebSocket Eve provider at `/eve/deck`;
- speaks binary CultMesh dashboard documents at `/eve/deck/cultmesh`;
- exposes `/health` and `/eve/deck/manifest`;
- presents a retained `cultmesh.eve_surface.v0` surface with compact text and
metrics that Eve GUI and Odin/Nightwing TUI can lower.
Start it with:
```powershell
powershell -ExecutionPolicy Bypass -File .\scripts\start-fensalir-daemon.ps1
```
The launcher writes a supervisor manifest under
`artifacts/runtime/fensalir-daemon-*` with provider specs:
```text
mimir-fensalir-daemon|Mimir Fensalir Daemon|ws://127.0.0.1:8799/eve/deck
mimir-fensalir-daemon|Mimir Fensalir Daemon|ws://127.0.0.1:8799/eve/deck/cultmesh
```
The current worker mode is `surface-owner-installed`: kernel scheduling,
GPU-resident reservoir compute, and actual fused program-surface publication
belong behind this daemon next. Do not move those back into the editor.

View file

@ -36,6 +36,13 @@ video compositor/control surface and must stay responsive even while the
reservoir worker is absent, paused, or saturated. Field diagnostics, Leap
surface splats, spectrum tubes, and reservoir proof visuals are opt-in
diagnostics or daemon outputs, not default editor presentation.
`Mimir.FensalirDaemon` is now the first daemon-shaped owner for that path: it
tails Well documents, persists `mimir.fensalir_daemon_state.v1` into
CultCache, exposes `/health`, and serves JSON plus binary CultMesh
`mimir.eve_dashboard_state.v1` Eve surfaces at `/eve/deck` and
`/eve/deck/cultmesh`. The current worker mode is deliberately
`surface-owner-installed`; dense GPU kernels and fused program output belong
behind this daemon next.
Any path that only paints pixels is not the spatiotemporal machine, but the
editor still needs a real flat video compositor backend. The current