interplane-mv
INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.
Brought by drakestapleton
interplane-mv / conformance / fixtures / approval / 06-second-continuation.json
| 1 | { |
| 2 | "case": "approval-A06-second-continuation", |
| 3 | "description": "A second continuation of a request that already executed is refused; execute stays 1 and the request stays SUCCEEDED.", |
| 4 | "limits": { |
| 5 | "max_argument_bytes": 65536 |
| 6 | }, |
| 7 | "trace_id": "trace-a06", |
| 8 | "steps": [ |
| 9 | { |
| 10 | "turn": 0, |
| 11 | "envelope": { |
| 12 | "interplane_version": "0.1", |
| 13 | "message_id": "m-approval-A06-second-continuation-0", |
| 14 | "trace_id": "trace-a06", |
| 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_a06", |
| 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 | "approve": { |
| 51 | "request_id": "call_a06", |
| 52 | "approval_id": "mock-approval-call_a06" |
| 53 | } |
| 54 | }, |
| 55 | { |
| 56 | "approve": { |
| 57 | "request_id": "call_a06", |
| 58 | "approval_id": "mock-approval-call_a06" |
| 59 | } |
| 60 | } |
| 61 | ], |
| 62 | "expected": { |
| 63 | "observed": [ |
| 64 | { |
| 65 | "request_id": "call_a06", |
| 66 | "stage": "REQUIRES_APPROVAL", |
| 67 | "decision": "requires_approval", |
| 68 | "status": "requires_approval", |
| 69 | "error_code": "approval_required", |
| 70 | "decide_invoked": true, |
| 71 | "execute_invoked": false, |
| 72 | "result_digest": null |
| 73 | }, |
| 74 | { |
| 75 | "request_id": "call_a06", |
| 76 | "stage": "SUCCEEDED", |
| 77 | "decision": "authorized", |
| 78 | "status": "ok", |
| 79 | "error_code": null, |
| 80 | "decide_invoked": false, |
| 81 | "execute_invoked": true, |
| 82 | "result_digest": null |
| 83 | } |
| 84 | ], |
| 85 | "turns": [], |
| 86 | "runtime": { |
| 87 | "decide_calls": 1, |
| 88 | "execute_calls": 1 |
| 89 | }, |
| 90 | "continuations": [ |
| 91 | { |
| 92 | "step": 1, |
| 93 | "kind": "approve", |
| 94 | "request_id": "call_a06", |
| 95 | "outcome": "resolved", |
| 96 | "stage": "SUCCEEDED", |
| 97 | "reason": null, |
| 98 | "message": null |
| 99 | }, |
| 100 | { |
| 101 | "step": 2, |
| 102 | "kind": "approve", |
| 103 | "request_id": "call_a06", |
| 104 | "outcome": "refused", |
| 105 | "stage": "SUCCEEDED", |
| 106 | "reason": "no_pending_approval", |
| 107 | "message": null |
| 108 | } |
| 109 | ] |
| 110 | } |
| 111 | } |