Declarative conformance scenarios for aicc/0.1 covering: handshake, manifest_request, tool call ok/unknown/execution-failed, protocol mismatch, heartbeat, session close, event delivery. Plus runner documentation (conformance/README.md).
27 lines
552 B
JSON
27 lines
552 B
JSON
{
|
|
"id": "core-06-protocol-mismatch",
|
|
"title": "Protocol mismatch is rejected",
|
|
"category": "core",
|
|
"version": "aicc/0.1",
|
|
"description": "A message with a wrong protocol version must be rejected with protocol_mismatch.",
|
|
"steps": [
|
|
{
|
|
"send": {
|
|
"protocol": "aicc/0.2",
|
|
"type": "tool_call",
|
|
"tool": "echo",
|
|
"input": {}
|
|
}
|
|
},
|
|
{
|
|
"expect": {
|
|
"type": "error",
|
|
"error": {
|
|
"code": "protocol_mismatch",
|
|
"retryable": false
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|