wrong_type
A policy diagnostic from deedglass policy lint and the policy routes.
Severity: error
A value has the wrong shape: text where a mapping belongs, a list where a single value belongs, a quoted number where a whole number belongs, or an empty when. The message names what was expected and what was found. Some wrong_type messages have no hint, because the message already says what to write.
deedglass: policy/v1name: refundsdefaults: decision: deny reason: No rule allows this action.rules: - id: small-refunds match: stripe.create_refund decision: allow✕ policy.yaml:8:12 · wrong_type match must be a mapping, like { tool: "stripe.*" }; found a string.Fix:
match: { tool: stripe.create_refund }