diff --git a/plugin/archivar/adapter_integration.py b/plugin/archivar/adapter_integration.py index a11d244..0a22aca 100644 --- a/plugin/archivar/adapter_integration.py +++ b/plugin/archivar/adapter_integration.py @@ -112,11 +112,12 @@ class ArchivarMessageHandler: embedding_client=embedding_client, llm_client=llm_client ) - self._doc_store = DocumentationStore() - # Load RoomMap (try JSON first, fall back to legacy env vars) self._room_map = self._load_room_map() + # doc_store writes to fact_store_path from room_map + self._doc_store = DocumentationStore(base_dir=self._room_map.fact_store_path) + # Cache for subscribed room IDs (set later via set_subscribed_room_ids) self._subscribed_room_ids_cache: Optional[set] = None