Commit Graph
18 Commits
Author SHA1 Message Date
ework-agent 6b16f16429 fix(release-notes): trim 0.1.192/0.1.191 summaries under the 400-char cap
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
2026-10-12 00:01:04 +08:00
ranxianglei a948abf8f1 release notes: 0.1.193 tier -> critical; add codex fold cache-leak line (#2733) 2026-10-11 22:37:39 +08:00
ranxianglei 61ebd963fd release notes: simplify 0.1.193 summary to three user-facing lines 2026-10-11 22:35:16 +08:00
ranxianglei f24e3e8db6 release notes: add 0.1.193 entry (recommended) + backfill the 0.1.192 carve-out entry that never merged back to master 2026-10-11 22:32:06 +08:00
ework-agent d99debf4ef docs(release-notes): add 0.1.191 recommended entry (#2621) 2026-10-10 16:14:49 +08:00
ranxianglei ec292beafb Update release notes summary for version 0.1.186 2026-10-06 19:08:52 +08:00
ework-agent 9a14c90923 docs(#2260): v0.1.186 release-notes entry — #2090 signed-upstream breaking change 2026-10-06 18:56:14 +08:00
ranxianglei 4c92390c19 docs(release-notes): plain-language wording for the v0.1.185 entry (#1870) 2026-10-05 18:24:36 +08:00
ranxianglei fc113565d6 docs(release-notes): add v0.1.185 entry (#1870) 2026-10-05 18:20:36 +08:00
ework-agent 2b1fb92190 docs(#2079 review): correct version attribution — #1977/#1603 shipped in v0.1.183, not v0.1.182
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.
2026-10-04 22:32:32 +08:00
ework-agent 164d2910d6 docs(#2079): call out the #1977 update-visibility change in the 0.1.182 notes and README en/zh 2026-10-04 22:30:38 +08:00
ranxianglei fbc7f03df9 fix(#2101): clear a stale toolsReady stamp on re-activation
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.
2026-10-04 21:15:31 +08:00
ework-agent 0bec76c864 release v0.1.184 2026-10-04 20:49:05 +08:00
ranxianglei 590331a288 docs(release): release-notes entries are opt-in — only severe releases need one (#1870 policy revision) 2026-10-04 16:25:06 +08:00
ework-agent 29553b0b12 docs(release-notes): add v0.1.182 entry (#1870) 2026-10-04 01:20:24 +08:00
dog 78276c0159 fix(#1977): release-notes visibility surfaces only for critical-tier releases
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: 不能完全静默.
2026-10-03 17:10:52 +08:00
ranxianglei 118d06cfb4 docs(release-notes): 0.1.181 entry + 0.1.180 backfill (#1870) 2026-10-03 15:54:18 +08:00
ranxianglei 613326eac2 feat: tiered release-notes visibility (#1870)
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
2026-10-01 22:36:49 +08:00