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 / 02-empty-approval-id.json

70 lines · 1688 bytes Raw Blame History
1{
2 "case": "lifecycle/02-empty-approval-id",
3 "description": "A continuation decision with an empty approval_id, and one with approval null, are both refused; the request stays REQUIRES_APPROVAL.",
4 "steps": [
5 {
6 "request_id": "call_L02",
7 "decision": {
8 "kind": "decision",
9 "request_id": "call_L02",
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_L02",
18 "scope": "single_action"
19 }
20 }
21 },
22 {
23 "request_id": "call_L02",
24 "decision": {
25 "kind": "decision",
26 "request_id": "call_L02",
27 "decision": "authorized",
28 "capability": "delete_file",
29 "authority": {
30 "runtime": "mock",
31 "policy_engine": "mock.policy"
32 },
33 "approval": {
34 "approval_id": ""
35 }
36 }
37 },
38 {
39 "request_id": "call_L02",
40 "decision": {
41 "kind": "decision",
42 "request_id": "call_L02",
43 "decision": "authorized",
44 "capability": "delete_file",
45 "authority": {
46 "runtime": "mock",
47 "policy_engine": "mock.policy"
48 },
49 "approval": null
50 }
51 }
52 ],
53 "expected": [
54 {
55 "request_id": "call_L02",
56 "state": "REQUIRES_APPROVAL",
57 "refused": false
58 },
59 {
60 "request_id": "call_L02",
61 "state": "REQUIRES_APPROVAL",
62 "refused": true
63 },
64 {
65 "request_id": "call_L02",
66 "state": "REQUIRES_APPROVAL",
67 "refused": true
68 }
69 ]
70}