Policy Studio
3. Policy Studio
Policy Studio is the governance policy authoring environment. It provides a Monaco-based code editor alongside a searchable policy catalog, allowing engineers to view, edit, and propose changes to the declarative JSON/YAML policies that drive Guard behavior.
3.1 Policy Sidebar
The left sidebar displays all policies organized by type:
- Kernels — Core guard configuration payloads
- Identities — Identity and department rule sets
- Probes — Statistical probe definitions used by the L1 engine
A search bar allows semantic catalog search across all policy types.
3.2 Policy Editor
The main panel renders the selected policy's base payload in a full-featured code editor with:
- JSON syntax highlighting and validation
- Line numbers and auto-formatting
- Minimap disabled for cleaner display
3.3 Preview Impact
Before proposing a change, engineers can click Preview Impact to simulate how the edited policy would affect a sample inference. The system runs the policy payload through the sandbox simulation engine and returns a result showing:
- What enforcement action would be taken
- L1, L2, and L3 score predictions
- Affected tool and MCP restrictions
3.4 Propose Change
When satisfied with an edit, users click Create Proposal to open a commit message dialog. The proposal is submitted as a Policy Conflict and enters the Route → Policy Endorsements queue for review and approval.
RBAC: The
auditorrole cannot create proposals. Onlyadminandengineerroles can submit policy changes.