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 / 01-forged-approval-id.json

72 lines · 1860 bytes Raw Blame History
1{
2 "case": "lifecycle/01-forged-approval-id",
3 "description": "delete_file requires approval (runtime mints mock-approval-call_L01). A continuation decision carrying an approval_id the runtime never minted is refused and the request stays REQUIRES_APPROVAL. The runtime-minted id then authorizes it.",
4 "steps": [
5 {
6 "request_id": "call_L01",
7 "decision": {
8 "kind": "decision",
9 "request_id": "call_L01",
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_L01",
18 "scope": "single_action"
19 }
20 }
21 },
22 {
23 "request_id": "call_L01",
24 "decision": {
25 "kind": "decision",
26 "request_id": "call_L01",
27 "decision": "authorized",
28 "capability": "delete_file",
29 "authority": {
30 "runtime": "mock",
31 "policy_engine": "mock.policy"
32 },
33 "approval": {
34 "approval_id": "forged-approval-1"
35 }
36 }
37 },
38 {
39 "request_id": "call_L01",
40 "decision": {
41 "kind": "decision",
42 "request_id": "call_L01",
43 "decision": "authorized",
44 "capability": "delete_file",
45 "authority": {
46 "runtime": "mock",
47 "policy_engine": "mock.policy"
48 },
49 "approval": {
50 "approval_id": "mock-approval-call_L01"
51 }
52 }
53 }
54 ],
55 "expected": [
56 {
57 "request_id": "call_L01",
58 "state": "REQUIRES_APPROVAL",
59 "refused": false
60 },
61 {
62 "request_id": "call_L01",
63 "state": "REQUIRES_APPROVAL",
64 "refused": true
65 },
66 {
67 "request_id": "call_L01",
68 "state": "AUTHORIZED",
69 "refused": false
70 }
71 ]
72}