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 / 01-authorized-continuation.json

99 lines · 2528 bytes Raw Blame History
1{
2 "case": "approval-A01-authorized-continuation",
3 "description": "delete_file requires approval. The host continues with the runtime-minted approval_id, the same capability_request and an unexpired approval: AUTHORIZED, execute 1.",
4 "limits": {
5 "max_argument_bytes": 65536
6 },
7 "trace_id": "trace-a01",
8 "mock_approval": {
9 "expires_at": "2026-06-01T00:00:00Z"
10 },
11 "steps": [
12 {
13 "turn": 0,
14 "envelope": {
15 "interplane_version": "0.1",
16 "message_id": "m-approval-A01-authorized-continuation-0",
17 "trace_id": "trace-a01",
18 "parent_id": null,
19 "timestamp": "2026-01-01T00:00:00Z",
20 "source": {
21 "kind": "model",
22 "id": "mock-model"
23 },
24 "destination": {
25 "kind": "runtime",
26 "id": "mock"
27 },
28 "payload": {
29 "kind": "tool_request",
30 "request_id": "call_a01",
31 "tool": {
32 "namespace": null,
33 "name": "delete_file"
34 },
35 "arguments": {
36 "path": "/tmp/old.txt"
37 },
38 "provenance": {
39 "dialect": "openai",
40 "dialect_version": "1",
41 "model": "mock-model",
42 "parser_version": "1.0.0",
43 "source_turn": 0,
44 "source_call_id": null,
45 "source_digest": null,
46 "raw_name": "delete_file",
47 "coercion": "none"
48 }
49 }
50 }
51 },
52 {
53 "approve": {
54 "request_id": "call_a01",
55 "approval_id": "mock-approval-call_a01"
56 }
57 }
58 ],
59 "expected": {
60 "observed": [
61 {
62 "request_id": "call_a01",
63 "stage": "REQUIRES_APPROVAL",
64 "decision": "requires_approval",
65 "status": "requires_approval",
66 "error_code": "approval_required",
67 "decide_invoked": true,
68 "execute_invoked": false,
69 "result_digest": null
70 },
71 {
72 "request_id": "call_a01",
73 "stage": "SUCCEEDED",
74 "decision": "authorized",
75 "status": "ok",
76 "error_code": null,
77 "decide_invoked": false,
78 "execute_invoked": true,
79 "result_digest": null
80 }
81 ],
82 "turns": [],
83 "runtime": {
84 "decide_calls": 1,
85 "execute_calls": 1
86 },
87 "continuations": [
88 {
89 "step": 1,
90 "kind": "approve",
91 "request_id": "call_a01",
92 "outcome": "resolved",
93 "stage": "SUCCEEDED",
94 "reason": null,
95 "message": null
96 }
97 ]
98 }
99}