Validate Eve provider advertisements

This commit is contained in:
Meta Vens 2026-07-08 23:46:42 +01:00
commit bcfc261efd
7 changed files with 630 additions and 9 deletions

View file

@ -0,0 +1,137 @@
{
"type": "surface-state",
"schema": "gamecult.eve.surface.v1",
"providerId": "aetheria",
"providerKind": "game.runtime",
"title": "Aetheria Interactive World Surface",
"version": 1,
"updatedAtUtc": "2026-07-08T00:00:00Z",
"surface": {
"id": "aetheria.daemon.game",
"root": {
"id": "aetheria.daemon.game.root",
"kind": "surface",
"props": {},
"children": [
{
"id": "aetheria.daemon.game.summary",
"kind": "card",
"props": {
"title": "Daemon World"
},
"children": [
{
"id": "aetheria.daemon.game.summary.text",
"kind": "text",
"props": {
"text": "Provider-owned world state projected through Eve. Unity and web clients lower this document; Aetheria keeps the live truth."
},
"children": []
},
{
"id": "aetheria.daemon.game.frame",
"kind": "metric",
"props": {
"label": "Frame",
"bind": "aetheria.daemon.frameId",
"value": "7"
},
"children": []
}
]
},
{
"id": "aetheria.daemon.game.partition",
"kind": "partition",
"props": {
"direction": "horizontal"
},
"children": [
{
"id": "aetheria.daemon.game.gravity",
"kind": "field.surface2d",
"props": {
"label": "Current Zone Gravity",
"bind": "aetheria.daemon.soaView.gravityField",
"fieldId": "aetheria.zone.gravity",
"fieldKind": "scalar2d",
"bounds": "-2048,-2048,2048,2048",
"bodies": "Terminus:-620:240:1400;GateRelay:420:-110:760;SurveyDrone:80:560:160",
"objects": "station:-410:120;relay:420:-110;drone:80:560",
"sampleCount": "64",
"visualizer": "isolines"
},
"children": []
},
{
"id": "aetheria.daemon.game.commands",
"kind": "card",
"props": {
"title": "Command Boundary"
},
"children": [
{
"id": "aetheria.daemon.game.command.focus",
"kind": "control.button",
"props": {
"label": "Focus Relay",
"command": "aetheria.daemon.commands",
"commandId": "aetheria.daemon.focus",
"action": {
"target": "aetheria.daemon.commands",
"operation": "focus_entity",
"entityId": "GateRelay"
}
},
"children": []
},
{
"id": "aetheria.daemon.game.command.move",
"kind": "control.button",
"props": {
"label": "Issue Move Intent",
"command": "aetheria.daemon.commands",
"commandId": "aetheria.daemon.move_intent",
"action": {
"target": "aetheria.daemon.commands",
"operation": "set_move_vector",
"vector": "0.28,0.0,0.64"
}
},
"children": []
},
{
"id": "aetheria.daemon.game.authority",
"kind": "text",
"props": {
"text": "Commands are intents against Aetheria's typed daemon boundary, not renderer-local game state."
},
"children": []
}
]
}
]
}
]
},
"styles": {
"tokens": {
"colorBackground": "#101318",
"colorPanel": "#1C2526",
"colorText": "#F1F4E8",
"colorMuted": "#A9B3A7",
"colorAccent": "#D6B24A",
"colorDanger": "#C95D63"
}
}
},
"commands": [
{
"command": "aetheria.daemon.commands",
"schema": "gamecult.eve.command.v1",
"transport": "cultmesh",
"authority": "AetheriaRuntimeDaemonCommandBoundaryDocument",
"result": "accepted-denied-or-reconciled"
}
]
}

View file

@ -0,0 +1,157 @@
{
"schema": "gamecult.eve.provider_advertisement.v1",
"providerId": "aetheria",
"serviceId": "aetheria.service",
"verseId": "aetheria.local",
"rootVerse": "asgard",
"canonicalService": "aetheria",
"locatedService": "aetheria.local",
"cultMeshAddress": "cultmesh://aetheria.local/eve/providers/aetheria",
"title": "Aetheria",
"kind": "game.runtime",
"updatedAtUtc": "2026-07-08T00:00:00Z",
"freshness": {
"state": "fixture",
"lastSeenAtUtc": "2026-07-08T00:00:00Z",
"maxAgeMs": 15000
},
"schemas": [
"aetheria.world_state.v1",
"aetheria.item_definition.v1",
"aetheria.corporation.v2",
"aetheria.name_file.v2",
"aetheria.trade_value_policy.v1",
"aetheria.player_settings.v1",
"aetheria.loadout_template.v1",
"aetheria.run_state.v1",
"aetheria.zone_state.v1",
"aetheria.entity_snapshot.v1",
"aetheria.verse_host_settings.v1",
"aetheria.runtime_session.v1",
"aetheria.eve_command_acceptance_status.v1",
"aetheria.runtime.daemon.provider_advertisement.v1",
"aetheria.runtime.daemon.frame.v1",
"aetheria.runtime.daemon.soa_view.v1",
"aetheria.runtime.daemon.health.v1",
"aetheria.runtime.daemon.command_boundary.v1",
"aetheria.runtime.daemon.game_surface.v1",
"aetheria.runtime.daemon.editor_surface.v1",
"aetheria.runtime.daemon.command.v1",
"gamecult.eve.surface.v1",
"gamecult.eve.command.v1"
],
"witnesses": [
{
"kind": "repo",
"ref": "E:\\Projects\\Aetheria",
"summary": "Aetheria owns daemon state, Unity/web clients, assets, receipts, and provider scenarios."
},
{
"kind": "source",
"ref": "E:\\Projects\\Aetheria\\Aetheria.State\\AetheriaEveSurfaceDocuments.cs",
"summary": "BuildProviderAdvertisement publishes the live provider advertisement from typed Aetheria state."
},
{
"kind": "cultcache",
"ref": "aetheria-world.cc",
"summary": "Typed Aetheria state file; local fixture stands in for smoke-created path."
},
{
"kind": "cultmesh-record",
"ref": "AetheriaRuntimeVerseRecordKeys.DaemonGameSurface",
"summary": "Aetheria daemon game Eve GUI surface record."
},
{
"kind": "cultmesh-record",
"ref": "AetheriaRuntimeVerseRecordKeys.DaemonCommandBoundary",
"summary": "Aetheria daemon typed command boundary record."
}
],
"surfaces": [
{
"schema": "gamecult.eve.surface.v1",
"surfaceId": "aetheria.catalog.operator",
"key": "eve:surface:aetheria.catalog.operator",
"transport": "cultmesh-managed",
"status": "available",
"audience": "operator",
"mode": "interactive"
},
{
"schema": "gamecult.eve.surface.v1",
"surfaceId": "aetheria.operations",
"key": "eve:surface:aetheria.operations",
"transport": "cultmesh-managed",
"status": "available",
"audience": "operator",
"mode": "interactive"
},
{
"schema": "gamecult.eve.surface.v1",
"surfaceId": "aetheria.daemon.game",
"key": "AetheriaRuntimeVerseRecordKeys.DaemonGameSurface",
"transport": "cultmesh-record",
"status": "available",
"audience": "player",
"mode": "interactive",
"summary": "Authoritative daemon game surface consumed by Unity and web lowerers."
},
{
"schema": "gamecult.eve.surface.v1",
"surfaceId": "aetheria.daemon.game.tui",
"key": "AetheriaRuntimeVerseRecordKeys.DaemonGameTuiSurface",
"transport": "cultmesh-record",
"status": "available",
"audience": "agent",
"mode": "interactive"
},
{
"schema": "gamecult.eve.surface.v1",
"surfaceId": "aetheria.daemon.editor",
"key": "AetheriaRuntimeVerseRecordKeys.DaemonEditorSurface",
"transport": "cultmesh-record",
"status": "available",
"audience": "operator",
"mode": "interactive"
}
],
"commands": [
{
"command": "aetheria.daemon.commands",
"transport": "cultmesh",
"summary": "Aetheria daemon typed command boundary."
},
{
"command": "aetheria.catalog.refresh",
"transport": "cultmesh",
"summary": "Refresh catalog state."
},
{
"command": "aetheria.operations.refresh",
"transport": "cultmesh",
"summary": "Refresh operations state."
},
{
"command": "aetheria.player_settings.refresh",
"transport": "cultmesh",
"summary": "Refresh player settings state."
}
],
"styleCapabilities": [
{
"styleProfile": "aetheria.daemon.world",
"preferredLowerings": ["unity-uitoolkit", "web-reference", "tui"],
"tokenGroups": ["aetheria.world", "aetheria.daemon", "aetheria.commandBoundary"],
"lossiness": {
"web-reference": "proves generic Eve lowering and command/binding shape; does not own Aetheria assets or simulation truth",
"tui": "dense command/state inspection only"
}
}
],
"contacts": [
{
"kind": "repo",
"path": "E:\\Projects\\Aetheria"
}
]
}

View file

@ -18,6 +18,13 @@ let liveHermodr = false;
let openProviderGeneration = 0;
const localProviders = [
{
providerId: "aetheria",
title: "Aetheria",
kind: "game.runtime",
advertisement: "./fixtures/aetheria.provider-advertisement.json",
surfaces: [{ transport: "local-json", surfaceId: "aetheria.daemon.game", url: "./fixtures/aetheria-world-surface.json" }],
},
{
providerId: "repixelizer",
title: "Repixelizer",
@ -92,6 +99,7 @@ async function bootProviders() {
}));
const requestedProviderId = new URLSearchParams(location.search).get("provider");
const firstProduct = providers.find(provider => provider.providerId === requestedProviderId || provider.aliases?.includes(requestedProviderId))
|| providers.find(provider => provider.providerId === "aetheria")
|| providers.find(provider => provider.providerId === "aetheria.main_menu.root")
|| providers.find(provider => provider.providerId === "aetheria.inventory.panel")
|| providers.find(provider => provider.providerId === "repixelizer")