Sentry als Dauergeraet: Liveness statt Prozessstatus (#77) - #112
Merged
Conversation
Der Agent beantwortete eine Mention in 3 s und schrieb dabei keine einzige Log-Zeile — Prozess und Log koennen "laeuft" und "ist stumm" nicht unterscheiden. Die Liveness-Probe misst deshalb den ganzen Pfad bis zur echten Antwort und alarmiert ueber Kuma, wenn sie ausbleibt. Dazu ein Modellwechsel, der sich selbst beweist und bei Stille zurueckrollt. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WTrJkneFFLe4ruG2phZh2k
Closed
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Schliesst #77.
Ticket-Praemisse korrigiert: Log-Rotation war bereits eingerichtet (
/etc/logrotate.d/buzz-agents, exakt die geforderten Optionen). Statt sie neu zu bauen, wurde sie erzwungen und bewiesen: gleiche inode vor/nach (copytruncatehaelt den offenen FD gueltig), Altstand insentry.log.1.Der eigentliche Fund: Sentry beantwortete eine echte Mention in 3 s und schrieb dabei null Log-Zeilen (
RUST_LOG=buzz_acp=infoprotokolliert nur Lebenszyklus). Weder Prozessstatus noch Log koennen "laeuft" von "ist stumm" unterscheiden — nur eine echte Antwort kann es.Neu:
sentry-liveness-probe.sh— postet alle 30 min eine Mention mit Einmal-Token in den neuen Kanaldiag-liveness; akzeptiert nur eine Antwort von genau Sentrys Pubkey mit diesem Token. Eigene Probe-Identitaet auf der Allowlist, Munirs Owner-Key bleibt auf seinem Geraet.OnBootSec=5min,Persistent=true) + Kuma-Push-Monitorsentry-liveness(id 57, Toleranz 2 h,maxretries=0).sentry-set-model.sh— Modellwechsel, der sich mit einer echten Antwort beweist und bei Stille selbst zurueckrollt.Beweise am laufenden System: Probe gruen (11 s) · Sentry gestoppt ->
REASON=no-reply, kein Push · Alarm[Kuma] sentry-liveness ist 🔴 Down2 s spaeter in Munirs INBOX · Sentry gestartet -> wieder gruen ·kill -9->NRestarts=1, neue PID, antwortet unbeaufsichtigt · echter Reboot (war ohnehin faellig,*** System restart required ***): Boot 19:34:02, Sentry aktiv 19:34:31 ohne Zutun, Relay + beide Kanaele 19:34:38, Mention beantwortet, alle 87 Container zurueck, 4/4 externe Endpunkte 200 · Rot-Probe Modellwechsel: erfundenes Modell -> stumm -> automatischer Rollback -> geprueft gruen.