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 / 08-catalog-changed.json
| 1 | { |
| 2 | "case": "approval-A08-catalog-changed", |
| 3 | "description": "The runtime catalog digest changes between pending and continuation: DENIED with stale_capability, execute 0.", |
| 4 | "limits": { |
| 5 | "max_argument_bytes": 65536 |
| 6 | }, |
| 7 | "trace_id": "trace-a08", |
| 8 | "steps": [ |
| 9 | { |
| 10 | "turn": 0, |
| 11 | "envelope": { |
| 12 | "interplane_version": "0.1", |
| 13 | "message_id": "m-approval-A08-catalog-changed-0", |
| 14 | "trace_id": "trace-a08", |
| 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_a08", |
| 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 | "mock": { |
| 51 | "catalog_digest": "sha256:1111111111111111111111111111111111111111111111111111111111111111" |
| 52 | } |
| 53 | }, |
| 54 | { |
| 55 | "approve": { |
| 56 | "request_id": "call_a08", |
| 57 | "approval_id": "mock-approval-call_a08" |
| 58 | } |
| 59 | } |
| 60 | ], |
| 61 | "expected": { |
| 62 | "observed": [ |
| 63 | { |
| 64 | "request_id": "call_a08", |
| 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_a08", |
| 75 | "stage": "DENIED", |
| 76 | "decision": "denied", |
| 77 | "status": "denied", |
| 78 | "error_code": "stale_capability", |
| 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": 2, |
| 92 | "kind": "approve", |
| 93 | "request_id": "call_a08", |
| 94 | "outcome": "resolved", |
| 95 | "stage": "DENIED", |
| 96 | "reason": null, |
| 97 | "message": "runtime catalog changed since approval was requested" |
| 98 | } |
| 99 | ] |
| 100 | } |
| 101 | } |