conductor(plan): Mark Phase 1 complete and Phase 2 In Progress

This commit is contained in:
2026-05-04 05:39:21 -04:00
parent dd042d9bb1
commit 337c21ad1f
+22 -22
View File
@@ -1,29 +1,29 @@
# Implementation Plan: RAG Support # Implementation Plan: RAG Support
## Phase 1: Foundation & Vector Store Integration ## Phase 1: Foundation & Vector Store Integration [checkpoint: dd042d9]
- [ ] Task: Define the RAG architecture and configuration schema. - [x] Task: Define the RAG architecture and configuration schema. e80cd6b
- [ ] Update `src/models.py` to include `RAGConfig` and `VectorStoreConfig`. - [x] Update `src/models.py` to include `RAGConfig` and `VectorStoreConfig`. e80cd6b
- [ ] Implement configuration loading/saving in `AppController`. - [x] Implement configuration loading/saving in `AppController`. e80cd6b
- [ ] Task: Integrate a local vector store. - [x] Task: Integrate a local vector store. e80cd6b
- [ ] Add `chromadb` or `qdrant-client` to `requirements.txt`. - [x] Add `chromadb` or `qdrant-client` to `requirements.txt`. e80cd6b
- [ ] Create `src/rag_engine.py` to manage the vector database lifecycle (init, add, search, delete). - [x] Create `src/rag_engine.py` to manage the vector database lifecycle (init, add, search, delete). e80cd6b
- [ ] Task: Implement embedding providers. - [x] Task: Implement embedding providers. e80cd6b
- [ ] Implement Gemini embedding wrapper in `src/rag_engine.py`. - [x] Implement Gemini embedding wrapper in `src/rag_engine.py`. e80cd6b
- [ ] Implement local embedding wrapper (e.g., using `sentence-transformers`) in `src/rag_engine.py`. - [x] Implement local embedding wrapper (e.g., using `sentence-transformers`) in `src/rag_engine.py`. e80cd6b
- [ ] Task: Write unit tests for vector store operations and embedding generation. - [x] Task: Write unit tests for vector store operations and embedding generation. e80cd6b
- [ ] Task: Conductor - User Manual Verification 'Phase 1: Foundation & Vector Store' (Protocol in workflow.md) - [x] Task: Conductor - User Manual Verification 'Phase 1: Foundation & Vector Store' (Protocol in workflow.md) dd042d9
## Phase 2: Indexing & Retrieval Logic ## Phase 2: Indexing & Retrieval Logic
- [ ] Task: Implement the indexing pipeline. - [~] Task: Implement the indexing pipeline.
- [ ] Implement file chunking strategies (e.g., character-based, AST-aware) in `src/rag_engine.py`. - [~] Implement file chunking strategies (e.g., character-based, AST-aware) in `src/rag_engine.py`.
- [ ] Create a background indexing task in `AppController`. - [~] Create a background indexing task in `AppController`.
- [ ] Implement auto-indexing logic triggered by Context Hub changes. - [~] Implement auto-indexing logic triggered by Context Hub changes.
- [ ] Task: Implement the retrieval pipeline. - [~] Task: Implement the retrieval pipeline.
- [ ] Implement similarity search with configurable top-k and threshold. - [~] Implement similarity search with configurable top-k and threshold.
- [ ] Implement "Native Retrieval" logic for Gemini (leveraging `ai_client.py`). - [~] Implement "Native Retrieval" logic for Gemini (leveraging `ai_client.py`).
- [ ] Task: Update `ai_client.py` to support RAG. - [~] Task: Update `ai_client.py` to support RAG.
- [ ] Add a `retrieve_context()` step to the `send()` loop. - [~] Add a `retrieve_context()` step to the `send()` loop.
- [ ] Format and inject retrieved fragments into the model's system prompt or context block. - [~] Format and inject retrieved fragments into the model's system prompt or context block.
- [ ] Task: Write integration tests for the indexing and retrieval flow. - [ ] Task: Write integration tests for the indexing and retrieval flow.
- [ ] Task: Conductor - User Manual Verification 'Phase 2: Indexing & Retrieval Logic' (Protocol in workflow.md) - [ ] Task: Conductor - User Manual Verification 'Phase 2: Indexing & Retrieval Logic' (Protocol in workflow.md)