Commit Graph

2 Commits

Author SHA1 Message Date
Bernd (Hermes) bc815e67c8 fix: P0-BUGFIX Meta-Pattern restriktiver + target_room origin_room_id
- router.py: Meta-Pattern 3 war "archivar" allein → spezifische Verb-Patterns
- router.py Z.515: target_room=catch_all_id → origin_room_id bei stay_in_room
- adapter.py Z.1448: _THEMATIC_TARGET_ROOM.set() nur wenn not stay_in_room
- 16 neue Tests: 13 Meta-Pattern + 3 target_room
- 192/193 passed (1 pre-existing: test_no_env_vars)
2026-07-13 20:39:15 +02:00
Bernd (Hermes) dff524d3e7 feat: V7-2 Sticky thematisch — never_route[room_id][topic]
- Button 2 (Generell hier bleiben): set_never_route mit Thema, state=AKTIV
- Button 3 (Nur diesmal): stay_tracker + Auto-Promotion nach 3x mit Thema
- Router: _check_never_route_topic fragt "Ist matchendes Thema sticky?" → Stay
- Reihenfolge: Self-Match → never_route topic → 100%-Check → Kontext → FAISS → LLM
- never_route für lan-doku blockt NICHT protonbridge im selben Raum
- 8 neue Tests: thematischer Sticky, Multi-Topic, Raum-Isolation, Konversion
2026-07-13 15:50:26 +02:00