Doctor Rules Registry • AI Agent SDK
DoctorRulesRegistry: Registry for doctor migration rules with lazy plugin discovery.
DoctorRulesRegistry
Defined in the Doctor Registry module.
AI Agent
Registry for doctor migration rules with lazy plugin discovery.
Methods
register_rule()
Register a migration rule.
get_rules()Get all registered rules, loading plugins if not already loaded.
get_rule()Get a specific rule by ID.
collect_all_findings()Collect findings from all registered rules.
apply_all_fixes()Apply fixes from all rules that have findings.
plan_fixes()Produce a :class:RepairPlan describing what the doctor repair changes.
Source
View on GitHubpraisonaiagents/runtime/doctor_registry.py at line 19