Publish Release Notes has been red since 2026-10-10: the 0.1.191 backfill
entry landed at 401 chars, and the 0.1.192 backfill (f24e3e8d) added a
520-char bilingual summary. The validator exits on the first offender, so
both must be trimmed in the same push.
- 0.1.192: 520 -> 399 (condense the bilingual pair, keep #2658/#2596/#2664 refs)
- 0.1.191: 401 -> 392 (drop the 'ordinary ' qualifier on fold drift)
Verified locally with the exact validation script from release-notes.yml
(schema:1, 1..20 entries, semver, dedup, tier, <=400 summary, date) — all
14 entries pass.
Fixes the failed runs:
- https://github.com/ranxianglei/billion-context/actions/runs/38152721758
- https://github.com/ranxianglei/billion-context/actions/runs/38040163381
PR #2085 as written amended the published 0.1.182 release-notes entry and
pointed the README at v0.1.182, but tag ancestry (fix(#1977)=78276c01,
/acp stale line=a2999ff4 are not ancestors of v0.1.182, both are of
v0.1.183) and the published npm 0.1.182 artifact (no CRITICAL UPDATE /
fetchStaleNotice strings in dist) prove the visibility policy shipped in
v0.1.183. Restoring the 0.1.182 entry verbatim (its original text is
correct as shipped), adding the 0.1.183 entry carrying the #1977 note
(tier routine, 367 chars, validator-clean), and pointing README en/zh at
v0.1.183.
A re-activation after a HEALTHY registration used to leave the bili tools
dead until dsh restarted — the same #2082 symptom reached from the success
ordering. apply() reset register.dead and activeCtx, but not
register.toolsReady: the tools registered into the deactivated context die
with it, while every registerTools()/maybeRetry() early-returns on the
stale stamp, so the new context never re-registers (and headersFor keeps
stamping plugin mode for a lane whose dsh side has no tools).
Clear toolsReady (and retryAt, per #1783's fresh-activation rule) when
apply() sees a context change. Scoped to a context CHANGE: a same-context
re-apply keeps its registration (the attach verify path already re-checks
on its own).
tests/issue2101-dsh-reactivation.test.ts: the success-ordering
re-activation test times out on the unfixed tree (verified) and passes
with the clear; a same-context re-apply stays healthy.
Option C compromise: keep the #1870 watcher and surfaces, silent by
default. New 'critical' tier is the only one that ever surfaces
(CRITICAL UPDATE READY / CRITICAL UPDATE AVAILABLE); 'recommended'
becomes record-only, and a pending restart alone no longer announces
itself — only when the pending span carries a critical entry.
- ReleaseTier += critical (parser + CI validator + docs)
- getUpdateVisibility: visible = critical-in-span (#1977)
- describeUpdateReady / acp_status wording: Critical update …
- release-notes/package.json: re-tier inflated recommended -> routine
(5 of 6 entries were 'recommended' — the nag #1977 complained about)
- CONFIGURATION.md/.zh-CN, release-notes/README.md, reference/release.md:
tier discipline documented
Supersedes #1979 (full removal) per owner: 不能完全静默.
The self-updater is a silent courier on native lanes: 'Restart to finish'
only reaches a log file, so disk runs new while the process runs old for
days. Ship a tiered, model-written release-notes channel and surface it
where users and agents actually look.
- src/update-notes.ts: watcher for the companion package
billion-context-release-notes (same mechanics as advisories/, #1481):
fetch + cache only, never installs. Derives the user-side span (every
release strictly newer than the running version) and the restart-pending
signal (disk newer than running).
- Surfaces: acp_status 'UPDATE READY/AVAILABLE (instance-level)' section
with the full span; /acp panel one-liner before the footer (same
stripper-safe slot + $-escape as the #1577 advisory line). Clean
installs stay byte-identical to pre-#1870 output.
- release-notes/: companion payload (schema 1; routine|recommended tiers,
model-written summaries, newest-first, cap 20) + process README.
- .github/workflows/release-notes.yml: validate + publish the companion
package on release-notes/** pushes (mirrors advisories.yml, version
churn handled by CI).
- Release gates (#1870): release-manual.yml checks the entry at dispatch
time, release.yml re-checks before tag/publish — a stable release
without a tiered entry fails the run. Prereleases exempt.
- Config: releaseNotesCheck (default ON, env BILI_RELEASE_NOTES_CHECK) +
releaseNotesUrl (BILI_RELEASE_NOTES_URL); documented EN/zh.
Fixes#1870