Graduate Sai plugin authority to owner repo
This commit is contained in:
parent
86dbb685f8
commit
29515102c0
9 changed files with 31 additions and 317 deletions
|
|
@ -1,89 +0,0 @@
|
|||
{
|
||||
"schema": "gamecult.eve.plugin_abi_fixture.v1",
|
||||
"fixtureId": "sai-vn-plugin-abi",
|
||||
"pluginId": "sai.vn",
|
||||
"ownerRepo": "Sai",
|
||||
"contract": "gamecult.eve.plugin_abi.v1",
|
||||
"requestSchema": "gamecult.eve.plugin_abi.request.v1",
|
||||
"responseSchema": "gamecult.eve.plugin_abi.response.v1",
|
||||
"sourceFixture": "sai-vn",
|
||||
"operations": [
|
||||
{
|
||||
"operation": "describe",
|
||||
"input": {
|
||||
"manifest": "plugins/incubating/sai-vn.plugin.json",
|
||||
"advertisement": "plugins/incubating/sai-vn.plugin-advertisement.json"
|
||||
},
|
||||
"expect": {
|
||||
"pluginId": "sai.vn",
|
||||
"componentKinds": ["vn.stage", "panel.dialogue", "text.dialogue", "rail.actions"],
|
||||
"commands": ["story.continue", "story.choose", "story.jump"],
|
||||
"capabilities": ["vn.stage", "story.choose", "story.continue", "story.jump"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"operation": "validate",
|
||||
"input": {
|
||||
"surface": "web/fixtures/sai-vn-surface.json",
|
||||
"componentKinds": ["vn.stage", "panel.dialogue", "text.dialogue", "rail.actions"]
|
||||
},
|
||||
"expect": {
|
||||
"acceptedComponentKinds": ["vn.stage", "panel.dialogue", "text.dialogue", "rail.actions"],
|
||||
"rejectedComponentKinds": ["combat.timeline"],
|
||||
"requiredCapabilities": ["vn.stage", "story.choose", "story.continue", "story.jump"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"operation": "project",
|
||||
"input": {
|
||||
"surface": "web/fixtures/sai-vn-surface.json",
|
||||
"rootKind": "vn.stage"
|
||||
},
|
||||
"expect": {
|
||||
"projectionKind": "semantic-surface",
|
||||
"ownedComponentKinds": ["vn.stage", "panel.dialogue", "text.dialogue", "rail.actions"],
|
||||
"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_invocation.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": {
|
||||
"commands": ["story.continue", "story.choose", "story.jump"]
|
||||
},
|
||||
"expect": {
|
||||
"commandEffects": {
|
||||
"story.continue": "advance-story",
|
||||
"story.choose": "choose-branch",
|
||||
"story.jump": "jump-to-knot"
|
||||
},
|
||||
"receiptSchema": "gamecult.eve.command_receipt.v1"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
{
|
||||
"schema": "gamecult.eve.plugin_advertisement.v1",
|
||||
"pluginId": "sai.vn",
|
||||
"ownerService": "sai",
|
||||
"version": "0.1.0-incubating",
|
||||
"manifestAddress": "file://plugins/incubating/sai-vn.plugin.json",
|
||||
"runtime": {
|
||||
"invocationModel": "executable-sidecar",
|
||||
"contract": "gamecult.eve.plugin_abi.v1",
|
||||
"transports": ["cultmesh", "stdio"],
|
||||
"authority": [
|
||||
"renderer-independent",
|
||||
"no-provider-state-mutation",
|
||||
"provider-accepts-or-denies-commands"
|
||||
],
|
||||
"sidecar": {
|
||||
"processKind": "long-running-daemon",
|
||||
"protocol": "cultmesh-rpc-with-stdio-dev-transport",
|
||||
"requestSchema": "gamecult.eve.plugin_abi.request.v1",
|
||||
"responseSchema": "gamecult.eve.plugin_abi.response.v1",
|
||||
"operations": ["describe", "validate", "project", "lower", "measure", "apply"],
|
||||
"commandEnvelope": "gamecult.eve.command_invocation.v1",
|
||||
"receiptSchema": "gamecult.eve.command_receipt.v1",
|
||||
"stateAuthority": "proposes-plugin-state-only-provider-accepts"
|
||||
}
|
||||
},
|
||||
"schemas": [
|
||||
"sai.vn.story_session.v1",
|
||||
"sai.vn.visual_manifest.v1"
|
||||
],
|
||||
"componentKinds": [
|
||||
"vn.stage",
|
||||
"panel.dialogue",
|
||||
"text.dialogue",
|
||||
"rail.actions"
|
||||
],
|
||||
"commands": [
|
||||
"story.continue",
|
||||
"story.choose",
|
||||
"story.jump"
|
||||
],
|
||||
"fixtures": [
|
||||
"sai-vn"
|
||||
]
|
||||
}
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
{
|
||||
"schema": "gamecult.eve.plugin_handoff.v1",
|
||||
"pluginId": "sai.vn",
|
||||
"ownerRepo": "Sai",
|
||||
"currentHostRepo": "Eve",
|
||||
"splitTarget": "Sai/sai-vn-plugin",
|
||||
"manifestPath": "plugins/incubating/sai-vn.plugin.json",
|
||||
"advertisementPath": "plugins/incubating/sai-vn.plugin-advertisement.json",
|
||||
"abiFixturePath": "plugins/incubating/sai-vn.plugin-abi-fixture.json",
|
||||
"authorityBoundary": "Sai owns VN/Ink story semantics, visual manifest semantics, story command interpretation, and plugin ABI behavior. Eve owns only plugin manifest, advertisement, ABI, provider requirement, and conformance export contracts.",
|
||||
"moveSets": [
|
||||
{
|
||||
"id": "plugin-manifest",
|
||||
"destinationOwner": "Sai",
|
||||
"currentPaths": [
|
||||
"plugins/incubating/sai-vn.plugin.json",
|
||||
"plugins/incubating/sai-vn.plugin-advertisement.json"
|
||||
],
|
||||
"replacementProof": "Sai publishes sai.vn plugin manifest and advertisement from the Sai repo or sidecar daemon."
|
||||
},
|
||||
{
|
||||
"id": "abi-conformance",
|
||||
"destinationOwner": "Sai",
|
||||
"currentPaths": [
|
||||
"plugins/incubating/sai-vn.plugin-abi-fixture.json",
|
||||
"web/fixtures/sai-vn-surface.json",
|
||||
"web/fixtures/sai-vn-surface.conformance.json"
|
||||
],
|
||||
"replacementProof": "Sai owns VN/Ink ABI describe, validate, project, lower, measure, and apply conformance cases."
|
||||
}
|
||||
],
|
||||
"contractInputs": [
|
||||
"gamecult.eve.plugin.v1",
|
||||
"gamecult.eve.plugin_advertisement.v1",
|
||||
"gamecult.eve.plugin_abi.v1",
|
||||
"gamecult.eve.plugin_abi.request.v1",
|
||||
"gamecult.eve.plugin_abi.response.v1",
|
||||
"gamecult.eve.plugin_abi_fixture.v1",
|
||||
"gamecult.eve.conformance_export.v1"
|
||||
],
|
||||
"forbiddenImports": [
|
||||
"Aetheria provider state",
|
||||
"renderer-native projection internals",
|
||||
"runtime plugin projection internals",
|
||||
"provider command acceptance or receipt authority"
|
||||
],
|
||||
"requiredExternalProofs": [
|
||||
"Sai publishes the sai.vn sidecar ABI without depending on Eve source layout.",
|
||||
"Sai owns VN/Ink story state, visual manifest, and story command fixtures.",
|
||||
"Providers consume sai.vn through plugin advertisements and ABI operations.",
|
||||
"Runtimes declare sai.vn projection support through runtime capability manifests."
|
||||
]
|
||||
}
|
||||
|
|
@ -1,98 +0,0 @@
|
|||
{
|
||||
"schema": "gamecult.eve.plugin.v1",
|
||||
"pluginId": "sai.vn",
|
||||
"title": "Sai Visual Novel",
|
||||
"owner": "Sai",
|
||||
"incubation": {
|
||||
"ownerRepo": "Sai",
|
||||
"currentHostRepo": "Eve",
|
||||
"splitTarget": "Sai/sai-vn-plugin",
|
||||
"graduationTrigger": "Split when VN/Ink semantics, story command fixtures, and ABI describe/validate/project/lower/measure/apply cases are stable."
|
||||
},
|
||||
"componentKinds": [
|
||||
"vn.stage",
|
||||
"panel.dialogue",
|
||||
"text.dialogue",
|
||||
"rail.actions"
|
||||
],
|
||||
"commands": [
|
||||
{
|
||||
"command": "story.continue",
|
||||
"schema": "sai.vn.story_command.v1",
|
||||
"effect": "advance-story"
|
||||
},
|
||||
{
|
||||
"command": "story.choose",
|
||||
"schema": "sai.vn.story_command.v1",
|
||||
"effect": "choose-branch"
|
||||
},
|
||||
{
|
||||
"command": "story.jump",
|
||||
"schema": "sai.vn.story_command.v1",
|
||||
"effect": "jump-to-knot"
|
||||
}
|
||||
],
|
||||
"runtime": {
|
||||
"invocationModel": "executable-sidecar",
|
||||
"contract": "gamecult.eve.plugin_abi.v1",
|
||||
"transports": ["cultmesh", "stdio"],
|
||||
"authority": [
|
||||
"renderer-independent",
|
||||
"no-provider-state-mutation",
|
||||
"provider-accepts-or-denies-commands"
|
||||
],
|
||||
"sidecar": {
|
||||
"processKind": "long-running-daemon",
|
||||
"protocol": "cultmesh-rpc-with-stdio-dev-transport",
|
||||
"requestSchema": "gamecult.eve.plugin_abi.request.v1",
|
||||
"responseSchema": "gamecult.eve.plugin_abi.response.v1",
|
||||
"operations": ["describe", "validate", "project", "lower", "measure", "apply"],
|
||||
"commandEnvelope": "gamecult.eve.command_invocation.v1",
|
||||
"receiptSchema": "gamecult.eve.command_receipt.v1",
|
||||
"stateAuthority": "proposes-plugin-state-only-provider-accepts"
|
||||
}
|
||||
},
|
||||
"stateSchemas": [
|
||||
"sai.vn.story_session.v1",
|
||||
"sai.vn.visual_manifest.v1"
|
||||
],
|
||||
"fixtures": [
|
||||
{
|
||||
"fixtureId": "sai-vn",
|
||||
"schema": "gamecult.eve.surface.v1",
|
||||
"path": "web/fixtures/sai-vn-surface.json"
|
||||
}
|
||||
],
|
||||
"abiFixtures": [
|
||||
"plugins/incubating/sai-vn.plugin-abi-fixture.json"
|
||||
],
|
||||
"capabilities": {
|
||||
"requires": [
|
||||
"vn.stage",
|
||||
"story.choose",
|
||||
"story.continue",
|
||||
"story.jump"
|
||||
],
|
||||
"optionalPlugins": [
|
||||
{
|
||||
"pluginId": "norn.graph",
|
||||
"relationship": "optional-nested-composition",
|
||||
"authority": "Sai can place an embed.norn surface when norn.graph is available; Norn remains the independent graph plugin owner and Sai must not import graph internals.",
|
||||
"capabilities": [
|
||||
"embed.norn",
|
||||
"graph.node.activate"
|
||||
]
|
||||
},
|
||||
{
|
||||
"pluginId": "tex.math",
|
||||
"relationship": "optional-nested-composition",
|
||||
"authority": "Sai can place an embed.tex surface when tex.math is available; TeX remains the independent math plugin owner and Sai must not import TeX internals.",
|
||||
"capabilities": [
|
||||
"embed.tex",
|
||||
"tex.inline",
|
||||
"tex.block"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue