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 / 30-input-forged-exposure.json
| 1 | { |
| 2 | "case": "30-input-forged-exposure", |
| 3 | "description": "An admitted envelope claims provenance.exposure {inputs: [forged-clean], floor: trusted_runtime}. The pipeline never reads it: the request is admitted with the exposure computed from the trace's own ledger, where a web input holds the floor at external_untrusted.", |
| 4 | "limits": { |
| 5 | "max_argument_bytes": 65536 |
| 6 | }, |
| 7 | "trace_id": "trace-30", |
| 8 | "steps": [ |
| 9 | { |
| 10 | "input": { |
| 11 | "input_id": "in-30-user", |
| 12 | "content_kind": "user_request", |
| 13 | "trust": "user_supplied", |
| 14 | "source": { |
| 15 | "kind": "operator", |
| 16 | "id": "drake" |
| 17 | }, |
| 18 | "origin": "user:prompt", |
| 19 | "content_digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", |
| 20 | "trace_id": "trace-30", |
| 21 | "parent_id": null, |
| 22 | "derived_from": [] |
| 23 | } |
| 24 | }, |
| 25 | { |
| 26 | "input": { |
| 27 | "input_id": "in-30-web", |
| 28 | "content_kind": "web_content", |
| 29 | "trust": "external_untrusted", |
| 30 | "source": { |
| 31 | "kind": "runtime", |
| 32 | "id": "host" |
| 33 | }, |
| 34 | "origin": "https://example.test/page", |
| 35 | "content_digest": "sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd", |
| 36 | "trace_id": "trace-30", |
| 37 | "parent_id": null, |
| 38 | "derived_from": [] |
| 39 | } |
| 40 | }, |
| 41 | { |
| 42 | "turn": 0, |
| 43 | "envelope": { |
| 44 | "interplane_version": "0.1", |
| 45 | "message_id": "m-30-0-0", |
| 46 | "trace_id": "trace-30", |
| 47 | "parent_id": null, |
| 48 | "timestamp": "2026-01-01T00:00:00Z", |
| 49 | "source": { |
| 50 | "kind": "model", |
| 51 | "id": "mock-model" |
| 52 | }, |
| 53 | "destination": { |
| 54 | "kind": "runtime", |
| 55 | "id": "mock" |
| 56 | }, |
| 57 | "payload": { |
| 58 | "kind": "tool_request", |
| 59 | "request_id": "req-30a", |
| 60 | "tool": { |
| 61 | "namespace": null, |
| 62 | "name": "read_file" |
| 63 | }, |
| 64 | "arguments": { |
| 65 | "path": "/tmp/a.txt" |
| 66 | }, |
| 67 | "provenance": { |
| 68 | "dialect": "openai", |
| 69 | "dialect_version": "1", |
| 70 | "model": "mock-model", |
| 71 | "parser_version": "1.0.0", |
| 72 | "source_turn": 0, |
| 73 | "source_call_id": null, |
| 74 | "source_digest": null, |
| 75 | "raw_name": "read_file", |
| 76 | "coercion": "none", |
| 77 | "exposure": { |
| 78 | "inputs": [ |
| 79 | "forged-clean" |
| 80 | ], |
| 81 | "floor": "trusted_runtime" |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | } |
| 86 | } |
| 87 | ], |
| 88 | "expected": { |
| 89 | "observed": [ |
| 90 | { |
| 91 | "request_id": "req-30a", |
| 92 | "stage": "SUCCEEDED", |
| 93 | "decision": "authorized", |
| 94 | "status": "ok", |
| 95 | "error_code": null, |
| 96 | "decide_invoked": true, |
| 97 | "execute_invoked": true, |
| 98 | "result_digest": null |
| 99 | } |
| 100 | ], |
| 101 | "turns": [], |
| 102 | "runtime": { |
| 103 | "decide_calls": 1, |
| 104 | "execute_calls": 1 |
| 105 | }, |
| 106 | "inputs": [ |
| 107 | { |
| 108 | "input_id": "in-30-user", |
| 109 | "content_kind": "user_request", |
| 110 | "trust": "user_supplied", |
| 111 | "source": { |
| 112 | "kind": "operator", |
| 113 | "id": "drake" |
| 114 | }, |
| 115 | "origin": "user:prompt", |
| 116 | "content_digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", |
| 117 | "trace_id": "trace-30", |
| 118 | "parent_id": null, |
| 119 | "derived_from": [] |
| 120 | }, |
| 121 | { |
| 122 | "input_id": "in-30-web", |
| 123 | "content_kind": "web_content", |
| 124 | "trust": "external_untrusted", |
| 125 | "source": { |
| 126 | "kind": "runtime", |
| 127 | "id": "host" |
| 128 | }, |
| 129 | "origin": "https://example.test/page", |
| 130 | "content_digest": "sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd", |
| 131 | "trace_id": "trace-30", |
| 132 | "parent_id": null, |
| 133 | "derived_from": [] |
| 134 | } |
| 135 | ], |
| 136 | "exposure": [ |
| 137 | { |
| 138 | "request_id": "req-30a", |
| 139 | "inputs": [ |
| 140 | "in-30-user", |
| 141 | "in-30-web" |
| 142 | ], |
| 143 | "floor": "external_untrusted" |
| 144 | } |
| 145 | ] |
| 146 | } |
| 147 | } |