fix(P1): ISSUE 1 — Button-Texte v6→v7 aktualisiert

- config.py: '2️⃣ Generell hier' → '2️⃣ Thema hier lassen'
- adapter.py Z.2394: stay_here-Feedback themenbezogen statt raumbezogen
- adapter.py Z.2450: Auto-Promote-Feedback themenbezogen
- Semantik: raumbezogen → themenbezogen (24h/ Themenwechsel TTL)
This commit is contained in:
Bernd (Hermes)
2026-07-25 11:13:38 +02:00
parent 49e9b3ec1f
commit f94d73585c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -2391,7 +2391,7 @@ class RocketChatAdapter(BasePlatformAdapter):
) )
except Exception as e: except Exception as e:
logger.warning("[rocketchat] Failed to persist sticky decision: %s", e) logger.warning("[rocketchat] Failed to persist sticky decision: %s", e)
await self._post_message_with_retry(room_id, "🔒 Verstanden — dieser Raum wird nicht mehr automatisch geroutet. (Gilt dauerhaft)") await self._post_message_with_retry(room_id, "🔒 Verstanden — dieses Thema bleibt jetzt hier im Raum. (Themenbezogen, verfällt nach 24h oder Themenwechsel)")
feedback_type = "never" feedback_type = "never"
else: else:
# 3️⃣ Nur diesmal → Antwort im Ursprungsraum (nur diesmal, kein Sticky) # 3️⃣ Nur diesmal → Antwort im Ursprungsraum (nur diesmal, kein Sticky)
@@ -2447,7 +2447,7 @@ class RocketChatAdapter(BasePlatformAdapter):
self.archivar._state.set_never_route(room_id, topic) self.archivar._state.set_never_route(room_id, topic)
# V7-2: _sticky_rooms entfernt — thematisches never_route reicht # V7-2: _sticky_rooms entfernt — thematisches never_route reicht
logger.info("[rocketchat] Auto-promoted to never_route after %d stays in room %s, topic '%s'", count, room_id[:8], topic) logger.info("[rocketchat] Auto-promoted to never_route after %d stays in room %s, topic '%s'", count, room_id[:8], topic)
await self._post_message_with_retry(room_id, "🔒 Ich habe gemerkt, dass du hier bleiben möchtest — dieser Raum wird ab jetzt nicht mehr automatisch geroutet.") await self._post_message_with_retry(room_id, "🔒 Gut erkannt — dieses Thema bleibt ab jetzt hier. (Verfällt nach 24h oder Themenwechsel)")
except Exception as e: except Exception as e:
logger.warning("[rocketchat] Failed to auto-promote sticky: %s", e) logger.warning("[rocketchat] Failed to auto-promote sticky: %s", e)
+1 -1
View File
@@ -223,7 +223,7 @@ MOVE_REQUEST_TEMPLATE: dict = {
"text": "Soll ich diese Nachricht nach {target_name} kopieren?", "text": "Soll ich diese Nachricht nach {target_name} kopieren?",
"actions": [ "actions": [
{"text": "1️⃣ Rüber", "type": "confirm_move"}, {"text": "1️⃣ Rüber", "type": "confirm_move"},
{"text": "2️⃣ Generell hier", "type": "stay_here"}, {"text": "2️⃣ Thema hier lassen", "type": "stay_here"},
{"text": "3️⃣ Nur diesmal", "type": "stay_once"}, {"text": "3️⃣ Nur diesmal", "type": "stay_once"},
], ],
} }