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 / 25-expansion-refused-by-bound.json
| 1 | { |
| 2 | "case": "25-expansion-refused-by-bound", |
| 3 | "description": "CrossAxis expansion v1 bounds. max_capabilities=2 with one email capability selected leaves room for one; max_expansions=1. Round 1 (requested_excluded write_file with domain siblings) adds write_file and refuses its four domain siblings with max_capabilities. Round 2 (discovery_hit) is refused in full: web_fetch with max_expansions, nope with not_in_catalog (checked first), send_email with already_selected. Refused rounds are still recorded and count in round numbering, not toward max_expansions.", |
| 4 | "limits": { |
| 5 | "max_argument_bytes": 65536 |
| 6 | }, |
| 7 | "trace_id": "trace-25", |
| 8 | "selection": { |
| 9 | "requested_domains": [ |
| 10 | "email" |
| 11 | ], |
| 12 | "max_capabilities": 2, |
| 13 | "always_include": [] |
| 14 | }, |
| 15 | "steps": [ |
| 16 | { |
| 17 | "turn": 0, |
| 18 | "expand": { |
| 19 | "evidence": { |
| 20 | "kind": "requested_excluded", |
| 21 | "name": "write_file", |
| 22 | "include_domain_siblings": true |
| 23 | }, |
| 24 | "max_expansions": 1 |
| 25 | } |
| 26 | }, |
| 27 | { |
| 28 | "turn": 1, |
| 29 | "expand": { |
| 30 | "evidence": { |
| 31 | "kind": "discovery_hit", |
| 32 | "query": "fetch", |
| 33 | "names": [ |
| 34 | "web_fetch", |
| 35 | "nope", |
| 36 | "send_email" |
| 37 | ] |
| 38 | } |
| 39 | } |
| 40 | } |
| 41 | ], |
| 42 | "expected": { |
| 43 | "observed": [], |
| 44 | "turns": [], |
| 45 | "runtime": { |
| 46 | "decide_calls": 0, |
| 47 | "execute_calls": 0 |
| 48 | }, |
| 49 | "selections": [ |
| 50 | { |
| 51 | "catalog_digest": "sha256:0647b1a881e1764b914292ea3fc0d06741d213cdec62fe238687720485a79967", |
| 52 | "excluded": [ |
| 53 | { |
| 54 | "name": "append_note", |
| 55 | "reason": "domain_mismatch" |
| 56 | }, |
| 57 | { |
| 58 | "name": "call_provider", |
| 59 | "reason": "domain_mismatch" |
| 60 | }, |
| 61 | { |
| 62 | "name": "delete_file", |
| 63 | "reason": "domain_mismatch" |
| 64 | }, |
| 65 | { |
| 66 | "name": "fail_tool", |
| 67 | "reason": "domain_mismatch" |
| 68 | }, |
| 69 | { |
| 70 | "name": "list_dir", |
| 71 | "reason": "domain_mismatch" |
| 72 | }, |
| 73 | { |
| 74 | "name": "load_skill", |
| 75 | "reason": "domain_mismatch" |
| 76 | }, |
| 77 | { |
| 78 | "name": "read_document", |
| 79 | "reason": "domain_mismatch" |
| 80 | }, |
| 81 | { |
| 82 | "name": "read_file", |
| 83 | "reason": "domain_mismatch" |
| 84 | }, |
| 85 | { |
| 86 | "name": "recall_memory", |
| 87 | "reason": "domain_mismatch" |
| 88 | }, |
| 89 | { |
| 90 | "name": "slow_tool", |
| 91 | "reason": "domain_mismatch" |
| 92 | }, |
| 93 | { |
| 94 | "name": "web_fetch", |
| 95 | "reason": "domain_mismatch" |
| 96 | } |
| 97 | ], |
| 98 | "expansions": [ |
| 99 | { |
| 100 | "added": [ |
| 101 | "write_file" |
| 102 | ], |
| 103 | "evidence_digest": "sha256:cb902800bea47dc15333a9d7fb5d4c8e77185ddd14e28301d0a4bebf005adb76", |
| 104 | "reason": "requested_excluded", |
| 105 | "refused": [ |
| 106 | { |
| 107 | "name": "append_note", |
| 108 | "reason": "max_capabilities" |
| 109 | }, |
| 110 | { |
| 111 | "name": "delete_file", |
| 112 | "reason": "max_capabilities" |
| 113 | }, |
| 114 | { |
| 115 | "name": "list_dir", |
| 116 | "reason": "max_capabilities" |
| 117 | }, |
| 118 | { |
| 119 | "name": "read_file", |
| 120 | "reason": "max_capabilities" |
| 121 | } |
| 122 | ], |
| 123 | "round": 1 |
| 124 | } |
| 125 | ], |
| 126 | "kind": "selection", |
| 127 | "parent_digest": "sha256:a44f2b3e143a7d8748736cb9037c813a10ebe9ef2763d4913958bc234b3240f0", |
| 128 | "requested_domains": [ |
| 129 | "email" |
| 130 | ], |
| 131 | "runtime": "mock", |
| 132 | "selected": [ |
| 133 | { |
| 134 | "domains": [ |
| 135 | "email" |
| 136 | ], |
| 137 | "name": "send_email", |
| 138 | "rule_id": "domain:email" |
| 139 | }, |
| 140 | { |
| 141 | "domains": [ |
| 142 | "filesystem" |
| 143 | ], |
| 144 | "name": "write_file", |
| 145 | "rule_id": "expansion:1" |
| 146 | } |
| 147 | ], |
| 148 | "selection_digest": "sha256:812528d39a29add931bcfb8bd9047fe441dd39efc3a14969599f5cfec0ec74de", |
| 149 | "selector": { |
| 150 | "expansion": { |
| 151 | "max_added_per_expansion": 8, |
| 152 | "max_expansions": 1 |
| 153 | }, |
| 154 | "max_capabilities": 2, |
| 155 | "name": "domain_match", |
| 156 | "version": "1" |
| 157 | } |
| 158 | }, |
| 159 | { |
| 160 | "catalog_digest": "sha256:0647b1a881e1764b914292ea3fc0d06741d213cdec62fe238687720485a79967", |
| 161 | "excluded": [ |
| 162 | { |
| 163 | "name": "append_note", |
| 164 | "reason": "domain_mismatch" |
| 165 | }, |
| 166 | { |
| 167 | "name": "call_provider", |
| 168 | "reason": "domain_mismatch" |
| 169 | }, |
| 170 | { |
| 171 | "name": "delete_file", |
| 172 | "reason": "domain_mismatch" |
| 173 | }, |
| 174 | { |
| 175 | "name": "fail_tool", |
| 176 | "reason": "domain_mismatch" |
| 177 | }, |
| 178 | { |
| 179 | "name": "list_dir", |
| 180 | "reason": "domain_mismatch" |
| 181 | }, |
| 182 | { |
| 183 | "name": "load_skill", |
| 184 | "reason": "domain_mismatch" |
| 185 | }, |
| 186 | { |
| 187 | "name": "read_document", |
| 188 | "reason": "domain_mismatch" |
| 189 | }, |
| 190 | { |
| 191 | "name": "read_file", |
| 192 | "reason": "domain_mismatch" |
| 193 | }, |
| 194 | { |
| 195 | "name": "recall_memory", |
| 196 | "reason": "domain_mismatch" |
| 197 | }, |
| 198 | { |
| 199 | "name": "slow_tool", |
| 200 | "reason": "domain_mismatch" |
| 201 | }, |
| 202 | { |
| 203 | "name": "web_fetch", |
| 204 | "reason": "domain_mismatch" |
| 205 | } |
| 206 | ], |
| 207 | "expansions": [ |
| 208 | { |
| 209 | "added": [ |
| 210 | "write_file" |
| 211 | ], |
| 212 | "evidence_digest": "sha256:cb902800bea47dc15333a9d7fb5d4c8e77185ddd14e28301d0a4bebf005adb76", |
| 213 | "reason": "requested_excluded", |
| 214 | "refused": [ |
| 215 | { |
| 216 | "name": "append_note", |
| 217 | "reason": "max_capabilities" |
| 218 | }, |
| 219 | { |
| 220 | "name": "delete_file", |
| 221 | "reason": "max_capabilities" |
| 222 | }, |
| 223 | { |
| 224 | "name": "list_dir", |
| 225 | "reason": "max_capabilities" |
| 226 | }, |
| 227 | { |
| 228 | "name": "read_file", |
| 229 | "reason": "max_capabilities" |
| 230 | } |
| 231 | ], |
| 232 | "round": 1 |
| 233 | }, |
| 234 | { |
| 235 | "added": [], |
| 236 | "evidence_digest": "sha256:430a70415cbed34d539256799f7647366f08f93b7e2e298daf630885b32df093", |
| 237 | "reason": "discovery_hit", |
| 238 | "refused": [ |
| 239 | { |
| 240 | "name": "web_fetch", |
| 241 | "reason": "max_expansions" |
| 242 | }, |
| 243 | { |
| 244 | "name": "nope", |
| 245 | "reason": "not_in_catalog" |
| 246 | }, |
| 247 | { |
| 248 | "name": "send_email", |
| 249 | "reason": "already_selected" |
| 250 | } |
| 251 | ], |
| 252 | "round": 2 |
| 253 | } |
| 254 | ], |
| 255 | "kind": "selection", |
| 256 | "parent_digest": "sha256:812528d39a29add931bcfb8bd9047fe441dd39efc3a14969599f5cfec0ec74de", |
| 257 | "requested_domains": [ |
| 258 | "email" |
| 259 | ], |
| 260 | "runtime": "mock", |
| 261 | "selected": [ |
| 262 | { |
| 263 | "domains": [ |
| 264 | "email" |
| 265 | ], |
| 266 | "name": "send_email", |
| 267 | "rule_id": "domain:email" |
| 268 | }, |
| 269 | { |
| 270 | "domains": [ |
| 271 | "filesystem" |
| 272 | ], |
| 273 | "name": "write_file", |
| 274 | "rule_id": "expansion:1" |
| 275 | } |
| 276 | ], |
| 277 | "selection_digest": "sha256:a3578b7ee03d7a25a97ff43ab59c7f6a516c36f4c9ba6581ea3592de5cbc7414", |
| 278 | "selector": { |
| 279 | "expansion": { |
| 280 | "max_added_per_expansion": 8, |
| 281 | "max_expansions": 1 |
| 282 | }, |
| 283 | "max_capabilities": 2, |
| 284 | "name": "domain_match", |
| 285 | "version": "1" |
| 286 | } |
| 287 | } |
| 288 | ] |
| 289 | } |
| 290 | } |