Add EveUnity capture request contract

This commit is contained in:
Meta Vens 2026-07-09 10:48:08 +01:00
commit ce7a7040c8
13 changed files with 353 additions and 10 deletions

View file

@ -40,7 +40,8 @@ evidence:
- release: incubating UPM package identity and import surface;
- test: package-owned EditMode tests run through Aetheria in Unity batchmode,
plus Aetheria consumer-build smoke through Unity's generated project;
- capture: pending Unity editor or batchmode artifact.
- capture: typed capture request contract and pending Unity editor or
batchmode PNG artifact.
The release stage also declares the UPM release contract:
`org.gamecult.eve.unity-uitoolkit` is released from this package root, reads
@ -55,6 +56,12 @@ under `artifacts/aetheria-unity-editmode/{stamp}`, and temporarily adds
Unity package consumption proof. CultLib still owns the .NET/NuGet dependency
story for its assemblies.
The capture stage declares `gamecult.eve.runtime_capture_request.v1` request
construction through `tools/eveunity/eveunity-capture-contract.mjs`. That
request is derived from the runtime capability manifest and Aetheria's provider
advertisement, then points at the PNG artifact EveUnity must produce later. It
does not fake a screenshot; it makes the capture input contract executable.
The manifest also declares `worldSurfaceLowering` target `unity-uitoolkit`.
That means this package can lower provider-advertised `interactive-world` and
`interactive-world-editor` surfaces as semantic UI Toolkit command surfaces.
@ -82,7 +89,11 @@ paths, runs the Aetheria Unity package consumer-build smoke, and verifies the
split handoff manifest. Pass `-RunUnityEditMode` when the local Unity editor
should also execute the incubating batchmode EditMode test runner. The final
tagged UPM release, batchmode runner ownership, and capture artifact still
graduate to `EveUnity`.
graduate to `EveUnity`. The capture contract smoke is:
```powershell
powershell -ExecutionPolicy Bypass -File .\scripts\run-eveunity-capture-contract-smoke.ps1
```
For Aetheria, the Unity evidence path is:

View file

@ -119,6 +119,10 @@
"captureContract": {
"ownerRepo": "EveUnity",
"runtimeId": "unity-uitoolkit",
"targetId": "unity-uitoolkit",
"requestSchema": "gamecult.eve.runtime_capture_request.v1",
"requestBuilder": "tools/eveunity/eveunity-capture-contract.mjs",
"advertisementPath": "web/fixtures/aetheria.provider-advertisement.json",
"captureKind": "unity-editor-or-batchmode-png",
"artifactKind": "png",
"artifactPattern": "artifacts/eveunity-uitoolkit-capture/{stamp}/unity-uitoolkit.png",
@ -128,7 +132,12 @@
"authority": "Capture observes runtime projection only; provider state, command acceptance, and receipts stay provider-owned.",
"publishProof": "Unity editor or batchmode capture artifact is attached to the runtime conformance report from EveUnity."
},
"evidencePaths": [],
"evidencePaths": [
"tools/eveunity/eveunity-capture-contract.mjs",
"tools/eveunity/eveunity-capture-contract.test.mjs",
"scripts/run-eveunity-capture-contract-smoke.ps1",
"web/fixtures/aetheria.provider-advertisement.json"
],
"pendingProofs": [
"Unity batchmode or editor capture artifact attached to the runtime conformance report."
]

View file

@ -37,7 +37,11 @@
{
"id": "unity-capture-lifecycle",
"stage": "capture",
"currentPaths": [],
"currentPaths": [
"tools/eveunity/eveunity-capture-contract.mjs",
"tools/eveunity/eveunity-capture-contract.test.mjs",
"scripts/run-eveunity-capture-contract-smoke.ps1"
],
"destinationOwner": "EveUnity",
"replacementProof": "Unity batchmode or editor capture artifact attached to the runtime conformance report."
}