docs(logbook): C1 修正閉環 — rag_chunk_repository 完成
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
| I3 | debug endpoint 硬碼 188 IP | Important | 改用 `settings.OLLAMA_URL` |
|
||||
| I4 | httpx client 未在 shutdown 關閉 | Important | main.py lifespan 加 `close()` |
|
||||
|
||||
**未修正 (C1)**: Service 層直接存取 DB — 屬架構重構需首席架構師排期,非緊急
|
||||
**C1 修正 (5c2db65)**: 新增 `rag_chunk_repository.py` — Service 不再直接碰 DB ✅
|
||||
|
||||
### RAG 知識庫關鍵坑記錄
|
||||
- K3s NetworkPolicy v1.3 已封閉 188:11434 → 必須用 `settings.OLLAMA_URL`(111)
|
||||
@@ -39,7 +39,7 @@
|
||||
- `_run_index()` 業務邏輯屬 Service 層責任 → leWOOOgo 原則
|
||||
|
||||
### 下一步
|
||||
- C1 Repository 層重構 (非緊急,可排 Sprint 6)
|
||||
- ~~C1 Repository 層重構~~ ✅ 完成 (5c2db65)
|
||||
- ivfflat index 建立 (5814 chunks 已超過 100 筆門檻,可手動執行)
|
||||
- ADR-067 五大應用全完成 → 待議下一個 Sprint
|
||||
|
||||
|
||||
Reference in New Issue
Block a user