641b066db0
FEATURE 1: Routing-Telemetrie (Konfidenz-Logging) - Neue Datei: archivar/routing_telemetry.py — RoutingTelemetry Klasse - Feature-Flag: ARCHIVAR_ROUTING_TELEMETRY env var (Default true) - Pro Routing-Entscheidung: stage, score, decision, target, origin, duration_ms - Format: [TELEMETRY] stage=keyword_100 score=1.00 decision=route ... - NIEMALS Nachrichteninhalte im Log (Datenschutz) - Telemetrie-Punkte in router.py an allen 5 Stufen: keyword_100, context_keyword, faiss, llm, default - Flush in adapter.py nach classify_and_route() FEATURE 2: Echte Integration-Tests - Neue Datei: archivar/tests/test_v8_3_3.py (18 Tests) - Echte RoutingDecision-Objekte statt Dict-Simulationen - 7 Integration-Test-Klassen: 1. 100%-Keyword im falschen Raum → route 2. 100%-Keyword im richtigen Raum → stay (self-match) 3. Kontext-Keyword → butler 4. FAISS hohe Ähnlichkeit → route 5. FAISS mittlere Ähnlichkeit → butler 6. LLM → STAY 7. LLM → ROUTE - Telemetrie-Tests: Logging, Datenschutz, Feature-Flag - Erweiterte conftest.py: multi_room_map, Mock-LLM Fixtures Verifikation: 527 passed, 1 pre-existing fail, 2 skipped (FAISS)