Mkaliez

Results comments of Mkaliez

This seems useful for cases where exact tool names become brittle. Would you expect pattern-based tool policies to resolve by first match, most specific match, or explicit priority? The auditability...

That explicit-priority shape makes sense to me, especially the trace fields for `matched_policy_key`, `match_kind`, `priority`, and `candidate_policy_keys`. The fail-closed tie behavior also seems cleaner than relying on implicit ordering when...

That extra `policy_resolution_outcome` field is a useful framing. It makes the `resolved` / `ambiguous` / `no_match` distinction explicit instead of forcing readers to infer it from lower-level match metadata. The...

That invariant is clean: `fallback_reason` only exists when the resolution did not cleanly resolve. I also like the idea that ambiguous overlap cases should test both the outcome and the...

@Yigtwxx Your #38838 repro captures a failure direction I am testing: the configuration expresses an intent to gate `delete_database`, but an invalid key silently removes the approval gate and dispatch...

I checked the current v2 path: `Agent.call_tool()` already has the exact boundary immediately before `t.execute(self, tool_call)`, and `tool_call.id` is preserved when constructing a tool message. That suggests the gate can...

@benrrr56-wq Yeah, I think that's the important part. If the hook can change `args`, I'd want to keep both versions: what the model originally asked for, and what actually got...

This distinction between assigned tools and permitted actions seems important. Would you model the permission boundary at the tool-name level, or attach capability metadata to each tool call so that...

Good point. It seems useful to keep a denied invocation distinct from both a permission configuration error and a normal tool failure. A compact event could preserve the attempted action,...

Btw I took a look at Operator Lite too — now I get what you meant a lot better. We’re definitely poking at some of the same problems, but from...