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:
1 parent
79f72512e4
commit
772892b78d
7 files changed
+100
-3
No files matched your search
@@ -4,6 +4,7 @@ CHECK_INTERVAL=600
|
||||
CHECK_JITTER_PCT=0.10
|
||||
HEAL_VERIFY_DELAY=5
|
||||
HEAL_MIN_INTERVAL=900
|
||||
MEMBERSHIP_RECHECK_DELAY=30
|
||||
LOG_PATH=/root/threat-engine-agent/logs/threat-agent.log
|
||||
STATE_FILE=/root/threat-engine-agent/threat-agent-state.json
|
||||
THREAT_AGENT_CONFIG=config.yaml
|
||||
Reference in new issue
Block a user