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 / 24-expansion-requested-excluded.json
| 1 | { |
| 2 | "case": "24-expansion-requested-excluded", |
| 3 | "description": "CrossAxis expansion v1. The selection exposes only email capabilities; the model called write_file, which exists in the catalog but was excluded (an unknown_capability at the selected view, supplied by the harness: the reference pipeline has no selected-view mapping). Evidence requested_excluded adds exactly that capability, the receipt records the round, the evidence digest and parent_digest. Expansion changes only what is rendered: the call still crosses Crossveil and the mock policy denies it.", |
| 4 | "limits": { |
| 5 | "max_argument_bytes": 65536 |
| 6 | }, |
| 7 | "trace_id": "trace-24", |
| 8 | "selection": { |
| 9 | "requested_domains": [ |
| 10 | "email" |
| 11 | ], |
| 12 | "max_capabilities": null, |
| 13 | "always_include": [] |
| 14 | }, |
| 15 | "steps": [ |
| 16 | { |
| 17 | "turn": 0, |
| 18 | "expand": { |
| 19 | "evidence": { |
| 20 | "kind": "requested_excluded", |
| 21 | "name": "write_file" |
| 22 | } |
| 23 | } |
| 24 | }, |
| 25 | { |
| 26 | "turn": 1, |
| 27 | "dialect": "openai", |
| 28 | "model": "mock-model", |
| 29 | "input": { |
| 30 | "role": "assistant", |
| 31 | "content": null, |
| 32 | "tool_calls": [ |
| 33 | { |
| 34 | "id": "call_24a", |
| 35 | "type": "function", |
| 36 | "function": { |
| 37 | "name": "write_file", |
| 38 | "arguments": "{\"path\": \"/tmp/out.txt\", \"content\": \"hello\"}" |
| 39 | } |
| 40 | } |
| 41 | ] |
| 42 | } |
| 43 | } |
| 44 | ], |
| 45 | "expected": { |
| 46 | "observed": [ |
| 47 | { |
| 48 | "request_id": "call_24a", |
| 49 | "stage": "DENIED", |
| 50 | "decision": "denied", |
| 51 | "status": "denied", |
| 52 | "error_code": "policy_denied", |
| 53 | "decide_invoked": true, |
| 54 | "execute_invoked": false, |
| 55 | "result_digest": null |
| 56 | } |
| 57 | ], |
| 58 | "turns": [ |
| 59 | { |
| 60 | "turn": 1, |
| 61 | "outcome": "tool_request", |
| 62 | "intents": 1, |
| 63 | "rejected": 0, |
| 64 | "text": "" |
| 65 | } |
| 66 | ], |
| 67 | "runtime": { |
| 68 | "decide_calls": 1, |
| 69 | "execute_calls": 0 |
| 70 | }, |
| 71 | "result_checks": [ |
| 72 | { |
| 73 | "request_id": "call_24a", |
| 74 | "path": "decision.reason", |
| 75 | "equals": "mock policy: writes are denied" |
| 76 | } |
| 77 | ], |
| 78 | "selections": [ |
| 79 | { |
| 80 | "catalog_digest": "sha256:0647b1a881e1764b914292ea3fc0d06741d213cdec62fe238687720485a79967", |
| 81 | "excluded": [ |
| 82 | { |
| 83 | "name": "append_note", |
| 84 | "reason": "domain_mismatch" |
| 85 | }, |
| 86 | { |
| 87 | "name": "call_provider", |
| 88 | "reason": "domain_mismatch" |
| 89 | }, |
| 90 | { |
| 91 | "name": "delete_file", |
| 92 | "reason": "domain_mismatch" |
| 93 | }, |
| 94 | { |
| 95 | "name": "fail_tool", |
| 96 | "reason": "domain_mismatch" |
| 97 | }, |
| 98 | { |
| 99 | "name": "list_dir", |
| 100 | "reason": "domain_mismatch" |
| 101 | }, |
| 102 | { |
| 103 | "name": "load_skill", |
| 104 | "reason": "domain_mismatch" |
| 105 | }, |
| 106 | { |
| 107 | "name": "read_document", |
| 108 | "reason": "domain_mismatch" |
| 109 | }, |
| 110 | { |
| 111 | "name": "read_file", |
| 112 | "reason": "domain_mismatch" |
| 113 | }, |
| 114 | { |
| 115 | "name": "recall_memory", |
| 116 | "reason": "domain_mismatch" |
| 117 | }, |
| 118 | { |
| 119 | "name": "slow_tool", |
| 120 | "reason": "domain_mismatch" |
| 121 | }, |
| 122 | { |
| 123 | "name": "web_fetch", |
| 124 | "reason": "domain_mismatch" |
| 125 | } |
| 126 | ], |
| 127 | "expansions": [ |
| 128 | { |
| 129 | "added": [ |
| 130 | "write_file" |
| 131 | ], |
| 132 | "evidence_digest": "sha256:cd01d654288526d06d827984daebedf1a0a6bb3898f387ffda64cb1c2e425117", |
| 133 | "reason": "requested_excluded", |
| 134 | "refused": [], |
| 135 | "round": 1 |
| 136 | } |
| 137 | ], |
| 138 | "kind": "selection", |
| 139 | "parent_digest": "sha256:fd89367d0ba12a23a506ff921b547a1765c71d61a1ed970c5dd8be8cc4d096ca", |
| 140 | "requested_domains": [ |
| 141 | "email" |
| 142 | ], |
| 143 | "runtime": "mock", |
| 144 | "selected": [ |
| 145 | { |
| 146 | "domains": [ |
| 147 | "email" |
| 148 | ], |
| 149 | "name": "send_email", |
| 150 | "rule_id": "domain:email" |
| 151 | }, |
| 152 | { |
| 153 | "domains": [ |
| 154 | "filesystem" |
| 155 | ], |
| 156 | "name": "write_file", |
| 157 | "rule_id": "expansion:1" |
| 158 | } |
| 159 | ], |
| 160 | "selection_digest": "sha256:f154685f08708b6710119ebc17428f435ecacbe8ef702a78f5bc0d3026b20706", |
| 161 | "selector": { |
| 162 | "expansion": { |
| 163 | "max_added_per_expansion": 8, |
| 164 | "max_expansions": 2 |
| 165 | }, |
| 166 | "name": "domain_match", |
| 167 | "version": "1" |
| 168 | } |
| 169 | } |
| 170 | ] |
| 171 | } |
| 172 | } |