From 9f1d34f3410b254e22690f7d738d405d49579e3b Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 16 Jun 2026 00:45:48 +0100 Subject: [PATCH] Publish Nightwing Muninn health over RUDP --- docs/muninn.md | 7 +++++++ scripts/health-nightwing-muninn.ps1 | 8 ++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/muninn.md b/docs/muninn.md index 0ac195c..71325ca 100644 --- a/docs/muninn.md +++ b/docs/muninn.md @@ -216,3 +216,10 @@ PID, and logs under With that Move state source attached, `serve` also publishes the `muninn:nightwing:move-evidence` CultMesh stream frame body that Mimir's native Move evidence reservoir consumes. +Nightwing source discovery must emit one Move source per controller id. The USB +pairing collection and Bluetooth joystick can expose the same controller as +separate `/dev/input/js*` paths; `nightwing-move-state-sources.sh` prefers the +Bluetooth `HID_ID=0005:0000054C:000003D5` path so Idunn health does not demand +fresh records from two faces of the same controller. The Nightwing health +actuator publishes `nightwing-muninn` health over RUDP to Starfire Idunn at +`10.77.0.2:17870`. diff --git a/scripts/health-nightwing-muninn.ps1 b/scripts/health-nightwing-muninn.ps1 index fee2e90..eaa587b 100644 --- a/scripts/health-nightwing-muninn.ps1 +++ b/scripts/health-nightwing-muninn.ps1 @@ -4,7 +4,8 @@ param( [string] $StorePath = "/home/metacrat/.local/state/gamecult/muninn/muninn.telemetry.cc", [string] $PidPath = "/home/metacrat/.local/state/gamecult/muninn/muninn.pid", [string[]] $MoveState = @(), - [int] $IntervalSeconds = 15 + [int] $IntervalSeconds = 15, + [string] $IdunnRudpHealth = "10.77.0.2:17870" ) $ErrorActionPreference = "Stop" @@ -42,7 +43,10 @@ set -- --health \ --host nightwing $moveStateSetLines set -- "`$@" \ - --interval-seconds '$IntervalSeconds' + --interval-seconds '$IntervalSeconds' \ + --idunn-rudp-health '$IdunnRudpHealth' \ + --idunn-daemon 'nightwing-muninn' \ + --idunn-health-contract 'muninn.cultnet-rudp-remote-telemetry-and-move-hid' '$MuninnExe' "`$@" "@