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 / approval / 03-approval-id-of-another-request.json

171 lines · 4487 bytes Raw Blame History
1{
2 "case": "approval-A03-approval-id-of-another-request",
3 "description": "The approval_id minted for request R used for request R' (both pending): R' is DENIED, execute 0. R is untouched and still continues with its own id.",
4 "limits": {
5 "max_argument_bytes": 65536
6 },
7 "trace_id": "trace-a03",
8 "steps": [
9 {
10 "turn": 0,
11 "envelope": {
12 "interplane_version": "0.1",
13 "message_id": "m-approval-A03-approval-id-of-another-request-0",
14 "trace_id": "trace-a03",
15 "parent_id": null,
16 "timestamp": "2026-01-01T00:00:00Z",
17 "source": {
18 "kind": "model",
19 "id": "mock-model"
20 },
21 "destination": {
22 "kind": "runtime",
23 "id": "mock"
24 },
25 "payload": {
26 "kind": "tool_request",
27 "request_id": "call_a03a",
28 "tool": {
29 "namespace": null,
30 "name": "delete_file"
31 },
32 "arguments": {
33 "path": "/tmp/a.txt"
34 },
35 "provenance": {
36 "dialect": "openai",
37 "dialect_version": "1",
38 "model": "mock-model",
39 "parser_version": "1.0.0",
40 "source_turn": 0,
41 "source_call_id": null,
42 "source_digest": null,
43 "raw_name": "delete_file",
44 "coercion": "none"
45 }
46 }
47 }
48 },
49 {
50 "turn": 0,
51 "envelope": {
52 "interplane_version": "0.1",
53 "message_id": "m-approval-A03-approval-id-of-another-request-1",
54 "trace_id": "trace-a03",
55 "parent_id": null,
56 "timestamp": "2026-01-01T00:00:00Z",
57 "source": {
58 "kind": "model",
59 "id": "mock-model"
60 },
61 "destination": {
62 "kind": "runtime",
63 "id": "mock"
64 },
65 "payload": {
66 "kind": "tool_request",
67 "request_id": "call_a03b",
68 "tool": {
69 "namespace": null,
70 "name": "delete_file"
71 },
72 "arguments": {
73 "path": "/tmp/b.txt"
74 },
75 "provenance": {
76 "dialect": "openai",
77 "dialect_version": "1",
78 "model": "mock-model",
79 "parser_version": "1.0.0",
80 "source_turn": 0,
81 "source_call_id": null,
82 "source_digest": null,
83 "raw_name": "delete_file",
84 "coercion": "none"
85 }
86 }
87 }
88 },
89 {
90 "approve": {
91 "request_id": "call_a03b",
92 "approval_id": "mock-approval-call_a03a"
93 }
94 },
95 {
96 "approve": {
97 "request_id": "call_a03a",
98 "approval_id": "mock-approval-call_a03a"
99 }
100 }
101 ],
102 "expected": {
103 "observed": [
104 {
105 "request_id": "call_a03a",
106 "stage": "REQUIRES_APPROVAL",
107 "decision": "requires_approval",
108 "status": "requires_approval",
109 "error_code": "approval_required",
110 "decide_invoked": true,
111 "execute_invoked": false,
112 "result_digest": null
113 },
114 {
115 "request_id": "call_a03b",
116 "stage": "REQUIRES_APPROVAL",
117 "decision": "requires_approval",
118 "status": "requires_approval",
119 "error_code": "approval_required",
120 "decide_invoked": true,
121 "execute_invoked": false,
122 "result_digest": null
123 },
124 {
125 "request_id": "call_a03b",
126 "stage": "DENIED",
127 "decision": "denied",
128 "status": "denied",
129 "error_code": "policy_denied",
130 "decide_invoked": false,
131 "execute_invoked": false,
132 "result_digest": null
133 },
134 {
135 "request_id": "call_a03a",
136 "stage": "SUCCEEDED",
137 "decision": "authorized",
138 "status": "ok",
139 "error_code": null,
140 "decide_invoked": false,
141 "execute_invoked": true,
142 "result_digest": null
143 }
144 ],
145 "turns": [],
146 "runtime": {
147 "decide_calls": 2,
148 "execute_calls": 1
149 },
150 "continuations": [
151 {
152 "step": 2,
153 "kind": "approve",
154 "request_id": "call_a03b",
155 "outcome": "resolved",
156 "stage": "DENIED",
157 "reason": null,
158 "message": "approval refused: approval_id does not match"
159 },
160 {
161 "step": 3,
162 "kind": "approve",
163 "request_id": "call_a03a",
164 "outcome": "resolved",
165 "stage": "SUCCEEDED",
166 "reason": null,
167 "message": null
168 }
169 ]
170 }
171}