Skip to content

Fix: Add Anomaly Detection and Automatic Circuit Breaker for Payout-Triggering Feeds - #460

Merged
OxDev-max merged 2 commits into
Refract-Protocol:mainfrom
blesship:autosolve/issue-178
Oct 23, 2026
Merged

OxDev-max merged 2 commits into
Refract-Protocol:mainfrom
blesship:autosolve/issue-178

Conversation

@blesship

Copy link
Copy Markdown
Contributor

Resolves #178.

Opened automatically by autosolve-cli.

Closes #178

…efract-Protocol#178)

- AnomalyDetector: data-driven rules (floor/ceiling, zero/null rejection,
  max % change per window); any evaluation error or missing rule fails closed.
- CircuitBreaker: persisted closed/open/half_open state per coverage type.
  Automatic opening only; half-open and close are operator-only and
  half-open enforces a cool-down.
- ClaimService: trip breaker and record evidence on anomaly; re-check the
  breaker before every settlement.
- Migration 004 for oracle_circuit_breakers.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
@drips-wave

drips-wave Bot commented Oct 19, 2026

Copy link
Copy Markdown

@blesship Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@OxDev-max
OxDev-max merged commit e35ccc2 into Refract-Protocol:main Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Anomaly Detection and Automatic Circuit Breaker for Payout-Triggering Feeds

2 participants