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 / 09-cancelled.json

110 lines · 2725 bytes Raw Blame History
1{
2 "case": "approval-A09-cancelled",
3 "description": "The host cancels the pending approval (DENIED, terminal). A continuation that arrives afterwards is refused and DENIED stays; execute 0.",
4 "limits": {
5 "max_argument_bytes": 65536
6 },
7 "trace_id": "trace-a09",
8 "steps": [
9 {
10 "turn": 0,
11 "envelope": {
12 "interplane_version": "0.1",
13 "message_id": "m-approval-A09-cancelled-0",
14 "trace_id": "trace-a09",
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_a09",
28 "tool": {
29 "namespace": null,
30 "name": "delete_file"
31 },
32 "arguments": {
33 "path": "/tmp/old.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 "cancel": {
51 "request_id": "call_a09"
52 }
53 },
54 {
55 "approve": {
56 "request_id": "call_a09",
57 "approval_id": "mock-approval-call_a09"
58 }
59 }
60 ],
61 "expected": {
62 "observed": [
63 {
64 "request_id": "call_a09",
65 "stage": "REQUIRES_APPROVAL",
66 "decision": "requires_approval",
67 "status": "requires_approval",
68 "error_code": "approval_required",
69 "decide_invoked": true,
70 "execute_invoked": false,
71 "result_digest": null
72 },
73 {
74 "request_id": "call_a09",
75 "stage": "DENIED",
76 "decision": "denied",
77 "status": "denied",
78 "error_code": "policy_denied",
79 "decide_invoked": false,
80 "execute_invoked": false,
81 "result_digest": null
82 }
83 ],
84 "turns": [],
85 "runtime": {
86 "decide_calls": 1,
87 "execute_calls": 0
88 },
89 "continuations": [
90 {
91 "step": 1,
92 "kind": "cancel",
93 "request_id": "call_a09",
94 "outcome": "resolved",
95 "stage": "DENIED",
96 "reason": null,
97 "message": "approval cancelled by host"
98 },
99 {
100 "step": 2,
101 "kind": "approve",
102 "request_id": "call_a09",
103 "outcome": "refused",
104 "stage": "DENIED",
105 "reason": "no_pending_approval",
106 "message": null
107 }
108 ]
109 }
110}