diff --git a/README.md b/README.md index 891c785..bb2ab75 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,11 @@ Odin is the GameCult all-seer: the central CultMesh node every Verse can use to It is not the renderer. It is not Eve. It is not a Starfire utility script wearing a bigger coat. Odin owns discovery, schema awareness, translation planning, and accepted operator surfaces. Eve and the Nightwing compact TUI lower Odin's published CultUI surface into whatever body they have. +Odin is also the compliance witness for the GameCult service architecture: +durable service state in CultCache `.cc`, local Verse visibility through +CultMesh, meaningful dashboards as Eve GUI/TUI DSL, and renderers as lowerers +only. + ## Authority Map - Owner: Odin owns the network-wide Verse registry, schema catalog index, translation map, and the accepted `odin.allseer` Eve surface. diff --git a/docs/architecture.md b/docs/architecture.md index 9d1b30e..2a4b94e 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -60,6 +60,32 @@ Verse announcement - CultCache is the durable state substrate; CultNet is the wire vocabulary; CultMesh is the Verse and peer-consensus layer. - The Eve surface carries explicit `verse`, `service`, and `observation-stream` nodes. Compact renderers may derive visual facets from those nodes, but may not invent observation truth. +## Service Architecture Contract + +Odin is the witness for the GameCult service contract: + +```text +durable service state -> CultCache .cc +shared local visibility -> CultMesh +interactive operator surface -> Eve GUI/TUI DSL +discovery and aggregation -> Odin +renderer bodies -> Eve clients, browser, compact TUI, native surfaces, overlays +``` + +When Odin sees a service, it should be able to answer: + +- What Verse owns this service? +- Which typed schemas does it publish? +- Where is its durable `.cc` state or CultCache-compatible store? +- Which CultMesh documents or providers make it visible locally? +- Which Eve GUI/TUI surface represents its meaningful operator interface? +- Which command boundary accepts, denies, forwards, or reconciles user intent? +- Which fields are stale, predicted, denied, or authoritative? + +This is not a reporting nicety. It is how Odin prevents services from becoming +private little islands with separate dashboards, separate state formats, and +separate command languages. + ## Current Service Surface Odin currently publishes service squares for: @@ -80,6 +106,12 @@ Odin discovers Eve deck provider manifests from known deck endpoints and LAN hos This is the model for future services: if a service publishes an operator interface, ingest the Eve/CultUI composition graph and lower it. Do not collapse it into a service-status tile unless the graph is unavailable and the tile is explicitly a temporary probe. +The expected provider output is Eve DSL or an equivalent +`gamecult.eve.surface.v1` retained tree. GUI and TUI are lowerings of the same +interactive language; they are not separate dashboard products. Huginn's `.cc` +inspection surface is the current clean example: Huginn inspects CultCache bytes +and emits Eve DSL, while Eve or any other runtime owns presentation. + Odin persists operator layout intent as `odin.interface_layout.v1` under `scratch/odin/interface-layout.json` for the current Starfire body. The durable CultMesh document should replace this local file once the layout schema is promoted. Layout intents name the provider id and request focus, move, resize, or visibility changes; renderers are input devices for those intents, not local layout owners. ## Current Observation Surface