From 907db013291b8eb71d6f0c86d66b1c41d071d4d3 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 6 Sep 2026 19:30:34 +0200 Subject: [PATCH] Record Phase 1 as done by splitting rather than moving The plan said move idunn-rudp.cjs to Idunn. Reading it first showed that would relocate 311 lines of generic CultNet transport into a Rust repository and hand Odin a fragile sibling-path dependency. The split was taken instead: transport to CultLib beside the RUDP session it builds on, constants documented by Idunn, a 65-line adapter left in Odin declaring that contract. Phases 1 and 2 are both complete. documents.cjs is now the only genuinely shared dependency standing between Odin and a future Hermodr repository, which makes it Phase 3's single remaining question. Co-Authored-By: Claude Opus 5 --- docs/hermodr-extraction-plan.md | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/docs/hermodr-extraction-plan.md b/docs/hermodr-extraction-plan.md index 50a0af5..39a0ad9 100644 --- a/docs/hermodr-extraction-plan.md +++ b/docs/hermodr-extraction-plan.md @@ -189,8 +189,11 @@ entry to that same package rather than a second package. ## Phases -**Phase 1 — Idunn RUDP client. Blocked on a decision; see below.** The move as -originally specified is wrong and was not carried out. +**Phase 1 — Idunn RUDP client. Done, as a split.** The transport moved to +CultLib as `cultnet-ts`'s `signed-daemon-health`; Idunn now documents its +connection id and schema names; Odin keeps a 65-line adapter that declares that +contract. The whole-file move originally specified was not carried out, for the +reasons below. **Phase 2 — Delete the ingress, in place. Done.** `ProviderSubscriptionSource` replaces the private store behind the existing port, the ingress and its options @@ -235,7 +238,7 @@ Negative, and these are the ones that prove the authority moved: - Static output contains no command controls that appear operable. A dead button in a static page is a lie about a back-channel that does not exist. -## Why Phase 1 did not happen as written +## Why Phase 1 was split rather than moved Reading `idunn-rudp.cjs` before moving it changed the answer. Of its 324 lines, 13 mention Idunn, and most of those are error message strings. The genuinely @@ -266,8 +269,19 @@ Three options, in the order I would rank them: 3. **Move it whole to Idunn.** As originally written. Cheapest to type, and it puts transport code where it does not belong while adding a fragile path. -Option 1 is a larger job than this phase assumed and touches CultLib, so it -wants an explicit decision rather than being folded in quietly. +Option 1 was chosen and carried out. `idunn-rudp.cjs` fell from 324 lines to 65: +Idunn's three constants and the call shapes Odin's consumers already use. +`packages/cultnet-ts/src/signed-daemon-health.ts` holds the transport, taking +the contract as a parameter. Idunn's +`docs/signed-daemon-health-authority.md` gained the wire-contract table it was +missing — the connection id had existed only in this consumer's code. + +Both the moved module and the adapter dropped the sibling-path assumption on the +way, honouring `CULTLIB_ROOT` instead of walking up three directories from +wherever the file happens to sit. + +Phase 3's remaining decision is unchanged: `documents.cjs` is now the only +genuinely shared dependency left between Odin and a future Hermodr. ## Open questions for the operator