Motivation: ERD acceptance item 585 requires Cloudflare detection and state transitions to follow ERD semantics, including FlareSolverr preference behavior.
Constraints:
Runtime DB behavior must be enforced in stored procedures only.
Changes must preserve existing retry/backoff behavior and quality-gate compliance.
Dependency rationale:
No new dependencies were added.
Alternative considered: leave existing retryable CF behavior unchanged and only add tests. Rejected because existing logic skipped required clear/solved -> challenged transitions.
Decision:
Added migration 0094_rss_poll_cf_state_transitions.sql to update rss_poll_apply_v1:
Apply CF challenge transitions for all cf_challenge failures (not only non-retryable paths).