diff --git a/docs/eve-migration-roadmap.md b/docs/eve-migration-roadmap.md index 0c4e284..b8ad7d2 100644 --- a/docs/eve-migration-roadmap.md +++ b/docs/eve-migration-roadmap.md @@ -331,6 +331,11 @@ Recently cut: `worldInteraction` boundary, creates `gamecult.eve.command.v1` requests with command boundary and receipt schema fields, and has a runnable smoke without claiming full `unity-scene` world lowering or capture evidence. +- EveElectron now has a provider-shell contract skeleton under + `runtimes/incubating/eve-electron`. The shell selects advertised provider + surfaces, emits `gamecult.eve.command.v1` intents with provider command + boundary and receipt schema fields, and has a runnable Node smoke without + claiming embedded document rendering, packaged Electron lifecycle, or capture. - The conformance export carries `splitHandoffMoveCoverage[]`, joining runtime split handoff move sets to source path status. EveElectron now exposes the existing Aetheria `Aetheria.Rts.Web/Electron` and command transport paths as diff --git a/runtimes/incubating/eve-electron/eve-runtime-capability.json b/runtimes/incubating/eve-electron/eve-runtime-capability.json index 79ddc2c..d8e3cfe 100644 --- a/runtimes/incubating/eve-electron/eve-runtime-capability.json +++ b/runtimes/incubating/eve-electron/eve-runtime-capability.json @@ -13,25 +13,28 @@ "smokeCommand": "powershell -ExecutionPolicy Bypass -File .\\scripts\\run-eveelectron-split-handoff-smoke.ps1" } }, - "supportedFeatures": [], + "supportedFeatures": [ + "providerAdvertisements", + "commandTransport" + ], "supportedPlugins": [], "unsupportedPlugins": [ { "pluginId": "sai.vn", - "reason": "Electron has no generic runtime body yet; Sai projection belongs behind provider/plugin advertisements once EveElectron exists." + "reason": "Electron provider-shell skeleton exists, but no Sai projection adapter exists in this runtime." }, { "pluginId": "norn.graph", - "reason": "Electron has no generic runtime body yet; Norn graph projection belongs behind provider/plugin advertisements once EveElectron exists." + "reason": "Electron provider-shell skeleton exists, but no Norn graph projection adapter exists in this runtime." }, { "pluginId": "tex.math", - "reason": "Electron has no generic runtime body yet; TeX projection belongs behind provider/plugin advertisements once EveElectron exists." + "reason": "Electron provider-shell skeleton exists, but no TeX projection adapter exists in this runtime." } ], "commandTransport": { "schema": "gamecult.eve.command.v1", - "status": "pending-runtime-body", + "status": "provider-shell-contract-skeleton", "emitter": "EveElectronShell.EmitCommand", "clientId": "electron-shell", "authority": "Electron emits command intents through provider-advertised command boundaries; providers accept, deny, and publish receipts." @@ -50,6 +53,8 @@ "publishProof": "Packaged Electron release is created from the EveElectron repo and references the provider-agnostic shell package root." }, "evidencePaths": [ + "runtimes/incubating/eve-electron/package.json", + "runtimes/incubating/eve-electron/src/eve-electron-shell.mjs", "runtimes/incubating/eve-electron/eveelectron-split-handoff.json", "scripts/run-eveelectron-split-handoff-smoke.ps1" ], @@ -59,25 +64,29 @@ }, "test": { "ownerRepo": "EveElectron", - "status": "pending-provider-advertisement-shell-smoke", + "status": "provider-shell-contract-skeleton", "testContract": { "ownerRepo": "EveElectron", "runnerKind": "electron-provider-shell-smoke", "runnerScript": "scripts/run-eveelectron-provider-shell-smoke.ps1", "consumerProject": "E:\\Projects\\Aetheria", "packageName": "eve-electron", - "testAssembly": "EveElectron.ProviderShell", - "testPlatform": "Electron", + "testAssembly": "eve-electron-shell.test.mjs", + "testPlatform": "Node contract skeleton", "resultsArtifact": "artifacts/eveelectron-provider-shell/{stamp}/provider-shell-results.json", "logArtifact": "artifacts/eveelectron-provider-shell/{stamp}/provider-shell.log", "manifestMutation": "None; the shell consumes provider advertisements and must not mutate provider product manifests." }, "evidencePaths": [ + "runtimes/incubating/eve-electron/package.json", + "runtimes/incubating/eve-electron/src/eve-electron-shell.mjs", + "runtimes/incubating/eve-electron/test/eve-electron-shell.test.mjs", "runtimes/incubating/eve-electron/eveelectron-split-handoff.json", - "scripts/run-eveelectron-split-handoff-smoke.ps1" + "scripts/run-eveelectron-split-handoff-smoke.ps1", + "scripts/run-eveelectron-provider-shell-smoke.ps1" ], "pendingProofs": [ - "Electron provider-advertisement shell smoke runs from EveElectron without importing Aetheria source layout." + "Electron provider-advertisement smoke runs from EveElectron in a packaged Electron window without importing Aetheria source layout." ] }, "capture": { diff --git a/runtimes/incubating/eve-electron/eveelectron-split-handoff.json b/runtimes/incubating/eve-electron/eveelectron-split-handoff.json index 9a7fe74..d24c991 100644 --- a/runtimes/incubating/eve-electron/eveelectron-split-handoff.json +++ b/runtimes/incubating/eve-electron/eveelectron-split-handoff.json @@ -12,7 +12,11 @@ { "id": "electron-shell-runtime", "stage": "runtime-body", - "currentPaths": [], + "currentPaths": [ + "runtimes/incubating/eve-electron/package.json", + "runtimes/incubating/eve-electron/src/eve-electron-shell.mjs", + "runtimes/incubating/eve-electron/test/eve-electron-shell.test.mjs" + ], "observedProviderPaths": [ "E:\\Projects\\Aetheria\\Aetheria.Rts.Web\\Electron", "E:\\Projects\\Aetheria\\Aetheria.Rts.Web\\Client", @@ -24,7 +28,10 @@ { "id": "electron-command-transport", "stage": "command", - "currentPaths": [], + "currentPaths": [ + "runtimes/incubating/eve-electron/src/eve-electron-shell.mjs", + "runtimes/incubating/eve-electron/test/eve-electron-shell.test.mjs" + ], "observedProviderPaths": [ "E:\\Projects\\Aetheria\\Aetheria.Rts.Web\\Client\\app.ts", "E:\\Projects\\Aetheria\\Aetheria.Rts.Web\\Electron\\preload.cjs", @@ -58,6 +65,7 @@ ], "requiredExternalProofs": [ "EveElectron publishes a runtime capability manifest with provider advertisement consumption and command transport.", + "EveElectron owns a provider-shell contract skeleton that selects advertised provider surfaces and emits gamecult.eve.command.v1 intents.", "EveElectron lowers at least one generic Eve provider surface that is not Aetheria.", "EveElectron lowers Aetheria world/editor surfaces through provider advertisements without importing Aetheria internals.", "Aetheria keeps Starbridge-specific UI, assets, authored flows, and receipts in the Aetheria repo.", diff --git a/runtimes/incubating/eve-electron/package.json b/runtimes/incubating/eve-electron/package.json new file mode 100644 index 0000000..17401b9 --- /dev/null +++ b/runtimes/incubating/eve-electron/package.json @@ -0,0 +1,17 @@ +{ + "name": "eve-electron", + "version": "0.1.0", + "type": "module", + "description": "Provider-agnostic Electron shell skeleton for Eve surfaces.", + "main": "src/eve-electron-shell.mjs", + "scripts": { + "test": "C:\\Progra~1\\nodejs\\node.exe --test test/*.test.mjs" + }, + "keywords": [ + "Eve", + "Electron", + "CultUI", + "provider-advertisement" + ], + "license": "MPL-2.0" +} diff --git a/runtimes/incubating/eve-electron/src/eve-electron-shell.mjs b/runtimes/incubating/eve-electron/src/eve-electron-shell.mjs new file mode 100644 index 0000000..9597779 --- /dev/null +++ b/runtimes/incubating/eve-electron/src/eve-electron-shell.mjs @@ -0,0 +1,100 @@ +export class EveElectronShell { + constructor({ clientId = "electron-shell" } = {}) { + this.clientId = clientId; + } + + selectSurface(providerAdvertisement, requestedSurfaceId = "") { + const provider = normalizeProviderAdvertisement(providerAdvertisement); + const surfaces = provider.surfaces; + const surface = requestedSurfaceId + ? surfaces.find(candidate => candidate.surfaceId === requestedSurfaceId) + : surfaces[0]; + + if (!surface) { + throw new Error(`Provider ${provider.providerId} does not advertise surface ${requestedSurfaceId || "(first)"}`); + } + + return { + providerId: provider.providerId, + surfaceId: surface.surfaceId, + transport: surface.transport || "", + url: surface.url || surface.key || "", + worldInteraction: normalizeWorldInteraction(surface.worldInteraction), + }; + } + + createCommandIntent(providerAdvertisement, requestedSurfaceId, command, payload = {}) { + if (!command) throw new Error("Command is required."); + const selected = this.selectSurface(providerAdvertisement, requestedSurfaceId); + const action = objectValue(payload.action); + const commandBoundary = firstString( + selected.worldInteraction.commandBoundary, + payload.commandBoundary, + action.commandBoundary, + action.target, + ); + const receiptSchema = firstString( + selected.worldInteraction.receiptSchema, + payload.receiptSchema, + action.receiptSchema, + ); + + const intent = { + type: "surface-command", + schema: "gamecult.eve.command.v1", + providerId: selected.providerId, + surfaceId: selected.surfaceId, + command, + payload: { + ...payload, + transport: payload.transport ?? null, + }, + issuedAt: new Date().toISOString(), + clientId: this.clientId, + }; + + if (commandBoundary) intent.commandBoundary = commandBoundary; + if (receiptSchema) intent.receiptSchema = receiptSchema; + return intent; + } +} + +export function normalizeProviderAdvertisement(providerAdvertisement) { + if (!providerAdvertisement || typeof providerAdvertisement !== "object") { + throw new Error("Provider advertisement is required."); + } + const providerId = String(providerAdvertisement.providerId || ""); + if (!providerId) throw new Error("Provider advertisement missing providerId."); + const surfaces = Array.isArray(providerAdvertisement.surfaces) + ? providerAdvertisement.surfaces + .filter(surface => surface && typeof surface === "object" && surface.surfaceId) + .map(surface => ({ + ...surface, + surfaceId: String(surface.surfaceId), + })) + : []; + if (!surfaces.length) throw new Error(`Provider ${providerId} advertises no surfaces.`); + return { ...providerAdvertisement, providerId, surfaces }; +} + +function normalizeWorldInteraction(value) { + const source = objectValue(value); + return { + projectionKind: firstString(source.projectionKind), + commandBoundary: firstString(source.commandBoundary), + receiptSchema: firstString(source.receiptSchema), + ownership: firstString(source.ownership), + }; +} + +function objectValue(value) { + return value && typeof value === "object" && !Array.isArray(value) ? value : {}; +} + +function firstString(...values) { + for (const value of values) { + if (typeof value === "string" && value.trim()) return value; + if (typeof value === "number" && Number.isFinite(value)) return String(value); + } + return ""; +} diff --git a/runtimes/incubating/eve-electron/test/eve-electron-shell.test.mjs b/runtimes/incubating/eve-electron/test/eve-electron-shell.test.mjs new file mode 100644 index 0000000..f567486 --- /dev/null +++ b/runtimes/incubating/eve-electron/test/eve-electron-shell.test.mjs @@ -0,0 +1,68 @@ +import assert from "node:assert/strict"; +import test from "node:test"; +import { EveElectronShell } from "../src/eve-electron-shell.mjs"; + +test("selects the active advertised provider surface", () => { + const shell = new EveElectronShell(); + const selected = shell.selectSurface(advertisement(), "aetheria.daemon.editor"); + + assert.equal(selected.providerId, "aetheria"); + assert.equal(selected.surfaceId, "aetheria.daemon.editor"); + assert.equal(selected.worldInteraction.commandBoundary, "aetheria.daemon.commands"); + assert.equal(selected.worldInteraction.receiptSchema, "aetheria.eve_command_acceptance_status.v1"); +}); + +test("command intents carry provider-advertised boundaries over component fallback", () => { + const shell = new EveElectronShell(); + const intent = shell.createCommandIntent( + advertisement(), + "aetheria.daemon.game", + "aetheria.daemon.commands", + { + action: { + commandBoundary: "component.fallback.boundary", + receiptSchema: "component.fallback.receipt.v1", + target: "component.fallback.target", + }, + commandId: "aetheria.daemon.focus", + }, + ); + + assert.equal(intent.schema, "gamecult.eve.command.v1"); + assert.equal(intent.providerId, "aetheria"); + assert.equal(intent.surfaceId, "aetheria.daemon.game"); + assert.equal(intent.commandBoundary, "aetheria.daemon.commands"); + assert.equal(intent.receiptSchema, "aetheria.eve_command_acceptance_status.v1"); + assert.equal(intent.clientId, "electron-shell"); +}); + +function advertisement() { + return { + schema: "gamecult.eve.provider_advertisement.v1", + providerId: "aetheria", + surfaces: [ + { + surfaceId: "aetheria.daemon.game", + transport: "local-json", + url: "web/fixtures/aetheria-world-surface.json", + worldInteraction: { + projectionKind: "provider-authored-world-surface", + commandBoundary: "aetheria.daemon.commands", + receiptSchema: "aetheria.eve_command_acceptance_status.v1", + ownership: "provider-owns-world-state-assets-command-acceptance-and-receipts", + }, + }, + { + surfaceId: "aetheria.daemon.editor", + transport: "local-json", + url: "web/fixtures/aetheria-world-surface.json", + worldInteraction: { + projectionKind: "provider-authored-world-editor-surface", + commandBoundary: "aetheria.daemon.commands", + receiptSchema: "aetheria.eve_command_acceptance_status.v1", + ownership: "provider-owns-editor-state-assets-command-acceptance-and-receipts", + }, + }, + ], + }; +} diff --git a/scripts/run-aetheria-conformance-consumer-smoke.ps1 b/scripts/run-aetheria-conformance-consumer-smoke.ps1 index 70966b4..f0e2c22 100644 --- a/scripts/run-aetheria-conformance-consumer-smoke.ps1 +++ b/scripts/run-aetheria-conformance-consumer-smoke.ps1 @@ -71,9 +71,11 @@ try { --expect-world-lowering-gap aetheria:aetheria.daemon.game:unity-scene:EveUnity:unity-scene ` --expect-world-lowering-gap aetheria:aetheria.daemon.editor:tui:EveTui:tui ` --expect-split-target-blocker "EveUnity:Unity scene runtime body graduates to EveUnity outside Aetheria product code" ` - --expect-split-target-blocker "EveElectron:Electron shell runtime body exists outside Aetheria product code" ` + --expect-split-target-blocker "EveElectron:Electron shell runtime body graduates to EveElectron outside Aetheria product code" ` --expect-split-handoff-move EveUnity:unity-scene:unity-scene-runtime-body:current:exists:EveUnitySceneSurfaceLowerer.cs ` --expect-split-handoff-move EveUnity:unity-scene:unity-scene-command-transport:replacement-required:no-source-paths:none ` + --expect-split-handoff-move EveElectron:electron-shell:electron-shell-runtime:current:exists:eve-electron-shell.mjs ` + --expect-split-handoff-move EveElectron:electron-shell:electron-command-transport:current:exists:eve-electron-shell.mjs ` --expect-split-handoff-move EveElectron:electron-shell:electron-shell-runtime:observed-provider:exists:Aetheria.Rts.Web/Electron ` --expect-split-handoff-move EveElectron:electron-shell:electron-command-transport:observed-provider:exists:Aetheria.Rts.Web/Client/app.ts ` --expect-provider-command aetheria:aetheria.daemon.commands ` diff --git a/scripts/run-eveelectron-lifecycle-smoke.ps1 b/scripts/run-eveelectron-lifecycle-smoke.ps1 index 9da74fb..1e7da20 100644 --- a/scripts/run-eveelectron-lifecycle-smoke.ps1 +++ b/scripts/run-eveelectron-lifecycle-smoke.ps1 @@ -39,8 +39,10 @@ if (-not $manifest.incubation.splitHandoff.manifestPath) { throw "EveElectron manifest missing split handoff path" } -if (@($manifest.supportedFeatures).Count -ne 0) { - throw "EveElectron must not claim supported runtime features before the generic shell body exists" +foreach ($feature in @("providerAdvertisements", "commandTransport")) { + if (-not (@($manifest.supportedFeatures) -contains $feature)) { + throw "EveElectron manifest missing provider-shell feature: $feature" + } } if (@($manifest.supportedPlugins).Count -ne 0) { throw "EveElectron must not claim plugin projection before the generic shell body exists" @@ -56,7 +58,7 @@ foreach ($pluginId in @("sai.vn", "norn.graph", "tex.math")) { if ($manifest.commandTransport.schema -ne "gamecult.eve.command.v1") { throw "Unexpected EveElectron command schema: $($manifest.commandTransport.schema)" } -if ($manifest.commandTransport.status -ne "pending-runtime-body") { +if ($manifest.commandTransport.status -ne "provider-shell-contract-skeleton") { throw "Unexpected EveElectron command transport status: $($manifest.commandTransport.status)" } @@ -119,5 +121,6 @@ foreach ($field in @("ownerRepo", "runtimeId", "captureKind", "artifactKind", "a } & (Join-Path $projectRoot "scripts\run-eveelectron-split-handoff-smoke.ps1") +& (Join-Path $projectRoot "scripts\run-eveelectron-provider-shell-smoke.ps1") Write-Host "EveElectron lifecycle smoke passed: $absoluteManifestPath" diff --git a/scripts/run-eveelectron-provider-shell-smoke.ps1 b/scripts/run-eveelectron-provider-shell-smoke.ps1 index 4418e11..4b49394 100644 --- a/scripts/run-eveelectron-provider-shell-smoke.ps1 +++ b/scripts/run-eveelectron-provider-shell-smoke.ps1 @@ -20,8 +20,51 @@ $manifest = Get-Content -LiteralPath $absoluteManifestPath -Raw | ConvertFrom-Js if ($manifest.runtimeId -ne "electron-shell") { throw "Unexpected EveElectron runtime id: $($manifest.runtimeId)" } -if ($manifest.lifecycle.test.status -ne "pending-provider-advertisement-shell-smoke") { - throw "EveElectron provider shell smoke should remain pending until a generic shell body exists: $($manifest.lifecycle.test.status)" +if ($manifest.lifecycle.test.status -ne "provider-shell-contract-skeleton") { + throw "Unexpected EveElectron provider shell status: $($manifest.lifecycle.test.status)" } -throw "EveElectron provider shell smoke is a pending contract, not a runnable proof, until EveElectron owns the provider-agnostic Electron shell body." +foreach ($feature in @("providerAdvertisements", "commandTransport")) { + if (-not (@($manifest.supportedFeatures) -contains $feature)) { + throw "EveElectron provider shell missing supported feature: $feature" + } +} + +$expectedFiles = @( + "runtimes\incubating\eve-electron\package.json", + "runtimes\incubating\eve-electron\src\eve-electron-shell.mjs", + "runtimes\incubating\eve-electron\test\eve-electron-shell.test.mjs" +) + +foreach ($relativePath in $expectedFiles) { + $absolutePath = Join-Path $projectRoot $relativePath + if (-not (Test-Path -LiteralPath $absolutePath)) { + throw "EveElectron provider shell missing file: $relativePath" + } +} + +$shellSource = Get-Content -LiteralPath (Join-Path $projectRoot "runtimes\incubating\eve-electron\src\eve-electron-shell.mjs") -Raw +foreach ($symbol in @("EveElectronShell", "selectSurface", "createCommandIntent", "worldInteraction", "commandBoundary", "receiptSchema", "electron-shell")) { + if (-not $shellSource.Contains($symbol)) { + throw "EveElectron provider shell source missing symbol: $symbol" + } +} + +$testSource = Get-Content -LiteralPath (Join-Path $projectRoot "runtimes\incubating\eve-electron\test\eve-electron-shell.test.mjs") -Raw +foreach ($symbol in @("selects the active advertised provider surface", "command intents carry provider-advertised boundaries", "aetheria.daemon.commands", "aetheria.eve_command_acceptance_status.v1")) { + if (-not $testSource.Contains($symbol)) { + throw "EveElectron provider shell test missing symbol: $symbol" + } +} + +Push-Location (Join-Path $projectRoot "runtimes\incubating\eve-electron") +try { + npm test + if ($LASTEXITCODE -ne 0) { + throw "EveElectron provider shell tests failed with exit code $LASTEXITCODE" + } +} finally { + Pop-Location +} + +Write-Host "EveElectron provider shell smoke passed: $absoluteManifestPath" diff --git a/scripts/run-runtime-owner-conformance-consumer-smoke.ps1 b/scripts/run-runtime-owner-conformance-consumer-smoke.ps1 index f9061d1..6c03506 100644 --- a/scripts/run-runtime-owner-conformance-consumer-smoke.ps1 +++ b/scripts/run-runtime-owner-conformance-consumer-smoke.ps1 @@ -55,6 +55,8 @@ node $consumerScript $consumerExport ` --expect-runtime-feature unity-uitoolkit:embeddedDocuments ` --expect-runtime-feature unity-scene:providerAdvertisements ` --expect-runtime-feature unity-scene:commandTransport ` + --expect-runtime-feature electron-shell:providerAdvertisements ` + --expect-runtime-feature electron-shell:commandTransport ` --expect-runtime-feature direct2d:embeddedDocuments ` --expect-runtime-world-target web:web-reference ` --expect-runtime-world-field web:web-reference:supportLevel:reference-dom-canvas-command-boundary ` @@ -129,10 +131,10 @@ node $consumerScript $consumerExport ` --expect-runtime-lifecycle-field "unity-scene:capture:captureContract.captureKind:unity-scene-frame-png" ` --expect-runtime-lifecycle-field "unity-scene:capture:captureContract.requiredSurface:aetheria.daemon.game" ` --expect-runtime-lifecycle-status electron-shell:release:pending-electron-package ` - --expect-runtime-lifecycle-status electron-shell:test:pending-provider-advertisement-shell-smoke ` + --expect-runtime-lifecycle-status electron-shell:test:provider-shell-contract-skeleton ` --expect-runtime-lifecycle-status electron-shell:capture:pending-electron-window-capture ` --expect-runtime-lifecycle-pending "electron-shell:release:Electron packaged app release" ` - --expect-runtime-lifecycle-pending "electron-shell:test:Electron provider-advertisement shell smoke" ` + --expect-runtime-lifecycle-pending "electron-shell:test:Electron provider-advertisement smoke runs from EveElectron in a packaged Electron window" ` --expect-runtime-lifecycle-pending "electron-shell:capture:Electron window capture artifact" ` --expect-runtime-lifecycle-field "electron-shell:release:releaseContract.artifactKind:electron-app" ` --expect-runtime-lifecycle-field "electron-shell:test:testContract.runnerKind:electron-provider-shell-smoke" ` diff --git a/scripts/run-split-target-conformance-consumer-smoke.ps1 b/scripts/run-split-target-conformance-consumer-smoke.ps1 index 3d34897..7a10ea4 100644 --- a/scripts/run-split-target-conformance-consumer-smoke.ps1 +++ b/scripts/run-split-target-conformance-consumer-smoke.ps1 @@ -59,10 +59,12 @@ try { --expect-split-target-proof "EveElectron:EveElectron lifecycle contract is machine-readable" ` --expect-split-target-blocker "EveElectron:runtime:electron-shell:status:pending" ` --expect-split-target-blocker-record EveElectron:runtime-status:electron-shell ` - --expect-split-target-blocker-record EveElectron:runtime-feature:electron-shell:providerAdvertisements ` + --expect-split-target-blocker-record EveElectron:runtime-feature:electron-shell:embeddedDocuments ` + --expect-split-handoff-move EveElectron:electron-shell:electron-shell-runtime:current:exists:eve-electron-shell.mjs ` + --expect-split-handoff-move EveElectron:electron-shell:electron-command-transport:current:exists:eve-electron-shell.mjs ` --expect-split-handoff-move EveElectron:electron-shell:electron-shell-runtime:observed-provider:exists:Aetheria.Rts.Web/Electron ` --expect-split-handoff-move EveElectron:electron-shell:electron-command-transport:observed-provider:exists:Aetheria.Rts.Web/Client/app.ts ` - --expect-split-target-blocker "EveElectron:Electron shell runtime body exists outside Aetheria product code" ` + --expect-split-target-blocker "EveElectron:Electron shell runtime body graduates to EveElectron outside Aetheria product code" ` --expect-split-target EveTui ` --expect-split-target-status EveTui:incubating ` --expect-split-target-proof "EveTui:EveTui split handoff is machine-readable" ` diff --git a/tools/parity/parity-manifest.json b/tools/parity/parity-manifest.json index 98b3c70..a622b26 100644 --- a/tools/parity/parity-manifest.json +++ b/tools/parity/parity-manifest.json @@ -641,12 +641,21 @@ "scripts/run-eveelectron-lifecycle-smoke.ps1", "scripts/run-eveelectron-provider-shell-smoke.ps1" ] + }, + { + "description": "EveElectron provider-shell skeleton selects advertised surfaces and emits Eve command intents.", + "status": "passed", + "evidencePaths": [ + "runtimes/incubating/eve-electron/package.json", + "runtimes/incubating/eve-electron/src/eve-electron-shell.mjs", + "runtimes/incubating/eve-electron/test/eve-electron-shell.test.mjs", + "scripts/run-eveelectron-provider-shell-smoke.ps1" + ] } ], "pendingProofs": [ - "Electron shell runtime body exists outside Aetheria product code.", - "Electron consumes provider advertisements without Aetheria source-layout knowledge.", - "Electron emits gamecult.eve.command.v1 through provider command boundaries.", + "Electron shell runtime body graduates to EveElectron outside Aetheria product code.", + "Electron renders embedded Eve documents in a packaged Electron window.", "Electron capture artifacts are attached to conformance output." ] }, @@ -705,28 +714,41 @@ "splitHandoffPath": "runtimes/incubating/eve-electron/eveelectron-split-handoff.json", "requiredFixtures": ["embedded-surface", "aetheria-world"], "pluginFixtures": [], - "supportedFeatures": [], + "supportedFeatures": ["providerAdvertisements", "commandTransport"], "supportedPlugins": [], "unsupportedPlugins": [ { "pluginId": "sai.vn", - "reason": "Electron has no generic runtime body yet; Sai projection belongs behind provider/plugin advertisements once EveElectron exists." + "reason": "Electron provider-shell skeleton exists, but no Sai projection adapter exists in this runtime." }, { "pluginId": "norn.graph", - "reason": "Electron has no generic runtime body yet; Norn graph projection belongs behind provider/plugin advertisements once EveElectron exists." + "reason": "Electron provider-shell skeleton exists, but no Norn graph projection adapter exists in this runtime." }, { "pluginId": "tex.math", - "reason": "Electron has no generic runtime body yet; TeX projection belongs behind provider/plugin advertisements once EveElectron exists." + "reason": "Electron provider-shell skeleton exists, but no TeX projection adapter exists in this runtime." } ], "expectedPaths": [ + "runtimes/incubating/eve-electron/package.json", + "runtimes/incubating/eve-electron/src/eve-electron-shell.mjs", + "runtimes/incubating/eve-electron/test/eve-electron-shell.test.mjs", "runtimes/incubating/eve-electron/eveelectron-split-handoff.json", "runtimes/incubating/eve-electron/eve-runtime-capability.json", "scripts/run-eveelectron-lifecycle-smoke.ps1", "scripts/run-eveelectron-provider-shell-smoke.ps1" ], + "expectedSourceSymbols": [ + { + "path": "runtimes/incubating/eve-electron/src/eve-electron-shell.mjs", + "contains": ["EveElectronShell", "selectSurface", "createCommandIntent", "worldInteraction", "commandBoundary", "receiptSchema", "electron-shell"] + }, + { + "path": "runtimes/incubating/eve-electron/test/eve-electron-shell.test.mjs", + "contains": ["selects the active advertised provider surface", "command intents carry provider-advertised boundaries", "aetheria.daemon.commands", "aetheria.eve_command_acceptance_status.v1"] + } + ], "capture": { "status": "missing", "note": "Electron capture is a split blocker until EveElectron owns a provider-agnostic shell."