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 / 19-valid-write-request.json

99 lines · 2404 bytes Raw Blame History
1{
2 "case": "19-valid-write-request",
3 "description": "append_note with only the user's request in view (floor user_supplied) is authorized and executed; the result reports how many characters were appended and is trusted runtime workspace content.",
4 "limits": {
5 "max_argument_bytes": 65536
6 },
7 "trace_id": "trace-19",
8 "steps": [
9 {
10 "input": {
11 "input_id": "in-19-user",
12 "content_kind": "user_request",
13 "trust": "user_supplied",
14 "source": {
15 "kind": "operator",
16 "id": "drake"
17 },
18 "origin": "runtime:user-turn-1",
19 "content_digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
20 "trace_id": "trace-19",
21 "parent_id": null,
22 "derived_from": []
23 }
24 },
25 {
26 "turn": 0,
27 "dialect": "openai",
28 "model": "mock-model",
29 "input": {
30 "role": "assistant",
31 "content": null,
32 "tool_calls": [
33 {
34 "id": "call_19a",
35 "type": "function",
36 "function": {
37 "name": "append_note",
38 "arguments": "{\"path\": \"/tmp/notes.md\", \"text\": \"hello note\"}"
39 }
40 }
41 ]
42 }
43 }
44 ],
45 "expected": {
46 "observed": [
47 {
48 "request_id": "call_19a",
49 "stage": "SUCCEEDED",
50 "decision": "authorized",
51 "status": "ok",
52 "error_code": null,
53 "decide_invoked": true,
54 "execute_invoked": true,
55 "result_digest": null
56 }
57 ],
58 "turns": [
59 {
60 "turn": 0,
61 "outcome": "tool_request",
62 "intents": 1,
63 "rejected": 0,
64 "text": ""
65 }
66 ],
67 "runtime": {
68 "decide_calls": 1,
69 "execute_calls": 1
70 },
71 "result_checks": [
72 {
73 "request_id": "call_19a",
74 "path": "data.appended",
75 "equals": 10
76 },
77 {
78 "request_id": "call_19a",
79 "path": "data.path",
80 "equals": "/tmp/notes.md"
81 },
82 {
83 "request_id": "call_19a",
84 "path": "provenance.trust",
85 "equals": "trusted_runtime"
86 },
87 {
88 "request_id": "call_19a",
89 "path": "provenance.content_kind",
90 "equals": "workspace_content"
91 },
92 {
93 "request_id": "call_19a",
94 "path": "provenance.trusted",
95 "equals": true
96 }
97 ]
98 }
99}