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 / 03-approval-id-from-other-request.json

94 lines · 2402 bytes Raw Blame History
1{
2 "case": "lifecycle/03-approval-id-from-other-request",
3 "description": "Two requests are pending. A continuation for call_L03b that cites call_L03b but carries the approval_id minted for call_L03a is refused. The same id then authorizes call_L03a, the request it was minted for.",
4 "steps": [
5 {
6 "request_id": "call_L03a",
7 "decision": {
8 "kind": "decision",
9 "request_id": "call_L03a",
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_L03a",
18 "scope": "single_action"
19 }
20 }
21 },
22 {
23 "request_id": "call_L03b",
24 "decision": {
25 "kind": "decision",
26 "request_id": "call_L03b",
27 "decision": "requires_approval",
28 "capability": "delete_file",
29 "authority": {
30 "runtime": "mock",
31 "policy_engine": "mock.policy"
32 },
33 "approval": {
34 "approval_id": "mock-approval-call_L03b",
35 "scope": "single_action"
36 }
37 }
38 },
39 {
40 "request_id": "call_L03b",
41 "decision": {
42 "kind": "decision",
43 "request_id": "call_L03b",
44 "decision": "authorized",
45 "capability": "delete_file",
46 "authority": {
47 "runtime": "mock",
48 "policy_engine": "mock.policy"
49 },
50 "approval": {
51 "approval_id": "mock-approval-call_L03a"
52 }
53 }
54 },
55 {
56 "request_id": "call_L03a",
57 "decision": {
58 "kind": "decision",
59 "request_id": "call_L03a",
60 "decision": "authorized",
61 "capability": "delete_file",
62 "authority": {
63 "runtime": "mock",
64 "policy_engine": "mock.policy"
65 },
66 "approval": {
67 "approval_id": "mock-approval-call_L03a"
68 }
69 }
70 }
71 ],
72 "expected": [
73 {
74 "request_id": "call_L03a",
75 "state": "REQUIRES_APPROVAL",
76 "refused": false
77 },
78 {
79 "request_id": "call_L03b",
80 "state": "REQUIRES_APPROVAL",
81 "refused": false
82 },
83 {
84 "request_id": "call_L03b",
85 "state": "REQUIRES_APPROVAL",
86 "refused": true
87 },
88 {
89 "request_id": "call_L03a",
90 "state": "AUTHORIZED",
91 "refused": false
92 }
93 ]
94}