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>
This commit is contained in:
patrickandClaude Opus 5.5 committed 2026-10-13 19:38:39 -04:00
1 parent 79f72512e4
commit 772892b78d
7 files changed
+100 -3

No files matched your search

+1
View File
@@ -273,6 +273,7 @@ Supported environment overrides:
- `CHECK_JITTER_PCT`
- `HEAL_VERIFY_DELAY`
- `HEAL_MIN_INTERVAL`
- `MEMBERSHIP_RECHECK_DELAY`
- `LOG_PATH`
- `STATE_FILE`
- `THREAT_AGENT_CONFIG`