fix(spawner): address PR#36 review feedback (M1+M2+S1+S2)
CI / lint (pull_request) Successful in 8s
CI / test (pull_request) Successful in 9s
CI / notify-on-failure (pull_request) Successful in 0s

This commit is contained in:
cfdaily
2026-06-11 21:40:09 +08:00
parent caf750fad6
commit bcb8ced17a
3 changed files with 107 additions and 13 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ def _revive_session(agent_id: str) -> bool:
```python
# §24 v3: compact 检测优先用 gateway 日志 rotation 事件
if result["status"] not in ("done", "idle", "unknown", None):
if result["status"] not in ("idle", "unknown", None):
session_key = f"agent:{agent_id}:main"
result["recent_compact"] = AgentSpawner._check_compact_in_progress_gateway(
session_key)