Repository navigation
[PR] docs: unified announcement surface — README/CONFIGURATION en+zh/AGENTS KDD/architecture map (#5548 P4) - #5565
ranxianglei wants to merge 10 commits into
Conversation
…rer (lane A, #5548 P1) Part of #5548 (approved unified announcement panel design, phase 1 of 4). Converge the hand-copied panel banners (pck-default-off #5079, wm-fastpath-intro #5469) into one registry (src/notices.ts) with a shared record schema, kind-priority/tone/dismiss-mode pure functions, and one client render loop (textContent only, max 5 header banners + overflow list card). Overview payload now carries a unified notices array; new GET /__bili/notices endpoint. Dismissal store, endpoint and allowlist semantics preserved (allowlist widened to registered dynamic ids for lanes B/C). No config surface change.
…S KDD/architecture map (#5548 P4)
📦 Built Package ArtifactBranch: Latest build — install this exact versionnpm install -g billion-context@0.0.7927-pr.5565.8f61e31This exact version is immutable and reproducible. The rolling Recent builds (commit → version)
Download artifact
tar xzf billion-context-pr5565.tgz
npm install -g packageInstall instructions are refreshed on each push. |
…ottle (review fix) The #5548 unified-announcement-surface PR (P4 docs) described the remote feed as '搭自更新节流便车' (riding the self-update throttle piggyback). The code (src/remote-announcements.ts) only reuses update.js's CHECK_INTERVAL_MS cadence and egressDispatcher, on its own timer with its own warnOnce + last-known-good failure path — its log line reads 'independent of auto-update'. Tightened the phrase to state the two things actually shared (cadence + egress) so the spec doesn't imply shared throttle/backoff. README already phrased this correctly.
(ai: vllm-qwen/qwen3.8-27b) PR 审核结论:可合并(stacked——需先合 P1 #5557 → P2 #5561 → P3 #5563,再合本 PR)。纯文档 PR,我把 KDD #16 与四个文档面的每条具体断言都对照 P4 head 的代码逐条核实过,全部成立;发现并顺手修掉了 1 处「措辞与代码事实不符」(见末节,独立标注 commit)。 结构化八问
逐条核实(对照 P4 head 代码,均真)
发现并已修(小问题直接修 · 独立标注 commit)
diff 整洁度 / CI6 个 判定:可合并(待 P1–P3 先落地后)。 |
… 2026-11-02_notices-docs-p4
🔶 需要决策 Why I stopped (auto-fix lane, attempt 1/3): PR #5565 conflicts with master, but this is not a mechanical conflict — it is two mutually-incompatible implementations of the same #5548 announcement feature, one on each side. Resolving it requires choosing which implementation is canonical. That is a product decision, not a rebase, so I am not pushing anything to the branch; the PR is left untouched (still conflicting). What I found (verified against live git this run):
Net effect: the PR's code is a stale snapshot of work master has since redone more completely, and most of its docs are already present in master's 八问(决策请求)
Options
Recommendation: A — master is newer, carries a week of review fixes plus a user-facing feature (iot-thinking warning) the PR lacks, and its own AGENTS KDD #16 already documents the target architecture; the PR branch went stale on Nov 3. Treat master as canonical, salvage only genuinely new docs, dedupe KDD #16. Once you pick, I'll execute that option in a follow-up pass (it exceeds the small-mechanical scope of this auto-fix attempt). |
(ai: vllm-qwen/qwen3.8-27b)
Part of #5548 (unified announcement panel, design v2 approved) — phase 4 of 4, final. Stacked on #5557 (P1 registry) → #5561 (P2 local JSON) → #5563 (P3 remote + CI gate); merge those first, then this.
What ships (docs only, no code)
~/.config/billion-context/announcements/*.json), remote publish/retract = push to master, targeting dimensions, the three dismiss modes, max-5-banners behavior,BILI_ANNOUNCEMENTS_URLrelay escape hatch, fail-open + zero-telemetry guarantees.BILI_ANNOUNCEMENTS_URLrow in the env-only variables table (default = official raw URL; path-relocation class; why it has no config-file twin), added to the precedence-model path-relocation list, and a Config File Locations row for the announcements directory.Verification: docs-only diff (6 files, +21/−2), gate script smoke still green (
node --import tsx scripts/validate-remote-announcements.ts→ OK), no code touched so no test/typecheck delta. Exit criterion from §七: 文档评审通过 — this PR is that review surface.八问
BILI_ANNOUNCEMENTS_URL(默认官方 raw 地址)与 announcements/ 目录。