Add Fensalir runtime surface fixture
This commit is contained in:
parent
ea86c958d3
commit
8fee12fc6b
7 changed files with 228 additions and 12 deletions
21
web/fixtures/fensalir-direct2d-surface.conformance.json
Normal file
21
web/fixtures/fensalir-direct2d-surface.conformance.json
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"schema": "gamecult.eve.conformance_fixture.v1",
|
||||
"fixtureId": "fensalir-direct2d",
|
||||
"title": "Fensalir Direct2D Adapter",
|
||||
"pack": "runtime",
|
||||
"ownerRepo": "Fensalir",
|
||||
"surface": {
|
||||
"transport": "local-json",
|
||||
"path": "web/fixtures/fensalir-direct2d-surface.json"
|
||||
},
|
||||
"purpose": "Proves Fensalir has a recorded gamecult.eve.surface.v1 runtime-adapter fixture before Direct2D capture becomes active evidence.",
|
||||
"exitCriteria": "Move to Fensalir when AquariumUiDocument lowering, command emission, embedded-slot preservation, and Direct2D frame capture are runtime-owned.",
|
||||
"asserts": [
|
||||
"runtime adapter surface contract",
|
||||
"AquariumUiDocument lowering target",
|
||||
"command descriptor and command references",
|
||||
"embedded document slot preservation",
|
||||
"Direct2D style tokens"
|
||||
],
|
||||
"splitTarget": "Fensalir"
|
||||
}
|
||||
160
web/fixtures/fensalir-direct2d-surface.json
Normal file
160
web/fixtures/fensalir-direct2d-surface.json
Normal file
|
|
@ -0,0 +1,160 @@
|
|||
{
|
||||
"type": "surface-state",
|
||||
"schema": "gamecult.eve.surface.v1",
|
||||
"providerId": "fensalir.direct2d",
|
||||
"providerKind": "runtime.adapter",
|
||||
"title": "Fensalir Direct2D Adapter Surface",
|
||||
"version": 1,
|
||||
"updatedAtUtc": "2026-07-09T00:00:00Z",
|
||||
"surface": {
|
||||
"id": "fensalir.direct2d.adapter",
|
||||
"root": {
|
||||
"id": "fensalir.direct2d.root",
|
||||
"kind": "surface",
|
||||
"props": {
|
||||
"runtimeTarget": "Fensalir",
|
||||
"loweringTarget": "AquariumUiDocument"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "fensalir.direct2d.summary",
|
||||
"kind": "card",
|
||||
"props": {
|
||||
"title": "Direct2D Runtime Boundary",
|
||||
"authorityOwner": "runtime",
|
||||
"authorityState": "fresh",
|
||||
"witnessRef": "E:\\Projects\\Fensalir\\src\\Aquarium.EveSurface\\EveSurfaceRuntime.cs"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "fensalir.direct2d.summary.text",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"text": "Fensalir owns DirectWrite/Direct2D projection, focus, pointer dispatch, frame timing, and capture. Eve owns the contract this surface exercises."
|
||||
},
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fensalir.direct2d.pipeline",
|
||||
"kind": "partition",
|
||||
"props": {
|
||||
"direction": "horizontal"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "fensalir.direct2d.aquarium",
|
||||
"kind": "card",
|
||||
"props": {
|
||||
"title": "AquariumUiDocument"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "fensalir.direct2d.aquarium.metric",
|
||||
"kind": "metric",
|
||||
"props": {
|
||||
"label": "Overlay Phase",
|
||||
"value": "D3D12 scene -> D2D overlay",
|
||||
"bind": "fensalir.overlay.phase"
|
||||
},
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"id": "fensalir.direct2d.aquarium.detail",
|
||||
"kind": "text",
|
||||
"props": {
|
||||
"text": "The adapter lowers Eve components into Aquarium UI panels without importing provider game state."
|
||||
},
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fensalir.direct2d.commands",
|
||||
"kind": "card",
|
||||
"props": {
|
||||
"title": "Command Boundary"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "fensalir.direct2d.command.focus",
|
||||
"kind": "control.button",
|
||||
"props": {
|
||||
"label": "Focus Adapter Node",
|
||||
"command": "fensalir.overlay.commands",
|
||||
"commandId": "fensalir.overlay.focus",
|
||||
"action": {
|
||||
"schema": "gamecult.eve.command.v1",
|
||||
"command": "fensalir.overlay.commands",
|
||||
"operation": "focus_node",
|
||||
"nodeId": "aquarium-ui"
|
||||
}
|
||||
},
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"id": "fensalir.direct2d.command.capture",
|
||||
"kind": "control.button",
|
||||
"props": {
|
||||
"label": "Request Frame Capture",
|
||||
"command": "fensalir.overlay.commands",
|
||||
"commandId": "fensalir.overlay.capture",
|
||||
"action": {
|
||||
"schema": "gamecult.eve.command.v1",
|
||||
"command": "fensalir.overlay.commands",
|
||||
"operation": "capture_frame",
|
||||
"target": "direct2d-overlay"
|
||||
}
|
||||
},
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fensalir.direct2d.embedded-slot",
|
||||
"kind": "surface.slot",
|
||||
"props": {
|
||||
"slotId": "fensalir.adapter.detail",
|
||||
"documentId": "cultmesh://fensalir/eve/adapter/detail",
|
||||
"schemaId": "gamecult.eve.surface.v1",
|
||||
"presentationKind": "runtime.detail"
|
||||
},
|
||||
"children": [],
|
||||
"embeddedDocuments": [
|
||||
{
|
||||
"slotId": "fensalir.adapter.detail",
|
||||
"documentId": "cultmesh://fensalir/eve/adapter/detail",
|
||||
"schemaId": "gamecult.eve.surface.v1",
|
||||
"presentationKind": "runtime.detail",
|
||||
"routeHint": {
|
||||
"kind": "CultMesh",
|
||||
"description": "Fensalir runtime detail surface"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"styles": {
|
||||
"tokens": {
|
||||
"colorBackground": "#090D10",
|
||||
"colorPanel": "#182024",
|
||||
"colorText": "#EDF7F2",
|
||||
"colorMuted": "#9FB6B1",
|
||||
"colorAccent": "#67D3B0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"command": "fensalir.overlay.commands",
|
||||
"schema": "gamecult.eve.command.v1",
|
||||
"transport": "cultmesh",
|
||||
"authority": "FensalirOverlayCommandBoundary",
|
||||
"result": "accepted-denied-or-replayed"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -50,8 +50,8 @@
|
|||
"surfaces": [
|
||||
{
|
||||
"transport": "local-json",
|
||||
"surfaceId": "fensalir.direct2d.fixture",
|
||||
"url": "./fixtures/fensalir-client-surface.json"
|
||||
"surfaceId": "fensalir.direct2d.adapter",
|
||||
"url": "./fixtures/fensalir-direct2d-surface.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue