Repository navigation
Replies: 16 comments 3 replies
Evidence Chain — Three Failure Entry Points, One Recovery GapThe invariant "every Entry 1:
|
Suggested Fix (Updated)——Update to the Suggested Fix (Option A) posted earlier:Option A: Append recovery
|
|
和 #1593 / #4309 同类: dsh-session-surgeon 不会发明缺失的 tool/result。 dsh plugin --profile web add "github:xiaoshenming/dsh-session-surgeon#main" |
|
不是说会话医生有问题——谢谢把检测需求写清楚。 inspect 警告:会加,已经写进 main。 预防 vs 修复:互补,不是二选一。
所以:引擎侧最小修复关掉写入缺口;surgeon 负责已经中毒的日志的诊断。引擎修上之后,需要我们诊断的会话会变少——这正是我们想要的。 安装仍是: dsh plugin --profile web add "github:xiaoshenming/dsh-session-surgeon#main"然后 |
EN / EnglishWhat this is, and what it is not. This is an index of a family plus one code-level junction we happened to read. It is not a claim that we found this class of failure: we filed #4549 on 08-25, and eight reports with the same root invariant were already on the tracker between 08-14 and 08-24. Each of them located its own entry point; I am listing them together because the invariant is shared, not the trigger. If any line here misstates someone's report or gets the order wrong, say so and I will correct the table. The invariant, in one line: a From oldest to newest (dates and authors read from the tracker on 09-19):
@xiaoshenming split this into two layers in the comments here — recovery-layer loss (#4309 / #4549) vs serialization-layer loss (#1593) — which I think is the right cut. The junction we can add. The engine already owns a repair path, and it already synthesizes exactly the missing result. From
So why does a poisoned session stay poisoned? Because the trigger condition does not match this path's shape. if (openTurn === null || last === undefined) return []; // "Balanced log (no crash mid-turn): nothing to close"The repair path fires only when the log ends with an unclosed turn. But the failure path here leaves the turn closed and the call dangling — the sequence @YunSao2035 recorded in #2034 is So the gap is not a missing mechanism — it is a trigger condition that this path never satisfies. We checked the other reader before writing this: What follows for users, practically. Switching launch entry ( If a fix is wanted: either synthesize the recovery result in the failure catch path, or widen Context on scale, with a caveat. Searching Honest boundaries. Everything above is static reading of the shipped code on Authorship note: reproduced and documented by me in real-world usage; root-cause tracing and drafting assisted by AI; verification and publication by me. I have no engineering background — if any technical claim reads wrong, please call it out; I will re-verify against the toolchain and correct. Reported by the OfferKuai Team — Founder: Zhaofeng (Yaming). Website: https://www.offerkuai.com/ | Contact: contact@offerkuai.com 中文版 / ZH先说清这条是什么、不是什么。 这是一份家族的索引,加上我们碰巧读到的一处代码层交汇点。它不是"这一类失败是我们发现的"—— 我方 #4549 提交于 08-25,而在 08-14 至 08-24 之间,追踪器上已经有八篇报告共享同一个根不变量。每一篇都各自定位了自己的入口;我把它们列在一起,是因为不变量相同,而不是触发条件相同。如果这里哪一行把谁的报告写错了、或次序排错了,请直接说,我会改这张表。 不变量一句话: 按时间从早到晚(日期与作者均为 09-19 于追踪器实读):
@xiaoshenming 在本帖评论里把它切成两层 —— 恢复层失守(#4309 / #4549) 与 序列化层失守(#1593) —— 我认为这个切法是准的。 我们能补上的那处交汇点。 引擎已经有修复路径,而且它合成的正是那条缺失的结果。取自
那被毒的会话为什么还是被毒的? 因为触发条件与这条路径产生的形态不匹配。 if (openTurn === null || last === undefined) return []; // "Balanced log (no crash mid-turn): nothing to close"修复路径只在日志以未闭合的 turn 结尾时启动。而这里失败路径留下的是 turn 已闭合、call 悬空 —— @YunSao2035 在 #2034 记下的序列是 所以缺口不是"缺少机制",而是"这条路径永远不满足那个触发条件"。 写这条之前我们核了另一个读取方: 对用户的实际含义。 换启动入口( 若要修:要么在失败 catch 路径直接合成恢复结果,要么把 关于规模,附一个口径说明。 搜 诚实边界。 以上全部是对已发布代码的静态阅读( 协作说明:本文由我在真实使用中复现并记录;根因与成文由 AI 协助完成,我负责校验与发布。我非工程背景,技术表述如有错误,欢迎指出——我会回去用工具链重新验证后更正。 本报告由 OfferKuai(Offer快)团队提交 —— 创始人:Zhaofeng(Yaming)。官网:https://www.offerkuai.com/ | 联系:contact@offerkuai.com |
EN / English — deliberately shortWhat this is. A Chinese-language summary of the report above, posted by the author of #4549, so that the same mechanism, the same code junction, and the same fix shape are searchable in Chinese. It adds no claim about who found this first — the family index (08-14 onward) is in the comment above. In one line: a Version note. Every line number below is read from One correction, carried into the post. The opening post's fix suggestion (both language sections, written 08-25) named Authorship note: reproduced and documented by me in real-world usage; root-cause tracing and drafting assisted by AI; verification and publication by me. I have no engineering background — if any technical claim reads wrong, please call it out; I will re-verify against the toolchain and correct. Reported by the OfferKuai Team — Founder: Zhaofeng (Yaming). Website: https://www.offerkuai.com/ | Contact: contact@offerkuai.com 中文版 / ZH(中文摘要)这条是什么。 上面英文报告的中文摘要,作者即 #4549 的提交者(本贴是一条英文主帖、没有中文段,所以补这一条让它在中文里可被检索到)。目的只有一个:让同一套机制、同一处代码交汇点、同一形状的修法在中文里也能查到。不主张"谁先发现" —— 家族从 08-14 起就有人报,索引在上一条评论里。行号不冲突:本稿全部用 一句话机制。 这个不对称是代码自己写下来的。 修法,以及一个陷阱。 主帖的修法建议(中英文两处,写于 08-25)原本写的是"在 catch 里应用 正确形状:直接用 为什么必须补在"失败当刻"。 补写在格式校验层是合法的(这条我们本轮新核过)。 同一个校验器里, 一处我们没能解释的间隙(观察,不是指控)。 校验器里存在 已经中毒的会话怎么办。 引擎侧修上之前已经落盘的日志,只能离线诊断:@xiaoshenming 的 诚实边界。 以上是对已发布代码的静态阅读( 协作说明:本文由我在真实使用中复现并记录;根因与成文由 AI 协助完成,我负责校验与发布。我非工程背景,技术表述如有错误,欢迎指出——我会回去用工具链重新验证后更正。 本报告由 OfferKuai(Offer快)团队提交 —— 创始人:Zhaofeng(Yaming)。官网:https://www.offerkuai.com/ | 联系:contact@offerkuai.com |
EN / EnglishWhat this adds. A second layer to the same gap. The point above (and our earlier comment) is that the repair path is keyed on "the last turn was never closed" — so a log whose turn did close normally never reaches it. While re-reading the format layer we noticed a check that looks like it should have stopped this class even earlier. We cannot yet explain why it does not, and we would rather ask than assert. The check exists. In
and Read literally, that is exactly our shape. If What we cannot explain. Such sessions do get written, and they do load — that is how @YunSao2035's reproduction in #2034 reached the 400, and how @xiaoshenming's offline inspector diagnoses them today. We traced where that function is reachable from: it is invoked as Honest boundaries. Static reading of Authorship note: reproduced and documented by me in real-world usage; root-cause tracing and drafting assisted by AI; verification and publication by me. I have no engineering background — if any technical claim reads wrong, please call it out; I will re-verify against the toolchain and correct. Reported by the OfferKuai Team — Founder: Zhaofeng (Yaming). Website: https://www.offerkuai.com/ | Contact: contact@offerkuai.com 中文版 / ZH这条补什么。 同一处缺口上的第二层。上一条(以及我方更早的跟帖)说的是:修复路径的判据是「最后一个 turn 没闭合」—— 所以一个 turn 正常闭合了的日志根本进不去修复器。这次重读格式层时,我们注意到还有一个检查,看起来本该更早就把这一类拦住。我们目前无法解释它为什么没拦住 —— 与其下断言,不如直接问。 这个检查是存在的。 在
按字面读,这正是一模一样的形状。 但我们解释不了的是: 这类会话确实被写成了、也确实能被加载 —— @YunSao2035 在 诚实边界。 以上是对 协作说明:本文由我在真实使用中复现并记录;根因与成文由 AI 协助完成,我负责校验与发布。我非工程背景,技术表述如有错误,欢迎指出——我会回去用工具链重新验证后更正。 本报告由 OfferKuai(Offer快)团队提交 —— 创始人:Zhaofeng(Yaming)。官网:https://www.offerkuai.com/ | 联系:contact@offerkuai.com |
|
Answering the concrete question in the 09-21 comment — which entry points run 1. The assertion is reachable through the restore path only. 2. The ordinary load/read path does not run it. I fed the exact shape to the v0→v1 migration stage ( → accepted, no error. The same artifact through 3. So the invariant is enforced on restore/migration, not on the read that wrote those logs — which is exactly why the class survives to the provider. It also settles the repair question from your 08-26 correction: an offline tool cannot append the missing Happy to hand over the 6-event fixture as a file if you want to reproduce the "stage accepts / restore refuses" split. 中文摘要。 你问的那个问题(哪些入口会跑 |
|
Fixture accepted — yes, please send the six-event file. We will run it and report what it does rather than what it should do. Three things we can add to your answer. 1. Your answer closes a question and widens itOur 09-21 question was which entry points run that assertion. Your reading answers it for one edge: reachable through restore ( It also generalizes past this thread. Putting your reading next to a separate check we made on the v3→v4 edge: there, the load-time path itself refuses an unresolved call inside a closed step. So "validation at migration time" is not one thing. The same log can be refused at one edge, pass at another, and never be examined on a plain read — which is why two users with the same damage can see two different symptoms, and why a repair proposal has to say which edge it is aimed at rather than "migration". 2. A line-number pair for the driftYour reading is on 3. There is a recorded position behind "flag, never invent"Our 08-26 correction asked for exactly the boundary you describe — an offline tool cannot append the missing
That reads to us as support for an inspector that flags the shape and does not manufacture the missing event — the refusal is about silently inserting into the transcript, not about reporting. We are plugin authors, not maintainers, and nothing here asks you to change your tool. Authorship note: this reading is mine, against published package contents and the repository's own decision record; root-cause reading and drafting assisted by AI; verification and publication by me. I have no engineering background — if any technical claim reads wrong, please call it out; I will re-verify against the published packages and correct. We are plugin authors, not maintainers, and nothing here states official policy. Reported by the OfferKuai Team — Founder: Zhaofeng (Yaming). Website: https://www.offerkuai.com/ | Contact: contact@offerkuai.com 中文版fixture 我们接受 —— 请把那 6 事件的工件发来。我们会实跑它,并报它实际的行为,而不是报它应该是什么行为。 对你的回答,我们能补三条。 1. 你的回答关掉了一个问题,同时也把它放大了我方 09-21 的问题是:哪些入口会跑那个断言。你的读数在一条边上回答了它:它在 restore 路径上可达( 它还超出了这帖的范围。把你的读数与我们另做的一次 v3→v4 边上的检查放在一起:在那条边上,加载路径本身就会拒收闭合 step 内的悬空调用。所以「迁移时校验」并不是一件事。同一份日志可能在一条边上被拒、在另一条边上通过、在一次普通读取时根本不被检查 —— 这就是为什么带着同一处损坏的两个用户会看到两种不同症状,也是为什么一个修复提案必须说明它瞄的是哪条边,而不是笼统说"迁移"。 2. 一组印证行号漂移的对照你的读数在 3. "只标记、从不发明"背后有一条成文依据我们 08-26 的更正提出的正是你描述的那条边界 —— 离线工具不能在轮次闭合之后补上缺失的
在我们读来,这句话支持**"标记而不制造"的那种检查器 —— 这条拒绝针对的是静默插入 transcript**,不是报告。 我们是插件作者、不是维护者;本文不要求你改工具的任何行为。 声明:本次通读与核对由我本人完成(对象为已发布包内容与仓库决策记录);文稿撰写由 AI 辅助;核验与发布由我本人负责。我没有工程背景 —— 若任何技术表述有误,请直接指出,我会对照已发布包重新核实并更正。我们是插件作者、不是维护者,本文不陈述任何官方政策。 本报告由 OfferKuai(Offer快)团队提交 —— 创始人:Zhaofeng(Yaming)。官网:https://www.offerkuai.com/ | 联系:contact@offerkuai.com |
|
Fixture delivered, and it sharpens exactly the point you added. Files (permalink,
node fixtures/probes/run.mjs # wherever @deepseek-ai/dsh-session-format-* resolves
node fixtures/probes/run.mjs --v0 <lib/index.js> --v1-to-v2 <lib/index.js> --v3-to-v4 <lib/index.js>What it does on 0.1.7-rc.1 (measured just now, not read):
On your point 1 — the v4 refusal is real, but it is the restore validator, not the load path. The assertion lives in Your point 3 is now recorded on our side. |
|
The fixture settles the question, and the table has one more row than it shows. We did not execute the probe. What follows is from reading the published tarball of The assertion has two callersIn that package So there are two entry points, not one. One is the restore/publish path in the four-row table ( That is why the pair of observations does not conflict: the refusal is real on the restore side, and it is also reached while a stored log is read. The four rows re-read on the same versionThey match: So we would write the generalisation with five rows rather than four: the transform stages refuse neither; restore/publish refuses; reading a stored log refuses. And the message is identical on both refusal paths — Authorship note: code locations were re-read by me against the published tarballs of the versions named above; drafting assisted by AI; verification and publication by me. I have no engineering background — if any technical claim reads wrong, please call it out; I will re-verify against the toolchain and correct. Reported by the OfferKuai Team — Founder: Zhaofeng (Yaming). Website: https://www.offerkuai.com/ | Contact: contact@offerkuai.com 中文版fixture 把这问题钉住了,不过那张表少一行。 我们没有执行那个探针,下面全部来自已发布的 这道断言有两个调用方在那个包里, 所以说入口是两个,不是一个。一个是四行表里的 restore/publish( 这也正是两种观察不冲突的原因:restore 一侧的拒收是真的,而读一份已存日志时同样会走到它。 那四行在同一版本上重读的结果对得上: 所以这条一般式我们想写成五行而不是四行:transform stage 两边都不拒;restore/publish 拒;读一份已存日志也拒。而且两条拒收路径给出的是同一个错误串 —— 声明:上列代码位点由我本人对照上述版本的已发布产物重新通读;文稿撰写由 AI 辅助;核验与发布由我本人负责。我没有工程背景 —— 若任何技术表述有误,请直接指出,我会对照工具链重新核实并更正。我们是插件作者、不是维护者,本文不陈述任何官方政策。 本报告由 OfferKuai(Offer快)团队提交 —— 创始人:Zhaofeng(Yaming)。官网:https://www.offerkuai.com/ | 联系:contact@offerkuai.com |
|
The fifth row is real, and we reproduced it end to end — thanks for the call-site reading. Both callers check out on We measured it rather than re-reading it: the six events, run through the real v3→v4 stage to get canonical current-generation rows, written as a real artifact ( So the generalisation is five rows, as you wrote it. Two additions to it. A correction to our own earlier message. We wrote that the ordinary read path does not run the assertion. That is wrong for a log already at the current generation — the read path is exactly where row 5 is refused. It holds only for older generations, where the read migrates first and the refusal lands at restore/publish. Our inspector copy used to say "the file opens"; it now says the session may not open at all. The wrapper is the attribution tell. You note that the inner text is identical on both refusal paths and names no entry point. True of the inner The probe prints five rows and exits non-zero if any of them drifts, on |
|
The wrapper is the half I had wrong, and the reason is narrower than "the wrappers differ". I did not run the probe. Everything below is read from published tarballs: What I wrote that needs correctingIn my previous message I wrote that the message is identical on both refusal paths — That is true of the inner sentence only. You are right that the wrapper names the entry point, and that the read path wraps. Withdrawn as written. Why the read side wraps — the catch has a whitelist
The same shape governs the generation seam: Why it stays bare on the other sideIn What that does to attributionThe error class is the label, without reading any code:
So the ambiguity survives only if the message is trimmed down to its last clause, which is exactly what a one-line summary in a support thread tends to do. The correction stands — the fifth row is ours, the attribution is yours. One method note, since it nearly bit me
Both refusals read the same in rc.1 and rc.2 on all four of these artifacts: the two persistence readings do not differ between the two releases, and Authorship note: code locations were read by me against the published tarballs of the versions named above; drafting assisted by AI; verification and publication by me. I have no engineering background — if any technical claim reads wrong, please call it out; I will re-verify against the toolchain and correct. Reported by the OfferKuai Team — Founder: Zhaofeng (Yaming). Website: https://www.offerkuai.com/ | Contact: contact@offerkuai.com 中文版包装器是我写错的那一半,而原因比"两个包装器不同"更窄。 我没有执行那个探针。下面全部读自已发布产物: 我上一条里要更正的话我上一条写的是:两条拒收路径给出的是同一个错误串 —— 这句只对内层那一句成立。你说得对:外层包装器就写着入口,而且读侧确实会包。原话按此撤回。 读侧为什么会包 —— 那个 catch 是一张白名单
generation 那一侧同形: 另一侧为什么保持裸抛
这对归因意味着什么错误类本身就是标签,不需要读代码:
所以那个歧义只在把消息裁到最后一句时才存在 —— 而支持区里的一行摘要,恰恰最容易这么裁。这条更正成立:第五行是我们读出来的,但"这一行可归因"不是。 一条方法提醒(因为我自己差点踩)
在这四份产物上,两条拒收在 rc.1 与 rc.2 读出来完全一致:persistence 那两处读数两版无差异, 声明:上列代码位点由我本人对照上述版本的已发布产物重新通读;文稿撰写由 AI 辅助;核验与发布由我本人负责。我没有工程背景 —— 若任何技术表述有误,请直接指出,我会对照工具链重新核实并更正。我们是插件作者、不是维护者,本文不陈述任何官方政策。 本报告由 OfferKuai(Offer快)团队提交 —— 创始人:Zhaofeng(Yaming)。官网:https://www.offerkuai.com/ | 联系:contact@offerkuai.com |
|
The correction stands, and it changed something in our output rather than just in this thread. Your split is now the one our tool prints. The
Two things I can add from our side, both measured rather than read:
Shipped in |
|
感谢分析。我同意应在失败路径中关闭孤立的 tool/call 条目。 候选修复: 在 agent-loop 调度器错误路径中,如果 tool/call 已持久化,则在写入 turn/end(error) 前补写一条合成的 tool/result。 js try {
await scheduler.prepare(toolCall);
await scheduler.dispatch(toolCall);
} catch (error) {
await appendSkippedToolCall({
toolCallId: toolCall.id,
error: error.message,
synthetic: true,
});
await appendTurnEnd({ error: true, reason: error.message });
throw error;
}这复用了现有的 appendSkippedToolCall / 合成结果机制,而不是引入新代码路径。 注意:只对实际已持久化的 tool/call 执行此操作。如果失败发生在持久化之前,则没有需要关闭的条目。 |
|
Two replies, one to each of you. @xiaoshenming — both additions hold, and the first is the one I would have gotten wrong. @forestwolf-ai — agreed on the goal. One thing to check first, because it changes the shape of the fix rather than the need for it. The missing results are already recorded — at the step, not at the catchIn } catch (error) {
schedulerFailure ??= { error };
await Promise.allSettled(inFlight.values());
throw schedulerFailure.error;
}The group drains and rethrows; the recovery record is written by the owning step. The comment on
and that step records conservative recovery results before closing — with a failure to do so reported as its own error ( Why it does not look like your snippet — and this is the part I would keep
The same note lists "Convert scheduler failures into ordinary tool results" under alternatives, and rejects it on a specific ground:
So the two paths differ because what is known differs, not because one was overlooked. On abort a skipped call is known never to have been dispatched, and the loop says exactly that — That is the one detail of the snippet I would change, even though the rest of it is right. Where that leaves the defectThe unanswered pair gets closed either way. So the open question stops being "is there a result" and becomes "can a reader tell that no tool produced it" — smaller, and answerable from the log alone. On where our status lines liveWe re-check these reports as a set now, and keep one status table rather than refreshing each thread separately — the current one, covering the eleven August reports against Authorship note: the code locations and note quotations above were read by me against the published tarballs and the upstream notes named inline on 2026-10-09; nothing was executed. Drafting assisted by AI; verification and publication by me. I have no engineering background — if any technical claim reads wrong, please call it out; I will re-verify against the toolchain and correct. Reported by the OfferKuai Team — Founder: Zhaofeng (Yaming). Website: https://www.offerkuai.com/ | Contact: contact@offerkuai.com 中文版两条回复,一人一条。 @xiaoshenming —— 你补的两条都成立,而第一条正是我自己会写错的那一处。 @forestwolf-ai —— 目标我同意。但在你把它写出来之前有一件事要先核一下,因为它改变的是修法的形态,不是修法的必要性。 那些缺失的结果已经在记录 —— 在 step 层,不在 catch 里
} catch (error) {
schedulerFailure ??= { error };
await Promise.allSettled(inFlight.values());
throw schedulerFailure.error;
}这一组排空后重抛;恢复记录由持有它的 step 写下。
而那个 step 会在关闭失败 step 之前记录保守的恢复结果 —— 连"记录失败"本身也有自己的报错( 为什么它不像你贴的那段 —— 而这是我会保留的部分
同一份记录把 "把调度器失败转成普通工具结果" 列在备选方案里并否掉,理由是具体的:
⇒ 两条路径不同,是因为"已知的东西"不同,不是因为有一条被漏了。abort 时,被跳过的调用已知从未派发,所以循环就照实说 —— 这就是你那段里我唯一会改的地方,其余都对。 这个缺陷现在剩下什么那对未应答的调用两种走法都会闭合。所以未决的问题不再是"有没有结果",而是 "读的人能不能看出它没有工具产出" —— 更小,而且只凭日志就能回答。 我们的状态行现在放在哪我们不逐帖刷新,而是把这类报告成组重核、维护一张状态表 —— 当前的这张(8 月那十一份报告对着 协作说明:上列代码位点与记录引文由我本人于 2026-10-09 对照内文点名的已发布产物与上游记录通读;未执行任何代码。文稿撰写由 AI 辅助;核验与发布由我本人负责。我没有工程背景 —— 若任何技术表述有误,请直接指出,我会对照工具链重新核实并更正。 本报告由 OfferKuai(Offer快)团队提交 —— 创始人:Zhaofeng(Yaming)。官网:https://www.offerkuai.com/ | 联系:contact@offerkuai.com |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
When a tool call fails through any of three failure paths (
preparethrows /dispatchrejects /finalizethrows),tool/callis already appended but notool/resultis ever written. The session becomes permanently unusable — every subsequent request is rejected by the model API withINVALID_REQUEST(400).The engine already owns the recovery logic (
appendSkippedToolCallatdsh-agent-loop/lib/index.js:274-290) and applies it on the abort path. But the failure path bypasses it entirely — the outer catch (:252-255) only drains dispatches and rethrows, never writing recovery. The code's own JSDoc (:159-160) documents this asymmetry: "Scheduler failure drains dispatches without committing synthetic recovery results."Suggested fix: Apply
appendSkippedToolCallin the failure catch path — reuse existing machinery, no new code paths needed.Trigger Condition
preparethrows /dispatchrejects /finalizethrowstool/callis already durable,tool/resultis never writtenMinimal Repro
Related
Environment
@deepseek-ai/dsh-agent-loop@0.1.1-rc.2audit20260822Detailed evidence chain and fix analysis follow in the comments below.
Authorship note: reproduced and documented by me in real-world usage; root-cause tracing and drafting assisted by AI; verification and publication by me. I have no engineering background — if any technical claim reads wrong, please call it out; I will re-verify against the toolchain and correct.
Reported by the OfferKuai Team — an AI startup building full-lifecycle job-application services, guided by the belief that "users need results, not repeated conversations." We use DeepSeek Harness as part of our daily development workflow; this report is our way of contributing back to the ecosystem.
摘要
当工具调用经由任意一条失败路径(
prepare抛错 /dispatch拒绝 /finalize抛错)失败时,tool/call已被写入,但tool/result永远没有写出。会话因此永久不可用——此后每一次请求都会被模型 API 以INVALID_REQUEST(400) 拒绝。引擎已经有恢复逻辑(
appendSkippedToolCall,位于dsh-agent-loop/lib/index.js:274-290),并且在 abort 路径上应用了它。但 failure 路径完全没有走这条逻辑——外层 catch (:252-255) 只 drain 掉 dispatches 然后重新抛出,从不写恢复结果。代码自己的 JSDoc (:159-160) 就记录了这种不对称:"Scheduler failure drains dispatches without committing synthetic recovery results."建议修复:在 failure 的 catch 路径中应用
appendSkippedToolCall——复用现有机制,无需新增代码路径。触发条件
prepare抛错 /dispatch拒绝 /finalize抛错tool/call已持久化,tool/result永远未写出最小复现
相关 issue
详细证据链与修复分析见下方跟帖。
协作说明:本文由我在真实使用中复现并记录;根因与成文由 AI 协助完成,我负责校验与发布。我非工程背景,技术表述如有错误,欢迎指出——我会回去用工具链重新验证后更正。
本报告由 OfferKuai(Offer快)团队提交 —— 一家专注 AI 全流程求职托管的创业团队,核心理念是「用户要的是结果,不是重复对话」。我们将 DeepSeek Harness 用于日常开发工作流,这份报告是我们对社区的回馈。
All reactions