OoO
84a8c07e4a
CD Pipeline / deploy (push) Successful in 2m57s
feat(p11.5): learning_episodes embedding 寫入 — 解鎖 Stage 3 dedup
Operation Ollama-First v5.0 / Phase 11.5 收尾(A4 已知 limitation 補完)
問題:Phase 11 A4 完成時揭露:
> Stage 3 dedup 需 episode 先 embed:目前 LearningPipeline.enqueue 寫入時
> embedding 為 NULL,所有 episode 都會略過 Stage 3 dedup
修補:
- learning_pipeline.enqueue 內 episode INSERT commit 後 enqueue embedding worker
- 用既有 _enqueue_embedding('learning_episodes', episode_id, distilled_text)
- ADR-007 retry queue worker 自動處理(_process_one_embedding 已動態 UPDATE
{target_table},已支援 learning_episodes 表)
- distilled_text 截 4000 字避免 retry queue 表膨脹
- 失敗 swallow,僅 log debug(不阻擋 episode_id 回傳)
落地 ADR-033 護欄 #1 完整版:
Stage 1: quality_score >= 0.7 ✅ 既有
Stage 2: 無幻覺檢測(規則引擎) ✅ 既有
Stage 3: 與既有 insight cosine < 0.95 ✅ 解鎖 ⭐
Stage 4: weight >= 0.8 必經 👍/👎 ✅ 既有
regression: 70 unit tests 全綠(含修正 test_enqueue_returns_id_on_success
配合新增 _enqueue_embedding 的 commit 計數變化)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 09:16:39 +08:00
..
2026-04-19 01:21:13 +08:00
2026-05-03 23:05:38 +08:00
2026-04-29 23:29:45 +08:00
2026-04-30 10:32:43 +08:00
2026-04-29 23:57:36 +08:00
2026-05-03 23:04:58 +08:00
2026-04-19 01:21:13 +08:00
2026-04-29 23:10:27 +08:00
2026-05-03 23:31:30 +08:00
2026-04-30 10:12:43 +08:00
2026-04-29 23:02:06 +08:00
2026-05-01 16:34:13 +08:00
2026-05-01 14:46:49 +08:00
2026-05-03 23:31:30 +08:00
2026-05-02 23:44:01 +08:00
2026-05-01 20:56:17 +08:00
2026-04-30 14:45:40 +08:00
2026-04-30 23:53:23 +08:00
2026-04-30 14:29:40 +08:00
2026-05-01 14:09:54 +08:00
2026-04-30 13:59:12 +08:00
2026-04-19 01:21:13 +08:00
2026-04-19 01:21:13 +08:00
2026-04-29 23:26:02 +08:00
2026-04-19 01:21:13 +08:00
2026-05-02 15:01:55 +08:00
2026-05-01 21:13:18 +08:00
2026-04-29 22:37:20 +08:00
2026-04-30 14:12:21 +08:00
2026-04-30 14:12:21 +08:00
2026-04-30 00:06:24 +08:00
2026-05-01 16:34:13 +08:00
2026-04-19 01:21:13 +08:00
2026-05-02 15:01:55 +08:00
2026-04-29 22:37:20 +08:00
2026-05-04 09:16:39 +08:00
2026-04-30 14:07:10 +08:00
2026-05-02 12:00:34 +08:00
2026-04-19 01:21:13 +08:00
2026-04-29 22:56:00 +08:00
2026-05-03 23:05:38 +08:00
2026-04-19 01:21:13 +08:00
2026-04-30 10:24:15 +08:00
2026-05-03 23:05:11 +08:00
2026-05-02 12:01:04 +08:00
2026-05-02 16:13:43 +08:00
2026-05-02 12:01:04 +08:00
2026-05-03 23:30:47 +08:00
2026-05-03 23:05:38 +08:00
2026-05-03 23:05:38 +08:00
2026-05-02 15:01:55 +08:00
2026-05-02 15:01:55 +08:00
2026-04-29 22:37:20 +08:00
2026-05-01 14:46:49 +08:00
2026-05-01 14:46:49 +08:00
2026-05-01 20:48:28 +08:00
2026-05-03 23:56:12 +08:00
2026-05-03 23:56:12 +08:00
2026-04-19 01:21:13 +08:00
2026-05-02 15:01:55 +08:00
2026-05-02 12:01:04 +08:00
2026-05-03 23:04:58 +08:00
2026-05-02 15:59:54 +08:00
2026-04-19 01:21:13 +08:00