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 / lifecycle / 04-runtime-minted-approval-id.json

115 lines · 2845 bytes Raw Blame History
1{
2 "case": "lifecycle/04-runtime-minted-approval-id",
3 "description": "The runtime-minted approval_id continues its own request: authorized gives AUTHORIZED, denied gives DENIED. A second continuation of the already-authorized request is refused.",
4 "steps": [
5 {
6 "request_id": "call_L04a",
7 "decision": {
8 "kind": "decision",
9 "request_id": "call_L04a",
10 "decision": "requires_approval",
11 "capability": "delete_file",
12 "authority": {
13 "runtime": "mock",
14 "policy_engine": "mock.policy"
15 },
16 "approval": {
17 "approval_id": "mock-approval-call_L04a",
18 "scope": "single_action"
19 }
20 }
21 },
22 {
23 "request_id": "call_L04a",
24 "decision": {
25 "kind": "decision",
26 "request_id": "call_L04a",
27 "decision": "authorized",
28 "capability": "delete_file",
29 "authority": {
30 "runtime": "mock",
31 "policy_engine": "mock.policy"
32 },
33 "approval": {
34 "approval_id": "mock-approval-call_L04a"
35 }
36 }
37 },
38 {
39 "request_id": "call_L04b",
40 "decision": {
41 "kind": "decision",
42 "request_id": "call_L04b",
43 "decision": "requires_approval",
44 "capability": "delete_file",
45 "authority": {
46 "runtime": "mock",
47 "policy_engine": "mock.policy"
48 },
49 "approval": {
50 "approval_id": "mock-approval-call_L04b",
51 "scope": "single_action"
52 }
53 }
54 },
55 {
56 "request_id": "call_L04b",
57 "decision": {
58 "kind": "decision",
59 "request_id": "call_L04b",
60 "decision": "denied",
61 "capability": "delete_file",
62 "authority": {
63 "runtime": "mock",
64 "policy_engine": "mock.policy"
65 },
66 "approval": {
67 "approval_id": "mock-approval-call_L04b"
68 }
69 }
70 },
71 {
72 "request_id": "call_L04a",
73 "decision": {
74 "kind": "decision",
75 "request_id": "call_L04a",
76 "decision": "authorized",
77 "capability": "delete_file",
78 "authority": {
79 "runtime": "mock",
80 "policy_engine": "mock.policy"
81 },
82 "approval": {
83 "approval_id": "mock-approval-call_L04a"
84 }
85 }
86 }
87 ],
88 "expected": [
89 {
90 "request_id": "call_L04a",
91 "state": "REQUIRES_APPROVAL",
92 "refused": false
93 },
94 {
95 "request_id": "call_L04a",
96 "state": "AUTHORIZED",
97 "refused": false
98 },
99 {
100 "request_id": "call_L04b",
101 "state": "REQUIRES_APPROVAL",
102 "refused": false
103 },
104 {
105 "request_id": "call_L04b",
106 "state": "DENIED",
107 "refused": false
108 },
109 {
110 "request_id": "call_L04a",
111 "state": "AUTHORIZED",
112 "refused": true
113 }
114 ]
115}