contrarian-setup-gate
Synthesizes three contrarian trading analysis reports (COT crowding, news-reaction failure, weekly price-action confirmation) into a single fail-closed go/no-go setup status, entirely offline.
What it does
Synthesize the three Jason Shapiro contrarian-pipeline verdicts (COT crowding, news-reaction failure, weekly price-action confirmation) into one actionable setup_status via a fail-closed precedence state machine. Pure, offline synthesis -- no network, no API keys, no computation beyond validation and precedence.
Quality judgment
The document provides a thorough specification of the contrarian setup gate with clear precedence rules, detailed state machine logic, and comprehensive validation. It covers all required dimensions with good detail, though some edge cases in date validation and the non-finite number guard could benefit from more explicit examples. The structure follows a logical flow from overview through prerequisites to the decision engine.