notes: pi 空回复事故分析卡 - #143
Open
joyehuang wants to merge 1 commit into
Open
Conversation
includes SiteStats.astro neon type fix (same as #118) for clean check on branches cut from main
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
2 issues found across 2 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="src/content/notes/0926-empty-reply-incidents.md">
<violation number="1" location="src/content/notes/0926-empty-reply-incidents.md:19">
P3: 「18 起同型事故,跨 4 个模型」与正文列举的模型数不符:模式 A 已含 deepseek/cc-deepseek/Qwen3.8/opus 四个,模式 B 又单列 glm-5.3-flash,共 5 个模型。请更正为 5,或说明 4 的口径(例如把 cc-deepseek 计入 deepseek 系)。</violation>
<violation number="2" location="src/content/notes/0926-empty-reply-incidents.md:31">
P2: 模式 A 的模型分布计数加总为 17(deepseek 9 + cc-deepseek 3 + Qwen3.8 3 + opus 2),但该段标题标明 14 起,与全文 18 = A(14) + B(4) 的框架不一致。请核对日志更正分布或标题数字,否则这张事故实证卡的核心数字自相矛盾。</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
|
|
||
| **模式 A:stopReason=error 的空回复(8-11~8-28,14 起,跨模型)** | ||
|
|
||
| - 模型分布:deepseek 9 次 / cc-deepseek 3 次 / Qwen3.8 3 次 / opus 2 次——**跨模型发生,多紧跟 Command aborted 之后** |
Contributor
There was a problem hiding this comment.
P2: 模式 A 的模型分布计数加总为 17(deepseek 9 + cc-deepseek 3 + Qwen3.8 3 + opus 2),但该段标题标明 14 起,与全文 18 = A(14) + B(4) 的框架不一致。请核对日志更正分布或标题数字,否则这张事故实证卡的核心数字自相矛盾。
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At src/content/notes/0926-empty-reply-incidents.md, line 31:
<comment>模式 A 的模型分布计数加总为 17(deepseek 9 + cc-deepseek 3 + Qwen3.8 3 + opus 2),但该段标题标明 14 起,与全文 18 = A(14) + B(4) 的框架不一致。请核对日志更正分布或标题数字,否则这张事故实证卡的核心数字自相矛盾。</comment>
<file context>
@@ -0,0 +1,65 @@
+
+**模式 A:stopReason=error 的空回复(8-11~8-28,14 起,跨模型)**
+
+- 模型分布:deepseek 9 次 / cc-deepseek 3 次 / Qwen3.8 3 次 / opus 2 次——**跨模型发生,多紧跟 Command aborted 之后**
+- 性质:上游 API/网关层的错误边界——错误到达时 content 为空,harness 把空 completion 当正常 turn 结束
+
</file context>
Suggested change
| - 模型分布:deepseek 9 次 / cc-deepseek 3 次 / Qwen3.8 3 次 / opus 2 次——**跨模型发生,多紧跟 Command aborted 之后** | |
| deepseek 6 次 / cc-deepseek 3 次 / Qwen3.8 3 次 / opus 2 次 |
|
|
||
| ## 核心内容 | ||
|
|
||
| pi agent 偶发「整轮无最终回复」——Telegram 侧表现为只有中间消息、没有 quote 回复,用户看到的对话直接断掉。这不是单次 bug:对 session 日志的逐条排查实证了 8-11 以来的 **18 起同型事故**,跨 4 个模型发生。这张卡记录完整的归因分析与修复设计。 |
Contributor
There was a problem hiding this comment.
P3: 「18 起同型事故,跨 4 个模型」与正文列举的模型数不符:模式 A 已含 deepseek/cc-deepseek/Qwen3.8/opus 四个,模式 B 又单列 glm-5.3-flash,共 5 个模型。请更正为 5,或说明 4 的口径(例如把 cc-deepseek 计入 deepseek 系)。
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At src/content/notes/0926-empty-reply-incidents.md, line 19:
<comment>「18 起同型事故,跨 4 个模型」与正文列举的模型数不符:模式 A 已含 deepseek/cc-deepseek/Qwen3.8/opus 四个,模式 B 又单列 glm-5.3-flash,共 5 个模型。请更正为 5,或说明 4 的口径(例如把 cc-deepseek 计入 deepseek 系)。</comment>
<file context>
@@ -0,0 +1,65 @@
+
+## 核心内容
+
+pi agent 偶发「整轮无最终回复」——Telegram 侧表现为只有中间消息、没有 quote 回复,用户看到的对话直接断掉。这不是单次 bug:对 session 日志的逐条排查实证了 8-11 以来的 **18 起同型事故**,跨 4 个模型发生。这张卡记录完整的归因分析与修复设计。
+
+## 归因前的关键澄清:bridge 语义
</file context>
Suggested change
| pi agent 偶发「整轮无最终回复」——Telegram 侧表现为只有中间消息、没有 quote 回复,用户看到的对话直接断掉。这不是单次 bug:对 session 日志的逐条排查实证了 8-11 以来的 **18 起同型事故**,跨 4 个模型发生。这张卡记录完整的归因分析与修复设计。 | |
| 跨 5 个模型发生 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
18 起日志实证 / 模式 A(error 跨模型)vs B(glm 正常 stop 空内容)/ bridge quote 语义 / empty-reply-guard 保险丝设计。
止步 PR 不合并。bun run check 0 errors。
Summary by cubic
Adds a research note analyzing 18 empty-reply incidents in the pi agent, and aligns a
SiteStats.astrotype cast with PR #118 so branches cut from main passbun run check. This PR is for review only and should not be merged.Note contents
stopReason=errorempty replies across 4 models, 14 cases, mostly after Command aborted) and pattern B (glm-5.3-flash normal-stop empty replies, 4 cases).empty-reply-guardfuse: detect an empty final assistant message at turn end and inject one followUp retry, reset by fresh user input.Written for commit a2f4c75. Summary will update on new commits.