Skip to content

[Root Cause] dsh-lane (auto-maintained, do not close manually) | [根因] dsh-lane(自动维护,勿手动关闭) #6399

Closed as not planned

Description

@ranxianglei

同一根本原因(dsh-lane)的 open issue 汇聚,由根因归类板自动维护(10min 刷新,勿手编)。

本批 issue

任务

对本批 issue 做一个根本性修复 PR:

  • PR 描述里用 Fixes #... 逐个列出上面每一个 GitHub issue 号(没有 GitHub 号的写镜像号)
  • 若某个 issue 已有自己的 PR 且方向一致,cherry-pick 其 commit 并保留原作者署名(-x);由你判断是否值得
  • 标签按本 PR 的 diff 独立判断(类别 + 优先级),不要抄任何来源 issue
  • 修完后回帖本线程:改了什么、为什么一次修了整批

Activity

  1. changed the title [-][根因] dsh-lane(自动维护,勿手动关闭)[/-] [+][Root Cause] dsh-lane (auto-maintained, do not close manually) | [根因] dsh-lane(自动维护,勿手动关闭)[/+] on Nov 12, 2026
  2. ranxianglei commented on Nov 12, 2026

    @ranxianglei
    OwnerAuthor

    🤖 Powered by ework · qwen3.8-27b

    [bot] 🏷 进度汇报(刚才卡住被重启,先同步状态再继续)

    已完成的分析(5 个源 issue 全部读完 + 代码定位):

    Issue 根因 能否用 PR 修
    #5796 dsh compaction 两侧都被 gate 关死(profile 行 + dsh-compaction-gate 二次关) ❌ 决策请求(已发 🔶 需要决策,A-E 待拍板)
    #5834 dsh 插件车道把 proxy origin 烤进 model URL,orphan reap 后漂移到死端口 ❌ 决策请求(A/B/C 待拍板)
    #6258 in-history 模式下 system prompt 逐轮拼接进 body.instructions,>1MB 整会话 400 ✅ 已有 PR #6346(open/mergeable/behind),cherry-pick
    #6303 侧车道 system 用 role:"developer",openaiSystemTextForPersona(src/session-id.ts:294)只读 role:"system" → persona gate 恒 false → 侧车道骑 raw key 冲掉主车道 fold 状态 ✅ 可修(让提取器同时读 developer,与 wire codec 对齐)
    #6310 无 system 无 tools 一次性请求漏过 isDshSingleShotSidecar(src/server/side-request.ts:210 要求非空 system)→ 骑主管线拿 refs/usage 结算 ✅ 可修(会话已有历史时按 #388 side request 处理)

    当前状态:

    接下来的计划:

    1. 修 dsh plugin: second no-tools request lane in the same session invalidates all fold blocks; compress then resolves against that lane and fails with cannot-anchor #6303(openaiSystemTextForPersona 同时读 role:"developer")+ 回归测试
    2. 修 [Bug][dsh] A one-off request with no system prompt and no tools, when attached under the main session ID, goes through t | [Bug][dsh] 没有 system、没有工具的一次性请求挂在主会话 id 下会走主管线:被注入 ACP 标签、占掉 ref、它的用量被记成主会话的上下文大小 #6310(isDshSingleShotSidecar 在会话已有历史时放行无 system 一次性请求)+ 回归测试
    3. cherry-pick PR [PR] fix: instructions size guard on unclaimed lanes (#6258) #6346 的 2 个 commit([Bug][DSH/Codex] Full system prompt appended each step is concatenated into instructions; once total exceeds 1,048,576 c | [Bug][DSH/Codex] 每步追加的完整 system prompt 被拼进 instructions 超 1,048,576 字符后整会话 400(含精确复算) #6258 instructions guard)
    4. 开一个 PR,Fixes #6303 #6310 #6258,[feat][dsh] Long sessions have no convergence path: compaction gated off on both sides, incremental lane full-resends on OpenAI wire | 长会话没有收敛通道:compaction 双向封锁 + 增量车道全量重发 #5796/decision request: pinned callers stranded on drifted proxy port after orphan reap — #5449 part 2 #5834 在 PR 描述里如实标注为决策请求
    5. 回帖 8 问

    继续干活,有进展再同步。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions