小窗口路由下 compaction 会持续失败:摘要调用跟随会话路由导致「压缩自锁」 #7423
Replies: 2 comments 1 reply
|
This is the same defect as #5594 ("the summarization LLM call itself fails with context overflow"), re-reported on a small-window route — I analyzed that thread on 2026-09-04 (comment 18282109) and gave three fix directions and a regression invariant there. I re-verified the mechanism at HEAD today ( Still unbounded at HEAD. The summarization request replays the whole shadowed region with no input-side bound. What the 09-18/19 commits changed, and why it is not your case. Your route-resolution reading is right, and it is the documented precedence. The pressure path being unavailable on a small window is documented, not accidental — that is what makes the loop deterministic. README.md:78: "Small-window deployments must configure headroom that fits their capacity; lower One-step discriminator, so you can tell the two failure shapes apart. The auto listener emits a single warn per target when the pressure configuration cannot fit: Two notes on the report itself. First, it is truncated: the body is 550 characters and ends mid-list in the environment section ( Second, a correction to my own #5594 ruling. I closed that analysis with "core, not a plugin seam". At HEAD the mitigation half is mountable: The invariant I proposed in #5594 still pins this: after a failed compaction the surface is unchanged (the error close appends no surface node), yet the session must remain able to run the next summarization — i.e. the summary call itself must never be the request that overflows. A test that seeds a surface above |
|
Follow-up to my analysis above: the plugin mitigation I described is now published.
Mount it and name the route that has room: - insert:
- id: compaction-route-fallback
name: '@argszero/cordis-plugin-compaction-route-fallback'
config:
provider: big-window-provider
model: big-window-modelWhat it does about the self-lock in this report: it joins the public That is the difference from your own workaround, which is otherwise the same idea: configuring The boundaries are worth stating as plainly as the effect:
Evidence, since a plugin claiming to fix a report should be checkable: 25 tests against a real Your report's core observation stands unchanged, and the truncation note from my earlier comment still applies: the verification section the body promises never arrived, and the "switching the session route's window to the model's declared Max value" measurement is the one I would most like to see, because |
Uh oh!
There was an error while loading. Please reload this page.
长会话切到小窗口路由后,会以
pi-ai detected context overflow(CONTEXT_WINDOW_EXCEEDED)每轮稳定失败。定位后发现问题不在模型,而在 compaction 的摘要请求本身也被同一个窗口限制住:
为 compaction 配置一个独立的大窗口摘要模型后问题消失;同时把会话路由窗口切到该模型声明的 Max 值后,
上下文立刻回到窗口内。已有实际验证结果(见末节)。
环境
0.1.6-alpha.2(@deepseek-ai/dsh-compaction-basic同版本)dsh-base,即已挂载compaction-basic+command-compact)All reactions