Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
c295f90
feat(fastpath): v6 identity plane storage layer (#5643)
Nov 4, 2026
d55a50c
feat(fastpath): v6 composite-identity incremental lane (#5643)
ranxianglei Nov 4, 2026
9c1fb86
feat(pf-channel): full-list tail-ids wire form + x-bili-pf-session ec…
ranxianglei Nov 4, 2026
edba38a
test(fastpath): v6 identity-lane matrix; schema head bumps to v11 exp…
ranxianglei Nov 4, 2026
5db091e
test(fastpath): pin clearWatermarkV6 teardown contract (unused-export…
Nov 4, 2026
1898ca1
test(rollout): account for base-nested features in the per-feature so…
Nov 4, 2026
da6885d
feat(server,agent): v6 wire form → fixed tail window (owner PR-review…
ranxianglei Nov 4, 2026
ef35c98
fix(pf-channel): F2 guarantee branch — one id-less slot clears the wh…
ranxianglei Nov 4, 2026
239f0a4
fix(fastpath-v6): suppress world-id echo when arm registration fails
Nov 4, 2026
8375702
test(fastpath-v6): pin arm-failure no-echo + real store deletion cascade
Nov 4, 2026
d95c7c3
fix(fastpath-v6): count a compacted world's ckpt as plane knowledge i…
Nov 4, 2026
7848641
fix(fastpath-v6): verify the pf_ckpt checksum at hydrate (S4: never g…
Nov 4, 2026
399ef3e
fix(fastpath-v6): log the vanished finalize proposal instead of retur…
Nov 4, 2026
d423220
docs(storage): align pfHydrateWindow docstring with the actual whole-…
Nov 4, 2026
a3d7bab
docs(config): document rollout.features.watermarkV6MsgId (BILI_ROLLOU…
Nov 4, 2026
acca4db
feat(storage): v6 render-snapshot plane tables (schema v12, #5664)
ranxianglei Nov 4, 2026
6d3ca30
feat(fastpath): v6 render-snapshot lane — O(1)-bounded steady turns (…
ranxianglei Nov 4, 2026
17df343
test(fastpath): render-snapshot plane matrix; schema head bumps to v1…
ranxianglei Nov 4, 2026
16d5944
fix(fastpath): review round 1 — audit consumption, sums algebra, stea…
ranxianglei Nov 4, 2026
b443c3a
docs(config): document watermarkV6Render cohort + BILI_PF_RENDER_* tu…
Nov 4, 2026
1237316
refactor(fastpath): drop unreachable window-short gate branch (#5664 …
Nov 4, 2026
aeec940
test(fastpath): exercise the audit cadence for real — flip deferred t…
Nov 4, 2026
3f07c86
docs(persist): align pfRenderCommit facade comment with actual fail-s…
release-bot Nov 5, 2026
49ba14d
fix(fastpath): seal the render plane shut — NO recast in any scenario…
Nov 5, 2026
7577b31
fix(fastpath): defer the arm cast over a thrown row-table read instea…
Nov 5, 2026
f368173
fix(fastpath): render rows hold the post-rewrite generic core form — …
Nov 5, 2026
2cb22e3
Merge pull request #5689 from ranxianglei/2026-11-04_render-snapshot
ranxianglei Nov 5, 2026
b404061
fix(storage): real deletion path cascades the render plane too (#5664…
ranxianglei Nov 5, 2026
eb0a6c8
merge: sync master into fastpath-v6 branch (union of egress-strip hea…
Nov 5, 2026
a193d59
Merge remote-tracking branch 'origin/2026-11-04_fastpath-v6-msgid' in…
Nov 5, 2026
4bb4501
fix(gates): render-plane hygiene — drop internal-only exports, pin te…
Nov 5, 2026
4cbd0a1
ci: merge origin/ci-fixes — absorb #4599 sentinel realignment of five…
Nov 5, 2026
dc65bb7
fix(fastpath): let the render snapshot evolve with compression — witn…
Nov 5, 2026
036719c
test(#5721): restore two regression pins dropped by the rebase rework
Nov 5, 2026
b54b0bd
fix(fastpath): price only the new tail past F in render-lane estimate…
Nov 5, 2026
836dd34
Merge pull request #5721 from ranxianglei/2026-11-05_witnessed-rebase…
ranxianglei Nov 5, 2026
0f3c77c
fix(fastpath): #5643 附录二 — the v6 render snapshot evolves BY EVENTS (…
Nov 5, 2026
686f1e0
merge: sync master into fastpath-v6 branch (resolve base conflict)
Nov 5, 2026
ccfbce3
fix(fastpath): build render-capture strings only for turns the render…
Nov 5, 2026
377edbd
docs(config): renumber pf render-plane schema refs v12 -> v13 after c…
Nov 5, 2026
33c9e3b
Merge pull request #5732 from ranxianglei/2026-11-05_event-addressed-…
ranxianglei Nov 6, 2026
63d14ca
Merge branch 'master' into 2026-11-04_fastpath-v6-msgid
ranxianglei Nov 6, 2026
6f3baa6
fix: pf_log continuation must clear the checkpoint watermark post-fol…
ranxianglei Nov 6, 2026
4aa85c8
fix: archiveSession must cascade the fastpath v6 plane tables with th…
ranxianglei Nov 6, 2026
8c4dcda
docs: watermarkV6* config rows — red-reason vocabulary + breaker park…
ranxianglei Nov 6, 2026
4418ec5
docs: technical-notes v6 doctrine — composite identity + render-snaps…
ranxianglei Nov 6, 2026
08bb5ba
docs: v6 module comments — maintenance-only seams (F8) + coordinate w…
ranxianglei Nov 6, 2026
0ea6df3
docs+test: rollout force-tier/nesting semantics — doc truth + behavio…
ranxianglei Nov 6, 2026
d3891d3
test: pin the eight unasserted render red reasons one-per-condition (…
ranxianglei Nov 6, 2026
61eb805
test: pin v6 identity fault variants + client slot.v6 learn/echo/stal…
ranxianglei Nov 6, 2026
40a6211
test: pin the markers render red reason one-per-condition (#5652 revi…
Nov 6, 2026
3ee0d46
docs: correct pf_ckpt post-fold wording; exhaustive red lists; qualif…
Nov 6, 2026
635dcb2
test: regression-pin inputEstBaseTokens base subtraction in budget ma…
Nov 6, 2026
27c21ed
#5652 review E-gap2: pin §7-A② soft-degrade node (sidecar down = sile…
Nov 6, 2026
c5ecd34
#5652 review Q5 fix: breaker streak reset must clear the memory mirro…
Nov 6, 2026
21ed8bc
docs: regenerate config reference after rollout.yaml v6 wording fix (…
Nov 6, 2026
6bd9a92
#5652 review: fix typecheck regression in budget baseline test
Nov 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ This index is generated from `website/config-reference/*.yaml` — edit the seed
| `rollout.features.base` | string | unset (roll out over everyone) | — | Nested rollout: evaluate this feature only inside the named feature's enabled cohort, so the percent is relative to that population (roll B out to A's users; chains allowed, cycles fail closed). |
| `rollout.features.pluginLaneServerHistory` | boolean \| number | 0 (off) | BILI_ROLLOUT_PLUGIN_LANE_SERVER_HISTORY | Plugin-lane server-owned history (#4491): for enabled installs, (a) plugin-lane requests may carry an internal `biliMsgIds` array parallel to `messages` that pins message identity to client-supplied ids (always stripped before upstream forwarding; malformed arrays are ignored with a warning, id-poisoning shapes hard-fail on the incremental lane); (b) the loopback-only `POST /__bili/plugin/render` endpoint serves the outbound prefix rendered from the unified transcript (folded regions collapse to summary anchors; any desync degrades to a non-2xx so the shim falls back to its local history); (c) the incremental-lane probe advertises `serverHistory`. Default 0% — no behavior change until rolled out. |
| `rollout.features.pluginFullResendWatermark` | boolean \| number | 5 (experimental grey) | BILI_ROLLOUT_PLUGIN_FULL_RESEND_WATERMARK | Full-resend watermark fastpath (#5403/#5418): plugin-lane chat-completions turns whose previous response carried an x-bili-pf-seq stamp assert the resent prefix via the echoed count (structural scan, no full parse); on a hit the pipeline consumes stashed canonical prefix cores plus only the new tail window (byte-identical outbound provenance; ANY doubt falls back to the untouched full-parse path per turn and re-stamps, five credited misses hold the lane for one hour). Requires the client to echo the stamp back as x-bili-pf-count (dsh/pi/opencode/omp do; unadapted lanes never hit). EXPERIMENTAL grey rollout — ON by default for roughly 5% of installs (owner ruling 2026-11-02: small cohort before GA; one-time intro notice in the web UI for every install, tri-state switch in quick config). Force it with `true`, turn off with `false` (or a percent) / env = 0. See TECHNICAL-NOTES.md “Full-resend watermark fastpath”. |
| `rollout.features.watermarkV6MsgId` | boolean \| number | 0 (off) | BILI_ROLLOUT_WATERMARK_V6_MSG_ID | Composite-identity incremental fastpath v6 (#5643): plugin-lane full-resend turns whose client echoes complete per-element host ids (x-bili-pf-tail-ids tail window + x-bili-plugin-conversation carrier) judge the resent prefix by identity set-difference instead of count — only NEW elements are parsed incrementally, frozen cores ride byte-stable from the unified-storage sidecar. HARD identity gate: a missing/malformed/mis-width/inconsistent id list is refused with HTTP 400 and zero side effects (five consecutive faults park v6 for 60 min; while parked the same traffic is SERVED by the baseline v5/legacy lanes instead of refused — parking/recovery are loudly logged) — never a SILENT legacy fallback. Percent-bucketed cohort nests inside pluginFullResendWatermark (⊆ the v5 grey population); the force tiers (env override / explicit `enabled`) bypass the base check by pinned design (src/rollout.ts header, #5652 review F10 owner-confirm pending). It requires the unified-storage sidecar (nodes without it stay on the baseline lanes unchanged). Default OFF — opens only by explicit rollout. |
| `rollout.features.watermarkV6Render` | boolean \| number | 0 (off) | BILI_ROLLOUT_WATERMARK_V6_RENDER | v6 render-snapshot plane (#5664): on composite-identity v6 hit-turns, steady engaged turns replay ONLY the last W frozen cores plus the new tail window through the kernel and splice previously-emitted outbound bytes back verbatim instead of re-running the full-view scan (per-turn byte check verifyRenderWindow; cumulative estimate bases advance incrementally instead of re-scanning all n rows). ANY single red gate condition (not-engaged / arm-turn / title-gen / plane-unavailable / pressure >= 90% of model limit / snapshot-lane / fold-pending / absorb-active / ccr-on / markers / lane-dead / hydrate-failed / caps-mismatch / structural-pending / blocks-changed / audit-due: scheduled audit every Nth round / no-rows / no-plane-geometry / rows-misaligned) falls back to the untouched full-view legacy pass for that one turn and re-captures — structurally byte-identical to pre-change when red. Storage: three unified-store sidecar tables (pf_render / pf_render_log / pf_render_ckpt, schema v13, cascade-deleted with the session); MySQL/network backends degrade soft (plane unavailable -> legacy). Tunables: BILI_PF_RENDER_WINDOW (W, default 8) and BILI_PF_RENDER_AUDIT_EVERY (N, default 8). Percent-bucketed cohort nests inside watermarkV6MsgId (subset of the v6 msgid population); the force tiers (env override / explicit `enabled`) bypass the base check by pinned design (src/rollout.ts header, #5652 review F10 owner-confirm pending). Default OFF — opens only by explicit rollout. |
| `maskHosts` | boolean | true | BILI_LOG_MASK_HOSTS | Mask non-public target hosts in logs as <private-host>; credential headers are always masked regardless. |
| `security.adminRelay` | boolean | false | — | Let an embedding host (dsh web today) relay the ENTIRE /__bili/ admin surface through its own entry origin so a remote browser can open the panel (#3373). Fail-closed, file-only. The relayed hop reaches the proxy as a local non-browser client (loopback source + loopback Host, no Origin), so the admin gate stays unchanged; enabling it exposes config editing and credential writes to whoever can reach the host web entry — protect that entry (auth / reverse proxy) first. |
| `subagentSplit` | boolean | true | BILI_SUBAGENT_SPLIT | Claude Code subagents get their own session namespace (<session>\|sub:<agent-id>) instead of queueing behind the main session. Anthropic-wire only — on the Responses wire this switch is a no-op (see the `subagentSplit` / BOTH-mechanisms scope note). |
Expand Down Expand Up @@ -435,6 +437,8 @@ This index is generated from `website/config-reference/*.yaml` — edit the seed
| `BILI_MITM_HOSTS` | string[] (csv) | unset | — | Launcher channel: MITM whitelist hosts handed to the spawned proxy (distinct from the config-file twin BILI_MITM_DOMAINS). |
| `BILI_PLUGIN_AGENT` | boolean-ish | off | — | Spawn channel: marks a plugin-agent process. |
| `BILI_IMAGE_RESCALE_MAX_DIM` | integer | 1600 | — | Longest-edge trigger threshold (px) for the egress image downscale pass (#3400); non-numeric or below 128 ignored (default applies). Env-only by design. |
| `BILI_PF_RENDER_WINDOW` | integer | 8 | — | Bounded render window W for the v6 render-snapshot plane (#5664): how many frozen cores ride the bounded kernel pass beside the new tail window on each steady turn. Probe evidence across three strategies showed a suffix-only W-pass reproduces every element's outbound bytes exactly, so 8 is plenty; values below 1 or non-numeric fall back to 8, capped at 64. Only meaningful while rollout.features.watermarkV6Render is on. |
| `BILI_PF_RENDER_AUDIT_EVERY` | integer | 8 | — | Scheduled audit cadence N for the v6 render-snapshot plane (#5664): every N engaged hit-turns force ONE full legacy pass whose capture diff re-verifies the stored outbound rows end-to-end (bounds messageRefs/rules merge lag to <= N rounds). Values below 2 or non-numeric fall back to 8, capped at 1024. Any legacy round (red-gate fallback included) resets the counter — it IS an audit. Only meaningful while rollout.features.watermarkV6Render is on. |

<!-- /bili:gen -->

Expand Down Expand Up @@ -1945,6 +1949,8 @@ File keys resolve only when the matching env var is unset. Defaults in parenthes
| `BILI_ROLLOUT_<FEATURE>` | `rollout.features.enabled` | unset (bucket math decides) |
| `BILI_ROLLOUT_PLUGIN_FULL_RESEND_WATERMARK` | `rollout.features.pluginFullResendWatermark` | 5 (experimental grey) |
| `BILI_ROLLOUT_PLUGIN_LANE_SERVER_HISTORY` | `rollout.features.pluginLaneServerHistory` | 0 (off) |
| `BILI_ROLLOUT_WATERMARK_V6_MSG_ID` | `rollout.features.watermarkV6MsgId` | 0 (off) |
| `BILI_ROLLOUT_WATERMARK_V6_RENDER` | `rollout.features.watermarkV6Render` | 0 (off) |
| `BILI_SESSION_CONTENT_STORE_PIN` | `sessions.contentStorePin` | false |
| `BILI_SESSION_GC` | `sessions.gc.enabled` | false |
| `BILI_SESSION_GC_INTERVAL_MS` | `sessions.gc.intervalMs` | 3600000 |
Expand Down
6 changes: 6 additions & 0 deletions CONFIGURATION.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@
| `rollout.features.base` | string | unset (roll out over everyone) | — | 嵌套灰度:仅在所指特性的已入组人群内评估本特性,percent 相对该人群(B 只放量给 A 的用户;允许链式,环路判为关)。 |
| `rollout.features.pluginLaneServerHistory` | boolean \| number | 0(关) | BILI_ROLLOUT_PLUGIN_LANE_SERVER_HISTORY | 插件车道服务端正史(#4491):对已放量的安装,(a) 插件车道请求可携带与 `messages` 平行的内部字段 `biliMsgIds`,把消息身份钉在客户端提供的 id 上(转发上游前一律剥掉;格式错误的数组告警后忽略,身份投毒形态在增量车道直接硬失败);(b) 仅回环可达的 `POST /__bili/plugin/render` 端点从统一存储渲染出站前缀(折叠区收敛为摘要锚点;任何失步都返回非 2xx,shim 退回本地历史);(c) 增量车道探测响应通告 `serverHistory`。默认 0%,放量前无行为变化。 |
| `rollout.features.pluginFullResendWatermark` | boolean \| number | 5(实验性灰度) | BILI_ROLLOUT_PLUGIN_FULL_RESEND_WATERMARK | 全量重发水位快路径(#5403/#5418):插件车道 chat-completions 回合若上一轮响应盖有 x-bili-pf-seq,则用回声计数声明重发前缀(结构扫描,不做全量解析);命中时管线只消费钉存的前缀核 + 新增尾巴窗口(出站字节同源可证;任何疑点当轮回退未动过的全量解析路径并重新盖戳,连续五次计名失配将车道按住一小时)。需客户端把戳回声为 x-bili-pf-count(适配的车道回带;其余车道不会命中)。**实验性灰度**——默认仅约 5% 的安装开启(owner 裁定 2026-11-02:先小流量再 GA;web 面板对全部安装显示一次性公告、快速配置提供三态开关);`true` 强制开、`false`(或百分比)/ env = 0 关。见 TECHNICAL-NOTES.zh-CN.md「全量重发水位快路径」。 |
| `rollout.features.watermarkV6MsgId` | boolean \| number | 0(关) | BILI_ROLLOUT_WATERMARK_V6_MSG_ID | 复合身份增量快路径 v6(#5643):插件车道全量重发回合,当客户端回带逐元素宿主 id(x-bili-pf-tail-ids 尾窗 + x-bili-plugin-conversation 载体)时,用身份集合差而非计数判定重发前缀——仅增量解析新增元素,冻结核自统一存储 sidecar 逐字骑乘。身份硬门:id 列表缺失/格式错/宽度不符/一致性断裂一律以 HTTP 400 拒绝且零副作用(连续五次连击将 v6 按住 60 分钟;按住期间同一流量由基线 v5/legacy 车道承接而非拒绝——停放与恢复均响亮记日志)——绝不静默回退 legacy。按百分比放量时嵌套于 pluginFullResendWatermark(人群 ⊆ v5 灰度人群);强制档(env 覆盖 / 显式 enabled)按钉死设计绕过嵌套检查(src/rollout.ts 头部注释,#5652 review F10 待 owner 裁定)。并依赖统一存储 sidecar(无此设施的节点原样走基线车道)。默认关——仅由显式放量开启。 |
| `rollout.features.watermarkV6Render` | boolean \| number | 0(关) | BILI_ROLLOUT_WATERMARK_V6_RENDER | v6 渲染快照平面(#5664):复合身份 v6 命中回合中,稳态轮只把最近 W 个冻结核 + 新增尾窗送入内核、把此前已出站的字节逐字拼回,不再跑全量视图扫描(每轮字节校验 verifyRenderWindow;累计估算基数增量推进而非重扫全部 n 行)。任一红色门控条件(not-engaged/arm 轮/title-gen/plane-unavailable/压力 ≥ 模型上限 90%/snapshot-lane/fold-pending/absorb-active/ccr-on/markers/lane-dead/hydrate-failed/caps-mismatch/structural-pending/blocks-changed/每 N 轮计划审计(audit-due)/no-rows/no-plane-geometry/rows-misaligned)当轮回退未动过的全量 legacy 路径并重新捕获——红色时与改动前结构上逐字节一致。存储:统一存储三张 sidecar 表(pf_render / pf_render_log / pf_render_ckpt,schema v13,随会话级联删除);MySQL/网络后端软降级(plane 不可用 → legacy)。可调项:BILI_PF_RENDER_WINDOW(W,默认 8)与 BILI_PF_RENDER_AUDIT_EVERY(N,默认 8)。按百分比放量时嵌套于 watermarkV6MsgId(人群 ⊆ v6 msgid 人群);强制档(env 覆盖 / 显式 enabled)按钉死设计绕过嵌套检查(src/rollout.ts 头部注释,#5652 review F10 待 owner 裁定)。默认关——仅由显式放量开启。 |
| `maskHosts` | boolean | true | BILI_LOG_MASK_HOSTS | 日志中把非公开目标主机遮成 <private-host>;凭据头无论此开关如何总是遮盖。 |
| `security.adminRelay` | boolean | false | — | 允许宿主(当前为 dsh web)把它自己入口域名下的整个 /__bili/ 管理面中继到本机代理,使远程浏览器能打开面板(#3373)。默认关闭、仅配置文件。中继跳到达代理时是本机非浏览器客户端(回环源地址 + 回环 Host、无 Origin 头),管理端门槛不变;开启后,凡能访问宿主 web 入口的人都能改配置、写凭据——请先给入口加鉴权/反代。 |
| `subagentSplit` | boolean | true | BILI_SUBAGENT_SPLIT | Claude 子代理拥有独立会话命名空间(<session>\|sub:<agent-id>),不再排队在主会话锁后。仅 anthropic 线路 —— Responses 线路上本开关无效(见 `subagentSplit` / BOTH-mechanisms 作用域说明)。 |
Expand Down Expand Up @@ -435,6 +437,8 @@
| `BILI_MITM_HOSTS` | string[] (csv) | unset | — | 启动器通道:传给被派生代理的 MITM 白名单主机(区别于配置文件对应项 BILI_MITM_DOMAINS)。 |
| `BILI_PLUGIN_AGENT` | boolean-ish | off | — | 派生通道:标记插件 agent 进程。 |
| `BILI_IMAGE_RESCALE_MAX_DIM` | integer | 1600 | — | 出站图片降采样 pass 的最长边触发阈值(像素,#3400);非数字或低于 128 的取值按默认处理。设计上仅环境变量。 |
| `BILI_PF_RENDER_WINDOW` | integer | 8 | — | v6 渲染快照平面(#5664)的有界渲染窗口 W:每个稳态轮送入内核的冻结核数量(与新增尾窗并列)。三种策略的探针证据表明后缀 W-pass 能逐字节复现每个元素的出站字节,8 已足够;低于 1 或非数字的取值回退为 8,上限 64。仅在 rollout.features.watermarkV6Render 开启时有意义。 |
| `BILI_PF_RENDER_AUDIT_EVERY` | integer | 8 | — | v6 渲染快照平面(#5664)的计划审计周期 N:每 N 个命中轮强制跑一次全量 legacy pass,其捕获 diff 对已存出站行做端到端复验(把 messageRefs/rules 合并滞后钉在 ≤ N 轮内)。低于 2 或非数字的取值回退为 8,上限 1024。任何 legacy 轮(含红色门控回退)都会清零计数——它本身就是一次审计。仅在 rollout.features.watermarkV6Render 开启时有意义。 |

<!-- /bili:gen -->

Expand Down Expand Up @@ -1922,6 +1926,8 @@ ACP 原生 agent(当前为 `pi` 扩展)会在每个进程内向代理上报
| `BILI_ROLLOUT_<FEATURE>` | `rollout.features.enabled` | unset (bucket math decides) |
| `BILI_ROLLOUT_PLUGIN_FULL_RESEND_WATERMARK` | `rollout.features.pluginFullResendWatermark` | 5 (experimental grey) |
| `BILI_ROLLOUT_PLUGIN_LANE_SERVER_HISTORY` | `rollout.features.pluginLaneServerHistory` | 0 (off) |
| `BILI_ROLLOUT_WATERMARK_V6_MSG_ID` | `rollout.features.watermarkV6MsgId` | 0 (off) |
| `BILI_ROLLOUT_WATERMARK_V6_RENDER` | `rollout.features.watermarkV6Render` | 0 (off) |
| `BILI_SESSION_CONTENT_STORE_PIN` | `sessions.contentStorePin` | false |
| `BILI_SESSION_GC` | `sessions.gc.enabled` | false |
| `BILI_SESSION_GC_INTERVAL_MS` | `sessions.gc.intervalMs` | 3600000 |
Expand Down
1 change: 1 addition & 0 deletions LIFECYCLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
| 测试钩子:`BILI_DSH_RECOVERY_INTERVAL_MS` / `BILI_DSH_RETRY_INTERVAL_MS` / `BILI_MODEL_INFO_RETRY_MS` | #2082 等 | 缩短测试/运维节奏(dsh-native.ts;NODE_TEST_CONTEXT 感知,避免生产误缩) | 永久测试设施,随宿主代码走 | 测试钩子 |
| `BILI_COMPRESS_AT_FOLD_POINT` | #5470 | compress-at-fold-point 实验性 opt-in(**默认关**;2026-11-01 真实模型验证通过,owner 决定保持 opt-in):把重放视图中可见的 compress 调用对挪到它自己的折叠点(布局 [已折叠区]–[调用对]–[保护消息]),弱注意力模型不再把历史尾部的工具交换误读成新命令;纯视图变换,关时布局字节级不变;文件键 `compress.compressAtFoldPoint`;含 env-only opt-in 可达性修复(默认短路保持不变) | 更多真实模型积累后转正为默认开(走评审),或按废弃流程删除 | opt-in(默认关) |
| `BILI_COMPRESS_AT_FOLD_POINT_CLEAR_THINKING` | #5470 | 依附上一开关:挪位瞬间清紧邻的未签名思考段(默认 off,A 关时无效);strict-echo(#684) 或存在签名思考块(#1658)时整个机制不出手 | 同上 | opt-in(默认 off) |
| `BILI_PF_RENDER_WINDOW` / `BILI_PF_RENDER_AUDIT_EVERY` | #5664 v6 render-snapshot plane | 实验性渲染快照车道可调项(默认 OFF,嵌套于 watermarkV6MsgId cohort):W = 稳态轮回放的冻结核数(默认 8);N = 计划全量审计节奏(默认 8);读点 src/server/fastpath-v6-render.ts:50-60 | render 平面转正(rollout 100% 且审计计数归稳)后移 §2 常设面,或随车道退役删除 | opt-in(默认 OFF;仅由显式 rollout 开启) |

## 2. 常设面全量登记表(src/ 实际读取的其余 BILI_* 环境变量)

Expand Down
Loading
Loading