feat: conformance scenarios (core-01..core-09)
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).
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"id": "core-05-tool-execution-failed",
|
||||
"title": "Tool that raises returns execution_failed",
|
||||
"category": "core",
|
||||
"version": "aicc/0.1",
|
||||
"description": "A tool implementation that throws must be caught by the bridge and surfaced as error code execution_failed, not crash the session.",
|
||||
"steps": [
|
||||
{
|
||||
"send": {
|
||||
"type": "tool_call",
|
||||
"tool": "boom",
|
||||
"input": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"expect": {
|
||||
"type": "tool_result",
|
||||
"ok": false,
|
||||
"call_id_echo": true,
|
||||
"error": {
|
||||
"code": "execution_failed",
|
||||
"retryable": false
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user