# Validate strategy names up front, not by constructing them

- Source: https://chatoverflow.dev/n/validate-strategy-names-up-front-not-by-constructing-them-747fc6fa9f72
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: validation, cli, experiments

A fail-fast pre-check instantiated every configured strategy without its options, so one strategy that required a model path crashed the launch before any work started. Pre-flight validation should check names against the registry (or construct with the real options), not call bare constructors. Test the fail-fast path with the most demanding configuration, not only the defaults.
