Extend plugin ABI fixture coverage

This commit is contained in:
Meta Vens 2026-07-09 01:03:57 +01:00
commit 3385cff2ef
7 changed files with 117 additions and 9 deletions

View file

@ -43,6 +43,32 @@
"outputSchemas": ["norn.graph.document.v1", "norn.graph.layout_request.v1", "norn.graph.layout_result.v1"]
}
},
{
"operation": "lower",
"input": {
"projection": "embedded-semantic-surface",
"targetRuntimes": ["web", "unity-uitoolkit"],
"componentKinds": ["embed.norn"]
},
"expect": {
"loweringKind": "graph-viewport",
"preservedComponentKinds": ["embed.norn"],
"requiredSchemas": ["norn.graph.document.v1", "norn.graph.layout_result.v1"],
"commandEnvelope": "gamecult.eve.command.v1"
}
},
{
"operation": "measure",
"input": {
"projection": "embedded-semantic-surface",
"layoutRequestSchema": "norn.graph.layout_request.v1"
},
"expect": {
"measurementKind": "graph-layout-metrics",
"measurementOutputs": ["nodeBounds", "edgeRoutes", "viewportBounds"],
"preservesProviderAuthority": true
}
},
{
"operation": "apply",
"input": {

View file

@ -43,6 +43,32 @@
"delegatedPlugins": ["norn.graph", "tex.math"]
}
},
{
"operation": "lower",
"input": {
"projection": "semantic-surface",
"targetRuntimes": ["web", "unity-uitoolkit"],
"componentKinds": ["vn.stage", "panel.dialogue", "text.dialogue", "rail.actions"]
},
"expect": {
"loweringKind": "runtime-neutral-stage-parts",
"preservedComponentKinds": ["vn.stage", "panel.dialogue", "text.dialogue", "rail.actions"],
"delegatedPlugins": ["norn.graph", "tex.math"],
"commandEnvelope": "gamecult.eve.command.v1"
}
},
{
"operation": "measure",
"input": {
"projection": "semantic-surface",
"placementKinds": ["overlay", "keystone", "sprite-chromakey"]
},
"expect": {
"measurementKind": "scene-placement-hints",
"measurementOutputs": ["preferredBounds", "safeTextRegion", "embeddedSurfaceSlots"],
"preservesProviderAuthority": true
}
},
{
"operation": "apply",
"input": {

View file

@ -7,7 +7,7 @@
"ownerRepo": "Sai",
"currentHostRepo": "Eve",
"splitTarget": "Sai/sai-vn-plugin",
"graduationTrigger": "Split when VN/Ink semantics, story command fixtures, and ABI validate/apply/project cases are stable."
"graduationTrigger": "Split when VN/Ink semantics, story command fixtures, and ABI describe/validate/project/lower/measure/apply cases are stable."
},
"componentKinds": [
"vn.stage",

View file

@ -43,6 +43,32 @@
"outputSchemas": ["tex.math.render_request.v1", "tex.math.render_result.v1"]
}
},
{
"operation": "lower",
"input": {
"projection": "render-request",
"targetRuntimes": ["web"],
"componentKinds": ["embed.tex"]
},
"expect": {
"loweringKind": "typeset-fragment",
"preservedComponentKinds": ["embed.tex"],
"requiredSchemas": ["tex.math.render_request.v1", "tex.math.render_result.v1"],
"fallbackKind": "source-text"
}
},
{
"operation": "measure",
"input": {
"projection": "render-request",
"sourceSchema": "tex.math.source.v1"
},
"expect": {
"measurementKind": "typeset-baseline-metrics",
"measurementOutputs": ["baseline", "advance", "inkBounds", "fallbackBounds"],
"preservesProviderAuthority": true
}
},
{
"operation": "apply",
"input": {