Loading
Address MR review feedback: DX and reliability improvements
- Mark Evaluator as @api private
- Add KNOWN_ACTIONS constant documenting :block and :log
- Rename log_redis_error -> log_evaluate_error with comment clarifying
the intentional broad rescue (fail-open for any unexpected error, not
only Redis protocol errors)
- Memoize dev_or_test? to avoid ENV read on every call
- Add match: {} and action: :block defaults to Rule#initialize so callers
only need to supply limit, period, and characteristics
Co-Authored-By:
Claude Sonnet 4.6 <noreply@anthropic.com>