From d419a6f0e17809e90522819fd100b8bf0fe463e6 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 24 Aug 2026 21:46:02 +0200 Subject: [PATCH] Use Idunn daemon-health transport contract --- src/daemon.rs | 2 +- src/idunn_health.rs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/daemon.rs b/src/daemon.rs index e9dafef..982a86e 100644 --- a/src/daemon.rs +++ b/src/daemon.rs @@ -398,7 +398,7 @@ pub enum CodexDaemonError { #[error("connector request thread failed")] Thread(#[source] std::io::Error), #[cfg(target_os = "linux")] - #[error("connector health publication could not start")] + #[error("connector health publication could not start: {0}")] Health(#[source] anyhow::Error), #[cfg(target_os = "linux")] #[error("connector health thread could not start")] diff --git a/src/idunn_health.rs b/src/idunn_health.rs index da58272..c5e06c7 100644 --- a/src/idunn_health.rs +++ b/src/idunn_health.rs @@ -28,7 +28,9 @@ const SIGNATURE_DOMAIN: &[u8] = b"gamecult.provider-health.signature.v1\0"; const SIGNATURE_PURPOSE: &[u8] = b"idunn.signed_daemon_health.v1"; const PROTECTOR_CONTEXT: &str = "gamecult-provider-health-identity-v1"; const RUDP_PROTOCOL_ID: &str = "cultnet.transport.rudp.v0"; -const RUDP_CONNECTION_ID: u32 = 0x1d0d_0004; +// Idunn's daemon-health ingress owns one shared RUDP connection contract. +// Publisher identity is carried by the signed record, not by transport IDs. +const RUDP_CONNECTION_ID: u32 = 0x1d0d_0001; #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] struct ProviderHealthIdentity {