Validates SubAgent options at construction time.
Ensures required fields are present and all optional fields have valid types.
Extracted from PtcRunner.SubAgent to keep that module under the 800-line threshold.
Summary
Functions
Validates all SubAgent options, raising on invalid input.
Functions
@spec validate!(keyword()) :: :ok
Validates all SubAgent options, raising on invalid input.
Raises
ArgumentError- if any validation fails