From 5d2bf6ce18dbae7393b145aa8aa59e4878753424 Mon Sep 17 00:00:00 2001 From: OG T Date: Fri, 10 Apr 2026 10:46:19 +0800 Subject: [PATCH] =?UTF-8?q?docs(logbook):=20C1=20=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E9=96=89=E7=92=B0=20=E2=80=94=20rag=5Fchunk=5Frepository=20?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- docs/LOGBOOK.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index 55213146..056e4a62 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -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