interplane.Get Omega
Read in your language

interplane-mv

INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.

Brought by drakestapleton

branch main Branches Tags History

interplane-mv / conformance / fixtures / 40-source-class-model-generated.json

218 lines · 5976 bytes Raw Blame History
1{
2 "case": "40-source-class-model-generated",
3 "description": "Source class model_generated. The pipeline does not record the model's own text: after a plain-text turn the next call still sees only the user input (floor user_supplied). The host registers the earlier model output as model_generated with trust external_untrusted when it feeds it back; the following call's floor drops to external_untrusted. Under the mock policy (0.3 cut E1) that append_note is an effect at an untrusted floor, so it waits for approval and is not executed; the host still records its non-data result.",
4 "limits": {
5 "max_argument_bytes": 65536
6 },
7 "trace_id": "trace-40",
8 "steps": [
9 {
10 "input": {
11 "input_id": "in-40-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:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
20 "trace_id": "trace-40",
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": "I will append a note."
32 }
33 },
34 {
35 "turn": 1,
36 "dialect": "openai",
37 "model": "mock-model",
38 "continues": true,
39 "input": {
40 "role": "assistant",
41 "content": null,
42 "tool_calls": [
43 {
44 "id": "call_40a",
45 "type": "function",
46 "function": {
47 "name": "append_note",
48 "arguments": "{\"path\": \"n.txt\", \"text\": \"hi\"}"
49 }
50 }
51 ]
52 }
53 },
54 {
55 "input": {
56 "input_id": "in-40-model",
57 "content_kind": "model_generated",
58 "trust": "external_untrusted",
59 "source": {
60 "kind": "model",
61 "id": "mock-model"
62 },
63 "origin": "model:mock-model:turn-0",
64 "content_digest": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
65 "trace_id": "trace-40",
66 "parent_id": null,
67 "derived_from": []
68 }
69 },
70 {
71 "turn": 2,
72 "dialect": "openai",
73 "model": "mock-model",
74 "continues": true,
75 "input": {
76 "role": "assistant",
77 "content": null,
78 "tool_calls": [
79 {
80 "id": "call_40b",
81 "type": "function",
82 "function": {
83 "name": "append_note",
84 "arguments": "{\"path\": \"n.txt\", \"text\": \"again\"}"
85 }
86 }
87 ]
88 }
89 }
90 ],
91 "expected": {
92 "observed": [
93 {
94 "request_id": "call_40a",
95 "stage": "SUCCEEDED",
96 "decision": "authorized",
97 "status": "ok",
98 "error_code": null,
99 "decide_invoked": true,
100 "execute_invoked": true,
101 "result_digest": null
102 },
103 {
104 "request_id": "call_40b",
105 "stage": "REQUIRES_APPROVAL",
106 "decision": "requires_approval",
107 "status": "requires_approval",
108 "error_code": "approval_required",
109 "decide_invoked": true,
110 "execute_invoked": false,
111 "result_digest": null
112 }
113 ],
114 "turns": [
115 {
116 "turn": 0,
117 "outcome": "no_tool",
118 "intents": 0,
119 "rejected": 0,
120 "text": "I will append a note."
121 },
122 {
123 "turn": 1,
124 "outcome": "tool_request",
125 "intents": 1,
126 "rejected": 0,
127 "text": ""
128 },
129 {
130 "turn": 2,
131 "outcome": "tool_request",
132 "intents": 1,
133 "rejected": 0,
134 "text": ""
135 }
136 ],
137 "runtime": {
138 "decide_calls": 2,
139 "execute_calls": 1
140 },
141 "inputs": [
142 {
143 "input_id": "in-40-user",
144 "content_kind": "user_request",
145 "trust": "user_supplied",
146 "source": {
147 "kind": "operator",
148 "id": "drake"
149 },
150 "origin": "runtime:user-turn-1",
151 "content_digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
152 "trace_id": "trace-40",
153 "parent_id": null,
154 "derived_from": []
155 },
156 {
157 "input_id": "in-auto-0",
158 "content_kind": "workspace_content",
159 "trust": "trusted_runtime",
160 "source": {
161 "kind": "runtime",
162 "id": "mock"
163 },
164 "origin": "runtime:mock",
165 "trace_id": "trace-40",
166 "parent_id": "call_40a",
167 "derived_from": [],
168 "content_digest": "sha256:b5532fee10e69e2b25840241c759e51dd51756a9d095d921117db2457c2edb9f"
169 },
170 {
171 "input_id": "in-40-model",
172 "content_kind": "model_generated",
173 "trust": "external_untrusted",
174 "source": {
175 "kind": "model",
176 "id": "mock-model"
177 },
178 "origin": "model:mock-model:turn-0",
179 "content_digest": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
180 "trace_id": "trace-40",
181 "parent_id": null,
182 "derived_from": []
183 },
184 {
185 "input_id": "in-auto-1",
186 "content_kind": "unknown",
187 "trust": "unknown",
188 "source": {
189 "kind": "runtime",
190 "id": "mock"
191 },
192 "origin": "runtime:mock",
193 "trace_id": "trace-40",
194 "parent_id": "call_40b",
195 "derived_from": [],
196 "content_digest": "sha256:bdd69c5dc43d9eb7d6e540d99fc7af63913934cd7dd6544248f06bb154bfccfc"
197 }
198 ],
199 "exposure": [
200 {
201 "request_id": "call_40a",
202 "inputs": [
203 "in-40-user"
204 ],
205 "floor": "user_supplied"
206 },
207 {
208 "request_id": "call_40b",
209 "inputs": [
210 "in-40-user",
211 "in-auto-0",
212 "in-40-model"
213 ],
214 "floor": "external_untrusted"
215 }
216 ]
217 }
218}