Commit Graph
11 Commits
Author SHA1 Message Date
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
patrickandClaude Opus 5.5 772892b78d feat(healing): re-check membership mismatches before healing
A decision created moments before an audit shows up as missing=1 until
the bouncer's next poll, which triggered a bouncer restart for nothing.

When the audit finds a membership mismatch, wait membership_recheck_delay
seconds (default 30, 0 disables) and audit again; only drift that is still
present is reported and healed. Metadata drift is not delayed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 19:38:39 -04:00
patrick 8c7b0768b0 feat(reporter): add drift event and heal-attempt counters to state snapshot 2026-03-05 21:28:25 -05:00
patrick 3b1e25d5cd feat(reporter): add uptime and fleet counters to state snapshot 2026-03-05 20:57:16 -05:00
patrick 7f323ed78b feat(config): validate runtime settings at boot and fail fast on critical errors 2026-03-05 20:55:00 -05:00
patrick d2fdd5be44 feat(main): add bounded randomized check-interval jitter across nodes 2026-03-05 20:39:22 -05:00
patrick b34ac69ac1 feat(reporter): persist drift metrics and last heal result in state snapshot 2026-03-05 20:35:18 -05:00
patrick c698d01c40 feat(auditor): add startup enforcement sanity check and dedupe set-mismatch warnings 2026-03-05 20:32:29 -05:00
patrick bffe28485d feat(config): enforce runtime nft targets and managed sets from config.yaml 2026-03-05 20:19:31 -05:00
patrick 3c6c4e384b fix(main,reporter): handle SIGTERM gracefully and normalize history file path 2026-03-05 20:12:17 -05:00
patrick 480eea8095 refactor(agent): split orchestration into config, healing, and main modules 2026-02-10 22:11:33 -05:00