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": [...]}``.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"strategy_dir": "<strategy_dir>"
},
"name": "validate_component_logging"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy_dir | Yes |