Muninn/README.md

48 lines
2.2 KiB
Markdown

# Muninn
> **Streaming stack removed (2026-12-03).** Muninn's deprecated A/V streaming
> role (screen and loopback-audio capture, the media sender, and Ratatoskr OBS
> receiver wiring) has been removed from `main` and archived at tag
> `parked/muninn-media-streaming-2026-12-03` (see
> [docs/streaming-deprecation.md](docs/streaming-deprecation.md)). The
> non-streaming roles (PS Move, Quest, HID/XInput forwarding to Sleipnir, and
> Idunn presence) are live.
**Local sensor and HID broker for the GameCult swarm.**
Muninn reads PS Move controllers and optical markers, HID and XInput gamepads,
and Quest state, and serves typed records and low-latency RUDP HID streams to
CultMesh peers such as Sleipnir and Mimir.
**Naming note.** Older docs say "Ratatoskr" for the archived OBS media receiver,
which lives at [github.com/GameCult/Ratatoskr](https://github.com/GameCult/Ratatoskr)
(forge mirror:
[GameCult/Ratatoskr-receiver](https://eureka.gamecult.org/forge/GameCult/Ratatoskr-receiver)).
The forge repo `GameCult/Ratatoskr` is an unrelated project, Void's Cinny-based chat client.
Extracted from [Odin](https://github.com/GameCult/Odin) with its full history;
Muninn's own record contracts live in `muninn-contracts`.
---
## Status
`muninn-contracts`, `muninn-daemon` (`Move`, `Quest`, HID, and
`idunn_presence.rs`), `muninn-move-tracker`, `muninn-psmoveapi-tracker`, and
`sleipnir-daemon` build and test on the workspace. Both `muninn-daemon` and
`sleipnir-daemon` read `odin-core` strictly for Odin's external
`EveProviderAdvertisementRecord` discovery surface (`muninn-daemon` publishes
its advertised HID RUDP endpoint lease via `EveProviderAdvertisementRecord`, and
`sleipnir-daemon` resolves it via `odin_core::discover_provider_endpoints`).
## Authority
- **Owner:** Muninn owns local source enumeration, HID RUDP serving, Quest
state publishing, and Move tracking/hue-program state.
- **Input:** locally reachable controllers, optical trackers, and Quest state.
- **Output:** low-latency RUDP HID frames and typed CultMesh/CultCache sensor
and Move records.
- **Not Muninn's:** discovery and rendezvous (Odin), deployment and runtime
presence policy (Idunn), the hue programs that decide what colour a Move
should be (Mimir), and Sleipnir's virtual HID output.