/audit-router

Invoke the audit-router agent to perform audits across various domains.

Invoke the audit-router agent. Wave 3b-1 of the redesign (see plan file).

Synopsis

/audit-router --domain <domain> --target-org <alias> [domain-specific args]

Supported domains (15 total — Wave 3b-1 shipped 5, Wave 3b-2 shipped the remaining 10)

--domainReplacesClassifier
validation_rulevalidation-rule-auditorvalidation_rule.md
picklistpicklist-governorpicklist.md
approval_processapproval-process-auditorapproval_process.md
record_type_layoutrecord-type-and-layout-auditorrecord_type_layout.md
report_dashboardreport-and-dashboard-auditorreport_dashboard.md
case_escalationcase-escalation-auditorcase_escalation.md
lightning_record_pagelightning-record-page-auditorlightning_record_page.md
list_view_search_layoutlist-view-and-search-layout-auditorlist_view_search_layout.md
quick_actionquick-action-and-global-action-auditor (audit mode)quick_action.md
reports_dashboards_folder_sharingreports-and-dashboards-folder-sharing-auditorreports_dashboards_folder_sharing.md
field_audit_trail_history_trackingfield-audit-trail-and-history-tracking-governorfield_audit_trail_history_tracking.md
sharingsharing-audit-agentsharing.md
org_driftorg-drift-detectororg_drift.md
my_domain_session_securitymy-domain-and-session-security-auditormy_domain_session_security.md
prompt_libraryprompt-library-governorprompt_library.md

Note: quick-action-and-global-action-auditor had a design mode that is NOT part of the audit router. Design mode migrates to Wave-3c's designer_base harness (as action-designer).

Legacy alias commands

Each alias invokes the router with a preset --domain and emits a one-line deprecation notice. Aliases ship until the removal window declared in docs/MIGRATION.md (Wave 7).

AliasEquivalent to
/audit-validation-rules/audit-router --domain validation_rule ...
/govern-picklists/audit-router --domain picklist ...
/audit-approvals/audit-router --domain approval_process ...
/audit-record-types/audit-router --domain record_type_layout ...
/audit-reports/audit-router --domain report_dashboard ...

What it does

Uniform output envelope across every domain: inventory + findings (with stable domain-scoped codes like VR_MISSING_BYPASS, PICKLIST_NO_GVS, APPROVAL_INACTIVE_APPROVER) + optional mechanical patches + Process Observations + citations. See agents/audit-router/AGENT.md for the full contract and output_schema.md for the envelope shape.

Safety

  • Router never modifies the org, never deploys, never executes Apex.
  • Refusal codes are canonical (agents/_shared/REFUSAL_CODES.md).
  • Every finding code must be declared in its classifier's Rule Table; the router may not invent codes.
  • Citation gate enforces that every skill / template / decision-tree / probe the classifier cites resolves to a real path.

See also