Define plugin sidecar ABI contract
This commit is contained in:
parent
a947062f7b
commit
f505b7e86c
16 changed files with 304 additions and 23 deletions
|
|
@ -304,13 +304,16 @@ Recently cut:
|
|||
Unity UI Toolkit release/test/capture statuses plus the tagged UPM release,
|
||||
batchmode runner, and capture artifact pending proofs from the exported
|
||||
runtime record.
|
||||
- Plugin manifests and advertisements now carry a runtime-independent sidecar
|
||||
ABI boundary. Sai, Norn, and TeX declare `invocationModel:
|
||||
- Plugin manifests and advertisements now carry a typed runtime-independent
|
||||
sidecar ABI boundary. Sai, Norn, and TeX declare `invocationModel:
|
||||
executable-sidecar`, `gamecult.eve.plugin_abi.v1`, CultMesh/stdio transports,
|
||||
renderer independence, no provider-state mutation, and provider-owned command
|
||||
acceptance. The parity harness validates manifest/advertisement agreement,
|
||||
exports the runtime boundary, and the plugin-owner consumer smoke asserts the
|
||||
Sai/Norn sidecar contract from the conformance pack.
|
||||
renderer independence, no provider-state mutation, provider-owned command
|
||||
acceptance, and `runtime.sidecar` fields for process kind, protocol,
|
||||
request/response schemas, operations, command envelope, receipt schema, and
|
||||
state authority. The parity harness validates manifest/advertisement
|
||||
agreement, checks sidecar operations against ABI fixture operations, exports
|
||||
the runtime boundary, and the plugin-owner consumer smoke asserts the Sai/Norn
|
||||
sidecar contract from the conformance pack.
|
||||
- Conformance export now carries first-class `capabilityGaps[]` records derived
|
||||
from plugin errors, provider advertisement/scenario errors, runtime missing
|
||||
evidence, declared unsupported plugin projection, capture gaps, and split
|
||||
|
|
|
|||
|
|
@ -164,8 +164,9 @@ manifests, advertisements, ABI fixtures, move-set paths, contract inputs, and
|
|||
external proofs. It also checks that the manifest and advertisement agree on
|
||||
the runtime-independent executable sidecar boundary: `gamecult.eve.plugin_abi.v1`,
|
||||
CultMesh/stdio transport, renderer independence, no provider-state mutation,
|
||||
and provider-owned command acceptance. The plugin-owner conformance smoke also
|
||||
asserts those handoff paths and runtime boundary claims from the conformance
|
||||
provider-owned command acceptance, and `runtime.sidecar` process/protocol/schema
|
||||
fields. The plugin-owner conformance smoke also asserts those handoff paths,
|
||||
runtime boundary claims, and exported sidecar fields from the conformance
|
||||
export.
|
||||
|
||||
Aetheria provider handoff smoke:
|
||||
|
|
|
|||
|
|
@ -118,9 +118,12 @@ Plugin manifests and advertisements declare a `runtime` block. Its normal
|
|||
incubating shape is `invocationModel: executable-sidecar`,
|
||||
`contract: gamecult.eve.plugin_abi.v1`, CultMesh plus stdio transports, and
|
||||
authority limits such as `renderer-independent`, `no-provider-state-mutation`,
|
||||
and `provider-accepts-or-denies-commands`. Runtimes consume that advertisement
|
||||
as a capability boundary. A Unity or web projection adapter may render an
|
||||
advertised capability; it does not become the plugin runtime.
|
||||
and `provider-accepts-or-denies-commands`. The nested `runtime.sidecar` block
|
||||
names the sidecar process kind, protocol, request/response schemas, ABI
|
||||
operations, command envelope, receipt schema, and state authority rule. Runtimes
|
||||
consume that advertisement as a capability boundary. A Unity or web projection
|
||||
adapter may render an advertised capability; it does not become the plugin
|
||||
runtime.
|
||||
|
||||
The ownership rule is semantic, not packaging ceremony: the plugin owns the
|
||||
capability and representation shape, while providers own live state and
|
||||
|
|
@ -167,6 +170,12 @@ runtime can return a proposed next state, diagnostics, measurements, or rendered
|
|||
assets. It cannot decide whether a provider command is allowed, cannot persist
|
||||
app truth, and cannot write receipts except for its own runtime diagnostics.
|
||||
|
||||
The incubating sidecar contract is checked in three places: the plugin manifest,
|
||||
the plugin advertisement, and the ABI fixture. The parity harness compares
|
||||
manifest and advertisement `runtime.sidecar` fields, verifies that sidecar
|
||||
operations cover the ABI fixture operations, and exports the sidecar boundary
|
||||
through the conformance pack for Sai, Norn, and EvePlugins to consume.
|
||||
|
||||
Example ABI request:
|
||||
|
||||
```json
|
||||
|
|
|
|||
Loading…
Reference in a new issue