Arbeitspakete A+B: Hausinterne Begriffe durch generische Beispiele ersetzt
- room-topic-map.md: BAT-Team → Support-Team, Protonbridge-Plugin → Mail-Bridge-Plugin, andreas/Bernd → Admin, personenbezogene Namen anonymisiert - OPTION_C_SESSION_SHARING.md: BAT-Team → Support-Team, andreas → admin - BUTTON_GUIDE.md: rocketchat:protonbridge → rocketchat:my-room (3 Stellen) - plugin/archivar/__init__.py: /home/bernd/ → docs/ Alle Beispiele sind jetzt generisch und unabhängig vom LLM nutzbar.
This commit is contained in:
@@ -19,7 +19,7 @@ The agent uses `send_message` with a `metadata` dict. The adapter converts this
|
||||
|
||||
```python
|
||||
send_message(
|
||||
target="rocketchat:protonbridge",
|
||||
target="rocketchat:my-room",
|
||||
text="Should I proceed?",
|
||||
metadata={
|
||||
"template": "custom",
|
||||
@@ -90,7 +90,7 @@ Without it, a late click on an old button creates silent context errors. Always
|
||||
```python
|
||||
# Step 1: Choose format
|
||||
send_message(
|
||||
target="rocketchat:protonbridge",
|
||||
target="rocketchat:my-room",
|
||||
text="Which export format?",
|
||||
metadata={
|
||||
"template": "custom",
|
||||
@@ -103,7 +103,7 @@ send_message(
|
||||
|
||||
# Step 2: Choose destination
|
||||
send_message(
|
||||
target="rocketchat:protonbridge",
|
||||
target="rocketchat:my-room",
|
||||
text="Where to send the CSV?",
|
||||
metadata={
|
||||
"template": "custom",
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
## Problem
|
||||
|
||||
Hermes erzeugt pro Rocket.Chat-Raum eine eigene Session. Andreas' DM und der
|
||||
#BAT-Team-Raum hatten zwei unabhängige Bernd-Instanzen — doppeltes
|
||||
Hermes erzeugt pro Rocket.Chat-Raum eine eigene Session. Die Admin-DM und der
|
||||
#Support-Team-Raum hatten zwei unabhängige Instanzen — doppeltes
|
||||
Informations-Management, kein gemeinsamer Kontext.
|
||||
|
||||
## Lösung: Virtuelle Raum-Übersetzung (Plugin-only)
|
||||
@@ -16,7 +16,7 @@ user-basierten virtuellen Chat-IDs. Keine Hermes-Core-Änderungen.
|
||||
### Datenfluss
|
||||
|
||||
```
|
||||
EINGANG: RC-Raum (DM / #BAT-Team)
|
||||
EINGANG: RC-Raum (DM / #Support-Team)
|
||||
↓
|
||||
_adapter._process_incoming():
|
||||
room_id → user:<username> als chat_id
|
||||
@@ -24,9 +24,9 @@ _adapter._process_incoming():
|
||||
chat_type=dm (umgeht group isolation in Core)
|
||||
↓
|
||||
Hermes Core: build_session_key()
|
||||
→ agent:main:rocketchat:dm:user:andreas ← EIN Key für alle Räume!
|
||||
→ agent:main:rocketchat:dm:user:admin ← EIN Key für alle Räume!
|
||||
↓
|
||||
Agent antwortet mit chat_id="user:andreas"
|
||||
Agent antwortet mit chat_id="user:admin"
|
||||
↓
|
||||
_adapter.send():
|
||||
ContextVar lesen → echter room_id
|
||||
|
||||
+11
-11
@@ -1,22 +1,22 @@
|
||||
# Room Topic Map — rocket.chat.thomander.de
|
||||
# Room Topic Map — Beispielkonfiguration
|
||||
|
||||
**Stand:** 31. Mai 2026 (wiederhergestellt nach Server-Rollback)
|
||||
**Catch-All:** DM andreas/Bernd (`69f4e777f06dba03be82dce7`)
|
||||
**Stand:** 03. Juni 2026 (anonymisiert für generische Verwendung)
|
||||
**Catch-All:** DM Admin (`<ADMIN_DM_ROOM_ID>`)
|
||||
|
||||
## Gemappte Räume
|
||||
## Gemappte Räume (Beispiele)
|
||||
|
||||
| Raum | Typ | Thema |
|
||||
|---|---|---|
|
||||
| `#BAT-Team` | channel | BAT-Trading-Plattform (Docker-Stack, Commits, Agent-Health, Entwicklerteam) |
|
||||
| `Rocketchat-Plugin` | group | Hermes Rocket.Chat Plugin (Gateway, Upload, Buttons, Adapter) |
|
||||
| `Protonbridge-Plugin` | group | ProtonMail-Bridge-Plugin (Mail, Bridge, SMTP) |
|
||||
| `DM andreas/Bernd` | dm | Allgemein, Meta, Strategie — **Catch-All** |
|
||||
| `DM mit Bernd, Thomas` | dm | 🔇 Inaktiv — nur bei expliziter Aufforderung |
|
||||
| `DM mit Bernd, Susi` | dm | Bot-zu-Bot-Kommunikation & Training — NUR auf explizite Aufforderung des Auftraggebers. Niemals ungefragt nutzen. |
|
||||
| `#Support-Team` | channel | Erst-Level-Support (Tickets, Bug-Reports, User-Feedback) |
|
||||
| `RC-Plugin-Dev` | group | Rocket.Chat Plugin-Entwicklung (Gateway, Upload, Buttons, Adapter) |
|
||||
| `Mail-Bridge-Plugin` | group | E-Mail-Bridge-Plugin (Mail, Bridge, SMTP) |
|
||||
| `DM Admin` | dm | Allgemein, Meta, Strategie — **Catch-All** |
|
||||
| `DM Team-Kollege` | dm | 🔇 Inaktiv — nur bei expliziter Aufforderung |
|
||||
| `DM Bot-Agent` | dm | Bot-zu-Bot-Kommunikation & Training — NUR auf explizite Aufforderung des Admins. Niemals ungefragt nutzen. |
|
||||
|
||||
## Virtuelle Keys (keine echten Räume — IMMER herausfiltern)
|
||||
|
||||
- `user:bernd` — Option-C-Session-Key, kein Raum. Darf NICHT Catch-All werden.
|
||||
- `user:admin` — Session-Sharing-Key, kein Raum. Darf NICHT Catch-All werden.
|
||||
|
||||
## Override-Regel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user