fix(P0-2-final): Verbliebene FAKT Skip-Buttons entfernt — ::setfakt + butler_mode Übergang

This commit is contained in:
Bernd (Hermes)
2026-07-24 15:56:05 +02:00
parent acd92f81cb
commit 56baaaf038
+2 -11
View File
@@ -3415,8 +3415,7 @@ class RocketChatAdapter(BasePlatformAdapter):
self.archivar._stats['onboarding_active'] = True self.archivar._stats['onboarding_active'] = True
_build = self._get_build_custom_buttons() _build = self._get_build_custom_buttons()
# P1-10(b): FAKT-Optionen in 3 Attachments: # P0-2: FAKT-Optionen in 2 Attachments (kein Skip-Button — Option 4 ist die Skip-Semantik)
# [1️⃣ Standard][2️⃣ Neu][3️⃣ Vorhanden] | [4️⃣ Keine] | [⏭️ Skip]
fakt_text = ( fakt_text = (
"📁 **FAKT-Speicherort** — Wo soll ich Fakten (deine Notizen) ablegen?\n\n" "📁 **FAKT-Speicherort** — Wo soll ich Fakten (deine Notizen) ablegen?\n\n"
"1️⃣ **Standard** — `.hermes/wissenssammlung` in deinem Home-Verzeichnis\n" "1️⃣ **Standard** — `.hermes/wissenssammlung` in deinem Home-Verzeichnis\n"
@@ -3443,14 +3442,6 @@ class RocketChatAdapter(BasePlatformAdapter):
style="primary", style="primary",
), ),
}, },
{
"color": "#1d74f5",
"actions": _build(
["⏭️ Skip"],
prefix="FAKT",
style="default",
),
},
] ]
await self._post_message_with_retry( await self._post_message_with_retry(
room_id, fakt_text, attachments=fakt_attachments room_id, fakt_text, attachments=fakt_attachments
@@ -5278,7 +5269,7 @@ class RocketChatAdapter(BasePlatformAdapter):
{"color": "#1d74f5", "title": "FAKT-Speicherort wählen", {"color": "#1d74f5", "title": "FAKT-Speicherort wählen",
"actions": _build(["1️⃣ Standard", "2️⃣ Neu", "3️⃣ Vorhanden"], prefix="FAKT", style="primary")}, "actions": _build(["1️⃣ Standard", "2️⃣ Neu", "3️⃣ Vorhanden"], prefix="FAKT", style="primary")},
{"color": "#1d74f5", {"color": "#1d74f5",
"actions": _build(["4️⃣ Keine", "⏭️ Skip"], prefix="FAKT", style="primary")}, "actions": _build(["4️⃣ Keine"], prefix="FAKT", style="primary")},
] ]
self._onboarding_state = {"phase": "fakt_store", "operator_room_id": operator_room_id} self._onboarding_state = {"phase": "fakt_store", "operator_room_id": operator_room_id}
if self.archivar is not None: if self.archivar is not None: