validate_component_protocol_signatures
Check that component classes have required methods with correct return-type annotations, flagging missing methods or mismatched annotations.
Instructions
AST-check that each required component class has the required method with a matching return-type annotation (if annotated at all).
- STR-003: class is missing the required method.
- VAL-006: method declares a return annotation but it doesn't match
the expected BaseModel (EntrySignalOutput / ExitSignalOutput / ...).
Missing annotations are NOT flagged (policy vs correctness — missing
annotation is a stylistic choice, Pydantic catches runtime
mismatches). Missing files are silently skipped (preflight STR-001
territory).
Returns ``{"any_errors": bool, "findings": [...]}``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy_dir | Yes |