Skip to content

gate: Lane A 的 nudge 断言拆硬——preflight 不能再替它绿(#3416 收尾) - #3483

Merged
ranxianglei merged 1 commit into
masterfrom
fix/gate-lane-a-nudge-hard
Oct 17, 2026
Merged

ranxianglei merged 1 commit into
masterfrom
fix/gate-lane-a-nudge-hard

Conversation

@ranxianglei

Copy link
Copy Markdown
Owner

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 injected (hard)——Lane A 必须看到 nudge INJECT,preflight 不能替它绿;
  • preflight engaged——单独报告,挂了也红。

行为预期:健康构建两条都绿(老基线 v0.1.197 历来就是在 nudge INJECT 上过的);带 #3401 形状回归的构建会在 nudge 那条红——与插件车道(scripts/gate/,#3462)的硬断言口径对齐。

为何现在做

#3416 收尾项:#3462 已把新插件车道做成硬断言,老 Lane A 是最后一处 OR 软断言。

测试

Fixes #3416(nudge 硬断言条款). CC #3331 #3401.

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.
@github-actions

Copy link
Copy Markdown
Contributor

📦 Built Package Artifact

Branch: fix/gate-lane-a-nudge-hard (234b6cb)

Option A — Install this exact build (recommended)

npm install -g billion-context@0.0.4118-pr.3483.814a33f

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

Option B — Download artifact

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

Install instructions are refreshed on each push.

@ranxianglei
ranxianglei merged commit b806f61 into master Oct 17, 2026
34 of 67 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

📦 Merged Build Published

This merge to master was published as 0.0.519-master.b806f61 (rolling master tag).

npm install -g billion-context@0.0.519-master.b806f61  # this exact build
npm install -g billion-context@master  # always the newest merged build

npm view billion-context@master prints the current version at any time.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

真模型 gate 盲区:#3401 带病全绿——补齐 DSH 插件车道 + pi/codex/claude/opencode 客户端车道

1 participant