Odin/src
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
..
odin Reduce Odin's Idunn health publisher to Idunn's contract 2026-09-06 19:29:53 +02:00
hermodr-daemon.cjs Hermodr reads providers instead of accepting from them 2026-09-06 18:41:39 +02:00
hermodr-provider-subscription.cjs Hermodr reads providers instead of accepting from them 2026-09-06 18:41:39 +02:00
hermodr-state-stream.cjs Ingest live provider session state 2026-07-15 01:45:23 +01:00
odin-coordinator.cjs Serialize Odin provider document persistence 2026-08-23 19:41:59 +02:00