Reorient Mimir maps around CultNet RUDP

This commit is contained in:
Meta Vens 2026-06-16 17:39:33 +01:00
commit 434e2d3efa
5 changed files with 154 additions and 14 deletions

View file

@ -53,6 +53,11 @@ Ownership:
Fensalir-facing wand pose stream.
- Mimir owns program composition, source subscription policy, preview/control
state, stats, and publication intent.
- Mimir-owned Eve dashboard and browser reference processes publish their own
typed health/freshness to Idunn over RUDP when configured. Their intended
daemon-owned provider state, command boundaries, and transport profiles also
belong on CultNet/RUDP; HTTP/WebSocket are client lowerings and compatibility
evidence, not daemon truth.
- Fensalir owns dense visual fusion, material/brush/splat reconciliation,
D3D12 interop, runtime UI lowering, and local program texture output.
- Faust/native DSP owns hot audio alignment, suppression, separation,
@ -252,6 +257,14 @@ video archive. Yggdrasil relays CultNet reliable UDP over the WireGuard mesh.
Starfire lowers the subscribed stream to local UDP for compatibility sinks
because OBS is not a CultMesh runtime.
Source audit correction: the desired transport is explicit CultNet RUDP, and
CultLib now provides C# `CultMesh.CreateRudpServer`,
`CultMesh.CreateRudpClient`, and authorized-peer helper APIs. The current
`Mimir.CultMeshMedia` source still uses older `CultMesh.StartNodeAsync` and
`CultMesh.ConnectClient` entrypoints. Treat that as migration debt: the bridge
should be cut to explicit RUDP helpers before it is considered aligned with the
daemon-swarm transport doctrine.
Current deployment: Yggdrasil runs the relay from
`/opt/gamecult/mimir-cultmesh-media/Mimir.CultMeshMedia` with cache
`/var/lib/gamecult/mimir/cultmesh-media.cc` and log
@ -264,6 +277,46 @@ Raven SSH over WireGuard timed out during the initial deployment pass, so the
Raven sender still needs to be launched on Raven directly with
`scripts/start-raven-cultmesh-av-sender.ps1`.
## Daemon Health And Idunn
Odin owns the accepted Verse/service map. Idunn owns continuity after a daemon
is known: boot recovery, crash recovery, deployment freshness, stale-health
watching, restart/deploy intent, and operator escalation. Mimir does not run a
private lifecycle supervisor for these surfaces.
CultLib's current direction is RUDP everywhere for typed CultNet/CultMesh
documents across runtimes. That means health, provider advertisements, command
boundaries, transport profiles, and selected program/media document lanes should
default to `cultnet.transport.rudp.v0`. TCP, HTTP, and WebSocket are acceptable
as renderer/client lowerings, debug tools, or migration debt; they must not own
daemon truth once an RUDP contract exists.
Mimir's current daemon-health publishers are local RUDP witnesses:
- `src/Mimir.EveDashboard` publishes `mimir.eve_dashboard_state` through
CultNet/CultMesh and, when `--idunn-rudp-health` or
`MIMIR_EVE_DASHBOARD_IDUNN_RUDP_HEALTH` is set, sends
`idunn.daemon_health` records tagged `cultnet.transport.rudp.v0` for the
dashboard broker and optionally a paired service daemon. The next daemon
boundary work is to publish its provider advertisement, retained state,
command boundary, and transport profile as typed RUDP records so Odin can
prefer those over compatibility HTTP catalog ingestion.
- `src/Mimir.EveBrowserReference` serves a static browser lowering and, when
configured with `--idunn-rudp-health` or
`MIMIR_EVE_BROWSER_REFERENCE_IDUNN_RUDP_HEALTH`, sends its own
`idunn.daemon_health` record over the same RUDP document path.
Invariant: health publication is not ownership. The daemon reports what it can
honestly observe about itself; Idunn decides keepalive action through the
shared typed record path.
Source audit debt: `Mimir.EveSensorReceiver`, `Mimir.VerseRecorder`, and the
browser/dashboard WebSocket paths are still renderer/client lowerings. They may
remain as lowering adapters, but any provider catalog, retained service state,
command boundary, transport profile, or lifecycle health claim must be
published as typed CultNet/RUDP records instead of being inferred from those
TCP/WebSocket surfaces.
## Audio Field
The six-microphone path is separate from the bridge. Scarlett speaker loopback

View file

@ -25,7 +25,19 @@ Get-Content .\state\evidence.jsonl -Tail 8
- V1 now also has an explicit CultMesh media bridge for Raven program feeds:
`src/Mimir.CultMeshMedia` sends rolling `mimir.cultmesh_media_frame`
documents over CultNet reliable UDP through Yggdrasil and lowers them on
Starfire to local MPEG-TS UDP for OBS.
Starfire to local MPEG-TS UDP for OBS. Source audit warning: the current C#
bridge still uses older `CultMesh.StartNodeAsync`/`CultMesh.ConnectClient`;
migrate it to explicit C# RUDP helpers before treating the media bridge as
fully aligned with the swarm transport cut.
- CultLib has moved the daemon-swarm direction to CultNet over RUDP across
runtimes. Mimir's typed daemon truth should default to
`cultnet.transport.rudp.v0`; TCP/HTTP/WebSocket are client lowerings,
compatibility probes, or migration debt unless a specific runtime has not
earned RUDP yet.
- Mimir has daemon-health publication edges into the Odin/Idunn swarm:
`src/Mimir.EveDashboard` and `src/Mimir.EveBrowserReference` publish
`idunn.daemon_health` records over `cultnet.transport.rudp.v0` when
configured. These are self-health witnesses, not lifecycle owners.
- The live stream app is C# plus Fensalir: `Mimir.slnx` contains
`src/Mimir.App` and `src/Mimir.Runtime`.
- `src/Mimir.App` hosts Fensalir as the windowing/rendering/D3D12 bridge.
@ -85,6 +97,15 @@ Get-Content .\state\evidence.jsonl -Tail 8
`Raven Monitor + Realtek` has been repointed from old SRT to that local UDP
endpoint. Raven SSH timed out, so launch
`scripts/start-raven-cultmesh-av-sender.ps1` on Raven directly.
- Keep Eve dashboard/browser-reference RUDP health aligned with Odin/Idunn:
Odin accepts the Verse/service map, Idunn owns daemon continuity, and Mimir
processes publish typed health/freshness only for themselves. The next
dashboard boundary cut is provider advertisement, retained state,
command_boundary, and transport_profile over RUDP so HTTP/WebSocket catalog
ingestion can be demoted to client/debug lowering.
- Cut `Mimir.CultMeshMedia` to explicit CultNet RUDP helpers next; no new TCP,
HTTP, or WebSocket surface should be allowed to become daemon or transport
truth.
- Kiyo Pro has two UVC extension units. Moving it to a motherboard USB3 port
changed the descriptor path to `root_hub30` / `bcdUSB=0x0320` and exposed
720p/1080p YUY2/MJPG/H264/NV12 at 60 fps, but Windows still reports