Hermodr leaves Odin

Hermodr is a browser lowering, not an all-seer organ. It lived here as Node
inside a Rust repository, sharing a module directory with the coordinator, and
until this week it ran its own provider ingress and accepted publications into a
private store. The ingress went first on purpose: extracting it beforehand would
have relocated a second acceptance authority and called that progress.

Removed: the daemon, its provider subscription source and state stream, both
test files, four lifecycle scripts, the persona avatar, the hermodr:start
script, and src/odin/utils.cjs, whose only remaining consumer was Hermodr and
which it used for one of six functions.

src/odin/ falls from fourteen modules to eleven. The CommonJS surface falls from
sixteen files to twelve. What is left is the coordinator, the Rust organs, and
two adapters declaring contracts other repositories own.

The plan document stays as the record of what left and why. Phase 5, static
lowering, is Hermodr's business now.

5 tests pass, syntax check clean over twelve files.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-06 19:46:06 +02:00
commit 3f22fd1d76
13 changed files with 20 additions and 2173 deletions

View file

@ -200,16 +200,26 @@ replaces the private store behind the existing port, the ingress and its options
are gone, and `src/odin/` is down to twelve modules. Verified by unit tests;
behaviour against a live provider over RUDP remains an operator step.
**Phase 3 — Publish the document contract.** `documents.cjs` becomes a package
consumed by both Odin and Hermodr.
**Phase 3 — Publish the document contract. Done.** The 45 definitions are
`cultcache-ts`'s `defineSwarmDocuments`, verified byte-identical to what
`documents.cjs` produced. Odin keeps a 26-line adapter under the name its
consumers already call. `utils.cjs` left with Hermodr, which used one of its six
functions.
**Phase 4 — Extract.** Move the daemon, state stream, tests, lifecycle scripts,
and the Hermodr-only modules to `GameCult/Hermodr`. MIT, matching the rest of the
chain, so a self-hosting creator may actually run it.
**Phase 4 — Extract. Done.** `GameCult/Hermodr`, MIT, sixteen files. The three
dependencies on Odin were resolved rather than carried: the catalog comes from
CultLib, Idunn's health contract is declared locally over the CultLib transport
with `sourceRuntimeId` `hermodr`, and `parseArgs` is seventeen lines of
`args.cjs`. `src/odin/` is down from fourteen modules to eleven, and Odin's
CommonJS surface from sixteen files to twelve.
**Phase 5 — Static lowering.** Library plus CLI in the new repository, runnable
without starting the daemon. Requiring the daemon reintroduces the dependency
static lowering exists to remove.
**Phase 5 — Static lowering. Not started, and no longer this repository's
business.** Library plus CLI in `GameCult/Hermodr`, runnable without starting
the daemon. Requiring the daemon reintroduces the dependency static lowering
exists to remove.
This document stays here as the record of what left Odin and why. The work it
describes now happens in Hermodr.
## Verification