validate_component_integration
Validates component integration by checking module imports, method arity, and parameter shape. Returns errors and findings for strategy components.
Instructions
Import each component module via StrategyLoader and check its
method arity + strategy_params.DEFAULT_PARAMS top-level shape.
- STR-002: module fails to import (= guaranteed runtime failure).
- PRM-002: DEFAULT_PARAMS missing a required top-level key, or a
value isn't a dict.
- VAL-005: method's required-positional arity (after ``self``)
doesn't match the protocol. Arg NAMES are not checked — the
framework calls positionally, so names are the author's choice.
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_integration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy_dir | Yes |