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 / 07-single-action-reused.json

126 lines · 3193 bytes Raw Blame History
1{
2 "case": "approval-A07-single-action-reused",
3 "description": "A single_action approval is spent by the first request. Presenting it for a second, distinct request (never pending) is refused; the second runs nothing, and the spent approval cannot run the first again either.",
4 "limits": {
5 "max_argument_bytes": 65536
6 },
7 "trace_id": "trace-a07",
8 "steps": [
9 {
10 "turn": 0,
11 "envelope": {
12 "interplane_version": "0.1",
13 "message_id": "m-approval-A07-single-action-reused-0",
14 "trace_id": "trace-a07",
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_a07a",
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 "approve": {
51 "request_id": "call_a07a",
52 "approval_id": "mock-approval-call_a07a"
53 }
54 },
55 {
56 "approve": {
57 "request_id": "call_a07b",
58 "approval_id": "mock-approval-call_a07a"
59 }
60 },
61 {
62 "approve": {
63 "request_id": "call_a07a",
64 "approval_id": "mock-approval-call_a07a"
65 }
66 }
67 ],
68 "expected": {
69 "observed": [
70 {
71 "request_id": "call_a07a",
72 "stage": "REQUIRES_APPROVAL",
73 "decision": "requires_approval",
74 "status": "requires_approval",
75 "error_code": "approval_required",
76 "decide_invoked": true,
77 "execute_invoked": false,
78 "result_digest": null
79 },
80 {
81 "request_id": "call_a07a",
82 "stage": "SUCCEEDED",
83 "decision": "authorized",
84 "status": "ok",
85 "error_code": null,
86 "decide_invoked": false,
87 "execute_invoked": true,
88 "result_digest": null
89 }
90 ],
91 "turns": [],
92 "runtime": {
93 "decide_calls": 1,
94 "execute_calls": 1
95 },
96 "continuations": [
97 {
98 "step": 1,
99 "kind": "approve",
100 "request_id": "call_a07a",
101 "outcome": "resolved",
102 "stage": "SUCCEEDED",
103 "reason": null,
104 "message": null
105 },
106 {
107 "step": 2,
108 "kind": "approve",
109 "request_id": "call_a07b",
110 "outcome": "refused",
111 "stage": null,
112 "reason": "no_pending_approval",
113 "message": null
114 },
115 {
116 "step": 3,
117 "kind": "approve",
118 "request_id": "call_a07a",
119 "outcome": "refused",
120 "stage": "SUCCEEDED",
121 "reason": "no_pending_approval",
122 "message": null
123 }
124 ]
125 }
126}