Authoring
Click New policy to open the YAML editor. The editor:- Validates against the Policy schema on every keystroke. Errors are highlighted inline.
- Autocompletes condition fields, operators, and values for known tools.
- Shows a live diff against the currently-published version on the right.
draft.
Templates
Click Browse templates for a starter library — common patterns like:- Block destructive filesystem operations
- Block all network egress except an allowlist
- Block calls carrying high-severity DLP detections
- Limit tool calls per session
- Production-only deny rules
Dry-run
Before publishing, click Dry-run in the editor. Rubric replays the last N (default 1000) audit events through the candidate policy and shows you:- Decisions — how many events would have been allowed vs denied.
- Most affected agents — which agents are most often denied by this rule.
- Diff vs live — for an existing policy, which audit events change decision compared to the current version.
- Filters — narrow the replay to a specific agent or environment.
Publishing
Click Publish to make a draft version active. Effects:- The previous active version becomes
archived. - The new version becomes
active. - The bundle version increments.
- Rubric fans out fresh per-agent bundles for every agent in the org (each agent’s bundle is the intersection of the new active policies with that agent’s scope membership).
- SDKs see the new bundle on their next 30-second poll.
Detail page: Applied to agents
The detail page has a dedicated Applied to agents card above the version list:- Shows the currently-scoped agents as chips (agent name fallback agent id).
- Banner reads “Inert — no agents assigned. Add at least one to enforce.” when the policy is published but scope is empty.
- Click Edit to open the agent picker dialog. Saving writes one audit row per add/remove and fans out fresh bundles to the affected agents only — no version bump, no SDK restart, takes effect on the next ≤30 s pull.
Status pill
Each policy card has a pill in the bottom-right:- Active (green) — the policy has a published version and is in the bundle.
- Draft (muted) — only draft versions exist; not in the bundle.