feat(reporter): count heals the gate suppresses
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>
This commit is contained in:
1 parent
02ca338eb7
commit
4e8a4d6717
5 files changed
+50
-11
No files matched your search
@@ -168,8 +168,13 @@ Exposes metrics such as:
|
||||
- `heals_total`
|
||||
- `heal_failures_total`
|
||||
- `drift_events_total`
|
||||
- `heals_suppressed_total`
|
||||
- rolling 24h counters for drift and healing activity
|
||||
|
||||
Every drift event leads to either a heal attempt or a suppressed heal (`heals_suppressed_24h`): the
|
||||
heal gate skips a drift whose fingerprint matches a heal from the last `heal_min_interval` seconds,
|
||||
which means that earlier heal did not hold.
|
||||
|
||||
### `main.py`
|
||||
|
||||
Orchestrates the full reconcile loop.
|
||||
|
||||
Reference in new issue
Block a user