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 / 39-source-class-user-request.json
| 1 | { |
| 2 | "case": "39-source-class-user-request", |
| 3 | "description": "Source class user-request: the operator's own request. The host registers the InputRecord (parent_id null); the next tool_request sees it, so the exposure floor is user_supplied. The call's own result is then recorded automatically.", |
| 4 | "limits": { |
| 5 | "max_argument_bytes": 65536 |
| 6 | }, |
| 7 | "trace_id": "trace-39", |
| 8 | "steps": [ |
| 9 | { |
| 10 | "input": { |
| 11 | "input_id": "in-39-user", |
| 12 | "content_kind": "user_request", |
| 13 | "trust": "user_supplied", |
| 14 | "source": { |
| 15 | "kind": "operator", |
| 16 | "id": "drake" |
| 17 | }, |
| 18 | "origin": "runtime:user-turn-1", |
| 19 | "content_digest": "sha256:9999999999999999999999999999999999999999999999999999999999999999", |
| 20 | "trace_id": "trace-39", |
| 21 | "parent_id": null, |
| 22 | "derived_from": [] |
| 23 | } |
| 24 | }, |
| 25 | { |
| 26 | "turn": 0, |
| 27 | "dialect": "openai", |
| 28 | "model": "mock-model", |
| 29 | "input": { |
| 30 | "role": "assistant", |
| 31 | "content": null, |
| 32 | "tool_calls": [ |
| 33 | { |
| 34 | "id": "call_39a", |
| 35 | "type": "function", |
| 36 | "function": { |
| 37 | "name": "list_dir", |
| 38 | "arguments": "{\"path\": \"/tmp\"}" |
| 39 | } |
| 40 | } |
| 41 | ] |
| 42 | } |
| 43 | } |
| 44 | ], |
| 45 | "expected": { |
| 46 | "observed": [ |
| 47 | { |
| 48 | "request_id": "call_39a", |
| 49 | "stage": "SUCCEEDED", |
| 50 | "decision": "authorized", |
| 51 | "status": "ok", |
| 52 | "error_code": null, |
| 53 | "decide_invoked": true, |
| 54 | "execute_invoked": true, |
| 55 | "result_digest": null |
| 56 | } |
| 57 | ], |
| 58 | "turns": [ |
| 59 | { |
| 60 | "turn": 0, |
| 61 | "outcome": "tool_request", |
| 62 | "intents": 1, |
| 63 | "rejected": 0, |
| 64 | "text": "" |
| 65 | } |
| 66 | ], |
| 67 | "runtime": { |
| 68 | "decide_calls": 1, |
| 69 | "execute_calls": 1 |
| 70 | }, |
| 71 | "inputs": [ |
| 72 | { |
| 73 | "input_id": "in-39-user", |
| 74 | "content_kind": "user_request", |
| 75 | "trust": "user_supplied", |
| 76 | "source": { |
| 77 | "kind": "operator", |
| 78 | "id": "drake" |
| 79 | }, |
| 80 | "origin": "runtime:user-turn-1", |
| 81 | "content_digest": "sha256:9999999999999999999999999999999999999999999999999999999999999999", |
| 82 | "trace_id": "trace-39", |
| 83 | "parent_id": null, |
| 84 | "derived_from": [] |
| 85 | }, |
| 86 | { |
| 87 | "input_id": "in-auto-0", |
| 88 | "parent_id": "call_39a", |
| 89 | "trace_id": "trace-39" |
| 90 | } |
| 91 | ], |
| 92 | "exposure": [ |
| 93 | { |
| 94 | "request_id": "call_39a", |
| 95 | "inputs": [ |
| 96 | "in-39-user" |
| 97 | ], |
| 98 | "floor": "user_supplied" |
| 99 | } |
| 100 | ] |
| 101 | } |
| 102 | } |