Editor
The Editor is the form + YAML view for a single policy rule. Reached from Policy Rules → click a row, or from "+ New rule".
- Form pane — name / enabled toggle / description / match conditions / action / reason / redact fields. Enforces shape; shows plain-English summaries of complex conditions via
humanizeMatch. - YAML pane — live preview of the YAML representation of the current draft. Read-only; what you'd see in
policies.yaml. - Buttons — Save (disabled when there's no diff), Delete (hidden on system rules), Simulate → (sends the draft to the Simulator), Cancel.
For the rule grammar see Writing policy rules and Policy semantics.
Screenshot: Editor — form + YAML side by sidedocs/public/screenshots/editor.png