8 Commits
Author SHA1 Message Date
patrickandClaude Opus 5.5 e76e957282 fix(auditor): report range decisions the kernel can't enforce instead of healing
CI / Unit tests (push) Successful in 3s
CI / Unit tests (pull_request) Successful in 7s
A LAPI range decision (e.g. 195.178.110.0/24) inserted into an nft set
without the interval flag is stored as its bare network address. The
string diff saw that as one missing and one extra entry, and every heal
re-added the same address, so nodes stuck in DESYNC_DETECTED with the
flap guard suppressing repeat heals.

Pair such ranges with their network address, report them as
unenforceable_ranges with a dedicated warning, and keep them out of the
drift counts and fingerprint. The reporter records
unenforceable_range_count and shows DEGRADED for a node that is
otherwise in sync. Desync log lines now name the missing and extra
values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 09:43:46 -04:00
patrickandClaude Opus 5.5 4e8a4d6717 feat(reporter): count heals the gate suppresses
CI / Unit tests (push) Successful in 4s
CI / Unit tests (pull_request) Successful in 3s
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>
2026-10-19 18:04:24 -04:00
patrick ecda631049 fix(reporter): refresh last_heal_timestamp on every heal result 2026-03-06 18:43:34 -05:00
patrick 469a30df6a feat(reporter): add rolling 24h drift/heal counters to state snapshot 2026-03-06 17:38:42 -05:00
patrick 8c7b0768b0 feat(reporter): add drift event and heal-attempt counters to state snapshot 2026-03-05 21:28:25 -05:00
patrick a2030a71b7 feat(reporter): track last_heal_timestamp in state snapshot 2026-03-05 21:03:56 -05:00
patrick 3b1e25d5cd feat(reporter): add uptime and fleet counters to state snapshot 2026-03-05 20:57:16 -05:00
patrick b34ac69ac1 feat(reporter): persist drift metrics and last heal result in state snapshot 2026-03-05 20:35:18 -05:00