feat(reporter): count heals the gate suppresses #3

Merged
patrick merged 1 commits from feat/count-suppressed-heals into main 2026-10-19 22:10:32 +00:00
Owner

A drift whose fingerprint matches a heal from the last heal_min_interval
seconds was counted as a drift event but never as a heal attempt, so the
24h counters showed a drift with no heal and no failure. Decide on the
heal before recording the check and report heals_suppressed_24h and
heals_suppressed_total, so every drift event is either a heal attempt
or a suppressed heal. The suppression warning now names the earlier
heal that did not hold.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

A drift whose fingerprint matches a heal from the last heal_min_interval seconds was counted as a drift event but never as a heal attempt, so the 24h counters showed a drift with no heal and no failure. Decide on the heal before recording the check and report heals_suppressed_24h and heals_suppressed_total, so every drift event is either a heal attempt or a suppressed heal. The suppression warning now names the earlier heal that did not hold. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
patrick added 1 commit 2026-10-19 22:10:15 +00:00
feat(reporter): count heals the gate suppresses
CI / Unit tests (push) Successful in 4s
CI / Unit tests (pull_request) Successful in 3s
4e8a4d6717
A drift whose fingerprint matches a heal from the last heal_min_interval
seconds was counted as a drift event but never as a heal attempt, so the
24h counters showed a drift with no heal and no failure. Decide on the
heal before recording the check and report heals_suppressed_24h and
heals_suppressed_total, so every drift event is either a heal attempt
or a suppressed heal. The suppression warning now names the earlier
heal that did not hold.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
patrick merged commit cb2a88917c into main 2026-10-19 22:10:32 +00:00
patrick deleted branch feat/count-suppressed-heals 2026-10-19 22:10:33 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: patrick/threat-engine-agent#3