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 / 35-source-class-skill.json
| 1 | { |
| 2 | "case": "35-source-class-skill", |
| 3 | "description": "Source class skill, both forms. A tool description is registered by the host as a skill input; the mock labels it external_untrusted because a third-party tool server can author it (CROSSVEIL source-class table). load_skill returns skill text, recorded automatically. The floor is external_untrusted, never workspace_untrusted.", |
| 4 | "limits": { |
| 5 | "max_argument_bytes": 65536 |
| 6 | }, |
| 7 | "trace_id": "trace-35", |
| 8 | "steps": [ |
| 9 | { |
| 10 | "input": { |
| 11 | "input_id": "in-35-tooldesc", |
| 12 | "content_kind": "skill", |
| 13 | "trust": "external_untrusted", |
| 14 | "source": { |
| 15 | "kind": "runtime", |
| 16 | "id": "mock-skills" |
| 17 | }, |
| 18 | "origin": "runtime:mock-tool-description:read_file", |
| 19 | "content_digest": "sha256:5555555555555555555555555555555555555555555555555555555555555555", |
| 20 | "trace_id": "trace-35", |
| 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_35a", |
| 35 | "type": "function", |
| 36 | "function": { |
| 37 | "name": "load_skill", |
| 38 | "arguments": "{\"name\": \"deploy\"}" |
| 39 | } |
| 40 | } |
| 41 | ] |
| 42 | } |
| 43 | } |
| 44 | ], |
| 45 | "expected": { |
| 46 | "observed": [ |
| 47 | { |
| 48 | "request_id": "call_35a", |
| 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-35-tooldesc", |
| 74 | "content_kind": "skill", |
| 75 | "trust": "external_untrusted", |
| 76 | "source": { |
| 77 | "kind": "runtime", |
| 78 | "id": "mock-skills" |
| 79 | }, |
| 80 | "origin": "runtime:mock-tool-description:read_file", |
| 81 | "content_digest": "sha256:5555555555555555555555555555555555555555555555555555555555555555", |
| 82 | "trace_id": "trace-35", |
| 83 | "parent_id": null, |
| 84 | "derived_from": [] |
| 85 | }, |
| 86 | { |
| 87 | "input_id": "in-auto-0", |
| 88 | "content_kind": "skill", |
| 89 | "trust": "external_untrusted", |
| 90 | "source": { |
| 91 | "kind": "runtime", |
| 92 | "id": "mock" |
| 93 | }, |
| 94 | "origin": "runtime:mock", |
| 95 | "trace_id": "trace-35", |
| 96 | "parent_id": "call_35a", |
| 97 | "derived_from": [], |
| 98 | "content_digest": "sha256:094e2b08174dea7db0152f5163198f58776fa109eaa63b2a4001c1e41508c879" |
| 99 | } |
| 100 | ], |
| 101 | "exposure": [ |
| 102 | { |
| 103 | "request_id": "call_35a", |
| 104 | "inputs": [ |
| 105 | "in-35-tooldesc" |
| 106 | ], |
| 107 | "floor": "external_untrusted" |
| 108 | } |
| 109 | ] |
| 110 | } |
| 111 | } |