Merge pull request 'chore(spawner): G1 修正注释 — 只检测 precheck' (#49) from chore/g1-comment-fix into main

This commit was merged in pull request #49.
This commit is contained in:
2026-06-12 23:11:00 +00:00
+1 -1
View File
@@ -1650,7 +1650,7 @@ curl -X POST http://{api_host}:{api_port}/api/projects/{project_id}/tasks/{task_
# 保留为 deprecated 但不再调用。
#
# 逻辑:
# 1. 查 gateway log 最近的 compact 开始标记(overflow/timeout/precheck
# 1. 查 gateway log 最近的 compact 开始标记(precheck route=compact_then_truncate
# 2. 有开始标记 → 查 jsonl 是否有对应的 compaction entry(结束标记)
# 3. 有开始无结束 → 阻塞(recent_compact=True
# 4. 有开始有结束 → 放行