Odin/test
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens ac3336adeb Reduce Odin's Idunn health publisher to Idunn's contract
idunn-rudp.cjs was 324 lines of which almost none were about Idunn. The
transport moved to CultLib as cultnet-ts's signed-daemon-health module, beside
the RUDP session it was already built on. What is left here is 65 lines: the
three constants naming Idunn's wire contract, and the call shapes Odin's
consumers already use.

The constants are declared, not decided. Idunn defines them in
docs/signed-daemon-health-authority.md, which until today did not state the
connection id at all -- the value describing how to reach Idunn existed only in
this consumer. Declaring two constants against a documented contract is not
duplicated authority; duplicating 311 lines of transport across Odin and a
future Hermodr repository would have been.

The module also stops resolving CultLib by walking up three directories from its
own location. It now honours CULTLIB_ROOT with that walk as a fallback, matching
what hermodr-daemon.cjs already did. The old assumption held only while Odin sat
beside CultLib, and Erycina broke on exactly that when it moved.

The signed-health test now supplies IDUNN_HEALTH_CONTRACT to the publisher it
builds by hand, and still asserts the literal wire values, so a change to the
contract constants fails loudly rather than being absorbed.

Verified: 22 tests pass across six files, including signature verification
against the relocated implementation, and the syntax check is clean.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-06 19:29:53 +02:00
..
ghostlight-discovery-documents.test.cjs Persist Ghostlight public schema catalogs 2026-08-23 19:31:47 +02:00
heimdall-discovery-documents.test.cjs Register Heimdall access discovery documents 2026-08-22 03:53:10 +02:00
hermodr-catalog.test.cjs Expose typed Eve surfaces beyond loopback 2026-08-25 03:56:53 +02:00
hermodr-provider-subscription.test.cjs Hermodr reads providers instead of accepting from them 2026-09-06 18:41:39 +02:00
idunn-signed-health.test.cjs Reduce Odin's Idunn health publisher to Idunn's contract 2026-09-06 19:29:53 +02:00
provider-ingress.test.cjs Unwrap Rust provider advertisements 2026-07-12 20:00:19 +01:00