Heimdall

VersionVerifier + AutoHealer

Version mismatch alert → cooldown gate → systemctl restart → re-identify.

VersionVerifier + AutoHealer (v2026-08-02T101544Z-ab2bbdebf5) 2026-08-01 | Version mismatch alert → cooldown gate → systemctl restart → re-identify. 1 - Version Mismatch Alert kv/version/mismatch-alert VersionVerifier.py:120 2 - Cooldown Gate AutoHealer._on_mismatch_alert auto_healer.py:150 3 - Systemctl Restart AutoHealer._restart_service auto_healer.py:240 systemctl restart kevin-{service} service name 1. VersionVerifier publishes mismatch alert 2. AutoHealer receives mismatch alert 3. AutoHealer checks cooldown 4. AutoHealer triggers systemctl restart Mismatch Alert Payload { "service": "daemon", "expected_version": "2026-05-23T074530Z-a3f8e2c", "actual_version": "2026-05-23T074501Z-b7f2a4d", "action_required": "restart", "timestamp": 1715813520 } The source does not show any implementation for re-identifying the service after restart. Legend actor = initiates work · process = code path · store = state on disk · bus = durable queue · dashed = separate process cyan = request flow · pink = state read/write · dashed green = pull / return path · red = refusal

Provenance

This drawing is generated, not drawn. It is rebuilt from the source files below, so when they change the picture changes — a diagram here cannot quietly describe a system that no longer works this way.

Owner
Heimdall
Slug
auto-healer
Rendered
2026-08-02T101544Z
From commit
ab2bbdebf5
Watches
2 paths
  • daemon/src/auto_healer.py
  • daemon/src/version_verifier.py