Bernd (Hermes)
35eddd6aab
fix(presence): P-103 Clarify-Modal Status-Reset blockiert durch 429-Cooldown
...
clear_clarify_modal() cleart den Flag, aber der 429-Cooldown (aufgebaut
durch den Modal-Puls) blockt den Status-Reset — Bot bleibt ⬛ away bis
Cooldown abläuft (~60s).
Fix:
1. _reset_rest_cooldown_locked(): setzt Cooldown + adaptives Backoff
(429s, successes, pulse_interval, modal_pulse) zurück — der Modal-Puls
existiert nicht mehr, der Cooldown ist obsolet.
2. _send_phase_status_locked(force=True): neuer force-Parameter
überspringt Cooldown-Check UND Cache, damit der korrekte
Post-Clarify-Status (GREEN_STATIC/RED_STATIC) sofort gesendet wird.
4 neue Unit-Tests (TestClarifyModalCooldownReset).
2026-08-24 08:13:31 +02:00
..
2026-07-30 08:43:00 +02:00
2026-07-19 01:20:27 +02:00
2026-07-19 20:26:20 +02:00
2026-07-12 15:49:17 +02:00
2026-06-15 20:06:06 +02:00
2026-07-14 19:40:44 +02:00
2026-07-19 17:13:46 +02:00
2026-07-19 01:20:27 +02:00
2026-08-19 19:33:07 +02:00
2026-08-19 07:16:02 +02:00
2026-07-13 15:33:54 +02:00
2026-07-25 11:19:58 +02:00
2026-07-23 21:47:00 +02:00
2026-08-18 20:02:04 +02:00
2026-07-14 19:40:44 +02:00
2026-07-21 12:23:14 +02:00
2026-07-29 09:47:56 +02:00
2026-07-21 13:40:16 +02:00
2026-08-23 18:26:29 +02:00
2026-07-25 11:19:58 +02:00
2026-07-14 15:07:05 +02:00
2026-07-29 11:02:16 +02:00
2026-07-19 01:20:27 +02:00
2026-07-14 19:40:44 +02:00
2026-07-19 01:20:27 +02:00
2026-07-19 01:20:27 +02:00
2026-07-29 09:47:56 +02:00
2026-08-01 06:40:40 +02:00
2026-07-26 09:36:06 +02:00
2026-07-29 06:09:58 +02:00
2026-08-22 07:24:47 +02:00
2026-08-19 19:02:52 +02:00
2026-08-07 22:39:55 +02:00
2026-08-07 22:39:55 +02:00
2026-08-24 08:13:31 +02:00
2026-08-09 19:49:33 +02:00
2026-08-19 19:02:52 +02:00
2026-08-19 19:02:52 +02:00
2026-08-12 19:42:04 +02:00
2026-08-21 19:53:52 +02:00
2026-08-21 19:53:52 +02:00
2026-08-22 10:47:53 +02:00
2026-08-22 12:49:47 +02:00
2026-08-23 17:41:39 +02:00
2026-08-22 12:49:47 +02:00
2026-07-19 17:13:46 +02:00
2026-08-19 19:02:52 +02:00
2026-07-25 11:35:09 +02:00
2026-07-24 14:29:53 +02:00
2026-07-19 17:13:46 +02:00
2026-07-20 11:50:12 +02:00
2026-08-06 21:56:21 +02:00
2026-07-13 20:34:43 +02:00
2026-07-19 01:38:00 +02:00
2026-08-19 19:02:52 +02:00
2026-07-26 05:53:09 +02:00
2026-08-19 17:30:51 +02:00
2026-07-14 19:40:44 +02:00
2026-07-19 17:13:46 +02:00
2026-08-23 18:29:46 +02:00
2026-08-23 19:20:49 +02:00
2026-08-03 21:07:57 +02:00
2026-08-20 16:05:01 +02:00
2026-08-20 16:02:00 +02:00
2026-08-20 15:58:10 +02:00
2026-08-19 19:02:52 +02:00
2026-08-19 19:02:52 +02:00
2026-08-21 18:41:46 +02:00
2026-07-19 20:26:20 +02:00
2026-07-15 08:27:53 +02:00
2026-07-15 14:58:48 +02:00
2026-07-16 09:10:30 +02:00
2026-07-25 11:19:58 +02:00
2026-07-15 08:15:35 +02:00
2026-07-25 11:19:58 +02:00
2026-07-29 06:12:09 +02:00
2026-07-16 08:37:28 +02:00
2026-07-16 10:37:42 +02:00
2026-07-16 10:37:42 +02:00
2026-07-15 20:50:43 +02:00
2026-07-19 20:26:20 +02:00