Add lazy Muninn telemetry organ
This commit is contained in:
parent
6ad39e776e
commit
b63f8e4241
21 changed files with 863 additions and 44 deletions
40
docs/muninn.md
Normal file
40
docs/muninn.md
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# Muninn
|
||||
|
||||
Muninn is Odin's portable local telemetry Verse assembler.
|
||||
|
||||
It runs on a device body and publishes a typed CultMesh/CultCache surface for
|
||||
what that body can sense or expose locally: screen capture, loopback audio,
|
||||
microphones, cameras, and future sensors.
|
||||
|
||||
## Authority
|
||||
|
||||
- Owner: Muninn owns local telemetry discovery, stream affordance publication,
|
||||
and explicit activation of requested local streams.
|
||||
- Inputs: cheap local probes, operator or Verse activation requests, and local
|
||||
capture tools such as FFmpeg or WASAPI helpers.
|
||||
- Outputs: `muninn.telemetry_surface.v1` and active `muninn.capture_stream.v1`
|
||||
records.
|
||||
- Forbidden writers: daemon startup, Idunn keepalive, Mimir ingest, OBS, Odin,
|
||||
Gjallar, and renderer bodies must not start capture by implication.
|
||||
|
||||
## Runtime
|
||||
|
||||
```powershell
|
||||
cargo build -p muninn-daemon
|
||||
muninn serve --store C:\Meta\Odin\state\muninn.telemetry.cc --interval-seconds 15
|
||||
muninn --health --store C:\Meta\Odin\state\muninn.telemetry.cc
|
||||
```
|
||||
|
||||
`serve` is cheap and idle. It publishes affordances and keeps the local Verse
|
||||
surface fresh without starting FFmpeg, screen capture, microphone capture, or
|
||||
loopback capture.
|
||||
|
||||
Activation is explicit:
|
||||
|
||||
```powershell
|
||||
.\scripts\activate-muninn-raven-av-srt.ps1
|
||||
```
|
||||
|
||||
That Raven activation starts the requested screen and Realtek loopback stream
|
||||
and publishes `muninn.capture_stream.v1`. Mimir and OBS are stream consumers;
|
||||
they do not own Muninn.
|
||||
Loading…
Reference in a new issue