Repository navigation
gate: Lane A 的 nudge 断言拆硬——preflight 不能再替它绿(#3416 收尾) - #3483
Merged
Merged
Conversation
The Lane A check /nudge INJECT|preflight compressing/ could pass on a preflight line alone while the nudge path was dead — suppression-class bugs (#3401 shape) sailed through the gate green. Split into two independent assertions: nudge INJECT is now a hard requirement of the lane, preflight is reported separately and cannot substitute.
Contributor
📦 Built Package ArtifactBranch: Option A — Install this exact build (recommended)npm install -g billion-context@0.0.4118-pr.3483.814a33fThis exact version is immutable and reproducible. The rolling Option B — Download artifact
tar xzf billion-context-pr3483.tgz
npm install -g packageInstall instructions are refreshed on each push. |
Contributor
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.519-master.b806f61 # this exact build
npm install -g billion-context@master # always the newest merged build
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ai: zhipuai-lb/glm-5.3
啥问题
发版 gate 的 Lane A 有一条检查写成了「或」:
/nudge INJECT|preflight compressing/——只要日志里出现一句 preflight 压缩,这条就算过,模型侧的 nudge 提示死没死完全看不见。#3401 那种「压缩提示被静默关闭」的回归就是靠这个漏洞绿灯溜过去的(当时 master 构建 gate 全绿,但报告者 2 小时里 nudge 只注入 1 次、被压制 17 次)。改动(scripts/release-gate-local.mjs:429 一处)
拆成两条互相独立的断言:
nudge INJECT,preflight 不能替它绿;行为预期:健康构建两条都绿(老基线 v0.1.197 历来就是在 nudge INJECT 上过的);带 #3401 形状回归的构建会在 nudge 那条红——与插件车道(scripts/gate/,#3462)的硬断言口径对齐。
为何现在做
#3416 收尾项:#3462 已把新插件车道做成硬断言,老 Lane A 是最后一处 OR 软断言。
测试
node --check过;纯断言拆分,不改变车道流程。nudge INJECT行(master 代理车道、[bug] #3177 的 DSH compress-surface 抑制在「agent 能看到 bili 工具」的 DSH 环境下误伤:nudge 与 compress 系统提示被永久关闭 #3401 病只在插件车道触发,不影响 Lane A 判定)。Fixes #3416(nudge 硬断言条款). CC #3331 #3401.