Repository navigation
Open
Labels
Description
同一根本原因(kernel-compression)的 open issue 汇聚,由根因归类板自动维护(10min 刷新,勿手编)。
Members (14)
- 镜像 [Feature] fold toward autoFoldTargetTokens while the session is idle — folding only happens on the request path, so idle sessions never converge and active ones stall every ~4.5 min #2670(GitHub [Feature] fold toward autoFoldTargetTokens while the session is idle — folding only happens on the request path, so idle sessions never converge and active ones stall every ~4.5 min #2670) — [Feature] fold toward autoFoldTargetTok…
根因: folding only ever runs on the request path (preflightCompressIfNeeded awaited i… - 镜像 [PR] fix(storage): pre-hydration receipt no longer blocks the notice-store legacy→kv migration (#5761) #5768(GitHub Request two capabilities: compression block "decommissioning" and summary "external rewrite" | 请求两个能力:压缩块「退役」与摘要「外部重写」 #5766) — Request two capabilities: compression b…
根因: feature request: no surface exists to retire a folded block (remove from reside… - 镜像 [PR] fix(fastpath-v6): tunnel-origin requests without the identity channel are cohort exclusions, not faults (#5760) #5773(GitHub feat(design): preserve in-progress implementation state across folds (coding sessions lose just-written details → re-read + self-contradiction loops) #5771) — feat(design): preserve in-progress impl…
根因: design request: folds discard just-written implementation details (incident: 10… - 镜像 sessions.gc doesn't clean up thoroughly | sessions.gc清理不干净 #5778(GitHub T2 nudge repeatedly recommends block merges rejected by turn-integrity gate #5776) — T2 nudge repeatedly recommends block me…
根因: pendingByTier in kernel/src/compress.ts treats every active tier-1/2 block as a… - 镜像 [Bug][dsh] Proxy OOMs by self-hitting the 8 GiB heap in ~30-90 min: resident pool budget (512 MiB) is smaller than a single session, so every round thrashes cold-load/evict and allocates giant temporaries #5782(GitHub UNCOVERED HISTORY advertises a protected-boundary turn fragment that compress always rejects | [Bug] UNCOVERED HISTORY 报出的 run 是保护区边界的 turn 片段,compress 必然拒绝,且整批回滚把相邻的合法区间一起废掉 #5780) — UNCOVERED HISTORY advertises a protecte…
根因: uncoveredHistoryRuns (src/uncovered.ts, the [Bug] compress reports 'no compressible ranges remain' while mid-history spans sit outside every block #4331 audit surface) never runs the… - 镜像 Compression conflict banner (bili v0.1.212, node v24.19.0, win32-x64) #5786(GitHub kernel authorization request: export the projectUnit screening entry so UNCOVERED HISTORY runs can carry verdict-backed foldability tags #5784) — kernel authorization request: export th…
根因: decision request (owner-gated kernel boundary): export projectUnit/buildProject… - 镜像 Scheduled full test failed: c3dfbe6b | 定时全量测试失败: c3dfbe6b #5832(GitHub compress merges disjoint ranges into earlier coverage but retains only the last summary #5830) — compress merges disjoint ranges into ea…
根因: one compress batch carried four disjoint ranges (m01508-m01533, m01539-m01627, … - 镜像 提案:快照表式压缩底座(六段固定链,单一存储真源) #5874(GitHub [Bug] post-compress "not at its minimum" footer drives single-message compress retries (18/19 streaks; 83% of retried ranges are the model's own pending-reply notes) #5872) — [Bug] post-compress "not at its minimum…
根因: postCompressTail receipt ends successful folds with 'Uncovered history remains.… - 镜像 Billion-context documentation addendum: nudge is independent of window occupancy. | billion-context 文档补充:nudge 与窗口占用无关 #5893(GitHub Recent-zone carve strands signed thinking when its Read tool_use folds →
thinking ... cannot be modified400 (0.1.212, Claude Code) #5891) — Recent-zone carve strands signed thinki…
根因: Claude Code adaptive thinking (signature-only thinking blocks): when compress f… - 镜像 [Bug][blockOps] The receipts for acp_rewrite / acp_retire report success, but as long as the compress call that created | [Bug][blockOps] acp_rewrite / acp_retire 的回执说成功了,但只要创建这个块的 compress 调用还在历史里,下一次请求带的仍是旧摘要 #6311(GitHub [Bug][blockOps] The receipts for acp_rewrite / acp_retire report success, but as long as the compress call that created | [Bug][blockOps] acp_rewrite / acp_retire 的回执说成功了,但只要创建这个块的 compress 调用还在历史里,下一次请求带的仍是旧摘要 #6311) — [Bug][blockOps] The receipts for acp_re…
根因: a block's summary reaches the model through two paths and only one is updated: … - 镜像 OpenAI Routing: Requests where the upstream omits cache fields are misrecorded as "unmeasured" and excluded from attribu | OpenAI 路由:上游省略缓存字段的请求被误记为"未测量"并剔除出归因,命中率与归因面板差 12.6pp 无法解释 #6329(GitHub Kernel authorization request: Line-form compress treats summary body lines starting with a ref pair as the header line o | Kernel authorization request: 行形式的 compress 把以 ref 对开头的摘要正文行当成下一块的头行(范围照折但摘要被截短,或多折出一个范围) #6328) — Kernel authorization request: Line-form…
根因: Kernel Boundary rule-1 authorization request: compress advertises only the stri… - 镜像 [Bug][compress] A rejected or no-op compress also triggers a one-time ref/ledger alignment: nothing was folded, yet the | [Bug][compress] 被拒绝或 no-op 的 compress 也会触发一次性的 ref/账本对齐:什么都没折叠,下一个请求却改写了所有标签 #6330(GitHub Kernel authorization request: On first write, the visibility watermark for the time attribute is set below the stamped r | Kernel authorization request: 时间属性可见水位线首次写入时定在已盖戳引用之下(从 v0.1.213 更新后的第一个请求会把所有现有标签的 time= 去掉) #6327) — Kernel authorization request: On first …
根因: Kernel Boundary rule-1 authorization request: v0.1.210-v0.1.213 had message tim… - 镜像 security: decompress toFile writes to arbitrary paths — model-controlled write primitive, restrict vs document (owner decision) #6333(GitHub Kernel authorization request: Ledger alignment only raises the time-attribute visibility watermark when references have | Kernel authorization request: 账本对齐只在挪动了引用时才抬高时间属性可见水位线(什么都没挪的对齐也会在第一次折叠时去掉所有标签的 time=) #6332) — Kernel authorization request: Ledger al…
根因: Kernel Boundary rule-1 authorization request: restampRefsToLedger (kernel/src/r… - 镜像 kernel authorization request: fold-residue kernel change (PR #7241) #7245(GitHub kernel authorization request: fold-residue kernel change (PR #7241) #7245) — kernel authorization request: fold-resi…
根因: kernel authorization request for PR [PR] Fix: Collapsed messages permanently linger in context (nudge echo pinned by the first message + expired last-user orphan | 修:已折叠的消息永久残留在上下文里(nudge 回声被首条钉死 + 过期 last-user 孤儿不可再折) #7241 (fold-residue fix, 7 kernel files + 1…
Task
对本批 issue 做一个根本性修复 PR:
- PR 描述里用
Fixes #...逐个列出上面每一个 GitHub issue 号(没有 GitHub 号的写镜像号) - 若某个 issue 已有自己的 PR 且方向一致,cherry-pick 其 commit 并保留原作者署名(
-x);由你判断是否值得 - PR 必须打标签:
root-cause(固定,来自根因汇聚单)+ 按本 PR 的 diff 独立判断的类别和优先级标签(最高优先用 p1),不要抄任何来源 issue - PR 描述末尾必须加标记行
<!-- rcagg:kernel-compression -->(汇聚板靠它自动识别根因 PR 补标签/插队;即使修复拆成多个子单各自提 PR,每个 PR 都要带这行) - 回帖本线程必须是最终裁决,结尾固定用中文 8问 清单逐行回答:1 这是啥问题(大白话+触发条件)2 根本原因是啥(组件+机制)3 如何修复(已做的修复或建议修法)4 能否合并/关闭(结论+依据:测试/CI/回归分析)5 URL(相关线程/PR 链接)6 影响面(哪些代码路径/用户)7 测试(什么钉住它)8 风险(还可能坏在哪)。答不实的行写「待验证:原因」,不许漏行
Activity
[-][Root Cause] kernel-compression (15 items)[/-][+][Root Cause] kernel-compression (14 items)[/+]ranxianglei commentedon Nov 13, 2026
继续:请按本聚合单的根因归类完成分析,并直接在本线程回复 8问 结论(1啥问题 2根因file:line 3修复思路 4能否合并 5URL 6影响面 7测试证据 8风险)。消息不要只输出空白,现在就发已有证据的结论。
ranxianglei commentedon Nov 13, 2026
继续:请按本聚合单的根因归类完成分析,并直接在本线程回复 8问 结论(1啥问题 2根因file:line 3修复思路 4能否合并 5URL 6影响面 7测试证据 8风险)。现在就发已有证据的结论,不要只输出空白。
ranxianglei commentedon Nov 13, 2026
[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b)
根因归类分析完成。15 成员单 → 6 机制族 + 2 已决。7 PR(5 host-side + 2 kernel),10 项 owner 决策。结论:一个根本 PR 不能关 15 单——跨 6 机制,8 项 owner-gated(kernel 批准 ×4、feature 批准 ×3、carrier A/B ×1);一个 PR = 一个机制。无决策依赖的 rebase+CI 工作立即推进。
根因归类(6 族)
G1 广告面缺 apply 判定(KDD #12/#3236)— 4 项
src/uncovered.tsuncoveredHistoryRuns从不跑共享 apply 侧判定。修复:PR [PR] fix(#5780): screen UNCOVERED HISTORY runs through the apply-side foldability judgment #5785(host-side,零 kernel diff)——每个 run 的 span 过core.applyCompressiononstructuredClone(state);结构致命 run 标 "⚠ not foldable: …"。CI 绿(13 success/17 skipped/0 failed);分支 BEHIND → rebase。src/stream.ts:685-691postCompressTail列 sub-gate runs(仅过滤 VIABLE_RANGE_MIN_TOKENS=200 tok,不过滤 minCompressRange=5000 chars)。修复:PR [PR] fix: stop naming sub-gate residue as foldable work in compress receipts (#5872) #5888(host-side)——runs 加 chars 字段;全 sub-gate → 新措辞。CI 成功(2026-11-13);BEHIND → rebase。kernel/src/compress.ts:2108pendingByTier无 pre-screening。Gate 误杀层已由 master 上 Reaching out to the author — a plugin bug is throwing errors and causing the context to balloon rapidly. | 求助作者,插件bug报错导致上下文急速增加 #5789/New error in v0.213, following up on the previous bug where old blocks can't be compressed and tokens double. | 0.213版本新报错,接着上次的旧块无法压缩token翻倍bug #5919 恢复阶梯修复。剩余 = nudge pre-screening;PR [PR] fix: screen tier merge nudges against compression eligibility #5777 dirty(冲突)+ 测试 stale → 需重做。kernel/src/unit-projection.tsprojectUnit消费 visible rep 落在 resolved span 的 block;无 consumed coverage ⊆ requested ref window 检查。修复:PR [PR] fix(kernel): reject range folds that would merge blocks beyond the requested ref window #5835(kernel,human-review tier)——硬门,新 fatal kind "window"。CI 成功;BEHIND → rebase;需 owner kernel 批准。G2 时间戳水位 / ledger 对齐缓存悬崖 — 3 项
src/stream.ts:1355applyRanges在r.blocksCreated===0分支之前设session.pendingLedgerAlign = true。修复:PR [PR] fix(stream): compress that folds nothing no longer sets the ledger alignment marker | fix(stream): 什么都没折叠的 compress 不再置上账本对齐标记 #6331(host-side)——仅在 blocksCreated===0 返回后设 marker。CI 成功;blocked(checks)。kernel/src/compress.ts:1213-1220createStampTimestampsNode首写 = highestUsedIndex。修复方案(分支未推):seed mark at (lowest stamped ref − 1)。需 owner A/B/C。kernel/src/refs.ts:335-344restampRefsToLedger无条件抬。修复方案(分支未推,stack 在 PR [PR] fix(stream): compress that folds nothing no longer sets the ledger alignment marker | fix(stream): 什么都没折叠的 compress 不再置上账本对齐标记 #6331 上):仅当 out.restamped + out.rehomed > 0 时抬。需 owner A/B/C。G3 block-ops carrier 模型 — 2 项
kernel/src/prune.ts:182-193);block-ops 只改 anchor 侧;plugin lane stripKernelSummaries 无条件剥 anchor。等 owner A/B:A = 让工具生效(rewritten/retired 时渲染 anchor)vs B = 诚实 receipt caveat。kernel/src/parse-compress-input.ts:616splitLineEntries在任何以 ref pair 开头的行起新 entry。需 owner A wide/narrow + B 1/2/3。分支未推。G4 签名 thinking × fold 边界 — 1 项
kernel/src/recommend.tscomputeProtectedRefs保护 reasoning core 但 Read pair 被 neverPreserveRecentTools 排除 → 不对称。修复 = PR [PR] kernel: keep signed thinking with its tool_use across folds (#4885) #4898(INV3 turn-integrity gate,经 kernel authorization request: folds can split signed thinking from its tool_use when prose sits between them (fixes #4885 permanent 400) #4886 批准)已覆盖形状;CI 绿;kernel 0.0.189。Human merge only。G5 客户端 compaction 后可达性 — 1 项
src/session.ts:1728-1787native rebase、:1871-1911announced boundary、:1968unannounced rewrite)。修复:PR [PR] feat(acp): keep pre-compaction history restorable across client-side compaction #6217(host-side,只读 history-generation sidecar)。Review 进行中;GAP:unannounced-rewrite reap 路径未覆盖。G6 Fold 策略 / 调度器(owner-gated feature)— 2 项
G7 已决/feature — 2 项
无决策依赖工作(立即推进)
git fetch origin——本地 master 33104b1 STALE(upstream ≥ c26c31a,含 [PR] feat: compress-block retirement (acp_retire/acp_restore) + external summary rewrite (acp_rewrite) + export ledger #5774 block-ops + [PR] Web Panel: Handoff Documentation and Collapsed Tree Diagram Rendering Upgrade (eWork-Level Rendering, Appendix Sectionin | Web 面板:交接文档与压缩树图渲染升级(eWork 级渲染、附录分节、冻结快照水合) #6260)Owner 决策清单(10 项)
8问
src/uncovered.ts/src/stream.ts:685-691/kernel/src/compress.ts:2108/kernel/src/unit-projection.ts;G2:src/stream.ts:1355/kernel/src/compress.ts:1213-1220/kernel/src/refs.ts:335-344;G3:kernel/src/prune.ts:182-193/kernel/src/parse-compress-input.ts:616;G4:kernel/src/recommend.ts;G5:src/session.ts:1728-1787/1871-1911/1968;G6:无 off-request 调度器 + preserveRecent zone 过小。src/server.ts、kernel/src/unit-projection.ts)遇语义冲突;(b) [PR] feat(acp): keep pre-compaction history restorable across client-side compaction #6217 unannounced-rewrite reap 路径 gap——若不覆盖,客户端 compaction 仍可能丢历史;(c) [PR] fix: screen tier merge nudges against compression eligibility #5777 测试重做——新 fixture 若不产生 actionableSplitError,pre-screening 未钉住;(d) 3 个 kernel auth 分支未推——若 owner 批准但分支丢失,需重做;(e) G2 三项全为缓存悬崖类——若修错可能引发二次悬崖(比原问题更糟)。ranxianglei commentedon Nov 13, 2026
[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b)
Rebase 进展(无决策依赖部分已推进):
已推送(clean rebase 到 master 243709b,CI 验证中)
状态更正
未推进(需决策或高上下文成本)
buildIntegrityPre(messages)helper,PR 改的是内联代码加 INV3 签名 thinking 逻辑。正确合并需通读两边完整代码;上下文极限下不强行解(kernel human-merge tier,本就需 owner 批准)。已 abort。本地环境:无 node_modules,本地 typecheck 跑不了(tsup not found);按 AGENTS.md §7.2,权威判定 = 推送 head 上的远程 CI。clean rebase(无冲突)是兼容性证据,CI 兜底。
8问(更新版)
[-][Root Cause] kernel-compression (14 items)[/-][+][Root Cause] kernel-compression (15 items)[/+][-][Root Cause] kernel-compression (15 items)[/-][+][Root Cause] kernel-compression (14 items)[/+][-][Root Cause] kernel-compression (14 items)[/-][+][Root Cause] kernel-compression (15 items)[/+][-][Root Cause] kernel-compression (15 items)[/-][+][Root Cause] kernel-compression (14 items)[/+][-][Root Cause] kernel-compression (14 items)[/-][+][Root Cause] kernel-compression (15 items)[/+][-][Root Cause] kernel-compression (15 items)[/-][+][Root Cause] kernel-compression (16 items)[/+][-][Root Cause] kernel-compression (16 items)[/-][+][Root Cause] kernel-compression (18 items)[/+][-][Root Cause] kernel-compression (18 items)[/-][+][Root Cause] kernel-compression (14 items)[/+]