feat(archivar): Origin-Priorität im Keyword-Matcher + Architekturskizzen

- room_map.py: find_room_by_keywords() prüft zuerst Ursprungsraum (Origin-First)
- router.py: reicht origin_room_id an Keyword-Matcher durch
- docs/keyword-matcher-origin-priority.md: Architekturskizze (Rainer)
- docs/move-request-button-ux.md: Architekturskizze Button-UX (Rainer)
- docs/keyword-evidence-system.md: Architekturskizze Evidenz-System (Rainer)
This commit is contained in:
Hermes Agent
2026-06-12 19:25:36 +02:00
parent 281c2af9dd
commit 53dd436a86
5 changed files with 390 additions and 2 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ class BidirectionalRouter:
)
# ── Schritt 3: Keyword-Match (aus RoomMap) ──────────────────
matched_room = self._room_map.find_room_by_keywords(text)
matched_room = self._room_map.find_room_by_keywords(text, origin_room_id=origin_room_id)
if matched_room is not None:
logger.debug(
"Keyword match: '%s' → %s", text[:80], matched_room.name