Each frame is a cultnet.operation_request.v0 / operation_response.v0 (service gamecult.model.connector, operation invoke) over loopback TcpFramed, carrying the kit's sealed per-caller envelope: named MessagePack only, unknown fields refused, binary ciphertext, JSON Schema published from the types (ruling connector-v3-wire-cultnet-operation). v2 is deleted with its fixtures (ruling connector-v3-only). The request is provider-neutral, with max_output_tokens required; failure kinds, stop reasons and usage are typed, and Policy is three typed refusals. Golden v3 frames pin the carriage and envelope. Spec eureka-body:cut_spec:cut-connector-contract-v3.r2; reports h1-h2; Soul s2 holds (verdict eureka-body:verdict:cut-connector-contract-v3.s2). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
53 lines
1 KiB
JSON
53 lines
1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"title": "TransportEnvelope",
|
|
"type": "object",
|
|
"properties": {
|
|
"caller_runtime_id": {
|
|
"type": "string"
|
|
},
|
|
"ciphertext": {
|
|
"description": "MessagePack bin: the raw ciphertext bytes, never an array of integers",
|
|
"type": "string",
|
|
"format": "binary"
|
|
},
|
|
"message_kind": {
|
|
"$ref": "#/$defs/EnvelopeKind"
|
|
},
|
|
"nonce": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer",
|
|
"format": "uint8",
|
|
"maximum": 255,
|
|
"minimum": 0
|
|
},
|
|
"maxItems": 12,
|
|
"minItems": 12
|
|
},
|
|
"request_id": {
|
|
"type": "string"
|
|
},
|
|
"schema_id": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"schema_id",
|
|
"caller_runtime_id",
|
|
"request_id",
|
|
"message_kind",
|
|
"nonce",
|
|
"ciphertext"
|
|
],
|
|
"$defs": {
|
|
"EnvelopeKind": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Invocation",
|
|
"Result"
|
|
]
|
|
}
|
|
}
|
|
}
|