Skip to content

invalid_value

A policy diagnostic from deedglass policy lint and the policy routes.

Severity: error

A field that takes one of a fixed set of values has something else: verify (L0, L1, L2), a budget’s per (agent, org) or window (minute, hour, day), or a notify channel (email, slack, webhook).

deedglass: policy/v1
name: refunds
defaults:
decision: deny
reason: No rule allows this action.
budgets:
- id: refunds-per-week
match: { tool: stripe.create_refund }
window: week
max_calls: 100
✕ policy.yaml:9:13 · invalid_value
week is not a budget window.
hint: Use minute, hour or day.

Fix: use a supported window. For a weekly limit, set a daily one.

- id: refunds-per-day
match: { tool: stripe.create_refund }
window: day
max_calls: 15