Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 178818bb15 |
@@ -235,7 +235,7 @@ def _revive_session(agent_id: str) -> bool:
|
|||||||
|
|
||||||
### 4.5 O5: compact 检测(§15 rotation-only v3)
|
### 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` 事件。
|
**检测方法**:读 gateway 日志尾部 2MB,按 sessionKey 过滤 `[compaction] rotated active transcript` 事件。
|
||||||
如果最近的 rotation 事件在 120s 窗口内 → 视为 compact 循环进行中(可能还在 post-compact retry)。
|
如果最近的 rotation 事件在 120s 窗口内 → 视为 compact 循环进行中(可能还在 post-compact retry)。
|
||||||
|
|||||||
Reference in New Issue
Block a user