Commit Graph

1 Commits

Author SHA1 Message Date
Bernd (Hermes) 0e39e7076a fix: V8.1.1 — 3 Blocker (Catch-All-Guard, Ring-GC, Tests)
R1 (P0): Catch-All-Sticky-Vergiftung behoben
- Session-Sticky-Block (adapter.py:1581) prüft jetzt is_catch_all
  und should_stay_in_room VOR dem Auto-Route
- Catch-All-Zielraum → Sticky wird gelöscht, Fall-Through zu Archivar
- stay_in_room=always/never_route → Sticky wird gelöscht, Fall-Through

R2 (P1): MultiRoomContextRing.move_gc() implementiert
- Neue Methode entfernt stale Topics aus Ursprungsraum bei Move
- Fügt neuen Ring-Eintrag für Zielraum hinzu
- Aufruf bei confirm_move (Button 1) und Auto-Route (100%-Match)

R3 (P1): 4 neue Test-Suites (56 Tests)
- test_multiroom_context.py: Ring-Buffer, move_gc, System-Prompt
- test_sticky_session.py: temporäres Sticky, 30 Min TTL, Guards
- test_auto_route.py: 100%-Match, self-match, Catch-All
- test_edge_cases.py: leerer Ring, Catch-All+Auto-Route, Move-Ketten

R4 (P2): Doc-Kommentar für _CURRENT_ORIGIN_ROOM ContextVar-Reset

Verifikation: 401 passed, 1 pre-existing fail (test_no_env_vars)
2026-07-14 19:40:44 +02:00