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 / 17-replay.json

119 lines · 3016 bytes Raw Blame History
1{
2 "case": "17-replay",
3 "description": "The same envelope (same message_id) is admitted twice. The first runs, the second is rejected as a replay and the runtime is not asked again.",
4 "limits": {
5 "max_argument_bytes": 65536
6 },
7 "trace_id": "trace-17",
8 "steps": [
9 {
10 "turn": 0,
11 "envelope": {
12 "interplane_version": "0.1",
13 "message_id": "m-17-replay-0-0",
14 "trace_id": "trace-17",
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": "req-17a",
28 "tool": {
29 "namespace": null,
30 "name": "read_file"
31 },
32 "arguments": {
33 "path": "/tmp/a.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": "read_file",
44 "coercion": "none"
45 }
46 }
47 }
48 },
49 {
50 "turn": 1,
51 "envelope": {
52 "interplane_version": "0.1",
53 "message_id": "m-17-replay-0-0",
54 "trace_id": "trace-17",
55 "parent_id": null,
56 "timestamp": "2026-01-01T00:00:00Z",
57 "source": {
58 "kind": "model",
59 "id": "mock-model"
60 },
61 "destination": {
62 "kind": "runtime",
63 "id": "mock"
64 },
65 "payload": {
66 "kind": "tool_request",
67 "request_id": "req-17a",
68 "tool": {
69 "namespace": null,
70 "name": "read_file"
71 },
72 "arguments": {
73 "path": "/tmp/a.txt"
74 },
75 "provenance": {
76 "dialect": "openai",
77 "dialect_version": "1",
78 "model": "mock-model",
79 "parser_version": "1.0.0",
80 "source_turn": 0,
81 "source_call_id": null,
82 "source_digest": null,
83 "raw_name": "read_file",
84 "coercion": "none"
85 }
86 }
87 }
88 }
89 ],
90 "expected": {
91 "observed": [
92 {
93 "request_id": "req-17a",
94 "stage": "SUCCEEDED",
95 "decision": "authorized",
96 "status": "ok",
97 "error_code": null,
98 "decide_invoked": true,
99 "execute_invoked": true,
100 "result_digest": null
101 },
102 {
103 "request_id": "req-17a",
104 "stage": "REJECTED",
105 "decision": null,
106 "status": "rejected",
107 "error_code": "replayed_message",
108 "decide_invoked": false,
109 "execute_invoked": false,
110 "result_digest": null
111 }
112 ],
113 "turns": [],
114 "runtime": {
115 "decide_calls": 1,
116 "execute_calls": 1
117 }
118 }
119}