| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .. | ||
| Runtime | ||
| Tests | ||
| eve-runtime-capability.json | ||
| eve-runtime-capability.json.meta | ||
| eveunity-split-handoff.json | ||
| package.json | ||
| package.json.meta | ||
| README.md | ||
| README.md.meta | ||
| Runtime.meta | ||
| Tests.meta | ||
Eve UI Toolkit Lowering
This package lowers gamecult.eve.surface.v1 retained surface documents into
Unity UI Toolkit VisualElement trees.
It owns native projection only. Providers still own truth, accepted state, style token values, and command effects through CultMesh/CultNet. Unknown component kinds degrade to inert containers instead of gaining local semantics.
Plugin semantics enter through plugin ABI sidecars and advertisements, not
through Unity. This package includes first-party projection adapters for the
sai.vn projection surface (vn.stage, dialogue panels, action rails, and
story command requests) and the norn.graph projection surface (embed.norn).
Sai still owns story state and command semantics. Norn still owns graph layout
and graph semantics. Unity only owns native projection of already-declared
plugin capabilities and emits gamecult.eve.command.v1 requests. tex.math
still passes through as generic Eve component structure until it gains an
explicit Unity projection adapter.
This package lives in the Eve repository as the shared Unity lowering target. Aetheria and other Unity consumers should import it from Eve instead of carrying local copies.
Nested CultUI regions use component EmbeddedDocuments. Pass an
EmbeddedDocumentResolver through EveUiToolkitSurfaceOptions; the lowerer
mounts the resolved child surface under the slot while preserving the child
document's command surface id.
Discovery and test coverage for this feature live in the shared Eve parity
matrix: ../../tools/parity/parity-manifest.json names embeddedDocuments and
../../web/fixtures/cultui-embedded-surface.json is the canonical fixture.
Unity consumers should keep verifier coverage that builds a parent surface with
a resolver-backed child, then checks for the embedded visual element rather than
copying child state into a local adapter.
The runtime capability manifest is
eve-runtime-capability.json. Its lifecycle section records the current split
evidence:
- release: incubating UPM package identity and import surface;
- test: package-owned EditMode tests run through Aetheria in Unity batchmode, plus Aetheria consumer-build smoke through Unity's generated project;
- capture: pending Unity editor or batchmode artifact.
The release stage also declares the UPM release contract:
org.gamecult.eve.unity-uitoolkit is released from this package root, reads
its version from package.json, and uses tag pattern
eveunity-uitoolkit-v{version} once the tag is cut from EveUnity.
The test stage declares the Unity EditMode runner contract: the current runner
is scripts/run-aetheria-unity-editmode-tests.ps1, runs
GameCult.Eve.UnityUIToolkit.Tests on EditMode, writes XML and log artifacts
under artifacts/aetheria-unity-editmode/{stamp}, and temporarily adds
org.gamecult.eve.unity-uitoolkit to Aetheria's Unity testables. This is a
Unity package consumption proof. CultLib still owns the .NET/NuGet dependency
story for its assemblies.
The manifest also declares worldSurfaceLowering target unity-uitoolkit.
That means this package can lower provider-advertised interactive-world and
interactive-world-editor surfaces as semantic UI Toolkit command surfaces.
It does not claim Unity scene/world simulation ownership; Aetheria still owns
world state, assets, command acceptance, and receipts.
Those lifecycle claims are validated by the parity harness. A missing evidence path is a runtime capability error, not a README footnote.
The split handoff manifest is eveunity-split-handoff.json. It is the
machine-readable map of what EveUnity must carry out of Eve incubation: the UPM
package body, the Unity test lifecycle, the Unity capture lifecycle, the Eve
contracts it consumes, and the forbidden imports it must not use as shortcuts.
It does not make the package ready to split by itself; it makes the remaining
release, test, and capture blockers inspectable.
From the repository root, run the split lifecycle smoke with:
powershell -ExecutionPolicy Bypass -File .\scripts\run-eveunity-lifecycle-smoke.ps1
That smoke validates eve-runtime-capability.json, checks lifecycle evidence
paths, runs the Aetheria Unity package consumer-build smoke, and verifies the
split handoff manifest. Pass -RunUnityEditMode when the local Unity editor
should also execute the incubating batchmode EditMode test runner. The final
tagged UPM release, batchmode runner ownership, and capture artifact still
graduate to EveUnity.
For Aetheria, the Unity evidence path is:
powershell -ExecutionPolicy Bypass -File ..\..\scripts\run-aetheria-unity-package-smoke.ps1powershell -ExecutionPolicy Bypass -File ..\..\scripts\run-aetheria-unity-editmode-tests.ps1
The EditMode test asmdef declares Unity precompiled references for the
Brokkr/CultMesh DLLs Unity needs to resolve GameCult.Mesh. That is Unity
assembly plumbing, not a claim that CultLib lacks NuGet/.NET packaging.
Those checks sit alongside Eve's shared browser, Flutter, iOS, Android/Kotlin, and Rust contract tests, all discoverable from the parity manifest.