From da46df7b5575910dd9cf778971e4d46e38c848ee Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 10 Jul 2026 10:19:10 +0100 Subject: [PATCH] Own Eve provider conformance pack --- conformance/eve/README.md | 6 + conformance/eve/aetheria-world-scenario.json | 87 +++++++ .../aetheria-world-surface.conformance.json | 26 ++ conformance/eve/aetheria-world-surface.json | 230 ++++++++++++++++++ .../eve/aetheria.provider-advertisement.json | 201 +++++++++++++++ ...a.unity-playable-world-asset-manifest.json | 21 ++ conformance/eve/provider-pack.json | 17 ++ scripts/verify-eve-conformance-pack.mjs | 37 +++ 8 files changed, 625 insertions(+) create mode 100644 conformance/eve/README.md create mode 100644 conformance/eve/aetheria-world-scenario.json create mode 100644 conformance/eve/aetheria-world-surface.conformance.json create mode 100644 conformance/eve/aetheria-world-surface.json create mode 100644 conformance/eve/aetheria.provider-advertisement.json create mode 100644 conformance/eve/aetheria.unity-playable-world-asset-manifest.json create mode 100644 conformance/eve/provider-pack.json create mode 100644 scripts/verify-eve-conformance-pack.mjs diff --git a/conformance/eve/README.md b/conformance/eve/README.md new file mode 100644 index 000000000..6cbfc8dcf --- /dev/null +++ b/conformance/eve/README.md @@ -0,0 +1,6 @@ +# Aetheria Eve Conformance Pack + +Provider-owned evidence for Aetheria's interactive world surfaces. The daemon +owns world state, authored surfaces, assets, commands, and receipts. Eve and its +runtime repos consume this pack through contract paths; they do not own copies. + diff --git a/conformance/eve/aetheria-world-scenario.json b/conformance/eve/aetheria-world-scenario.json new file mode 100644 index 000000000..7c599818c --- /dev/null +++ b/conformance/eve/aetheria-world-scenario.json @@ -0,0 +1,87 @@ +{ + "schema": "gamecult.eve.provider_scenario.v1", + "scenarioId": "aetheria-world-command-replay", + "providerId": "aetheria", + "ownerRepo": "Aetheria", + "advertisementPath": "conformance/eve/aetheria.provider-advertisement.json", + "surfaceFixture": "aetheria-world", + "purpose": "Proves Aetheria interactive world clients consume provider advertisements, lower provider-owned game surfaces, issue command intents through the daemon boundary, and receive provider-owned receipts.", + "requires": { + "fixtures": ["aetheria-world"], + "surfaces": ["aetheria.daemon.game", "aetheria.daemon.editor"], + "worldSurfaces": [ + { + "surfaceId": "aetheria.daemon.game", + "surfaceKind": "interactive-world", + "projectionKind": "provider-authored-world-surface", + "commandBoundary": "aetheria.daemon.commands", + "receiptSchema": "aetheria.eve_command_acceptance_status.v1" + }, + { + "surfaceId": "aetheria.daemon.editor", + "surfaceKind": "interactive-world-editor", + "projectionKind": "provider-authored-world-editor-surface", + "commandBoundary": "aetheria.daemon.commands", + "receiptSchema": "aetheria.eve_command_acceptance_status.v1" + } + ], + "commands": ["aetheria.daemon.commands"], + "schemas": ["gamecult.eve.surface.v1", "gamecult.eve.command.v1", "gamecult.eve.command_invocation.v1", "aetheria.eve_command_acceptance_status.v1"] + }, + "commandIntents": [ + { + "command": "aetheria.daemon.commands", + "commandId": "aetheria.daemon.focus", + "operation": "focus_entity", + "payload": { + "entityId": "GateRelay" + } + }, + { + "command": "aetheria.daemon.commands", + "commandId": "aetheria.daemon.move_intent", + "operation": "set_move_vector", + "payload": { + "vector": [0.28, 0.0, 0.64] + } + }, + { + "command": "aetheria.daemon.commands", + "commandId": "aetheria.daemon.editor.inspect", + "operation": "inspect_world_entity", + "payload": { + "surfaceId": "aetheria.daemon.editor", + "entityId": "GateRelay" + } + } + ], + "expectedReceipts": [ + { + "receiptId": "aetheria.daemon.focus.accepted", + "command": "aetheria.daemon.commands", + "commandId": "aetheria.daemon.focus", + "state": "accepted", + "authority": "AetheriaRuntimeDaemonCommandBoundaryDocument", + "ownerRepo": "Aetheria", + "schema": "aetheria.eve_command_acceptance_status.v1" + }, + { + "receiptId": "aetheria.daemon.move_intent.reconciled", + "command": "aetheria.daemon.commands", + "commandId": "aetheria.daemon.move_intent", + "state": "reconciled", + "authority": "AetheriaRuntimeDaemonCommandBoundaryDocument", + "ownerRepo": "Aetheria", + "schema": "aetheria.eve_command_acceptance_status.v1" + }, + { + "receiptId": "aetheria.daemon.editor.inspect.pending", + "command": "aetheria.daemon.commands", + "commandId": "aetheria.daemon.editor.inspect", + "state": "pending", + "authority": "AetheriaRuntimeDaemonCommandBoundaryDocument", + "ownerRepo": "Aetheria", + "schema": "aetheria.eve_command_acceptance_status.v1" + } + ] +} diff --git a/conformance/eve/aetheria-world-surface.conformance.json b/conformance/eve/aetheria-world-surface.conformance.json new file mode 100644 index 000000000..770f9a4cd --- /dev/null +++ b/conformance/eve/aetheria-world-surface.conformance.json @@ -0,0 +1,26 @@ +{ + "schema": "gamecult.eve.conformance_fixture.v1", + "fixtureId": "aetheria-world", + "title": "Aetheria Interactive World", + "pack": "provider", + "ownerRepo": "Aetheria", + "surface": { + "transport": "local-json", + "path": "conformance/eve/aetheria-world-surface.json" + }, + "purpose": "Proves Aetheria can expose daemon-owned interactive world surfaces through Eve without moving game truth into Eve.", + "exitCriteria": "Move to Aetheria when generated level state, assets, command receipts, and scenario conformance become product-owned fixtures.", + "asserts": [ + "world.scene3d playable ARPG root", + "world.entity3d provider-authored entity rows", + "field.vector3d world projection", + "daemon asset manifest refs", + "generic Unity playableWorld projection", + "field.surface2d world projection", + "daemon command boundary", + "provider-owned bindings", + "provider-advertised world interaction contract", + "Aetheria style tokens" + ], + "splitTarget": "Aetheria" +} diff --git a/conformance/eve/aetheria-world-surface.json b/conformance/eve/aetheria-world-surface.json new file mode 100644 index 000000000..86be042f1 --- /dev/null +++ b/conformance/eve/aetheria-world-surface.json @@ -0,0 +1,230 @@ +{ + "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.playable", + "kind": "world.scene3d", + "props": { + "label": "Daemon ARPG View", + "statePointerId": "cultmesh://aetheria/run/current", + "assetManifest": "cultmesh://aetheria/assets/manifest", + "inputProfile": "arpg-third-person", + "cameraRig": "third-person-orbit", + "playerEntityId": "player-vanguard", + "movementCommand": "aetheria.daemon.move_intent", + "focusCommand": "aetheria.daemon.focus", + "targetCommand": "aetheria.daemon.target", + "actionCommand": "aetheria.daemon.use_equipment" + }, + "stateBindings": [ + { + "target": "run", + "pointerId": "cultmesh://aetheria/run/current" + }, + { + "target": "assets", + "pointerId": "cultmesh://aetheria/assets/manifest" + } + ], + "children": [ + { + "id": "aetheria.daemon.game.entity.player", + "kind": "world.entity3d", + "props": { + "entityId": "player-vanguard", + "entityKind": "player", + "label": "Vanguard", + "faction": "player", + "assetRef": "cultmesh://aetheria/assets/map/entity/player", + "position": "0,0,0", + "rotationY": "35", + "radius": "1.15", + "selectable": "true", + "controllable": "true", + "focusCommand": "aetheria.daemon.focus", + "moveCommand": "aetheria.daemon.move_intent" + }, + "children": [] + }, + { + "id": "aetheria.daemon.game.entity.raider", + "kind": "world.entity3d", + "props": { + "entityId": "raider-scout", + "entityKind": "enemy", + "label": "Raider Scout", + "faction": "raider", + "assetRef": "cultmesh://aetheria/assets/map/entity/ship", + "position": "9,0,14", + "rotationY": "220", + "radius": "0.9", + "selectable": "true", + "targetCommand": "aetheria.daemon.target" + }, + "children": [] + }, + { + "id": "aetheria.daemon.game.entity.station", + "kind": "world.entity3d", + "props": { + "entityId": "anchor-station", + "entityKind": "station", + "label": "Anchor Station", + "faction": "neutral", + "assetRef": "cultmesh://aetheria/assets/map/entity/station", + "position": "-18,0,6", + "rotationY": "0", + "radius": "3.4", + "selectable": "true", + "focusCommand": "aetheria.daemon.focus" + }, + "children": [] + }, + { + "id": "aetheria.daemon.game.flow", + "kind": "field.vector3d", + "props": { + "label": "Volumetric Flow", + "fieldId": "aetheria.zone.flow", + "bind": "aetheria.daemon.soaView.flowField3d", + "visualizer": "particles", + "bounds": "-32,0,-32,32,24,32" + }, + "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" + } + ] +} diff --git a/conformance/eve/aetheria.provider-advertisement.json b/conformance/eve/aetheria.provider-advertisement.json new file mode 100644 index 000000000..5a82a294f --- /dev/null +++ b/conformance/eve/aetheria.provider-advertisement.json @@ -0,0 +1,201 @@ +{ + "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", + "gamecult.eve.command_invocation.v1", + "gamecult.eve.unity_playable_world_asset_manifest.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." + }, + { + "kind": "cultmesh-record", + "ref": "cultmesh://aetheria/assets/manifest", + "summary": "Provider-authored Unity playable-world asset manifest consumed by EveUnity without importing Aetheria prefab classes." + } + ], + "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", + "surfaceKind": "interactive-world", + "interactionModel": "provider-command-receipts", + "worldInteraction": { + "projectionKind": "provider-authored-world-surface", + "stateSchemas": [ + "aetheria.world_state.v1", + "aetheria.runtime.daemon.frame.v1", + "aetheria.runtime.daemon.soa_view.v1" + ], + "commandBoundary": "aetheria.daemon.commands", + "receiptSchema": "aetheria.eve_command_acceptance_status.v1", + "loweringTargets": ["web-reference", "unity-uitoolkit", "unity-scene", "electron-shell", "tui"], + "ownership": "provider-owns-world-state-assets-command-acceptance-and-receipts" + }, + "summary": "Authoritative daemon game surface consumed by Unity, Electron, 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", + "surfaceKind": "interactive-world-editor", + "interactionModel": "provider-command-receipts", + "worldInteraction": { + "projectionKind": "provider-authored-world-editor-surface", + "stateSchemas": [ + "aetheria.world_state.v1", + "aetheria.runtime.daemon.editor_surface.v1", + "aetheria.runtime.daemon.command_boundary.v1" + ], + "commandBoundary": "aetheria.daemon.commands", + "receiptSchema": "aetheria.eve_command_acceptance_status.v1", + "loweringTargets": ["web-reference", "unity-uitoolkit", "electron-shell", "tui"], + "ownership": "provider-owns-editor-state-assets-command-acceptance-and-receipts" + } + } + ], + "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." + } + ], + "conformanceScenarios": [ + { + "scenarioId": "aetheria-world-command-replay", + "schema": "gamecult.eve.provider_scenario.v1", + "path": "conformance/eve/aetheria-world-scenario.json", + "summary": "Interactive world replay through provider advertisement, daemon game surface, and provider-owned command receipts." + } + ], + "styleCapabilities": [ + { + "styleProfile": "aetheria.daemon.world", + "preferredLowerings": ["unity-uitoolkit", "web-reference", "electron-shell", "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", + "electron-shell": "projects the same Eve surface tree inside a generic Electron shell; does not own Aetheria assets, IPC truth, or simulation truth", + "tui": "dense command/state inspection only" + } + } + ], + "contacts": [ + { + "kind": "repo", + "path": "E:\\Projects\\Aetheria" + } + ] +} diff --git a/conformance/eve/aetheria.unity-playable-world-asset-manifest.json b/conformance/eve/aetheria.unity-playable-world-asset-manifest.json new file mode 100644 index 000000000..7a0c98555 --- /dev/null +++ b/conformance/eve/aetheria.unity-playable-world-asset-manifest.json @@ -0,0 +1,21 @@ +{ + "schema": "gamecult.eve.unity_playable_world_asset_manifest.v1", + "providerId": "aetheria", + "manifestRef": "cultmesh://aetheria/assets/manifest", + "entries": [ + { + "assetRef": "cultmesh://aetheria/assets/map/entity/player", + "entityKind": "player", + "resourcesPath": "resources://Aetheria/Entities/Vanguard.prefab", + "prefabKey": "aetheria.vanguard", + "presentationKind": "provider-asset-ref" + }, + { + "assetRef": "cultmesh://aetheria/assets/map/entity/raider", + "entityKind": "enemy", + "resourcesPath": "resources://Aetheria/Entities/Raider.prefab", + "prefabKey": "aetheria.raider", + "presentationKind": "provider-asset-ref" + } + ] +} diff --git a/conformance/eve/provider-pack.json b/conformance/eve/provider-pack.json new file mode 100644 index 000000000..840586e26 --- /dev/null +++ b/conformance/eve/provider-pack.json @@ -0,0 +1,17 @@ +{ + "schema": "gamecult.eve.provider_conformance_pack.v1", + "providerId": "aetheria", + "ownerRepo": "Aetheria", + "advertisementPath": "conformance/eve/aetheria.provider-advertisement.json", + "fixtures": [ + { + "fixtureId": "aetheria-world", + "surfacePath": "conformance/eve/aetheria-world-surface.json", + "metadataPath": "conformance/eve/aetheria-world-surface.conformance.json" + } + ], + "scenarios": ["conformance/eve/aetheria-world-scenario.json"], + "assets": ["conformance/eve/aetheria.unity-playable-world-asset-manifest.json"], + "authority": "Aetheria owns authored surfaces, state, assets, command acceptance, receipts, and scenarios; Eve owns only contracts and conformance policy." +} + diff --git a/scripts/verify-eve-conformance-pack.mjs b/scripts/verify-eve-conformance-pack.mjs new file mode 100644 index 000000000..1cfed374d --- /dev/null +++ b/scripts/verify-eve-conformance-pack.mjs @@ -0,0 +1,37 @@ +import assert from "node:assert/strict"; +import fs from "node:fs"; +import path from "node:path"; + +const root = path.resolve(import.meta.dirname, ".."); +const pack = read("conformance/eve/provider-pack.json"); +assert.equal(pack.schema, "gamecult.eve.provider_conformance_pack.v1"); +assert.equal(pack.providerId, "aetheria"); +assert.equal(pack.ownerRepo, "Aetheria"); + +const advertisement = read(pack.advertisementPath); +assert.equal(advertisement.providerId, pack.providerId); +assert.ok(advertisement.surfaces.some((surface) => surface.surfaceId === "aetheria.daemon.game" && surface.worldInteraction?.projectionKind === "provider-authored-world-surface")); +assert.ok(advertisement.surfaces.some((surface) => surface.surfaceId === "aetheria.daemon.editor" && surface.worldInteraction?.projectionKind === "provider-authored-world-editor-surface")); + +for (const fixture of pack.fixtures) { + const surface = read(fixture.surfacePath); + const metadata = read(fixture.metadataPath); + assert.equal(surface.providerId, pack.providerId); + assert.equal(metadata.fixtureId, fixture.fixtureId); + assert.equal(metadata.surface.path, fixture.surfacePath); +} + +for (const scenarioPath of pack.scenarios) { + const scenario = read(scenarioPath); + assert.equal(scenario.providerId, pack.providerId); + assert.equal(scenario.advertisementPath, pack.advertisementPath); +} + +for (const assetPath of pack.assets) read(assetPath); +console.log(`Aetheria Eve provider pack passed: ${path.join(root, "conformance/eve/provider-pack.json")}`); + +function read(relativePath) { + const absolutePath = path.join(root, relativePath); + assert.ok(fs.existsSync(absolutePath), `Missing provider-pack path: ${relativePath}`); + return JSON.parse(fs.readFileSync(absolutePath, "utf8")); +}