Define Aetheria world surface contract

This commit is contained in:
Meta Vens 2026-07-09 02:27:35 +01:00
commit be05146883
12 changed files with 255 additions and 1 deletions

View file

@ -280,6 +280,14 @@ Exit criteria:
Recently cut:
- Aetheria interactive world surfaces now carry a structured provider-owned
`worldInteraction` contract. The provider advertisement names projection
kind, provider state schemas, daemon command boundary, receipt schema,
lowering targets, and ownership rules for `aetheria.daemon.game` and
`aetheria.daemon.editor`. The provider scenario requires the daemon game
world-surface contract, parity validates it against the advertisement, the
conformance export carries `surfaceContracts`, and the Aetheria consumer
smoke asserts those fields without importing Aetheria or Eve internals.
- EveUnity test lifecycle now carries a structured Unity EditMode runner
contract. `packages/org.gamecult.eve.unity-uitoolkit/eve-runtime-capability.json`
names the runner script, consumer Unity project, default Unity editor path,

View file

@ -78,6 +78,12 @@ Required top-level meanings:
the advertised surface, schemas, and command boundary.
- `surfaces[].interactionModel`: short name for how interaction returns to the
provider, such as `provider-command-receipts`.
- `surfaces[].worldInteraction`: optional structured contract for
provider-authored world surfaces. It names the projection kind, provider-owned
state schemas, command boundary, receipt schema, expected lowering targets,
and ownership rule. Runtimes use it to decide how to lower the surface and
where command intents must return; they do not gain authority over world
state because they can render it.
- `surfaces[].requiresPlugins`: sidecar plugin capabilities required to render
or interact with that surface. Runtimes compare these requirements with their
local projection support and report visible capability gaps; they must not

View file

@ -76,6 +76,23 @@ World surfaces should be able to describe:
The renderer chooses the best native projection it can support. It must not
invent provider semantics to compensate for missing contract information.
Provider advertisements attach the reusable boundary to world surfaces through
`surfaces[].worldInteraction`. That block names:
- `projectionKind`: the generic world presentation role, not a game-specific
rule name;
- `stateSchemas`: provider-owned state documents that describe the world;
- `commandBoundary`: the provider command route that receives interaction
intents;
- `receiptSchema`: the provider-owned receipt document schema;
- `loweringTargets`: runtime families expected to consume the surface;
- `ownership`: the plain-language authority rule for state, assets, command
acceptance, and receipts.
Conformance scenarios can require `worldSurfaces[]` entries and the parity
harness checks them against the advertisement. This makes an interactive world
surface portable without giving Eve or a runtime private Aetheria knowledge.
## Quality Tiers
A low-end or debugging renderer may lower a world surface into labels, simple
@ -120,6 +137,13 @@ missing a generic scalar-field primitive or the provider surface is
underspecified. If a renderer must know "Aetheria planet" to draw a body, the
object row or asset contract is underspecified.
The incubating Aetheria fixture advertises `aetheria.daemon.game` as
`interactive-world` with `worldInteraction.projectionKind:
provider-authored-world-surface`, `commandBoundary: aetheria.daemon.commands`,
and `receiptSchema: aetheria.eve_command_acceptance_status.v1`. Web, Unity UI
Toolkit, Unity scene, and TUI lowerers are lowering targets; Aetheria remains
the owner of world state, assets, command acceptance, and receipts.
## Non-Goals
Eve does not own provider gameplay rules.