Add Unity scene provider shell skeleton

This commit is contained in:
Meta Vens 2026-07-09 10:34:04 +01:00
commit 990a5fa32a
16 changed files with 412 additions and 25 deletions

View file

@ -65,8 +65,18 @@ foreach ($id in $expectedMoveSets.Keys) {
}
$currentPaths = if ($null -eq $moveSet.currentPaths) { @() } else { @($moveSet.currentPaths) }
$observedProviderPaths = if ($null -eq $moveSet.observedProviderPaths) { @() } else { @($moveSet.observedProviderPaths) }
if ($currentPaths.Count -ne 0) {
throw "EveUnity scene split handoff move set $id must not claim existing Eve source paths before the generic scene lowerer exists"
if ($id -eq "unity-scene-runtime-body") {
if ($currentPaths.Count -eq 0) {
throw "EveUnity scene split handoff runtime body must name the provider-shell skeleton paths"
}
foreach ($relativePath in $currentPaths) {
$absolutePath = Join-Path $projectRoot $relativePath
if (-not (Test-Path -LiteralPath $absolutePath)) {
throw "EveUnity scene split handoff runtime body path missing: $relativePath"
}
}
} elseif ($currentPaths.Count -ne 0) {
throw "EveUnity scene split handoff move set $id must not claim existing Eve source paths before its proof exists"
}
if ($observedProviderPaths.Count -ne 0) {
throw "EveUnity scene split handoff move set $id must not treat provider product paths as generic scene runtime source"