Commit Graph

2 Commits

Author SHA1 Message Date
Bernd (Hermes) 281e0883a8 fix: V8.4.1 — Test-Fixture Fix für Keyword-Match target_room
Two fixes in test_v8_4.py:

1. _make_router() now uses a temp state file (/tmp/archivar_test_state.json)
   instead of the default ArchivarState() path. This isolates tests from
   persisted never_route entries that were blocking keyword-match routing.

2. test_red_flag_not_triggered_when_keyword_matches: changed test message
   from "Bitte dokumentiere das neue Feature" to "Bitte erstelle eine
   Dokumentation für das neue Feature" so the 100% keyword "dokumentation"
   actually appears as a substring (find_room_by_keywords uses substring
   matching, not stemming).

Result: 24/24 V8.4 tests passed. Full suite: 566 passed, 1 pre-existing
failure (test_no_env_vars — ARCHIVAR_PROJECT_ROOMS env var), 2 skipped.
2026-07-15 20:50:43 +02:00
Bernd (Hermes) e1167c470a feat: V8.4 — Red Flag: Agent als 6. Entscheidungsträger (Pre-Dispatch-Hook, Ring-Feedback, Feature-Flag) 2026-07-15 20:36:52 +02:00