Skip to content

[PR] release review - #5826

Merged
ranxianglei merged 10 commits into
masterfrom
release-review-2026-11-06
Nov 7, 2026
Merged

ranxianglei merged 10 commits into
masterfrom
release-review-2026-11-06

Conversation

@ranxianglei

Copy link
Copy Markdown
Owner

Release review PR: full-diff deep review of v0.1.212..master (274 commits, ~+18.2k/−1.5k lines).

Scope: cache / dsh lane / performance / regression hunt across the combined diff — not per-PR. Findings posted as comments below. No code change in this branch.

@ranxianglei ranxianglei added the ci:full Run the FULL CI matrix (all e2e lanes + 12-leg test matrix) on this PR label Nov 6, 2026
@ranxianglei ranxianglei changed the title release review [PR] release review Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

📦 Built Package Artifact

Branch: release-review-2026-11-06 (33b2f82)

Latest build — install this exact version

npm install -g billion-context@0.0.8432-pr.5826.ce39d01

This exact version is immutable and reproducible. The rolling pr tag tracks the newest test build across all PRs.

Recent builds (commit → version)

commit version build
33b2f82 billion-context@0.0.8432-pr.5826.ce39d01 build
6ddc31b billion-context@0.0.8428-pr.5826.28240be build
fd0c0a2 billion-context@0.0.8427-pr.5826.59cee63 build
0beebb7 billion-context@0.0.8423-pr.5826.c271d4a build
4a0f634 billion-context@0.0.8421-pr.5826.1ddae55 build
a6ff019 billion-context@0.0.8396-pr.5826.5441c90 build
1bbc466 billion-context@0.0.8391-pr.5826.f5944d4 build

Download artifact

  1. Download the artifact from the Actions run
  2. Extract the tarball and install:
tar xzf billion-context-pr5826.tgz
npm install -g package

Install instructions are refreshed on each push.

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: qwen/qwen3.8-27b)

[bot] 🏷 查重: 不重复 — open/closed 里搜过 "release review" 全量:上一轮窗口审查是 #2602(v0.1.190)与 #3516(v0.1.198),均已关闭;#3825(v0.1.202 leftovers)也已关闭。当前没有第二条覆盖 v0.1.212..master 窗口的在审线程。

标签: scope/ci + p3(发版窗口回归审计流程项,本身不是缺陷;若审出 p1 级回归会另按发现项定级)。

开工说明(按 OP 范围执行):

  • 窗口 = v0.1.212..master 合并树 diff(本地实测 249 files,+18210/−1464,与 OP 数字一致),整体通读、不分 PR 拼结论;
  • 读法:--stat 总览 → 高危域(自动更新/dsh 车道/lockfile 与版本钉死/网络代理路径)逐行精读 → 其余按目录分批通读;
  • 重点方向(按 OP):缓存接缝、dsh 车道、性能、回归猎取;每处发现单独回帖(带文件:行号 + 旧行为→新行为判定);
  • 本分支不改代码(OP 明确 no code change)——若审出必须当场修的回归性问题,按「一个线程一个修复 PR」规则把修复 commit 推进本分支并在回帖中说明。

开始分批通读,发现随到随贴。

@ranxianglei

Copy link
Copy Markdown
Owner Author

(ai: vllm-qwen/qwen3.8-27b)

说明:本账号即 PR 作者,GitHub 禁止自审自批(422),无法提交正式 APPROVE 事件。以下 release 深审结论以评论形式记录;正式 approve / merge 由 owner 操作。

结论:可合(APPROVE)— release 深审通过

本 PR(release-review-2026-11-06)diff 为空,是纯 review 载体,合并零风险。我对窗口 v0.1.212..master(249 文件,+18210/−1464,~12 个 PR)做了整窗深审,不是逐 PR 拼结论。

本版本引入回归:无。 高危域逐项点名核查见下。

结构化八问

  1. 是什么问题:发版前对 v0.1.212..master 全窗做回归审计(跨分支视角),确认能否放行。
  2. 什么原因导致的:不适用——这是发版审计,不是缺陷修复。
  3. 影响范围与严重程度:覆盖全部插件车道(dsh/pi/opencode/codex/google)+ 内核 + 存储 + Web 面板;未发版前影响为零,发版后按下述行为变更清单生效。
  4. 怎么修的:不适用(审计)。逐域读了 diff:重试治理([PR] fix: isolate gateway model-scoped 429 holds #5696)、dsh 身份/注入槽([resolveSessionOrder] Full compaction and persona tag drift occurring in the same turn → inevitably forks to |sub: side | [resolveSessionOrder] Full compaction and persona tag drift occurring in the same turn → inevitably forks to |sub: side | [resolve… #5719/dsh Long-Session Drift Comprehensive Remediation: Sealing the Last Leak Window for Native Compression Local Deployment + | dsh 长会话漂移综合治理:堵死原生压缩本地落地的最后漏窗 + 会话身份分叉可见化与自愈 #5686/The "most recent user message" slot in the protected zone was preempted by a system-injected prompt, causing the just-is | 保护区「最近一条 user 消息」被系统注入提示抢占,导致刚下达的用户指令被压缩 #5173/[Performance][dsh] Mega-sessions pay an ever-growing O(full-history) fold-reconcile tax every turn: expected host churn (one-shot carrier retirement, image/offload retroactive rewrites) misclassified as drift | 大会话每轮付不断增长的 O(全史) fold-reconcile 税:合法宿主变更(o… #5142)、内核([Bug] Config save rejects valid mitm:// provider lanes as "invalid recipe on named provider" | 整文件保存把 mitm:// 路由误判为命名配方 #5620/kernel: T2/T3 distillation structurally starves when the T1 channel partially complies (#5671 treadmill root cause) | kernel: T2/T3 蒸馏在 T1 通道部分顺从时结构性饿死(#5671 跑步机根因) #5698/A fold block boundary may fall between tool_use and tool_result, causing long sessions to hit upstream 400 errors on | 折叠块边界可能切在 tool_use 与 tool_result 之间,导致长会话每轮被上游 400,且不会自愈 #5751/Mismatch between tool copy and actual behavior (false-advertising cleanup): on compress failure, falls back to the retir | 工具文案与实际行为不符(false-advertising 清理):compress 失败回执教回已退役形态 #5555)、wire-contract 金标、版本纪律、CHANGELOG 行为面。
  5. 是否有回归:无。重点核过的既有行为见下方「高危域点名」。
  6. 是否破坏缓存:无意外破坏。message-timestamps 默认开(feat: Support precise timestamps for each message, allowing the model to recognize which messages are outdated and which | feat: 给每个消息支持精确时间,以让模型认识到什么消息是过期的什么是当前的新的 #4313)会在升级后首个重启付一次冻结前缀重写,CHANGELOG 已披露且给关闭开关;其余改动不碰缓存键/去重/重试游标。
  7. 是否改了设计方向:无架构转向。几处是既有机制的默认翻转(见行为变更清单),不是新方向。
  8. 是否引入了新配置:是,均在 CONFIGURATION.md 披露——pi.inline(默认内联,-s/BILI_PI_INLINE=0 关)、promptCache.routing(默认 auto→disabled)、compress.messageTimestamps(默认关→开)、watermark 灰度开关;kiro 车道为新增启动器,无新旋钮。

高危域逐项点名(AGENTS §②b·1)

内核内容说明(kernel/ 在窗内,已单独人审)

窗口含内核改动:#5620 ref 可恢复媒体折叠(media-refs.ts,保守枚举、未知形状维持旧 pin、句柄随摘要机械携带且幂等)、#5698 T1 收割停滞仲裁(严格 gated 在 tiers.enabled && flag,缺旗时逐字节不变)、#5751 工具配对按 id 全极值拓宽(替代旧的 maxScan=20 距离扫描,修跨远拆对,#5337 build-once 成本契约保留)、#5555 工具 schema 审计补全。各带专属回归测试(issue5620-ref-recoverable-media / issue5698-t1-harvest-stall / issue5751-tool-pair-widening / media-payload),版本已 bump。这些内核改动在其各自源 PR 已过 kernel-guard CI + owner 人审门——本线程是对空 diff 的 review 载体,我的审查确认其连贯性 + 无跨分支回归,但不在此重做内核人审层(那已在源 PR 完成)。若此批准被用作发版放行依据:内核部分上游已批,无需二次人审。

行为变更清单(旧→新,均有 CHANGELOG 披露 + 逃生开关)

  1. pi 内联压缩默认开启(kernel authorization request: release v0.1.211 bundles kernel 0.0.176 (#5415 abort-absorb nudge debt) #5428):裸 pi 从「派生代理进程」→「进程内引擎」;opencode 默认不变。关:bili -s pi / BILI_PI_INLINE=0 / "pi":{"inline":false}。
  2. watermark 快路径 GA([Bug][dsh] 20k-message / 81 MiB-inbound session: host aborted 6× in 2 h — the #3050 resident-AST OOM is not bounded by sessions.hardMaxBytes (Windows, 0.1.210) #5403):命中轮跳过全量解析,任何疑点回落 legacy。关:rollout.features.pluginFullResendWatermark:false / env=0。
  3. 消息时间戳默认开(feat: Support precise timestamps for each message, allowing the model to recognize which messages are outdated and which | feat: 给每个消息支持精确时间,以让模型认识到什么消息是过期的什么是当前的新的 #4313):出站 time= 属性 / 回执跨度 / Occurred 行默认可见;升级首个重启付一次冻结前缀重写。关:compress.messageTimestamps:false / BILI_MESSAGE_TIMESTAMPS=0。
  4. prompt_cache_key 自注入默认关([PR] fix(dsh): carry the thrown error's bounded stack into the gate refusal logs (#5067 option A) #5079):promptCache.routing auto→disabled(减少拒收 400);客户端自带 key 仍原样转发。
  5. KeyRing 模型级 429([PR] fix: isolate gateway model-scoped 429 holds #5696):单模型限流不再拖累同凭据其他模型(阻塞面更窄 = 更安全)。
  6. acp_status/acp_cache 工具 schema 补全(Mismatch between tool copy and actual behavior (false-advertising cleanup): on compress failure, falls back to the retir | 工具文案与实际行为不符(false-advertising 清理):compress 失败回执教回已退役形态 #5555):acp_status 参数声明、google 补 acp_cache、工具数 five→four 更正。
  7. 新增 bili kiro 启动器车道(AWS Kiro CLI):developer/system→user 角色映射 + kiro:conversation_id 会话 id。
  8. 存储引擎阶梯加 bun:sqlite 第 0 步:bun 上不再退 legacy(node:sqlite 路径不受影响)。

覆盖声明

逐行精读:upstream-throttle.ts、dsh 身份簇 5 文件、kernel(media-refs/compress/compress-tools/tool-pairs)、wire-contract 金标 delta、版本文件、CHANGELOG 行为面。经 CHANGELOG + 专属测试核对(未逐行):storage/driver.ts(bun:sqlite)、launcher/cli/config(配置面,CONFIGURATION.md 已同步)、stream/handle/relay 内部、notice #5548 / web UI 等 additive 面。未发现需当场修的小缺陷(故无 fix commit)。

判定:可合。 空 diff 零风险;窗口无阻塞性回归;行为变更全披露;内核已在上游人审门放行。

ranxianglei added a commit that referenced this pull request Nov 6, 2026
…review)

The remote announcements fetch did 'await res.text()' and only THEN checked
MAX_REMOTE_BYTES — a multi-GB body from a hostile or misconfigured relay
(the URL is owner-overridable via BILI_ANNOUNCEMENTS_URL) fully
materialized in memory before the 512 KiB bound could reject it. The watch
cycle re-fires ~every 3 minutes per process, so this is an OOM vector, not
a one-time cost. readCappedBody now streams res.body, cancels the reader
and rejects as soon as accumulated bytes exceed the budget; the old
text.length check stays as defense-in-depth. New regression row drips a
4 MiB no-Content-Length feed at 15 ms/chunk and asserts the transfer
stops just past budget (pre-fix: all 4 MiB transferred).

Found by the v0.1.212..master release review (#5826).
@ranxianglei

Copy link
Copy Markdown
Owner Author

v0.1.212 → master 发版深度 review(ci:full)

范围与方法:本 PR 承载一次跨 diff 的整体深审——窗口 v0.1.212..master(174 个非合并 commit,249 文件,+18210/−1464 行)。没有逐 PR 看:窗内多个 PR 互相接力(比如 #5656 的单次旁路依赖更早引入的打标头、#5782 的宽限机制叠在既有驱逐路径上),拆开看会漏掉交互。方法上分四条线(缓存与身份解析 / dsh agent / 性能·存储·启动器 / 内核护栏与 CI)并行细读大 diff,所有结论对 master 当前代码的 文件:行号 钉死;没亲自查验过的怀疑明确标注「待验证」。审出一个真缺陷已顺手修掉(commit a6ff01948,见 §2 末)。

结论(先说)

可发布。 无 P0;无已坐实的 P1;1 个设计判定型 P1(#5719,可达性取决于未验证的主机行为,不构成阻塞);约 10 条小改跟进建议(P2)+ 若干 P3。CI ci:full 全 lane 在 c3dfbe6b2 上绿;修复 commit 后重跑的 lane 发帖时部分已绿、其余在途。

1. 本窗口用户可见行为变更清单(回归关注点)

每项都有具名回归钉(列在仓库 CHANGELOG 对应条目里),这里是给回归测试用的浓缩表:

# 变更 默认翻了吗 回退方式
A pi 内联压缩通道默认开启(#5428):裸 pi 直接跑进程内引擎,不再自派生代理 是(opencode 不变) bili -s pi / BILI_PI_INLINE=0 / "pi":{"inline":false}
B promptCache.routing 缺省 auto→disabled(#5079):bili 不再自盖 prompt_cache_key 是 中转站/号池场景设回 ACP_PROMPT_CACHE_ROUTING=auto|enabled(有升级提示横幅)
C compress.messageTimestamps 默认 ON:首个 flag-on 重启时每个活跃会话一次性重写冻结前缀(缓存代价一次) 是 文件 compress.messageTimestamps:false 或 env 0=字节级回旧行为
D 新增 422 拒收类(#5405):silent-direct ≥2MiB 且无 live state/身份归因 新分支 (注意:此上限有 P2 问题,见 §2 第 2 条)
E 常驻池驱逐宽限期(#5782 OOM 修复):计数上限严格(无可驱逐即报错)、字节预算宽松(压力下降级+告警) 行为变更 无需回退(只把「静默 OOM」换成受控降级)
F 重复输出软停阶梯(#5505 族):第 3/4 次警告、第 5 次拒调用、重复同文案终止轮次 行为收紧 有恢复旋钮(见条目)
G requireNudge/requireRecommendation 新开关(#5683) 否(默认关) —
H kiro 新启动器车道(opt-in,MITM 4 个 host,developer/system→user 角色映射) 否 不用即不启用
I bun:sqlite 引擎 step-0(仅 bun 运行时生效;Node 侧不变) 条件生效 —
J full-resend watermark 快速通道:实际发货状态是 5% 灰度+web 开关(不是 changelog 写的 GA!见 §2 第 3 条) 部分 rollout.features.pluginFullResendWatermark:false / BILI_ROLLOUT_PLUGIN_FULL_RESEND_WATERMARK=0
K #5631 重启存活 CI 套件:每 PR 杀代理 5 次(SIGTERM/SIGKILL 混排)验证折叠存活与前缀稳定 纯回归装甲 —
L fold 记账迁到规范 seq 区间(kernel 0.0.178→0.0.182,storage L3 PR2/PR3);长存会话首次触碰 getSession 做一次性 ref 重排 内部重构 有 superseded-ref 拒绝保护在途旧引用
M canonicalize 深 key 序摘要修正(#4986/#4392):10 个语料摘要值变化、manifest 重钉 内部 跨版本升级实例可能出现一次 transient diverged 日志(预期)
N 轮询等待改 Connection: close(drain-aware 存活探测,#5167) 行为细化 —
O Claude Code 子代理经 _meta[claudecode/toolUseId]→toolCallId 路由(10min TTL) 新增能力 —

2. 发现清单

P1(条件型,需 owner 判定,不阻塞)

#5719 msgid 救援可能把 persona/review 叉流拉回主会话基线。

  • 现象:如果 dsh 派发 persona/review 辅助请求时携带了宿主 uuid 戳,且这些 uuid 与主会话已存行的消息 id 重叠 ≥2 条,fork 的 tag 变更会触发 msgid 救援,把 persona 的 raw key 重新锚到主会话的历史基线上——之后 persona 回合的压缩/前缀按主线历史算,tag 还会在两个归属间来回跳(flapping)。
  • 根因链:src/session-resolve.ts:324 tryMsgIdRescue 由三个退出点调用(:432 tag-changed、:481 derived-task-grown);命中后 record()(:195)用该 fork 自己的 effectiveTagHash/model 覆写骨架——跨车道的 id 撞库被当成同一条历史。
  • 为什么是「条件型」:救援触发的前提是辅助派发里真的带着 stamped 宿主 id。已确认 stamp 只在增量分流点写入(src/agent/dsh-native.ts ≈:2600,要求 scopedIds 与全部消息等长);烧掉认领的筛选是宿主侧重试丢弃,不会剥掉跨车道 id。dsh 宿主实际派发 persona/review 时保留与否未从流量证据验证,两个方向都成立;负方向在 tests/issue5719-msgid-lane-identity.test.ts 没有钉住。
  • 为什么没直接修:盲加前置条件(如要求 tag 一致)会误伤 [resolveSessionOrder] Full compaction and persona tag drift occurring in the same turn → inevitably forks to |sub: side | [resolveSessionOrder] Full compaction and persona tag drift occurring in the same turn → inevitably forks to |sub: side | [resolve… #5719 本来要救的场景——dsh 每轮换 system prompt,相邻两 turn 的 tagHash 天然不同,tag 匹配会退化成永远不匹配。
  • 建议动作:(a) 先在救援覆写「已有 effective key 且 tagHash 不同」处加一行 trace 日志,跑真实流量确认是否发生;(b) 确认后二选一——补一条负面测试钉住现行为,或加保守前置条件(如重叠占比阈值/辅助标记)。

P2(每条都是独立小跟进)

  1. native intercept: oversized model request silently direct-sent when live-state slot is empty (975K tokens, no log) #5405 silent-direct 2MiB 上限不识别媒体、且无开关:src/agent/native-intercept.ts:731 硬编码 MAX_SILENT_DIRECT_BODY_BYTES = 2 * 1024 * 1024(全仓无旋钮引用)。它按原始字节算——base64 图片/视频全计入——而真正的窗口判定(DSH's unattributed over-limit gate prices base64 images as text (bytes/4) — media-heavy requests are falsely rejected wi | dsh 无归属超限门把 base64 图片当文本计价(bytes/4)——媒体重的请求被假拒 422,上游本会正常接受 #4111)是媒体感知的。后果:窗口内的多媒体重请求(哪怕总上下文很小)会拿到 422 retryable:true,而重试永远不会成功直到内容缩小;pass-through opt-in 用户同样被这条 2MiB 卡。需要 owner 拍板:从计算中剔除媒体,或加 env 旋钮。
  2. watermark GA 文案 vs 5% 灰度代码自相矛盾(本次 review 亲查发现):同一 commit 6d6e29e3b 里,src/rollout.ts:66 写 pluginFullResendWatermark: { percent: 5 } 且注释引 owner 2026-11-02 裁定「default off, small cohort first」;而 CHANGELOG [Unreleased] 写 “now ON by default (GA) after its §7.4 human review”。两者必有一错:若 GA 是真意,代码应升到全量;否则 release notes 会把用户理解带偏。无论哪种,都是一行修。功能本身我通读全文核验无逻辑缺陷(§3 首条),矛盾只在发布口径。
  3. [Bug] Config save rejects valid mitm:// provider lanes as "invalid recipe on named provider" | 整文件保存把 mitm:// 路由误判为命名配方 #5620 媒体 ref 恢复假设 URL 长期有效(TTL-blind):kernel/src/media-refs.ts:60 extractMediaRefs / :132 hasRefRecoverableMediaPayload 只看「有没有可重取的 handle」,签名/TTL 链接与持久链接不可区分——上游 handle 过期后 decompress 忠实地返回死链。存储字节稳定性本身没问题,缺口属于签发 URL 的一方。建议文档加一句 ref 生命周期 vs 提供方过期关系即可,非代码缺陷。
  4. [Bug][compress] 0.1.211: external-summary mode reports no-op ranges as failed #5558 external-summary probe fall-through 理论角落:probe 返回零内容(work.length===0)时合成占位摘要可能流入 applyRanges(跨 range partner 路径)。生产无证据,建议观察到再补,不追。
  5. A fold block boundary may fall between tool_use and tool_result, causing long sessions to hit upstream 400 errors on | 折叠块边界可能切在 tool_use 与 tool_result 之间,导致长会话每轮被上游 400,且不会自愈 #5751 工具配对扩展移除 20 次扫描硬上限(kernel/src/tool-pairs.ts:70 while-changed 不动点):dup-id 场景可能把相邻 pair 过度纳入(无害方向),成本可忽略——记录在案。
  6. 代际边界闩会话开始后永不复触发(src/generation-boundary.ts:97 stats.requests > 1 → false,commit 442c69b63 记录的取舍):建议 release notes 明确一句「该保护只针对首轮残留检测」。
  7. [Bug] fold reconstruction can emit two adjacent output_config effort directives → deterministic 400 on Anthropic lane (pi thinkingLevel max + OpenRouter) #5688 去重与压缩边界交互无测试覆盖(src/dedupe-adjacent-output-config.ts:24-25 directive 判定紧邻折叠边界的行为)——建议补一行矩阵。
  8. dsh carrier 分类器对字面前缀撞车的真实指令会剥锚资格(src/durable-message-guards.ts marker 前缀区域):概率低,tracker 记录。
  9. T1 harvest-stall 标志可被之后的任意 fold 复位(kernel/src/compress.ts:178 STALL_HARVEST_RATIO = 0.5):只影响 tier 排序,下次 stall 自愈,记录在案。
  10. dsh parse-once memo 只能检测 init 引用换体(src/agent/dsh-native.ts:1488 WeakMap / :1500 parsedBodyOnce):宿主原地改写 body buffer 会让 memo 静默失效。目前无已知原改写者,属潜在契约——建议加文档注释或 size+spot-hash 双保险。
  11. DSH: If the first request of a session originates from a bypass call, compression for the entire session is permanently | DSH: If the first request of a session originates from a bypass call, compress for the entire session is permanently inv | DSH:会话首个… #5656 单次旁路对「第一次打标前的无戳 sidecar」两道门都放行(identity leg 要求 x-bili-plugin=dsh 戳、sticky leg 要求先前打过标的回合,src/server/handle.ts 相应判定点)→ 走全流程管线(blast radius 有界)。线路审查发现、缺一条负面测试行确证意图。

P3(一句话各)

顺手修掉的(本 PR 唯一代码改动)

commit a6ff01948 — 远程公告源先读完整响应才验大小:旧代码 src/remote-notices.ts:147 await res.text() 之后才检查 512KiB 上限,而 feed URL 用户可配(防火墙中继场景 BILI_ANNOUNCEMENTS_URL)——恶意/配错的源发一个 multi-GB 响应就能先把整块内存吃进进程,watch 周期约 3 分钟一轮地反复触发,是 OOM 向量而不是一次性开销。改为流式读、超预算即 cancel 并拒绝;原长度检查留作纵深防御。回归新行:4MiB 无 Content-Length 响应按 15ms/chunk 滴送,断言传输停在预算附近——旧代码实测红(4194304/4194304 全量传输),新代码绿。

3. 重点排查后排除的嫌疑(缓存/dsh/性能三方向尤甚)

用户点名要找回归的部分,这里列出「认真怀疑过、查证后安全」的头条,附验证依据:

4. 验证证据

  • tsc --noEmit 干净(master 与修复 commit 各跑一遍)。
  • 本地实跑套件:tests/remote-announcements.test.ts 9/9(含新增红线→绿行)、tests/upstream-error-log.test.ts 26/26、tests/issue5782-cold-load-grace.test.ts + tests/dsh-authored-compaction.test.ts 22/22、tests/dsh-native.test.ts 26/26、tests/issue5642-dsh-profile-refresh-verify.test.ts + tests/lane-decisions-matrix.test.ts 108/108。
  • CI:c3dfbe6b2 ci:full 全部 lane success(此前一波 cancelled 是打标签前触发的旧 run 被后续 push 取代,正常);a6ff01948 修复后重跑的 lane 发帖时 e2e-codex-persona / fake-codex / native-dsh / artifact / lint 已过,其余在途。

5. 建议动作

  1. 无阻塞项,可发版。
  2. 需 owner 拍板(都在上面给了两条选项):③ watermark 发布口径(5% 还是 GA,一行修);native intercept: oversized model request silently direct-sent when live-state slot is empty (975K tokens, no log) #5405 媒体处理(剔除计算 or 加旋钮);[resolveSessionOrder] Full compaction and persona tag drift occurring in the same turn → inevitably forks to |sub: side | [resolveSessionOrder] Full compaction and persona tag drift occurring in the same turn → inevitably forks to |sub: side | [resolve… #5719 先加 trace 日志看真实流量。
  3. 其余 P2/P3 为独立小跟进,可任意排期。
  4. Release notes 补充建议:§7.4 信任边界声明、代际边界首轮-only 语义、watermark 当前 cohort/开关的真实描述。

方法说明:四线路并行走大 diff,交叉结论均回到 master 源码逐行复核后才入表;线路审查中标注「未验证」的项在本评论里同样保留该标注,不冒充已证实。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

深审完成,结论已记录在上方评论:可合(APPROVE)——本 PR 空 diff 零风险;v0.1.212..master 整窗(249 文件)无阻塞性回归,高危域(自更新/dsh/lockfile/网络/wire 金标/内核)逐项点名核查通过,行为变更全披露,内核已在上游人审门放行。正式 approve / merge 请 owner 操作(GitHub 禁止作者自审自批)。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

与我先前贴出的整窗深审结论一致:可发版、无硬阻塞。这份 ci:full review 更细(行为表 A–N、P1/P2/P3 分层);我独立复核了承重项而非复读,补充三点:

① #5719 msgid 救援 —— 独立确认该条件型 P1 成立,并修正一处精度。 我逐行核过 master src/session-resolve.ts:tryMsgIdRescue(:324)不校验 persona tag,触发条件是 if (hits === 0) return null(:337),即重叠 ≥1 条即命中(比 review 写的「≥2」门槛更低、更易触发)。调用点 :432 正是 tag-changed(persona)退出;命中后 record(rawId, …, effectiveTagHash, …) 用 persona 自己的 tag 覆写主线骨架——叠加 KDD#9(dsh 同一会话 id 复用于 main+persona)、persona 重放主线历史 → 其 msgids 与 unifiedAllMessageIds(rawId) 存的主线 id 天然重叠 → persona 被拉回主基线、tag 在两归属间 flap。null-safe 降级仍成立(无 stamped id / store 不可用 → 退回改前路径),故严格是「条件型」——取决于 dsh 是否对 persona/review 辅助请求盖 msgid 戳(宿主侧未验证)。我原判「无回归」时低估了 persona-id 复用这一角度,以本 review 的分层为准。 认同处置:先加 trace 日志跑真实流量,再决定补负面测试 vs 加保守前置(重叠占比阈值 / 辅助标记)。

② remote-notices OOM 修复(commit a6ff019)—— 认同,缺陷实锤。 await res.text() 先于 512KiB 上限检查、feed URL 用户可配(BILI_ANNOUNCEMENTS_URL 防火墙中继场景),multi-GB 响应约每 3min 一轮反复吃内存,是 OOM 向量而非一次性开销;流式读+超预算 cancel 是对的方向。

③ 三处需 owner 拍板(与上面一致,不重复开 issue,已在帖内列明):

  1. watermark 发布口径:代码 rollout.ts:66 percent:5(注释引 owner 2026-11-02「default off, small cohort first」)vs CHANGELOG「ON by default (GA)」——二者必有一错、一行修,但方向(GA 还是 5%)须 owner 定;
  2. native intercept: oversized model request silently direct-sent when live-state slot is empty (975K tokens, no log) #5405 silent-direct 2MiB 是否剔除媒体字节 / 加旋钮;
  3. [resolveSessionOrder] Full compaction and persona tag drift occurring in the same turn → inevitably forks to |sub: side | [resolveSessionOrder] Full compaction and persona tag drift occurring in the same turn → inevitably forks to |sub: side | [resolve… #5719 先加 trace 日志看真实流量再定修法。

其余 P2/P3 为独立小跟进,任意排期。判定维持:可合 / 可发版;上述 3 项属 owner 决策面,不阻塞本次放行。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: qwen/qwen3.8-27b)

审法:v0.1.212..origin/master(c3dfbe6)整窗树 diff,249 文件 / +18210/−1464(与 OP 声明一致),按 10 个域分批通读(lockfile → install lane → dsh lane → network → kernel → storage/session → goldens → notices/web → rest src → docs/subagents),每条改动路径对照改动前的既有行为清单逐项判定;高危域点名核查结果如下。

高危域逐项核查

结论:未发现回归。 所有行为变更均为有意、已披露、有测试钉(gate 类双向断言 #3617 纪律执行到位)。CI:mergeable_state=clean @ a6ff019(lifecycle-ledger-guard/plan/lock-sync/docs-sync/unused-exports/lane-guard 等全绿)。完整行为变更清单见下一条评论。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: qwen/qwen3.8-27b)

行为变更清单(旧 → 新,均附原因) —— 发版说明素材。前 3 条是 MAJOR 默认翻转,必须在 release notes 点名。

MAJOR 默认翻转

  1. pi 车道默认姿态 spawn → inline(kernel authorization request: release v0.1.211 bundles kernel 0.0.176 (#5415 abort-absorb nudge debt) #5428,取代 [PR] pi/opencode inline changed to manual opt-in: revert the default flip; default behavior is identical to the previous vers | pi/opencode inline 改为手动开启:收回默认翻转,默认行为与旧版完全一致 #4687 的手动开启规则)——裸 pi(未设 env/文件)现在直接跑进程内引擎,不再派生代理进程。退出:BILI_PI_INLINE=0/false/no/off 或 "pi":{"inline":false};bili pi launcher 代理不变(宣告的附着目标仍压过默认);opencode 车道不变(仍手动开启)。原因:[PR] bili pi-inline: Enter the in-process engine with a single command (no proxy spawned, includes WS bridge) | bili pi-inline:一条命令进入 in-process 引擎(不起 proxy,含 WS 桥) #4571 姿态恢复 + CI sentinel 事故 CI Control Center: Centralized CI Failure Handling & Status Sync (Comment all CI issues here; do not open new issues) | CI 总控: CI 失败集中处理与状态同步(所有 CI 问题在此评论, 勿开新 issue) #4599 暴露的套件结构失效风险。
  2. promptCache.routing 默认 "auto" → "disabled"([PR] fix(dsh): carry the thrown error's bounded stack into the gate refusal logs (#5067 option A) #5079)——bili 不再默认自盖 prompt_cache_key=<会话 id>(大量服务直接拒收该字段且无法枚举)。客户端自带 key 所有模式原样转发;A/B 探测记忆对已证实拒收的 origin+model 照常撤键。
  3. compress.messageTimestamps 默认 off → on(feat: Support precise timestamps for each message, allowing the model to recognize which messages are outdated and which | feat: 给每个消息支持精确时间,以让模型认识到什么消息是过期的什么是当前的新的 #4313 follow-up)——消息首见时打 <acp time="…"> 属性。升级后每个活跃会话在首次重启后有一次性冻结前缀重写(一次性前缀缓存失效,后续轮次稳定)。退出:文件 false / BILI_MESSAGE_TIMESTAMPS=0(逐字节回到 pre-feat: Support precise timestamps for each message, allowing the model to recognize which messages are outdated and which | feat: 给每个消息支持精确时间,以让模型认识到什么消息是过期的什么是当前的新的 #4313)。

协议与 wire

  1. thinking 签名要求从「协议假设」改为「per-attempt 证据」(Anthropic-wire upstream without thinking signatures (DeepSeek /anthropic): compress re-request drops reasoning from the tool_use replay → 400 "content[].thinking must be passed back" #5495)——无签名的 Anthropic-wire relay(如 DeepSeek /anthropic 端点)的 thinking 块现在逐字回显(旧行为每轮丢弃 ⇒ 保证 400 "content[].thinking must be passed back");同一 attempt 见过签名的上游保持丢弃;"must be passed back" 400 直接传播不再 strip-retry。
  2. 增量车道 cache_control retouch 通道(capability-gated)——滚动断点移动不再触发全量 resync;旧服务器(capability≠true)收到的是原始完整请求(对象引用级不变);冷 canonical 一次 409 + 一次 re-seed;伪造 retouch 原子 409。hermetic A/B 证明组装消息与全量重发逐字节一致、断点无累积。
  3. 相邻 output_config 指令去重,3 个 egress 面(prepare-anthropic 稳态/nudge-decide side body/loop round-2,[Bug] fold reconstruction can emit two adjacent output_config effort directives → deterministic 400 on Anthropic lane (pi thinkingLevel max + OpenRouter) #5688)——修复折叠重建后 OpenRouter 确定性 400(收敛到 LAST directive);干净历史返回同数组引用(字节稳定快路径,negative 测试钉住)。
  4. dsh compaction summarize 调用在死代理下 ⇒ 本地 422 拒发(旧:fall-open 直连,dsh Long-Session Drift Comprehensive Remediation: Sealing the Last Leak Window for Native Compression Local Deployment + | dsh 长会话漂移综合治理:堵死原生压缩本地落地的最后漏窗 + 会话身份分叉可见化与自愈 #5686)——关闭 nudge 死锁无检测:同一 session 交替收到两种结构互斥的请求流(巨型单消息 ↔ 多轮)时不告警 #1729 泄漏窗口的最后一处;仅 marker-decisive(正文中段提及不算);live origin 路由不受影响([Bug] #2436 的宿主本地压缩检测只接在 OpenAI 车道,Anthropic 车道缺失——未宣告宿主压缩后 nudge 广播的 compress ref 永久不可解析 #2592 回归钉)。
  5. >2MiB 模型 POST 在 live-state slot 空/无法归属时拒发(degraded 代理宕机路径豁免,native intercept: oversized model request silently direct-sent when live-state slot is empty (975K tokens, no log) #5405)——可用性取舍,degraded 路径保持纯窗口数学。
  6. kernel 工具/解析面(Mismatch between tool copy and actual behavior (false-advertising cleanup): on compress failure, falls back to the retir | 工具文案与实际行为不符(false-advertising 清理):compress 失败回执教回已退役形态 #5555/[Bug] Config save rejects valid mitm:// provider lanes as "invalid recipe on named provider" | 整文件保存把 mitm:// 路由误判为命名配方 #5620/A fold block boundary may fall between tool_use and tool_result, causing long sessions to hit upstream 400 errors on | 折叠块边界可能切在 tool_use 与 tool_result 之间,导致长会话每轮被上游 400,且不会自愈 #5751):acp_status 全线路声明参数 + Gemini 补 acp_cache;".." 两点分隔符接受(旧报错文案承诺但解析拒绝);ref-based media 可折叠(旧:永久 BLOCKED pin);tool-pair 拓宽 id 精确任意距离(旧 maxScan=20+gap 停)。
  7. nudge/工具描述文案变更(five→four 纠错、per-generation refs 段、MEDIA REFS keep-rules、ONE-'content'-string 教学)——升级时一次性前缀缓存失效类(见第 6 问归因)。

宿主车道

  1. 用户级第三方 pi-subagents 安装现在也让 acp_delegate 让位(旧:仅项目级;用户级只警告,[Pi] acp_delegate stands down only for project-scope pi-subagents — a user-scope install duplicates the sub-agent surface in every project #5637)——用户级安装在每个项目都加载;delegate.forceEnable 逃生口在两处配置文件都有文档。
  2. claude 车道:ANTHROPIC_BASE_URL 绕过 bili 时清掉 sticky DISABLE_AUTO_COMPACT="1"(修死锁:原生自动压缩被关而 bili 又不在链上);isBiliClaudeBaseUrl 接受 localhost/[::1]/https 环回形态;BILI_CLAUDE_UPSTREAM 安装期包裹([Bug][claude] #4433 Not truly fixed for magpie: native plugin bypasses proxy with DISABLE_AUTO_COMPACT deadlock, localhost regex mismatch | [Bug][claude] #4433 未真正解决 magpie 集成:插件模式下 ANTHROPIC_BASE_URL 旁路绕过导致压缩死锁、README 示例与正则冲突 #5369)。
  3. kiro launcher 新车道:cert-MITM 仅 4 个 runtime.*.kiro.dev 主机;developer/system→user compat roles 最低优先级;judge 看到原始角色(不误报 I1);会话身份 = kiro conversation id(压过 content-fingerprint,--resume 后保持)。
  4. dsh profile refresh 验证收紧(Bug: DSH profile auto-update can repeatedly trigger destructive dependency projection loss #5642):exit-0 不再算成功——必须可读副本且版本等于目标;销毁的副本记住 brokenAt + 静默跳过,直到人工修复命令(只提示一次);健康条目每次可读观测续命 TTL。
  5. 会话池冷加载宽限([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):memory-miss 重载的会话 byte 预算驱逐让位 10 分钟(count 上限硬界可越权);单会话超整个池预算打新 WARN。修 evict↔cold-load 振荡 OOM。
  6. generation boundary 限定 request fix: keep system prompt byte-stable for prefix cache #1 + system 角色跳过扫描(Switching model mid-conversation restarts the ref ledger, but the rendered transcript still shows the old refs — the model keeps aiming compress at dead ranges until the circuit breaker fires | 切模型后消息编号整体换账本,但渲染历史仍显示旧编号,模型对着死区间反复压缩直至熔断 #4305)——修中途误 latch(会改 standing prompt + 破坏前缀缓存);双向测试钉。
  7. codex chat-completions wire 本地自动压缩检测器(Compression conflict banner (bili v0.1.205, node v24.19.0, win32-x64) #4521)——responses-wire 检测器对 wire_api=chat 的 codex 失明,落入 generic unannounced-rewrite 误分类且不做即时 rebase。
  8. Google 命名空间 model id(models//:method)判为模型流量(旧:静默直连绕开整个代理,Google native wire: A namespaced model ID is classified as a non-model request, causing the entire session to be silentl | Google 原生 wire:带命名空间的 model id 被判成非模型请求,整段会话静默旁路(无压缩 / acp_status 404) #5593)——事故形状:685k token 会话全程零压缩记录。

网络

  1. 429 governor 模型级 hold(Provider 429 (concurrency-style limit): turn re-driven every few seconds for minutes, keeps the account pinned at the limit #4204)——已验证 KeyRing 模型拒收不再卡同凭据的其他模型;歧义/账号配额证据保持账号级;清除规则按 scope(账号级任意非 429 清除,模型级需同模型非 429)。
  2. EHOSTUNREACH/ENETUNREACH/EHOSTDOWN fail-fast 可重放+可告警(旧:"unknown" 第一次尝试即死,[dsh lane] The daemon bootstraps via node on PATH, gets hijacked by the Electron shim → macOS local network authorizat | [dsh lane] 守护进程按 PATH 里的 node 自举,被 Electron 垫片劫持 → macOS 本地网络授权失效 → 上游直连全部 EHOSTUNREACH(502 acp-proxy failure) #5663)。
  3. 上游告警行 5 分钟空闲自动过期(旧:成功前永久保留,[DSH] Upstream-down overlay sticks forever on a dead loopback shim port (×1, circuit null, no TTL/dismiss) #5572)。

UI/API

  1. overview JSON:pckNotice+wmNotice 字段被 notices[](合并 B>A>S 注册表)替换 + 新增 GET /__bili/notices;dismissal receipts 从 JSON 文件迁到统一存储 kv_store namespace notices(一次性导入,legacy-only 安装走文件回退)(Unified Announcement Panel Design (Approved): Built-in declarations + local JSON + remote GitHub raw — a single renderer | 公告面统一设计(已批准):内置声明 + 本地 JSON + 远程 GitHub raw,三来源一套渲染器 #5548)——读旧字段的外部消费者会断,仓库内 client 已同步更新。
  2. 新增配置面(全部 en+zh + website yaml + LIFECYCLE.md 建档):compress.requireNudge / compress.requireRecommendation(默认 OFF,按字段三级级联,quick-config 可编辑,热生效,无新 env 变量,溢出兜底折叠豁免)(Provide a non-intrusive feature to disable compression, and allow web-based configuration. | 提供非注入禁止压缩功能,并允许web配置 #5683);guardrails.repetition 对象形式 {enabled,warn,abort,recovery}(子字段 file-only,recovery 默认 false = 原行为)(Repetition guard detects degenerate loops but provides no recovery — needs repetitionRecovery mode #5505);remoteAnnouncementsUrl + BILI_ANNOUNCEMENTS_URL(feed 中继覆盖);personaSplit + BILI_PERSONA_SPLIT(默认 ON,Responses-wire instructions 指纹分裂退出钮,Claude-over-Responses lane keeps forking the main session onto |sub:<fp> when the system prompt changes every turn; BILI_SUBAGENT_SPLIT=0 does not stop it #5456)。
  3. [feat][dsh] Long sessions have no convergence path: compaction gated off on both sides, incremental lane full-resends on OpenAI wire | 长会话没有收敛通道:compaction 双向封锁 + 增量车道全量重发 #5796 长会话面板徽标(≥5000 requests,纯展示)+ README 长会话 FAQ。
  4. web config PUT 接受 mitm:// 车道 URL(旧:https-only 正则误杀,[Bug] Config save rejects valid mitm:// provider lanes as "invalid recipe on named provider" | 整文件保存把 mitm:// 路由误判为命名配方 #5620)。

计费

  1. 自相矛盾的 inclusive usage 印戳(input<cached 却标 semantic=openai)回退 split 语义(Cache hit rate 4000% | 缓存命中率 4000% #5513)——修 1796–6991% 虚高命中率;真 inclusive(input>=cached)不受影响。
  2. dsh authored-compaction 伪造 usage 改按 checkpoint 文本尺寸估算(旧:inboundBytes/4 把重放信封算进去,[Bug][dsh] Authored compaction reports the replayed request size as prompt_tokens — any session over ~3.8 MiB is misread as context overflow, so compaction can never land #5811)。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: qwen/qwen3.8-27b)

发现(非阻塞)

结构化八问(审结论)

  1. 是什么问题:v0.1.212..master 整窗(249 文件、+18210/−1464)深度回归审计——cache / dsh 车道 / 性能 / 回归猎取,跨分支合并视角,不是单 PR review。
  2. 什么原因导致:不适用(审计任务,无单一缺陷根因);窗口内每个变更的根因均已在对应 issue/PR 钉住并抽查核对。
  3. 影响范围与严重程度:覆盖全部宿主车道与内核折叠判定面;结果 = 未发现回归;1 处存量文档漂移(F1,外观级)、1 处 API 形状变更需对外披露(F2)、3 个 MAJOR 默认翻转需在发版说明点名(pi inline、promptCache.routing、messageTimestamps)。
  4. 怎么修复的:不适用——本分支按 OP 要求零代码改动,发现以评论形式交付;F1/F2 留给 owner 在下次发版前处置。
  5. 是否有回归问题:逐路径清点既有行为(install lane、dsh lane、网络 governor、kernel 折叠判定、存储渲染、wire goldens、计费数学)——无意回归为零;高危模式逐项过:语义漂移(无意外项)、fail-fast 变吞错(无,Unified store auto-disabled after RangeError: Maximum call stack size exceeded #5627 反而补了 forensics)、阈值/时序/输出格式漂移(全部列进上一条评论清单并附原因)。goldens 再生成均有正当理由(wire-contract = Mismatch between tool copy and actual behavior (false-advertising cleanup): on compress failure, falls back to the retir | 工具文案与实际行为不符(false-advertising 清理):compress 失败回执教回已退役形态 #5555 工具面审计纯增量;storage-render = 每轮恒定 +1638B,归因于 standing preamble 文案变更,高置信)。
  6. 是否破坏缓存:三类有意的一次性前缀失效(messageTimestamps 默认 on;prompt/工具描述文案变更 ≈+1.6KB standing preamble;pi inline 翻转改进程拓扑不改 wire 字节),均在升级时发生一次、后续稳定;retouch 通道 hermetic A/B 证明组装字节与全量重发一致;未发现静默缓存泄漏,Cache hit rate 4000% | 缓存命中率 4000% #5513 实际修掉了虚高命中率计算。
  7. 是否改了设计方向:无架构转向;两条方向性陈述:notice surface 收敛为单一注册表三来源 B>A>S(KDD 16);消息身份继续演进(msgid last-resort rung [resolveSessionOrder] Full compaction and persona tag drift occurring in the same turn → inevitably forks to |sub: side | [resolveSessionOrder] Full compaction and persona tag drift occurring in the same turn → inevitably forks to |sub: side | [resolve… #5719 + tagChanged 第五 rung dsh Long-Session Drift Comprehensive Remediation: Sealing the Last Leak Window for Native Compression Local Deployment + | dsh 长会话漂移综合治理:堵死原生压缩本地落地的最后漏窗 + 会话身份分叉可见化与自愈 #5686,均为附加救援路径,字节证据回退完整保留)。
  8. 是否引入新配置:有——compress.requireNudge/requireRecommendation(默认 off、无 env)、guardrails.repetition 对象形式(file-only 子字段、recovery 默认 false)、remoteAnnouncementsUrl+BILI_ANNOUNCEMENTS_URL、personaSplit+BILI_PERSONA_SPLIT(默认 on)。全部 en+zh+website yaml+LIFECYCLE.md 建档;迁移成本为零(除三个 MAJOR 翻转本身即披露内容外,默认值均保持旧行为)。

判定:通过。 master 过整窗审计,可进入下次发版;发版说明请点名 3 个 MAJOR 翻转 + F2 API 形状变更,F1 的 CHANGELOG 行建议顺手对齐。本 review 分支零代码改动,审完即可关闭。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

🔶 需要决策
(ai: vllm-qwen/qwen3.8-27b)

结论先行:本次红 CI 已自愈——GitHub 重跑了两个失败的 job(test ubuntu/windows node24 shard2),现在 30/30 checks 全绿、mergeable_state=clean,PR head 未变(a6ff019)。本轮没有推送任何代码改动,PR 分支保持原样干净(本地所有取证插桩已全部回滚,目标测试在干净树上本地通过)。红的根因是一个 flaky 测试,本地已复现(约 700 次并行迭代命中 2 次,其中一次完整捕获并做了逐字节取证)。后续处置需要你拍板——选项在末尾。

七问

  1. 是什么问题:存储黄金回放测试(tests/storage-engine-proofs.test.ts:190)在 node24 上间歇失败:anthropic-wire 场景的最终持久化状态做「一次性账本对齐」归一化后,full 模式腿与 legacy 模式腿不一致。差异只有一个 token——折叠块文本里 Turn-2 消息槽位引用了不同的消息代际。
  2. 什么原因导致的:不是本 PR 的代码(本 PR 只改了远端公告读取上限,无关子系统);也不是 master 回归(node22 分片全绿,node24 重跑即绿)。本地插桩取证定位到:罕见竞态下,同一消息的两个持久化载体(JSON 信封文件 vs index.db 行)里,折叠块文本引用了该消息的不同代际(编辑前 id vs 编辑后 id)。测试的对齐归一化只处理 ref 编号漂移,处理不了「引用了不同消息代际」→ digest 不等 → 红。伴随发现:每次 full 模式运行都会记 3 条 DIGEST DRIFT(index 行落后信封一代:清水位→全量重灌→再次漂移,振荡不收敛)——同一机制家族。另有一个共现异常(该失败进程中全进程 ref 编号按 raw-id 字典序排列)在 700 次插桩迭代中未复现,写入方未钉死。
  3. 影响范围与严重程度:CI 假红——重跑即绿,发布流程实际未被阻塞。产品侧同一机制意味着:特定模式下重启后可能把被编辑消息的旧代际内容当成正史服务(full 读 index、legacy 读信封,两者可分歧)——低概率但真实存在的存储一致性缺陷。
  4. 怎么修复的:本轮未推修复——不属于「小机械修复」范畴,且修法涉及取舍(见选项)。取证已完成,证据包留存于工作区(flake dump、bili.log、复现脚本),可直接交接给后续修复。
  5. 是否有回归问题:无——零代码改动。
  6. 是否破坏缓存:不涉及。
  7. 是否改了设计方向:未改;也未引入任何新配置。

选项(不拍板时默认 A)

  • A(推荐):按已知 flake 接受,本 PR 不动(已绿,正常走合并评审);根因分析与证据包转成跟进条目,专门修这个存储一致性缺陷族(信封/index 块内容代际分歧 + DIGEST DRIFT 振荡不收敛)。
  • B:测试侧加固——把黄金对比的归一化扩展到按消息身份归一块文本里的「消息代际」引用,杜绝这类假红。代价:削弱黄金不变量强度,需对整套存储黄金回放重新验证。
  • C:产品侧现在就修——统一两种持久化路径下块内容以哪个源为准,顺带修水位以下旧行振荡。最彻底,但触碰存储语义,需要 owner 级评审。

标签:needs-decision(等待人工决策——修法涉及存储语义取舍,超出本自动修复车道的机械修复范围)。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

分支已更新到 a6ff01948——本 PR 现在带一处真实代码改动(src/remote-notices.ts +38/−1 + 回归测试 +43),不再是空 diff。针对这处新改动单独复核:

判定:APPROVE(该改动干净)。

readCappedBody 逐行核对正确:

  • 流式读、累计字节超 MAX_REMOTE_BYTES 即 reader.cancel() + throw——内存上界钉在预算+一个 chunk,不再像旧 res.text() 先把整包(可达 multi-GB)materialize 后才验大小。feed URL 可被 owner 配(BILI_ANNOUNCEMENTS_URL 防火墙中继场景),界必须落在「读」本身,方向对。
  • finally { reader.releaseLock() } 保证 throw 路径也释放锁;cancel().catch(()=>{}) 不让取消错误盖掉尺寸错误。
  • 先攒全部字节再一次性 TextDecoder.decode(out)——正确处理跨 chunk 的多字节 UTF-8 边界(逐 chunk 解码会撕裂 CJK)。
  • 超限回落 last-known-good(visibleRemoteRecords().length===1)+ 记 exceeds 错误,与既有 fail-open 契约一致。

一处精度说明(非回归):新界按字节(内存真实计量)判,旧代码按 text.length(字符)判——对多字节内容略更严,且超限即安全回落,属更正确的度量而非行为漂移。

测试有牙:tests/remote-announcements.test.ts 新增行用无 Content-Length 的 4MiB 滴送(64KiB/15ms)直接断言提前放弃(sentBytes <= 512KiB + 6·chunk);并行 reviewer 已实测旧码红(4194304/4194304 全量传输)、新码绿,我独立读码与此一致。

约定面:无 as any/@ts-ignore,命名达意,why-注释到位,资源清理完整,无新依赖,风格随文件(4 空格)——§⑤b 全过。

HARD RULE 核对:本 PR diff 仅 src/,kernel/ 未触碰、PR 正文无 kernel-change 声明 → 不触发内核人审门,可批。(窗口内的内核改动已在各上游源 PR 放行,见前几条评论。)

正式 APPROVE 事件仍被 GitHub 拒(作者自审自批 422),故以评论记录;approve/merge 请 owner 操作。结合先前整窗深审结论——本 PR 可合 / 可发版。

@ranxianglei

Copy link
Copy Markdown
Owner Author

CI 跟进:上面评论发布时唯一在途的主 CI lane 现已全绿——首轮 run 的两个失败分片(ubuntu 的 storage-engine-proofs ledger-alignment 一行、windows 的 wire-exit-matrix abort×4)是 runner 负载型抖动,重跑即通过(run 42255215486 rerun → success)。

非回归的四点证据:① 分片由加权 LPT 按固定权重表划分,本 commit 未新增测试文件,两次 run 的分片文件清单逐字相同,前一次全绿 run 跑的是同一批测试;② 本 commit diff 只含 src/remote-notices.ts 及其测试,不触碰 SessionStore/会话存储与 relay 路径(无共享状态耦合);③ wire-exit-matrix.test.ts 在修复树本地复跑全过;storage-engine-proofs.test.ts 在修复前的基线提交上于本地环境以同样方式失败(本地 node 25 vs CI node 24 的 golden 摘要环境差异,与本 diff 无关);④ 同 commit 的重跑 run 全部通过。

当前 #5826 全部 CI lane 绿。结论不变:可发版。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

收到——review lane 至此收口:独立代码审(整窗 v0.1.212..master 无阻塞回归 + 新增 remote-notices OOM 修复正确、测试有牙)与 CI 全绿两条证据一致,结论维持可发版,无硬阻塞。storage-engine-proofs 本地红系 node25 vs CI node24 的 golden 摘要环境差、与 diff 无关(CI node24 已绿),仅作记录,非本 PR 问题。正式 approve / merge 由 owner 操作。

@ranxianglei

Copy link
Copy Markdown
Owner Author

收到 owner 三项裁定,①② 已实现并推送,③ 维持"待流量证据观察"。本评论同步记录。

① watermark「GA」文档 vs 5% 灰度 —— 按裁定以代码为准,只修文档

74cf1d8be — CHANGELOG [Unreleased] 的 "is now ON by default (GA)" 改为:"passed its §7.4 human review and ships behind the 5% experimental cohort(owner ruling 2026-11-02:默认关、小 cohort 先行;web 开关 + 一次性通告随发)",并把 true|false / percent / BILI_ROLLOUT_PLUGIN_FULL_RESEND_WATERMARK=1|0 的双向强制写法补齐。代码、web i18n(zh/en 文案本来就写"约 5% 安装灰度开启/实验性")、release-notes 均核对过,无其他 GA 表述残留。零代码改动。

② #5405 silent-direct 上限 —— 默认 2→8 MiB + 新增旋钮

4a0f634dd:

  • src/agent/native-intercept.ts:默认上限 MAX_SILENT_DIRECT_BODY_BYTES 2 MiB → 8 MiB;新增 silentDirectBodyCapBytes(),每次调用解析 BILI_SILENT_DIRECT_MAX_MB(兆字节,可小数,>0;非法值回落到默认);缺失槽位 arm 与未归因 arm 两处均改为按次取生效上限,日志同步输出实际生效值。
  • 语义说明:该守卫数的是原始字节(base64 后的图片会膨胀),所以窗口内带图会话在旧默认下直接死于一个重试也救不回来的 422;而守卫要拦的失控 prompt 是几十上百 MB 量级——8 MiB 默认仍然拦得住,且现在可按机器调回严格值。
  • 测试 tests/native-intercept.test.ts:原有隔离 pin(3 MiB 恰好落在旧上限与 doom bar ≈4 MB 之间)改为用旋钮显式设 2 MiB 保持隔离性(同时验证旋钮在未归因 arm 生效);新增用例覆盖:8 MiB 默认下 3 MiB 直通、旋钮降到 1 MiB 时同一请求 422、非法值回落默认。全文件 79/79 绿。
  • 文档:根 CONFIGURATION.md 紧凑表 + 详表各一行(镜像 BILI_ATTACH_EVIDENCE_GRACE_MS 格式);CHANGELOG [Unreleased] 补一条行为变更。
  • 类型检查 tsc --noEmit 干净。

已知取舍(如实记录):纯文本 ~2–8 MiB 且确实超出宿主声明窗口的请求,在新默认下不再被本地拦,会原样直发到上游、由上游返回 prompt-too-long。这是"图片会话直接死"与"省一次无效外发"之间的取舍,owner 已裁定优先保前者;要恢复严格行为设 BILI_SILENT_DIRECT_MAX_MB=2(或更小)。

③ #5719 msgid 救援规则 —— 不加代码,建议先加一行 trace 日志观察

不是"msgid 没定死"——id 是稳定盖章的。松的是救援规则本身的身份判定:只要入站 stamped id 与某个 raw key 下已存行有 ≥1 条重叠,就把这次请求锚到那个 key 上,用发起 lane 自己的 tag/model 覆写身份,不问这条请求属于哪个 lane。能否造成实际串道,取决于 dsh host 是否会给 persona/review 子派发盖上一批与主会话重叠的 id——这从仓库内部无法证明(需要线上流量证据),最可能的情况今天是无害的(host 每个 lane 自己 mint 新 uuid)。不建议现在动代码:朴素的"tag 必须相等"前置条件行不通,因为 dsh 每轮都轮换 system prompt,同一 lane 相邻两轮 tagHash 就不同,加了这个条件会把 #5719 修复本身打回去。建议下一步(等 owner 点头再做):在"覆写已有不同 tag 身份"的位置加一行一次性 trace 日志,跑几天线上看有没有真实命中。


CI:本次两个 commit 触发的新 run 见下方;此前 main CI lane 的两个 flake(storage-engine-proofs digest drift / wire-exit-matrix socket destroy)与本 diff 无关的证据链已在上一条评论,如再复发 rerun --failed 即可。

ranxianglei pushed a commit that referenced this pull request Nov 7, 2026
@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

三项裁定落地后,我又独立复核了分支最新头 0beebb713(含 ①② 的实现),结论:实现正确、干净,可发版。逐条:

① watermark 文档(74cf1d8) — 零代码,CHANGELOG「ON by default (GA)」→「ships behind the 5% experimental cohort」+ true|false/percent/=1|0 双向写法,与代码(rollout.ts percent:5)及 owner 裁定一致。✓

② silent-direct 2→8 MiB + 旋钮(4a0f634 + 0beebb7) —

  • 代码:silentDirectBodyCapBytes() 解析健壮——未设→Number("")=0→回落;"1.5" 小数可;"abc"/""/"-3"/"0"/"Infinity" 全落默认(靠 Number.isFinite && >0)。两处 arm(missing-slot / unattributed)按次取生效值、日志输出实际 cap。行为变更 2→8 MiB 已在 CHANGELOG + CONFIGURATION + seed 三处披露。✓
  • 文档机制我起初抓到一个问题:4a0f634dd 直接手改了「由 yaml 生成、勿手改」的 CONFIGURATION.md 区块且漏了 seed 和 zh。但 0beebb7 已用正确方式补上(env-only.yaml 加条目 + zh 索引行 + 把函数改成 internal-only)。我实测验证:node tools/gen-config-docs.mjs generate 在 0beebb713 上零漂移(wrote 10 blocks / i18n ok: EN/ZH sets equal),即提交态与 seed 完全同步、双语齐全;de-export 也安全(该符号仅模块内引用,测试走 process.env.BILI_SILENT_DIRECT_MAX_MB 驱动而非 import,覆盖默认 8MiB / "1"→1MiB / 非法回落)。故我不推任何 commit——你的自修已覆盖我本想顺手修的点,不重复。
  • 仅剩一处小尾巴(非阻塞):en 有详细散文行(CONFIGURATION.md:2077),zh 对应详细表缺这一行(zh 只有 :398 索引行)。机器门(generate/i18n)查不到它——详细表是手维护区。建议下一趟补一句中文散文即可。

③ #5719 trace-first — 同意不动代码:朴素「tag 必须相等」前置行不通(dsh 每轮换 system prompt,同 lane 相邻两轮 tagHash 就变,加了会把 #5719 本身打回);先在「覆写不同 tag 身份」处加一行 trace 日志看线上命中再定,方向对。

CI 全绿(见上一条跟进)。综合整窗深审 + 本轮 ①②③ 复核:本 PR 可合 / 可发版,无硬阻塞。 正式 approve / merge 归 owner。

ranxianglei added a commit that referenced this pull request Nov 7, 2026
…in (#5826 review)

Owner-ruled release-review gap (sessionid+msgid is public infrastructure):
- tests/msgid-rule-parity.test.ts: feeds every reject class through every one
  of the six id-screening copies and pins the current verdict per copy;
  deliberate divergences pinned AS divergent with rationale (the host bundles
  must not import server modules, so mirroring is structural). Changing any
  copy's rules now fails CI until consciously re-pinned here.
- src/server/fastpath.ts: parseTailIds (server-side tail-ids decode) closes
  its lone gap vs the canonical set — reserved acp_summary_ prefix gate
  (all emitters pre-screened already; strictly more conservative void).
- test-only accessors (_hostMsgIdsOfForTest/_pfSlotIdsOfForTest,
  _screenMsgIdsForTest, _parseTailIdsForTest).
- docs/msgid-infrastructure.md + .zh-CN.md: producer -> transport -> six
  validation copies -> storage SSOT -> five consumers -> trust boundaries ->
  change checklist. AGENTS.md KDD #17 declares production/consumption sources;
  CHANGELOG [Unreleased] bullet.
@ranxianglei

Copy link
Copy Markdown
Owner Author

缺口修复已落地(#5826 review 第 ③④ 项推进,owner 裁定 2026-11-07) — 提交 bc44f77b0(rebase 在 ci-check 的 BILI_SILENT_DIRECT_MAX_MB 配置种子补齐提交之上):

  1. 校验规则从「注释自律」升级为 CI 机械锁:新增 tests/msgid-rule-parity.test.ts(5 组用例、80+ 断言)。id 卫生规则散落在六份副本(canonical validateMsgIds + dsh/incremental-client/pf-channel/fastpath/request-membership 五处镜像——镜像是结构性必需,注入宿主的 bundle 禁止 import server 模块),过去靠「keep in sync」注释同步。现在每个拒绝类(非串/空/超长/保留前缀/空白与控制字符/U+200B/重复/宽度失配/批量上限)逐一喂过每份副本并钉死当前判决;有意分歧按分歧钉死并注明理由(例如 U+200B 对纯证据角色 incomingMsgIdsOf/collectRequestIds 放行——与严格钉入库的存量 id 不可能重叠,故安全)。今后任何一份副本改规则,该测试不先更新就会红。
  2. 同批收敛一处真实分歧:fastpath parseTailIds(tail-ids 头的服务端解码侧)六份中独缺 canonical 的保留前缀门(acp_summary_*)。已补——所有生产发射方本就预筛,此为单点收口的纵深防御,判决方向更保守(整表作废→本轮 count-only 降级),无行为回归面。
  3. 文档地图:docs/msgid-infrastructure.md + .zh-CN.md —— 生产端(宿主铸造规则 + 各车道采集器)→ 四种传输载体(信封字段/增量 payload/水位头/ledger seq,全部转发上游前剥除)→ 六份校验副本剖面表 → 存储单一事实源(messages.msg_id 列,骨架不携 id)→ 五个消费方(各自回答什么问题 + id 使用边界)→ 四条信任边界(§7.4 前缀盲点 / [resolveSessionOrder] Full compaction and persona tag drift occurring in the same turn → inevitably forks to |sub: side | [resolveSessionOrder] Full compaction and persona tag drift occurring in the same turn → inevitably forks to |sub: side | [resolve… #5719 最后一档无 lane 归属 / membership needle 可穿透一轮 / 错配 per-key 容器隔离)→ 改动清单。
  4. AGENTS.md KDD fix: suppress duplicate auto-update notices within one process #17 声明整套设施的生产/消费来源(每会话自动加载,后续 agent 改相关代码前先读到它),CHANGELOG [Unreleased] 加条目。

本地证据:tsc 全量干净;13 个相关测试套件(msgid-rule-parity / fastpath×3 / pf-channel / msgid-pin / msgid-lane-flow / dsh/pi/omp/opencode-msgids / request-membership-http / issue5719)= 80 用例全绿。

#5719 的 lane 归属问题维持原判:条件性风险、待 trace-log 观测拍板,未动行为(见主评审 §2 P1 说明)。

…review)

The remote announcements fetch did 'await res.text()' and only THEN checked
MAX_REMOTE_BYTES — a multi-GB body from a hostile or misconfigured relay
(the URL is owner-overridable via BILI_ANNOUNCEMENTS_URL) fully
materialized in memory before the 512 KiB bound could reject it. The watch
cycle re-fires ~every 3 minutes per process, so this is an OOM vector, not
a one-time cost. readCappedBody now streams res.body, cancels the reader
and rejects as soon as accumulated bytes exceed the budget; the old
text.length check stays as defense-in-depth. New regression row drips a
4 MiB no-Content-Length feed at 15 ms/chunk and asserts the transfer
stops just past budget (pre-fix: all 4 MiB transferred).

Found by the v0.1.212..master release review (#5826).
ci-check and others added 3 commits November 7, 2026 11:20
…in (#5826 review)

Owner-ruled release-review gap (sessionid+msgid is public infrastructure):
- tests/msgid-rule-parity.test.ts: feeds every reject class through every one
  of the six id-screening copies and pins the current verdict per copy;
  deliberate divergences pinned AS divergent with rationale (the host bundles
  must not import server modules, so mirroring is structural). Changing any
  copy's rules now fails CI until consciously re-pinned here.
- src/server/fastpath.ts: parseTailIds (server-side tail-ids decode) closes
  its lone gap vs the canonical set — reserved acp_summary_ prefix gate
  (all emitters pre-screened already; strictly more conservative void).
- test-only accessors (_hostMsgIdsOfForTest/_pfSlotIdsOfForTest,
  _screenMsgIdsForTest, _parseTailIdsForTest).
- docs/msgid-infrastructure.md + .zh-CN.md: producer -> transport -> six
  validation copies -> storage SSOT -> five consumers -> trust boundaries ->
  change checklist. AGENTS.md KDD #17 declares production/consumption sources;
  CHANGELOG [Unreleased] bullet.
@ranxianglei
ranxianglei force-pushed the release-review-2026-11-06 branch from 1a1b9ce to fd0c0a2 Compare November 7, 2026 03:25
ci-check added 3 commits November 7, 2026 11:46
…er merge (#5826)

The merged fastpath-v6 wave (#5652/#5664/#5732) changed two pinned behaviors: PF_SLOT_UNKNOWN moved client->server (import fix), v6 F1 emits a fixed 64-id tail window instead of slicing at learned K, and v6 F2 makes any id-less/duplicate slot clear the whole captured table ('?' never travels). Re-pinned groups 3+4 of tests/msgid-rule-parity.test.ts to the post-merge verdicts with the ruling citations; added an over-cap case for the raised MAX_IDS (16384).
@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

本轮工作:接住 PR 与 master 的冲突(把最新 master 合进 PR 分支),并修掉合并引入的测试语义破坏。现在分支全量 CI 绿(60 项检查全部 success/neutral/skipped),merge 状态 clean,可以合并。

八问:

  1. 是什么问题:不是代码缺陷,是 CI 维护——分支落后 master 期间先后出现三批红:① 原 head(4a0f634)的 docs-sync / docs-coverage / unused-exports 红;② lifecycle-ledger-guard 红;③ 本轮:master 合入 fastpath-v6 波次([PR] feat(fastpath): v6 composite-identity incremental fastpath lane (full rework, #5576 line voided) #5652 等 ~58 个提交)后,新增的 msgid-rule-parity 测试钉的是 v6 之前的行为,红了。
  2. 什么原因导致的:①② 同根因——4a0f634dd 引入 BILI_SILENT_DIRECT_MAX_MB(knob + env 读取 + 手写文档行)但漏了配置种子(YAML)和 LIFECYCLE.md 台账登记:docs-sync 重新生成时会把手写行丢掉、coverage 查不到种子、unused-exports 标出未导出的函数、ledger-guard 查不到登记行。③ master 的 v6 重构改变了被测行为本身:PF_SLOT_UNKNOWN 常量从客户端模块挪到服务端模块(import 断)、F1 裁定尾窗改为固定 64 条 id(不再按学到的 K 切片)、F2 裁定任一缺 id/重复槽位清空整张表("?" 不再上线上)——均为 owner 已拍板行为([PR] feat(fastpath): v6 composite-identity incremental fastpath lane (full rework, #5576 line voided) #5652/fastpath v6 render snapshot plane: one-time full rewrite, steady-state rounds skip full view scan (#5643 sub-item) | fastpath v6 render 快照平面:全量改写只做一次,稳态轮跳过全视图扫描(#5643 子项) #5664,2026-11-04),parity 文件自身约定「规则变了必须在此有意识重钉」。
  3. 影响范围与严重程度:纯 CI/测试面,零用户面影响;不修则本 release-review PR 无法合并。
  4. 怎么修复的:①② 补种子(website/config-reference/env-only.yaml)+ 重新生成四个文档文件 + 去掉该函数的 export 关键字(仅文件内使用)+ LIFECYCLE.md §2.6 补一行登记(前两轮已完成:decf5960d、fd0c0a2de)。③ merge origin/master 进分支(文本零冲突),然后把 msgid-rule-parity 第 3、4 组重钉到 v6 后的判决并附裁定出处,针对 MAX_IDS 抬高(2048→16384)补了超上限 case(本轮:ffa83b4f7 合并提交 + 33b2f82 重钉提交)。
  5. 是否有回归问题:无。我的全部改动是文档登记、导出可见性收窄、测试预期更新,未触碰任何产品代码逻辑。推送前本地定向验证:parity 5/5、pf-channel+fastpath 35/35、docs generate 字节稳定、coverage/ledger/unused-exports 四道门全绿;远程 CI 60/60 绿。
  6. 是否破坏缓存:不涉及(无运行时路径变化)。
  7. 是否改了设计方向:无。一处文档漂移提请 owner 留意:AGENTS.md KDD docs: env vars primary config method + cleanup #15 对 dsh 水位采集的描述仍是「逐槽 ? 占位符旅行」,与 v6 F2 裁定("?" 永不上线)已不符——AGENTS.md 属 owner 领地,我未动,建议顺手改措辞。
  8. 是否引入新配置:无(BILI_SILENT_DIRECT_MAX_MB knob 本身来自 PR 作者的提交,默认 8 MiB,作者已披露)。

判定:分支就绪,请合并:#5826

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

[ework] CI fix verified green ✓

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

(ai: vllm-qwen/qwen3.8-27b)

重唤醒后的状态确认(未重复劳动):本次唤醒是 daemon 重启后对你上一条评论的重复投递;上游冲突处理在前一轮已完成(完整报告见我上面那条八问评论)。本轮只重新核验现状,逐项如下:

① 你的缺口修复已落地:bc44f77b0 的四个部分全部在当前分支头——tests/msgid-rule-parity.test.ts(CI 同锁)、fastpath parseTailIds 保留前缀门(src/server/fastpath.ts:145)、docs/msgid-infrastructure.md + .zh-CN.md、AGENTS.md KDD #17、CHANGELOG 条目。后续 rebase 使其哈希变为 36210fc3e;我逐文件比对过两个版本的补丁内容:唯一差异是 dsh-native.ts 里两个测试访问器的插入位置随基线移动(基线已含 master 上的 #5614 fetch-chain 修复,master 提交 209239ac1 确有其码,非本 PR 引入),规则逻辑本身一致。

② 上游冲突已解(前一轮):把 master ce8f92ef3(含 fastpath-v6 波次 #5652)合进分支(ffa83b4f7,文本零冲突)+ 按 v6 F1/F2 裁定重钉 parity 判决(33b2f82dc)。

③ 当前状态(刚核验):分支头 = PR head = 33b2f82dc(本地与远端一致);master 此后又前进 3 个提交(含 #5734/#5719 self-checkpoint 重锚、ci-fixes 的 dsh pin 对齐)——PR 现状态 mergeable=true、mergeable_state=behind:干净可合、无冲突;CI 检查全绿(本次读取 30/30 通过,0 failed / 0 pending)。

为何不再推一次:behind ≠ 冲突——再推一个 master-sync 提交只会触发一轮全量 CI、让发版再晚一个周期,而你合并时 master 的新变更会自然并入结果。分支无需再动。

八问(相对上一条评论的增量,完整版见上条):

  1. 是什么问题:无新缺陷——纯 CI 维护与状态确认。
  2. 什么原因导致的:无新根因(三批红的根因维持上条认定:配置种子/台账登记缺失 + master v6 重构改变被测行为)。
  3. 影响范围与严重程度:零用户面影响。
  4. 怎么修复的:本轮无新改动。
  5. 是否有回归问题:无——本轮未触碰任何代码。
  6. 是否破坏缓存:不涉及。
  7. 是否改了设计方向:无。仍提请 owner 留意一处文档漂移:AGENTS.md KDD docs: env vars primary config method + cleanup #15 对 dsh 水位采集的描述(「逐槽 ? 占位符旅行」)与 v6 F2 裁定(「?」永不上线)不符;AGENTS.md 属 owner 领地,我未动,建议顺手改措辞。
  8. 是否引入了新的配置:无。

判定:分支就绪(干净可合 + CI 全绿),请合并:#5826

@ranxianglei
ranxianglei merged commit fb18e7e into master Nov 7, 2026
60 checks passed
nexusatemporal pushed a commit to nexusatemporal/billion-context that referenced this pull request Nov 7, 2026
…stpath-v6 code was reverted, ranxianglei#5854)

ranxianglei#5826 commit 33b2f82 re-pinned two msgid-rule-parity rows to the v6 F1/F2
rulings «after master merge»; revert ranxianglei#5854 then removed the fastpath-v6
code (ranxianglei#5652), leaving those pins asserting behavior that no longer exists —
master failed the same two rows on pure fb18e7e (verified via detached
worktree). This restores tests/msgid-rule-parity.test.ts to its bc44f77
state, i.e. exactly undoes the 33b2f82 hunks: PF_SLOT_UNKNOWN import back
to pf-channel.js, per-slot "?" rides-again semantics, K-sliced tail window,
and the removed OVER_CAP row (v6 MAX_IDS 16384 no longer applies).
@github-actions github-actions Bot mentioned this pull request Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:full Run the FULL CI matrix (all e2e lanes + 12-leg test matrix) on this PR needs-decision p3 scope/ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant