From dac9d2527cb9a6a0dfc6861c589326a89cc977ae Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 9 Jul 2026 01:01:22 +0100 Subject: [PATCH] Publish web reference runtime capability --- docs/eve-migration-roadmap.md | 8 +++ docs/parity-testing-harness.md | 10 ++-- tools/parity/parity-manifest.json | 60 ++++++++++++++++++++- web/eve-runtime-capability.json | 90 +++++++++++++++++++++++++++++++ 4 files changed, 163 insertions(+), 5 deletions(-) create mode 100644 web/eve-runtime-capability.json diff --git a/docs/eve-migration-roadmap.md b/docs/eve-migration-roadmap.md index 2bc6cc3..e040c8f 100644 --- a/docs/eve-migration-roadmap.md +++ b/docs/eve-migration-roadmap.md @@ -280,6 +280,14 @@ Exit criteria: Recently cut: +- The web reference now publishes a runtime capability manifest at + `web/eve-runtime-capability.json`, and the parity harness validates it through + the same runtime capability path as Unity. Web remains Eve's behavior oracle, + not an EveWeb split target, unless it gains independent deployment lifecycle. + Its manifest explicitly claims provider advertisement consumption, + embedded-document lowering, state bindings, style tokens, authority witnesses, + plugin projection support, command intent emission, and Chrome headless + capture evidence. - Unity UI Toolkit now declares runtime lifecycle evidence in `packages/org.gamecult.eve.unity-uitoolkit/eve-runtime-capability.json`. The parity harness validates release, test, and capture lifecycle claims against diff --git a/docs/parity-testing-harness.md b/docs/parity-testing-harness.md index d30c53b..4f1395b 100644 --- a/docs/parity-testing-harness.md +++ b/docs/parity-testing-harness.md @@ -26,9 +26,13 @@ transport schema, and incubation metadata. The central parity manifest may coordinate split-readiness, but the runtime body must publish the capability claim it expects other repos to consume. -Unity UI Toolkit currently uses this path for its `sai.vn` and `norn.graph` -plugin projection adapter proofs while leaving `tex.math` as explicit unsupported plugin -semantics. +The web reference and Unity UI Toolkit both publish runtime capability +manifests. Web uses `web/eve-runtime-capability.json` to make the browser oracle +explicit: it consumes provider advertisements, lowers provider-owned surfaces, +emits `gamecult.eve.command.v1` intents, and records Chrome headless capture +evidence without becoming provider truth. Unity UI Toolkit uses the same path +for its `sai.vn` and `norn.graph` plugin projection adapter proofs while +leaving `tex.math` as explicit unsupported plugin semantics. ## Run diff --git a/tools/parity/parity-manifest.json b/tools/parity/parity-manifest.json index 7c98aeb..bb4bcd6 100644 --- a/tools/parity/parity-manifest.json +++ b/tools/parity/parity-manifest.json @@ -440,12 +440,16 @@ "kind": "active", "ownerRepo": "Eve", "repoRole": "core", - "splitTarget": "EveWeb only if browser reference gains independent platform lifecycle", + "splitTarget": "Eve", "graduationTrigger": "Stay in Eve while it is the behavior oracle; split only if it becomes a deployable runtime product.", + "capabilityManifest": { + "schemaPath": "schemas/gamecult.eve.runtime_capability.v1.schema.json", + "manifestPath": "web/eve-runtime-capability.json" + }, "semanticHarness": true, "requiredFixtures": ["embedded-surface"], "pluginFixtures": ["sai-vn"], - "supportedFeatures": ["embeddedDocuments"], + "supportedFeatures": ["embeddedDocuments", "providerAdvertisements", "stateBindings", "styleTokens", "authorityWitnesses"], "supportedPlugins": [ { "pluginId": "sai.vn", @@ -461,11 +465,63 @@ } ], "expectedSourceSymbols": [ + { + "path": "web/surface.js", + "contains": ["loadProviderAdvertisement", "aetheria.provider-advertisement.json", "publishCommandIntent", "browser.reference"] + }, { "path": "packages/eve-browser-lowering/src/index.ts", "contains": ["surface.slot", "embeddedDocuments", "cultui-embedded-slot", "createEveCommandIntent", "resolveComponentCommandId"] } ], + "commandTransportSmoke": { + "schema": "gamecult.eve.command.v1", + "expectedPaths": ["packages/eve-browser-lowering/src/index.ts", "web/surface.js"], + "expectedSourceSymbols": [ + { + "path": "packages/eve-browser-lowering/src/index.ts", + "contains": ["EveCommandIntent", "createEveCommandIntent", "schema: \"gamecult.eve.command.v1\"", "clientId"] + }, + { + "path": "web/surface.js", + "contains": ["publishCommandIntent", "/hermodr/commands/eve", "createEveCommandIntent", "browser.reference"] + } + ] + }, + "lifecycle": { + "release": { + "ownerRepo": "Eve", + "status": "reference-oracle-in-core", + "evidencePaths": [ + "web/index.html", + "web/surface.js", + "packages/eve-browser-lowering/src/index.ts" + ], + "pendingProofs": [ + "Split to EveWeb only if the browser reference gains independent deployment and release lifecycle." + ] + }, + "test": { + "ownerRepo": "Eve", + "status": "node-tests-and-parity-harness", + "evidencePaths": [ + "web/eve-dsl.test.mjs", + "tools/parity/parity-manifest.json", + "scripts/run-parity-harness.ps1" + ], + "pendingProofs": [] + }, + "capture": { + "ownerRepo": "Eve", + "status": "chrome-headless", + "evidencePaths": [ + "scripts/capture-web-reference.ps1", + "scripts/run-parity-smoke.ps1", + "tools/parity/render-contact-sheet.py" + ], + "pendingProofs": [] + } + }, "capture": { "status": "chrome-headless", "note": "Chrome headless captures phone, tablet, and desktop PNGs through the provider query parameter." diff --git a/web/eve-runtime-capability.json b/web/eve-runtime-capability.json new file mode 100644 index 0000000..20285ad --- /dev/null +++ b/web/eve-runtime-capability.json @@ -0,0 +1,90 @@ +{ + "schema": "gamecult.eve.runtime_capability.v1", + "runtimeId": "web", + "title": "Web Reference", + "owner": "Eve", + "incubation": { + "ownerRepo": "Eve", + "currentHostRepo": "Eve", + "splitTarget": "Eve", + "graduationTrigger": "Stay in Eve while it is the behavior oracle; split only if it becomes a deployable runtime product." + }, + "supportedFeatures": [ + "embeddedDocuments", + "providerAdvertisements", + "stateBindings", + "styleTokens", + "authorityWitnesses" + ], + "supportedPlugins": [ + { + "pluginId": "sai.vn", + "capabilities": [ + "vn.stage", + "story.choose", + "story.continue", + "story.jump" + ], + "projection": "packages/eve-browser-lowering/src/index.ts" + }, + { + "pluginId": "norn.graph", + "capabilities": [ + "embed.norn" + ], + "projection": "packages/eve-browser-lowering/src/index.ts" + }, + { + "pluginId": "tex.math", + "capabilities": [ + "embed.tex" + ], + "projection": "packages/eve-browser-lowering/src/index.ts" + } + ], + "unsupportedPlugins": [], + "commandTransport": { + "schema": "gamecult.eve.command.v1", + "emitter": "createEveCommandIntent", + "clientId": "browser.reference" + }, + "lifecycle": { + "release": { + "ownerRepo": "Eve", + "status": "reference-oracle-in-core", + "evidencePaths": [ + "web/index.html", + "web/surface.js", + "packages/eve-browser-lowering/src/index.ts" + ], + "pendingProofs": [ + "Split to EveWeb only if the browser reference gains independent deployment and release lifecycle." + ] + }, + "test": { + "ownerRepo": "Eve", + "status": "node-tests-and-parity-harness", + "command": "node --test web/eve-dsl.test.mjs && powershell -ExecutionPolicy Bypass -File .\\scripts\\run-parity-harness.ps1", + "evidencePaths": [ + "web/eve-dsl.test.mjs", + "tools/parity/parity-manifest.json", + "scripts/run-parity-harness.ps1" + ], + "pendingProofs": [] + }, + "capture": { + "ownerRepo": "Eve", + "status": "chrome-headless", + "evidencePaths": [ + "scripts/capture-web-reference.ps1", + "scripts/run-parity-smoke.ps1", + "tools/parity/render-contact-sheet.py" + ], + "pendingProofs": [] + } + }, + "capture": { + "status": "chrome-headless", + "note": "Browser reference captures phone, tablet, and desktop PNGs through provider query parameters while preserving provider-owned truth." + } +}