Add Aetheria Unity package smoke

This commit is contained in:
Meta Vens 2026-07-09 00:40:51 +01:00
commit 73f6952787
3 changed files with 76 additions and 2 deletions

View file

@ -274,11 +274,17 @@ Exit criteria:
## Active Work Queue
1. Move EveUnity toward split readiness with runtime-owned UPM release,
Unity test, and capture lifecycle evidence.
1. Move EveUnity toward split readiness with runtime-owned UPM release and
Unity capture/test lifecycle evidence.
Recently cut:
- Aetheria now has repeatable Unity package consumer-build evidence for the
Eve UI Toolkit runtime. `scripts/run-aetheria-unity-package-smoke.ps1`
verifies Aetheria's Unity `Packages/manifest.json` consumes Eve's surface and
UI Toolkit packages by file reference, checks the generated
`GameCult.Eve.UnityUIToolkit.csproj` includes all current runtime files, and
builds the package through Aetheria's Unity-generated project.
- Unity UI Toolkit now has a first-party `norn.graph` plugin-host proof for
`embed.norn`. `NornGraphUiToolkitPluginHost` owns the native embedded graph
shell and graph command emission path, while Norn keeps graph layout and graph

View file

@ -99,6 +99,19 @@ and `aetheria-world-command-replay` scenario. Generated copies remain under
Eve's `artifacts/aetheria-conformance-consumer-smoke` so the provider worktree
does not become dirty merely by proving the boundary.
Aetheria Unity package consumer smoke:
```powershell
powershell -ExecutionPolicy Bypass -File .\scripts\run-aetheria-unity-package-smoke.ps1
```
That script checks that Aetheria's Unity package manifest consumes Eve's surface
and UI Toolkit packages by file reference, verifies the generated
`GameCult.Eve.UnityUIToolkit.csproj` includes all current Unity runtime source
files, then builds the package through Aetheria's Unity-generated project. It is
consumer-build evidence, not a replacement for runtime-owned Unity capture or
release CI.
The smoke runner writes:
- `artifacts/parity-smoke/<timestamp>/parity-smoke.md`

View file

@ -0,0 +1,55 @@
param(
[string] $AetheriaRoot = "E:\Projects\Aetheria"
)
$ErrorActionPreference = "Stop"
$eveRoot = Split-Path -Parent $PSScriptRoot
if (-not (Test-Path $AetheriaRoot)) {
throw "Aetheria repo not found: $AetheriaRoot"
}
$manifestPath = Join-Path $AetheriaRoot "Packages\manifest.json"
$unityToolkitProject = Join-Path $AetheriaRoot "GameCult.Eve.UnityUIToolkit.csproj"
$surfaceProject = Join-Path $AetheriaRoot "GameCult.Eve.Surface.csproj"
if (-not (Test-Path $manifestPath)) {
throw "Aetheria Unity package manifest not found: $manifestPath"
}
if (-not (Test-Path $unityToolkitProject)) {
throw "Aetheria Unity Toolkit project not found: $unityToolkitProject"
}
if (-not (Test-Path $surfaceProject)) {
throw "Aetheria Eve Surface project not found: $surfaceProject"
}
$manifest = Get-Content -Raw -LiteralPath $manifestPath
foreach ($dependency in @(
'"org.gamecult.eve.surface": "file:../../Eve/packages/org.gamecult.eve.surface"',
'"org.gamecult.eve.unity-uitoolkit": "file:../../Eve/packages/org.gamecult.eve.unity-uitoolkit"'
)) {
if (-not $manifest.Contains($dependency)) {
throw "Aetheria Packages\manifest.json missing Eve package dependency: $dependency"
}
}
$project = Get-Content -Raw -LiteralPath $unityToolkitProject
$requiredCompileItems = @(
"Runtime\EveUiToolkitSurfaceOptions.cs",
"Runtime\EveUiToolkitSurfaceLowerer.cs",
"Runtime\IEveUiToolkitPluginHost.cs",
"Runtime\SaiVisualNovelUiToolkitPluginHost.cs",
"Runtime\NornGraphUiToolkitPluginHost.cs"
)
foreach ($compileItem in $requiredCompileItems) {
$expected = Join-Path $eveRoot "packages\org.gamecult.eve.unity-uitoolkit\$compileItem"
if (-not $project.Contains($expected)) {
throw "Aetheria GameCult.Eve.UnityUIToolkit.csproj missing compile item: $expected"
}
}
Push-Location $AetheriaRoot
try {
dotnet build GameCult.Eve.UnityUIToolkit.csproj --no-restore --nologo -v:minimal
} finally {
Pop-Location
}