Skip to content

fix: pin acp-kernel 0.0.88 (gentle nudge tip + honest cache-report labels) - #1270

Merged
ranxianglei merged 1 commit into
masterfrom
2026-09-24_kernel-0.0.88-pin
Sep 25, 2026
Merged

ranxianglei merged 1 commit into
masterfrom
2026-09-24_kernel-0.0.88-pin

Conversation

@ranxianglei

Copy link
Copy Markdown
Owner

Pin acp-kernel 0.0.86 → 0.0.88. Version-only change (package.json + package-lock.json, 1 dependency line).

What the two kernel releases bring to bili users

0.0.87 — #1198 prompt fix

0.0.88 — #1254 attribution fix

Pre-flight (run on the branch)

  • npm run typecheck — clean
  • npm test — 2457 pass / 0 fail / 9 skipped (E2E-gated)
  • npm run build — success, dist-import-annotations: OK
  • Diff vs master: package.json 1 line + lockfile

Notes

@github-actions

Copy link
Copy Markdown
Contributor

📦 Built Package Artifact

Branch: 2026-09-24_kernel-0.0.88-pin (dbad081)

Option A — Install from npm PR tag (recommended)

npm install -g billion-context@pr-1270

Each push to this PR publishes a new version under the pr-1270 npm tag.

Option B — Download artifact

  1. Download the artifact from the Actions run
  2. Extract the tarball and install:
tar xzf billion-context-pr1270.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

[bot] 🏷 Reviewed PR #1270 (branch 2026-09-24_kernel-0.0.88-pin, head dbad081e). Verified everything the PR claims, plus audited the kernel tarballs themselves version-by-version. Ready for human merge (cross-repo dependency bump → human-only per AGENTS §7.4).

Verified

  • Diff vs current master: exactly package.json 1 line + package-lock.json (version/resolved/integrity) — acp-kernel 0.0.86 → 0.0.88, exact pin (no caret), single commit, base is current origin/master (no stale-base risk).
  • Lockfile integrity hash matches the published tarball on the npm registry exactly; acp-kernel@0.0.88 is live (published 2026-09-24T09:28Z), so CI npm ci resolves cleanly.
  • Local pre-flight on the branch (fresh worktree + npm ci): typecheck clean; npm test 2457 pass / 0 fail / 9 skipped (E2E-gated) — matches the PR body; build success with dist-import-annotations: OK.
  • CI: all 9 checks green on the head commit (incl. test windows-latest 24, still running when the PR opened).

Kernel content audit (tarball diffs 0.0.86 → 0.0.87 → 0.0.88)

  • 0.0.87: gentle-nudge tail tip replaced — the old unconditional Compress all ranges in one call is gone from the bundle; the new conditional tip (fold the ranges you keep in ONE call … reappear in later nudges) is present. Emergency nudges keep their own separate section (distinct emergencyHeader nudge-pack key), consistent with the PR description.
  • 0.0.88: cache-report bucket relabeled as decided in [Enhancement] /acp-cache 报告无法区分客户端前缀漂移与上游缓存失效,建议接入 ACP_DUMP_BODY 做相邻请求前缀 diff 归因 #1254 — full-report and summary lines changed from ttl/other … (stable-prefix misses: TTL expiry / eviction) to upstream-ttl-or-client-rewrite (unattributed) … (stable-prefix misses: upstream TTL expiry / eviction or client-side wire rewrite — kernel cannot distinguish); ACP_CACHE_TOOL_DESCRIPTION and the cache-report.d.ts doc comment updated to match. Identity-check arithmetic untouched.

Regression review — existing behaviors touched, verdicts

  1. Compress tool parameter schema: 0.0.87 also ships the acp-kernel PR #172 (Layer 1) not in stable 0.0.46 — #362 data-loss/flooding still live until pin bump #374 superset (COMPRESS_PARAMETERS: adds startRef/endRef + flat single-range form). Strictly additive — the documented contract is "pre-validating hosts must never kill a call the kernel would honor"; no previously valid shape removed. Verdict: deliberate, safe direction; bili's compress-parse tests pass against it.
  2. Nudge text (both compression modes): prompt-text only, no wire/message-shape change; this is the intended [bug] 读文件期间高频触发压缩,上下文被反复压回 10 万以下,任务无法完成 #1198 fix.
  3. /acp-cache output: only the label line changed; totals / identity-check / spike lines are byte-identical between versions.
    No config-schema, persistence-format, or wire-shape changes anywhere in the bump.

Two minor findings (PR-body wording only — no code action needed)

  1. The body's 0.0.87 section omits the acp-kernel PR #172 (Layer 1) not in stable 0.0.46 — #362 data-loss/flooding still live until pin bump #374 COMPRESS_PARAMETERS superset that also ships in this bump (regression item 1 above). Worth a line in the PR description so release notes are complete.
  2. The body quotes the new bucket label as `upstream ttl/drop (stable prefix, not proxy rewrite)`; the string actually shipped is upstream-ttl-or-client-rewrite (unattributed). Cosmetic mismatch — behavior matches [Enhancement] /acp-cache 报告无法区分客户端前缀漂移与上游缓存失效,建议接入 ACP_DUMP_BODY 做相邻请求前缀 diff 归因 #1254's decision.

中文摘要:已完整核验该 PR——diff 仅为 package.json + lockfile 的依赖行、基线是最新 master、lockfile integrity 与 npm 发布物一致、本地 typecheck/test/build 全绿、CI 9 项全过,并逐版本 diff 了 kernel tarball 确认实际改动范围(nudge 提示词条件化、cache 报告桶名诚实化);另发现两处仅存在于 PR 描述的措辞问题(0.0.87 还捎带了 #374 的 compress 参数超集;新桶名实际是 upstream-ttl-or-client-rewrite (unattributed)),代码本身无问题,可以合并(跨仓依赖按规约需人工合并)。

@ranxianglei
ranxianglei merged commit c49b779 into master Sep 25, 2026
9 checks passed
ranxianglei pushed a commit that referenced this pull request Sep 25, 2026
…ema legitimately shifts the recent-window boundary (#1207 rebase onto #1189/#1273/#1270)
@github-actions github-actions Bot mentioned this pull request Sep 25, 2026
@ranxianglei
ranxianglei deleted the 2026-09-24_kernel-0.0.88-pin branch October 15, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant