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 / 26-unrecognized-content-kind.json
| 1 | { |
| 2 | "case": "26-unrecognized-content-kind", |
| 3 | "description": "read_file executes, and the runtime labels the result content_kind \"spreadsheet\", which is not a ContentKind value (harness-side mock_provenance, as a mislabelling adapter would). The pipeline reads an unrecognized kind as unknown (common.schema.json ContentKind) in both SDKs, as emitted and after a JCS round trip; trust stays unknown and trusted null.", |
| 4 | "limits": { |
| 5 | "max_argument_bytes": 65536 |
| 6 | }, |
| 7 | "trace_id": "trace-26", |
| 8 | "mock_provenance": { |
| 9 | "read_file": { |
| 10 | "content_kind": "spreadsheet" |
| 11 | } |
| 12 | }, |
| 13 | "steps": [ |
| 14 | { |
| 15 | "turn": 0, |
| 16 | "dialect": "openai", |
| 17 | "model": "mock-model", |
| 18 | "input": { |
| 19 | "role": "assistant", |
| 20 | "content": null, |
| 21 | "tool_calls": [ |
| 22 | { |
| 23 | "id": "call_26a", |
| 24 | "type": "function", |
| 25 | "function": { |
| 26 | "name": "read_file", |
| 27 | "arguments": "{\"path\":\"/tmp/a.txt\"}" |
| 28 | } |
| 29 | } |
| 30 | ] |
| 31 | } |
| 32 | } |
| 33 | ], |
| 34 | "expected": { |
| 35 | "observed": [ |
| 36 | { |
| 37 | "request_id": "call_26a", |
| 38 | "stage": "SUCCEEDED", |
| 39 | "decision": "authorized", |
| 40 | "status": "ok", |
| 41 | "error_code": null, |
| 42 | "decide_invoked": true, |
| 43 | "execute_invoked": true, |
| 44 | "result_digest": null |
| 45 | } |
| 46 | ], |
| 47 | "turns": [ |
| 48 | { |
| 49 | "turn": 0, |
| 50 | "outcome": "tool_request", |
| 51 | "intents": 1, |
| 52 | "rejected": 0, |
| 53 | "text": "" |
| 54 | } |
| 55 | ], |
| 56 | "runtime": { |
| 57 | "decide_calls": 1, |
| 58 | "execute_calls": 1 |
| 59 | }, |
| 60 | "result_checks": [ |
| 61 | { |
| 62 | "request_id": "call_26a", |
| 63 | "path": "provenance.content_kind", |
| 64 | "equals": "unknown" |
| 65 | }, |
| 66 | { |
| 67 | "request_id": "call_26a", |
| 68 | "path": "provenance.content_kind", |
| 69 | "equals": "unknown", |
| 70 | "round_trip": true |
| 71 | }, |
| 72 | { |
| 73 | "request_id": "call_26a", |
| 74 | "path": "provenance.trust", |
| 75 | "equals": "unknown" |
| 76 | }, |
| 77 | { |
| 78 | "request_id": "call_26a", |
| 79 | "path": "provenance.trust", |
| 80 | "equals": "unknown", |
| 81 | "round_trip": true |
| 82 | }, |
| 83 | { |
| 84 | "request_id": "call_26a", |
| 85 | "path": "provenance.trusted", |
| 86 | "equals": null |
| 87 | }, |
| 88 | { |
| 89 | "request_id": "call_26a", |
| 90 | "path": "provenance.trusted", |
| 91 | "equals": null, |
| 92 | "round_trip": true |
| 93 | } |
| 94 | ] |
| 95 | } |
| 96 | } |