fix: 修复 §07 中 compact 文件路径引用 (24→15)
CI / lint (pull_request) Successful in 7s
CI / test (pull_request) Successful in 8s
CI / notify-on-failure (pull_request) Successful in 1s

This commit is contained in:
cfdaily
2026-06-13 10:14:45 +08:00
parent eccb4d2723
commit 178818bb15
+1 -1
View File
@@ -235,7 +235,7 @@ def _revive_session(agent_id: str) -> bool:
### 4.5 O5: compact 检测(§15 rotation-only v3
§15 设计文档:`docs/design/24-compact-detection-fix.md`
§15 设计文档:`docs/design/15-compact-detection-fix.md`
**检测方法**:读 gateway 日志尾部 2MB,按 sessionKey 过滤 `[compaction] rotated active transcript` 事件。
如果最近的 rotation 事件在 120s 窗口内 → 视为 compact 循环进行中(可能还在 post-compact retry)。