Skip to content

reason_style

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

Severity: warning

A reason does not follow the Deedglass voice: it has an exclamation mark, starts with a lowercase letter, does not end with a period, or uses a word Deedglass copy never uses. This check runs only when you ask for it, with deedglass policy lint --voice.

deedglass: policy/v1
name: postgres-safe
defaults:
decision: deny
reason: No rule allows this action.
rules:
- id: block-drop
match: { tool: "postgres.*" }
when: sql.kind == "drop"
decision: deny
reason: DROP is never allowed for agents!
○ policy.yaml:11:13 · reason_style
This reason has an exclamation mark.
hint: Say it calmly, without an exclamation mark.

Fix:

reason: DROP is never allowed for agents.