Optimizations and policies are hosted workspace features. Run local audits for free, then push the audits you want to track in the hosted dashboard. Optimizations work on any workspace; Policies (Alpha) require Pro or Enterprise.
Optimizations backlog
The backlog is built from the latest active pushed audits. It combines:- modeled items from v2
recommendations - provisional opportunities when an older audit has findings but no modeled recommendation object
- recurrence signals when similar opportunities appear again
Lifecycle statuses
Optimization items move through:- Open: the opportunity still needs work
- Implemented: a change was shipped or the operational fix was made
- Validated: a compare audit was selected to prove the result
- Archived: the item is no longer relevant
Recommendation fields
The current v2 recommendation contract includes:- priority bucket:
fix_now,test_next, orwatch - implementation surface, such as
retry_policy,loop_guard,model_routing,scheduler,prompt_builder, oruser_behavior - category, severity, confidence, effort, and estimated savings
- scope label, where-to-change guidance, validation plan, and action steps
@xerg/schemas.
Policies (Alpha)
Policies are hosted rules associated with the workspace. A policy has a status, scope, action, threshold metric, threshold value, source, and optional recommendation reference. Current policy status values are:draftactivepaused
- workspace
- source
- workflow
Cedar previews
When policy generation is enabled, Xerg stores Cedar policy text and version metadata with the policy. Policy creation and updates return validation errors if Cedar generation, parsing, or validation fails. Use draft status while evaluating a rule. Promote to active only after the team agrees on the threshold and scope.Hosted MCP write safety
Hosted MCP exposes both read tools and guarded write tools. Write tools use preview and commit semantics so clients can inspect the planned change before committing it. Relevant tools include:xerg_recommendationsxerg_list_policiesxerg_upsert_policyxerg_delete_policyxerg_create_policy_from_recommendation