interplane-mv
INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.
Brought by drakestapleton
interplane-mv / conformance / fixtures / 37-source-class-external-provider.json
| 1 | { |
| 2 | "case": "37-source-class-external-provider", |
| 3 | "description": "Source class external-provider: call_provider returns a third-party provider answer. The pipeline records the rendered result as an InputRecord with every required field (parent_id is the request_id); the host registered nothing, so the exposure floor fails closed to external_untrusted.", |
| 4 | "limits": { |
| 5 | "max_argument_bytes": 65536 |
| 6 | }, |
| 7 | "trace_id": "trace-37", |
| 8 | "steps": [ |
| 9 | { |
| 10 | "turn": 0, |
| 11 | "dialect": "openai", |
| 12 | "model": "mock-model", |
| 13 | "input": { |
| 14 | "role": "assistant", |
| 15 | "content": null, |
| 16 | "tool_calls": [ |
| 17 | { |
| 18 | "id": "call_37a", |
| 19 | "type": "function", |
| 20 | "function": { |
| 21 | "name": "call_provider", |
| 22 | "arguments": "{\"provider\": \"search-x\", \"query\": \"weather\"}" |
| 23 | } |
| 24 | } |
| 25 | ] |
| 26 | } |
| 27 | } |
| 28 | ], |
| 29 | "expected": { |
| 30 | "observed": [ |
| 31 | { |
| 32 | "request_id": "call_37a", |
| 33 | "stage": "SUCCEEDED", |
| 34 | "decision": "authorized", |
| 35 | "status": "ok", |
| 36 | "error_code": null, |
| 37 | "decide_invoked": true, |
| 38 | "execute_invoked": true, |
| 39 | "result_digest": null |
| 40 | } |
| 41 | ], |
| 42 | "turns": [ |
| 43 | { |
| 44 | "turn": 0, |
| 45 | "outcome": "tool_request", |
| 46 | "intents": 1, |
| 47 | "rejected": 0, |
| 48 | "text": "" |
| 49 | } |
| 50 | ], |
| 51 | "runtime": { |
| 52 | "decide_calls": 1, |
| 53 | "execute_calls": 1 |
| 54 | }, |
| 55 | "inputs": [ |
| 56 | { |
| 57 | "input_id": "in-auto-0", |
| 58 | "content_kind": "external_provider", |
| 59 | "trust": "external_untrusted", |
| 60 | "source": { |
| 61 | "kind": "runtime", |
| 62 | "id": "mock" |
| 63 | }, |
| 64 | "origin": "runtime:mock", |
| 65 | "trace_id": "trace-37", |
| 66 | "parent_id": "call_37a", |
| 67 | "derived_from": [], |
| 68 | "content_digest": "sha256:dbf09f069615678c0de5c4571beb34cad0ec0dbe28a1252437873dca7b91b874" |
| 69 | } |
| 70 | ], |
| 71 | "exposure": [ |
| 72 | { |
| 73 | "request_id": "call_37a", |
| 74 | "inputs": [], |
| 75 | "floor": "external_untrusted" |
| 76 | } |
| 77 | ] |
| 78 | } |
| 79 | } |