validate_component_logging
Checks that each component method logs output with a BaseModel and flags defensive dict-access antipattern self.params.get.
Instructions
AST-check that each component's required method calls the
matching self.log_<component>_output(...) with a BaseModel
instance (not a dict, not a wrong schema).
Also flags ``self.params.get(...)`` anywhere in the file (PRM-004 —
defensive dict-access antipattern on the params container).
Returns ``{"any_errors": bool, "findings": [...]}``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy_dir | Yes |