Align Idunn contracts with CultNet RUDP doctrine
This commit is contained in:
parent
83760e9cd8
commit
c02df04401
6 changed files with 91 additions and 48 deletions
|
|
@ -63,14 +63,22 @@ Odin's executable body is split by ownership:
|
|||
- `src/odin-coordinator.cjs`: process lifecycle, refresh loop, persistence, health, and transport wiring.
|
||||
- `src/odin/config.cjs`: runtime paths, seed deck URLs, intervals, and CultLib module path setup.
|
||||
- `src/odin/documents.cjs`: CultCache/CultMesh document definitions accepted by Odin.
|
||||
- `src/odin/probes.cjs`: local Docker/ADB/TCP probes plus named SSH service and GPU probes.
|
||||
- `src/odin/probes.cjs`: local Docker/ADB probes plus demoted TCP/SSH/GPU
|
||||
compatibility probes while daemon CultLib dependencies migrate to CultNet
|
||||
RUDP health publication.
|
||||
- `src/odin/observations.cjs`: Mimir observation ledger tailing and dashboard-ready stream projection.
|
||||
- `src/odin/interfaces.cjs`: Eve provider manifest discovery, provider WebSocket fetches, provider advertisements, and CultMesh interface bindings.
|
||||
- `src/odin/interfaces.cjs`: Eve provider manifest discovery, provider
|
||||
WebSocket fetches, provider advertisements, and CultMesh interface bindings.
|
||||
WebSocket fetches are compatibility input adapters, not the desired daemon
|
||||
transport.
|
||||
- `src/odin/layout.cjs`: `odin.interface_layout.v1` read/write and merge policy.
|
||||
- `src/odin/marquee.cjs`: canonical marquee tape assembly from Stonks securities and ordered VoidBot poem lines.
|
||||
- `src/odin/surface.cjs`: `gamecult.eve.surface.v1` tree projection.
|
||||
- `src/odin/state.cjs`: one refresh's input records into Odin's provider catalog/proxy state.
|
||||
- `src/odin/websocket.cjs`: Eve deck HTTP/WebSocket serving and client WebSocket helpers.
|
||||
- `src/odin/websocket.cjs`: Eve deck HTTP/WebSocket serving and client
|
||||
WebSocket helpers. This is a compatibility bridge for current
|
||||
dashboard/lowering clients until CultNet RUDP provider subscriptions replace
|
||||
it.
|
||||
|
||||
The entrypoint is not allowed to grow new probe, surface, provider, layout, or renderer policy. If a new owner is needed, name the owner and its invariant before adding code.
|
||||
|
||||
|
|
@ -212,7 +220,9 @@ Odin currently publishes service squares for:
|
|||
- Periwinkle: ADB reachability.
|
||||
- Periwinkle: latest typed motion, microphone, touch, and camera stream summaries from Mimir's CultMesh observation ledger when present.
|
||||
- Raven: SSH reachability.
|
||||
- Yggdrasil: SSH/HTTP/HTTPS reachability plus nginx, StreamPixels, Heimdall, Repixelizer, and Bifrost systemd state.
|
||||
- Yggdrasil: compatibility SSH/HTTP/HTTPS reachability plus nginx,
|
||||
StreamPixels, Heimdall, Repixelizer, and Bifrost systemd state until those
|
||||
daemon surfaces publish health and command boundaries over CultNet RUDP.
|
||||
|
||||
Gjallar consumes Odin's deck and composes these surfaces into the Nightwing
|
||||
display. Nightwing is the host/body; Gjallar is the terminal product running
|
||||
|
|
@ -240,7 +250,9 @@ Daemons should publish advertisements that name service id, Verse id, schema
|
|||
catalog, `.cc` witnesses, Eve surface keys, command boundaries, nested Verses,
|
||||
style capabilities, freshness, and redaction policy. Once an advertisement is
|
||||
available, Odin should prefer it over LAN scans, hardcoded deck URLs, private
|
||||
layout files, or web-dashboard scraping.
|
||||
layout files, or web-dashboard scraping. Daemon health and provider state
|
||||
should publish through `cultnet.transport.rudp.v0`; TCP, HTTP, and WebSocket
|
||||
routes are compatibility exports only and must not become daemon-owned truth.
|
||||
|
||||
Provider advertisements should also publish semantic CultMesh addresses in this
|
||||
shape:
|
||||
|
|
@ -264,7 +276,8 @@ relocation, such as `asgard.bifrost`. Located service addresses name the current
|
|||
host, such as `asgard.starfire.bifrost` now and
|
||||
`asgard.yggdrasil.bifrost` after migration. CultNet routes are transport
|
||||
metadata for resolving those names. WebSocket URLs remain compatibility deck
|
||||
bridges, not native service identity.
|
||||
bridges, not native service identity; native daemon transport is CultNet over
|
||||
the shared RUDP profile.
|
||||
|
||||
The canonical contract lives in
|
||||
`E:\Projects\Eve\docs\provider-advertisement-contract.md`.
|
||||
|
|
|
|||
|
|
@ -38,8 +38,11 @@ body they are being lowered into.
|
|||
|
||||
- `E:\Projects\Gjallar` is Gjallar's executable C# runtime repo.
|
||||
- `Gjallar.csproj` builds the Nightwing framebuffer compositor.
|
||||
- Gjallar consumes Odin's provider catalog over HTTP/WebSocket, defaulting to
|
||||
`ws://192.168.1.66:8797/eve/deck` with no fixed provider id.
|
||||
- Gjallar currently consumes Odin's provider catalog over the compatibility
|
||||
HTTP/WebSocket deck bridge, defaulting to `ws://192.168.1.66:8797/eve/deck`
|
||||
with no fixed provider id. The target input path is a native CultNet
|
||||
subscription over `cultnet.transport.rudp.v0`; the WebSocket bridge is not
|
||||
daemon-owned truth.
|
||||
- The old Rust `crates/gjallar-daemon` and `gjallar.overview` records were cut
|
||||
because they created an intermediate composition owner that did nothing Odin
|
||||
and Gjallar's live renderer could not explain directly.
|
||||
|
|
|
|||
|
|
@ -17,9 +17,10 @@ escalation, and continuity witness state.
|
|||
daemon lives: bring-up after host reboot, deployment freshness, crash
|
||||
recovery, health watching, deploy/restart policy, and operator escalation.
|
||||
- Inputs: Odin's accepted service records, provider advertisements, `.cc`
|
||||
witnesses, advertised command boundaries, health contracts, freshness
|
||||
windows, operator policy, local service manager state, and direct local
|
||||
service probes only when no provider advertisement exists.
|
||||
witnesses, advertised command boundaries, CultNet/RUDP health contracts,
|
||||
freshness windows, operator policy, local service manager state, and demoted
|
||||
compatibility probes only while daemon CultLib dependencies still lack the
|
||||
shared RUDP health publication path.
|
||||
- Outputs: typed keepalive observations, deployment requests/results, restart
|
||||
requests/results, denied-action records, operator alarms, Bifrost
|
||||
operator-notification requests, and an Eve/CultUI keepalive surface.
|
||||
|
|
@ -104,11 +105,19 @@ idunn.operator_alarm.v1
|
|||
- Restart attempts must be witnessed: requested by whom, against which service,
|
||||
through which command boundary, with what result and timestamp.
|
||||
- Health command exit status is not daemon awareness by itself. Every Idunn
|
||||
target must declare a health contract naming what the probe proves and what
|
||||
unmarked failure means. `idunn.desired_daemon.v1` and
|
||||
target must declare a daemon-owned CultNet/RUDP health contract naming what
|
||||
health publication should prove and what unmarked failure means.
|
||||
`idunn.desired_daemon.v1` and
|
||||
`idunn.daemon_health.v1` both record that contract so later readers can
|
||||
distinguish process liveness, HTTP health, source deployment freshness,
|
||||
framebuffer composition, telemetry capture, and catalog coherence.
|
||||
distinguish process liveness, source deployment freshness, framebuffer
|
||||
composition, telemetry capture, and catalog coherence without mistaking a
|
||||
temporary HTTP/WebSocket/SSH/systemd probe for the real protocol surface.
|
||||
- The Starfire-local shell probes are compatibility evidence, not the target
|
||||
architecture. A daemon is fully Idunn-aware only when it publishes its health,
|
||||
command boundary, and transport profile as typed CultNet/CultMesh documents
|
||||
over `cultnet.transport.rudp.v0`. TCP, HTTP, WebSocket, and ad hoc port probes
|
||||
are migration debt, tolerated only at xenos/legacy boundaries and while the
|
||||
daemon's CultLib dependency has not yet been updated.
|
||||
- A stale deployment is not restartable liveness. If a target reports
|
||||
`stale-deployment` without deploy authority, Idunn must alarm instead of
|
||||
restarting the stale artifact. If a target reports `dependency-unavailable`
|
||||
|
|
@ -181,10 +190,12 @@ The local swarm mode owns:
|
|||
6. recovery of fast local targets like Odin without waiting behind slow remote
|
||||
Yggdrasil checks.
|
||||
|
||||
Next: ingest Odin-owned service/provider advertisements directly, promote the
|
||||
target catalog out of hardcoded bootstrap data, add named adapters for Windows
|
||||
services, systemd, Docker, and provider-advertised CultMesh commands, then
|
||||
Next: update daemon CultLib dependencies to the cross-runtime
|
||||
`cultnet.transport.rudp.v0` surface, ingest Odin-owned service/provider
|
||||
advertisements directly, promote the target catalog out of hardcoded bootstrap
|
||||
data, add named adapters only for legacy service-manager crossings, then
|
||||
publish an Eve/CultUI keepalive surface.
|
||||
|
||||
No ad hoc JSON manifest may become the live state owner. Debug projections are
|
||||
fine when they name the `.cc` record or CultMesh document behind them.
|
||||
No ad hoc JSON manifest, HTTP endpoint, TCP socket, or WebSocket bridge may
|
||||
become the live state owner. Debug projections are fine when they name the
|
||||
`.cc` record, CultNet document, or CultMesh publication behind them.
|
||||
|
|
|
|||
Loading…
Reference in a new issue