Smoke EveElectron split handoff

This commit is contained in:
Meta Vens 2026-07-09 09:52:23 +01:00
commit a94d385733
4 changed files with 98 additions and 0 deletions

View file

@ -376,6 +376,11 @@ Recently cut:
client, and the split-target consumer smoke keeps the missing shell,
provider-advertisement consumption, command transport, and capture proofs
visible as blockers.
- EveElectron now has a direct split handoff smoke at
`scripts/run-eveelectron-split-handoff-smoke.ps1`. The smoke verifies the
observed Aetheria Electron/client paths that must be replaced, the required
Eve contract inputs, and the pending external proofs without treating
Aetheria's product client as the generic Electron runtime.
- EveTui now has a pending split target and handoff at
`runtimes/incubating/eve-tui/evetui-split-handoff.json`. It does not claim
the advertised `tui` world-surface lowering target yet. The handoff draws the

View file

@ -0,0 +1,91 @@
param(
[string] $HandoffPath = "runtimes\incubating\eve-electron\eveelectron-split-handoff.json"
)
$ErrorActionPreference = "Stop"
$projectRoot = Split-Path -Parent $PSScriptRoot
$absoluteHandoffPath = if ([System.IO.Path]::IsPathRooted($HandoffPath)) {
$HandoffPath
} else {
Join-Path $projectRoot $HandoffPath
}
if (-not (Test-Path -LiteralPath $absoluteHandoffPath)) {
throw "EveElectron split handoff manifest not found: $absoluteHandoffPath"
}
$handoff = Get-Content -LiteralPath $absoluteHandoffPath -Raw | ConvertFrom-Json
if ($handoff.schema -ne "gamecult.eve.runtime_split_handoff.v1") {
throw "Unexpected EveElectron split handoff schema: $($handoff.schema)"
}
if ($handoff.splitTarget -ne "EveElectron") {
throw "Unexpected EveElectron split handoff target: $($handoff.splitTarget)"
}
if ($handoff.ownerRepo -ne "EveElectron") {
throw "Unexpected EveElectron split handoff owner: $($handoff.ownerRepo)"
}
if ($handoff.currentHostRepo -ne "Eve") {
throw "Unexpected EveElectron split handoff host: $($handoff.currentHostRepo)"
}
if ($handoff.runtimeId -ne "electron-shell") {
throw "Unexpected EveElectron split handoff runtime: $($handoff.runtimeId)"
}
$moveSets = @($handoff.moveSets)
foreach ($stage in @("runtime-body", "command", "capture")) {
$moveSet = $moveSets | Where-Object { $_.stage -eq $stage } | Select-Object -First 1
if (-not $moveSet) {
throw "EveElectron split handoff missing move set for stage: $stage"
}
if ($moveSet.destinationOwner -ne "EveElectron") {
throw "EveElectron split handoff stage $stage has unexpected destination owner: $($moveSet.destinationOwner)"
}
if (-not $moveSet.replacementProof) {
throw "EveElectron split handoff stage $stage missing replacement proof"
}
foreach ($relativePath in @($moveSet.currentPaths)) {
$absolutePath = Join-Path $projectRoot $relativePath
if (-not (Test-Path -LiteralPath $absolutePath)) {
throw "EveElectron split handoff stage $stage references missing current path: $relativePath"
}
}
}
foreach ($id in @("electron-shell-runtime", "electron-command-transport")) {
$moveSet = $moveSets | Where-Object { $_.id -eq $id } | Select-Object -First 1
if (-not $moveSet) {
throw "EveElectron split handoff missing move set: $id"
}
$observedPaths = @($moveSet.observedProviderPaths)
if ($observedPaths.Count -eq 0) {
throw "EveElectron split handoff move set $id must name observed Aetheria paths to replace"
}
foreach ($path in $observedPaths) {
if (-not (Test-Path -LiteralPath $path)) {
throw "EveElectron split handoff observed provider path missing: $path"
}
}
}
foreach ($contract in @(
"gamecult.eve.surface.v1",
"gamecult.eve.command.v1",
"gamecult.eve.provider_advertisement.v1",
"gamecult.eve.plugin_advertisement.v1",
"gamecult.eve.plugin.v1",
"gamecult.eve.conformance_export.v1"
)) {
if (-not (@($handoff.contractInputs) -contains $contract)) {
throw "EveElectron split handoff missing contract input: $contract"
}
}
foreach ($proof in @($handoff.requiredExternalProofs)) {
if (-not $proof) {
throw "EveElectron split handoff contains an empty required external proof"
}
}
Write-Host "EveElectron split handoff smoke passed: $absoluteHandoffPath"

View file

@ -18,6 +18,7 @@ try {
& (Join-Path $PSScriptRoot "run-plugin-handoff-smoke.ps1")
& (Join-Path $PSScriptRoot "run-aetheria-provider-handoff-smoke.ps1")
& (Join-Path $PSScriptRoot "run-eveunity-split-handoff-smoke.ps1")
& (Join-Path $PSScriptRoot "run-eveelectron-split-handoff-smoke.ps1")
& (Join-Path $PSScriptRoot "run-conformance-consumer-smoke.ps1")
& (Join-Path $PSScriptRoot "run-plugin-owner-conformance-consumer-smoke.ps1")
& (Join-Path $PSScriptRoot "run-runtime-owner-conformance-consumer-smoke.ps1")

View file

@ -598,6 +598,7 @@
"status": "passed",
"evidencePaths": [
"runtimes/incubating/eve-electron/eveelectron-split-handoff.json",
"scripts/run-eveelectron-split-handoff-smoke.ps1",
"docs/eve-migration-roadmap.md",
"docs/parity-testing-harness.md"
]