Repository navigation
[PR] docs: batch-migrate 14 root-level documents into docs/ (consolidation + master index + redirect placeholders) | docs: 14 个根级文档一次性迁入 docs/(集中 + 总目录 + 重定向占位) - #5920
Conversation
📦 Built Package ArtifactBranch: Latest build — install this exact versionnpm install -g billion-context@0.0.8593-pr.5920.bc711d9This exact version is immutable and reproducible. The rolling Recent builds (commit → version)
Download artifact
tar xzf billion-context-pr5920.tgz
npm install -g packageInstall instructions are refreshed on each push. |
…-strip grammar (#5920) The doc centralization replaced 'CONFIGURATION.md →' with 'docs/configuration.md →' in LEGACY_STATUS_SECTION_STARTS. That list is recognition grammar for reports persisted BEFORE the change: conflict acp_status reports from pre-#5920 builds carry the old pointer line, and once it stops matching, stripAcpStatusBlocks' legacy consumption halts at that line — the pointer plus every following report line leak back into model-visible text on every resend of such history after an upgrade. Keep BOTH spellings: old reports strip exactly as on master, new reports (post-centralization pointer) strip too. Regression test pins both directions.
[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b) 本轮对该 [PR] 线程做了代码核对与 CI 确认(工作已由前序会话完成,未重做)。以下状态均为回复时 live 核实。 查重:不重复——open [PR] 行中无其他 PR 指向同一主题。 当前状态(live)
核对结论(对照 PR 描述逐项,全部一致)
review 发现一处问题,已当场修掉
标签:documentation / p3 / scope/docs(按本 PR 自身 diff 判定:纯文档搬家 + 小兼容修复) 八问
判定:等新 sha 的 CI 全量分片转绿即可合并(合并动作由人执行)。 |
[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b) 进度同步(我的监控会话刚被平台强制重启过一次,现恢复):
|
[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b) 最终判定:CI 全绿,可合并(合并动作由你执行)。 live 核实(GitHub Actions run,final head
PR #5920 当前构成: |
…tubs (owner request 2026-11-08)
…-strip grammar (#5920) The doc centralization replaced 'CONFIGURATION.md →' with 'docs/configuration.md →' in LEGACY_STATUS_SECTION_STARTS. That list is recognition grammar for reports persisted BEFORE the change: conflict acp_status reports from pre-#5920 builds carry the old pointer line, and once it stops matching, stripAcpStatusBlocks' legacy consumption halts at that line — the pointer plus every following report line leak back into model-visible text on every resend of such history after an upgrade. Keep BOTH spellings: old reports strip exactly as on master, new reports (post-centralization pointer) strip too. Regression test pins both directions.
4d1c3c0 to
f5269e4
Compare
(ai: vllm-qwen/qwen3.8-27b) 本 PR 因分支与 master 合并冲突被卡。本次已把 master rebase 进 PR 分支、解决全部冲突并 force-push(冲突 rebase 场景下的授权推送)。 结构化八问:
状态:推送前 判定:冲突已全部解决,PR 处于可评审/可合并状态,待新 head 的 CI 跑完转绿即可由 owner 合并。 |
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.1084-master.48ee6a7 # this exact build
npm install -g billion-context@master # always the newest merged build
|
…-target the generated reference to docs/configuration.md Upstream delta 354e21e..48ee6a7 (75 files, 4 commits): - 05bb1dc docs: centralize 14 root docs under docs/ with hub index + redirect stubs - fad4b62 fix(acp-panel): keep legacy CONFIGURATION.md pointer prefix in status-strip grammar (ranxianglei#5920) - f5269e4 docs: codify documentation layout rules in AGENTS.md §3 - 48ee6a7 Merge pull request ranxianglei#5920 The only real content conflict was the two generated reference files: upstream turned CONFIGURATION.md / CONFIGURATION.zh-CN.md into redirect stubs and moved the generator output to docs/configuration.md / docs/configuration.zh-CN.md (tools/gen-docs.mjs MD_EN / MD_ZM paths, plus the docs-sync job's `git diff --exit-code` path list in .github/workflows/ci.yml). Took the upstream stubs verbatim and re-targeted my seed change: the `"chat"` builtin + shipped-pack layer now lands in docs/configuration.md:293 and its zh-CN twin, regenerated with `node tools/gen-config-docs.mjs generate` (fixed point re-verified). website/docs/index.html and website/main.js auto-merged; the docs fixed point holds on the merged tree. kernel stayed at 0.0.187 and was rebuilt before measuring. Lane anchors intact: src/server/relay.ts:2070 still calls `pipePluginJson(toClient, res, undefined, prepared.protocol, ...)`, src/storage/mysql.ts:77 still exports MYSQL_SCHEMA_VERSION, and the lane symbols are unchanged (stripDriftResidue 6, isDraftDump 6, containsRenderTagText 21, mayStartDegenerateRenderTag 6, DRIFT_BARE_MISMATCH 3, DRAFT_CLOSE_TAIL 3). Gates: tsc 0, four guards 0, gen-config-docs fixed point. Tests: issue5175 58/0, tag-echo 79/0, issue2190 32/0, golden-storage-render 5/0, storage-engine-proofs 12/0, native-compact-terminal 1/0, issue4666 2/0, acp-status-marker-block 13/0.
Sync the stale PR head (b219708, 112 commits behind master) onto current master to clear inherited-red test lanes and the merge conflict. Conflicts resolved by union of intent: - src/upstream-fail.ts: keep this PR's phase-agnostic upstream-timeout hint (its regression test asserts the hint does NOT say 'idle budget expired'); also retain master's new upstream-headers-timeout kind entry (required by the UpstreamFailureKind union + isFailFastUpstreamKind). - CONFIGURATION.md / .zh-CN.md: adopt master's redirect stubs (doc moved to docs/ per #5920) and port this PR's timeout-diagnostics edits into docs/configuration.md / .zh-CN.md.
…yout) Move WIRE-CONTRACTS.md/.zh-CN.md from repo root to docs/wire-contracts.md(.zh-CN.md), list them in docs/index.md + docs/index.zh-CN.md, and retarget the six inbound (WIRE-CONTRACTS.md) pointers. Root keeps only README/AGENTS/CHANGELOG + redirect stubs per the 2026-11-08 doc-layout ruling (ranxianglei#5920); new docs must live under docs/ and be indexed in the same PR. Review-driven fix for ranxianglei#6032 (feature ranxianglei#1295); no code behavior change - doc links/comments only.
The doc-centralization ruling (owner ruling 2026-11-08, #5920) keeps new non-translation docs in docs/ — the root keeps only README/AGENTS/CHANGELOG + stubs. This PR added WIRE-CONTRACTS.md (+zh-CN) at the repo root; move both to docs/wire-contracts{,.zh-CN}.md, add the docs/index{,.zh-CN} entries the ruling requires, and repoint the five code/test comments plus the two configuration-doc references. No root stub: the path never shipped on master (PR unmerged), so no external link can exist.
master moved CONFIGURATION{,.zh-CN}.md to docs/configuration{,.zh-CN}.md
(docs layout ruling #5920; root keeps redirect stubs). Resolution: keep
master's stubs at the root and relocate this PR's one-line CA-bundle
note (#5802 CA-only narrowing of combined-ca.pem) onto the same
paragraph in its new home, en+zh. Code commits (ad4a97a, d72c1f2)
are untouched.
Resolve the PLUGIN.md conflict caused by master moving the protocol doc to docs/plugin-protocol.md (#5920): root PLUGIN.md takes master's redirect stub; the session-name/residency/direct-write notes added in this PR (#5708) are relocated byte-exact into docs/plugin-protocol.md. Net PR diff vs master is +8 lines in docs/plugin-protocol.md only.
Resolve the CLIENTS.md / CLIENTS.zh-CN.md conflict caused by the docs/ reorganization (#5920): master moved both files to docs/clients.md and docs/clients.zh-CN.md leaving one-line redirect stubs at the old root paths. Keep master's stubs at the root and land the PR's dsh experimental-inspector coexistence note (#5148) in the new docs/ home instead. Adapted the note's cross-reference from CONFIGURATION.md to configuration.md to match the lowercase relative-link convention used throughout docs/. No other file changed.
Conflict resolution for #5118 (merge state dirty): - src/session.ts residentPressure(): union of #5111 active-peer permanence judgment (PEER_ACTIVE_WINDOW_MS, activeOtherBytes) and master's #5782 cold-load grace exemption (!graced && ...); doc comments merged likewise. - CONFIGURATION.md / CONFIGURATION.zh-CN.md: take master's redirect stubs (docs moved to docs/ per #5920); port this PR's compress.promptPack chat-pack line into docs/configuration.md + .zh-CN.md by restoring the seed entry and regenerating with tools/gen-config-docs.mjs (zero drift). - website/config-reference/compress.yaml + website/docs/index.html: restore the PR-side promptPack chat entries that hunk alignment silently dropped. Verified locally: typecheck clean; tests/issue{3126,3859,3918,4788,5111,5782} all pass (28/28); gen-config-docs coverage OK; config-surface-guard OK. Full-suite verdict deferred to CI on the pushed head.
…onflicts
Criss-cross merge: 90 conflicted paths resolved master-side (branch carried
foreign copies of master commits; every non-PR conflict verified as pure
master forward progress) with the PR's 15-file delta re-applied verbatim.
Docs retargeted to docs/clients{,.zh-CN}.md + docs/technical-notes.md per
the #5920 move; 4 master-only files dropped by the multi-base merge
(mdrender.ts + 3 tests) restored.
… round 8) Master advanced 298 commits (69327e3 -> 33104b1). Six conflicted files, all resolved by union of intent: - src/server.ts: import union — master's preflight additions (estimateRawBodyBreakdown/PreflightDeps/RawBodyBreakdown) + this PR's DEFAULT_DECIDE_TIMEOUT_MS rename (old DECIDE_TIMEOUT_MS name no longer exported by nudge-decide.ts). - src/server/prepare-anthropic.ts: import union — master's dedupeAdjacentOutputConfig + recordNudgeObservation kept, this PR's applyDecisionReasoningPolicy kept, makeFoldPointReasoningDroppable dropped (removed from server.ts by ranxianglei#6132; zero remaining refs). - CONFIGURATION.md / CONFIGURATION.zh-CN.md: take master's redirect stubs — the full reference moved to docs/configuration[.zh-CN].md in ranxianglei#5920; this PR's regeneration of the root files is superseded. - website/main.js + website/docs/index.html: take master, then regenerate from the merged compress.yaml seed (node tools/gen-config-docs.mjs generate; i18n ok: 255 keys). Resulting delta vs master = exactly the decide-lane additions (nudgeDecisionTimeoutMs, nudgeDecisionReasoning, nudgeDecisionMaxTokens 200 -> 1024) in both languages. Verified: tsc --noEmit clean; targeted suites green — nudge-decide + issue3004 selfheal + config-surface-guard 24/24, nudge-model-decided e2e 9/9. Full-suite verdict = remote CI.
Resolve the three conflicts caused by master's docs move (#5920) and the #5779 residentMaxBytes default change: - root CONFIGURATION.md / CONFIGURATION.zh-CN.md: keep master's redirect stubs - re-target the #4893 residentMaxBytes sizing guidance into docs/configuration.md + docs/configuration.zh-CN.md (table row via the generator, sessions section description hand-written) - website/config-reference/process.yaml: merge master's 4 GiB default (#5779) wording with the #4893 concurrent-sessions sizing guidance (en + zh) - regenerate the config-docs marked blocks (tools/gen-config-docs.mjs; website/main.js + website/docs/index.html unchanged)
Merge master (33104b1) into 2026-10-27_dsh-keep-command-compact to clear the upstream merge_conflict blocker for PR #4883. Conflicts (8 in 6 files) — all doc-layout reorg (#5920) + one code file: - src/agent/dsh-native.ts (2): kept master's #5686 boot-note latch structure verbatim; injected the PR's keepCommandCompact text into the web-app branch and the non-web trace branch (docs/configuration.md path). - CONFIGURATION.md / .zh-CN.md: root = master's redirect stub; ported the PR's 5 keepCommandCompact entries into docs/configuration(.zh-CN).md. - CLIENTS.md / .zh-CN.md: root = master's stub; ported the PR's keepCommandCompact dsh-section edits into docs/clients(.zh-CN).md. - LIFECYCLE.md: root = master's stub; ported the PR's BILI_DSH_KEEP_COMMAND_COMPACT ledger row into docs/lifecycle.md. Verified: npm run typecheck clean; node --import tsx --test tests/dsh-native.test.ts = 76/76 pass.
…+ GC coverage) Master moved CONFIGURATION.md/zh-CN.md to docs/configuration.md (doc layout ruling #5920), leaving redirect stubs. Resolved the whole-file conflict by taking master's stubs for the old paths and re-applying the PR's two doc changes (BILI_SESSION_GC CCR-export-tree coverage + the 'Windows: moving persistence off the system drive (#4699)' section) to the new docs/ location. All source/test files auto-merged cleanly; PR changes verified intact.
The feature commit's docs edits landed on root-level stub files after master moved them to docs/ (#5920). Re-target the BILI_LAUNCHER_LANE and attach-gate content to the new docs/ location.
…tecture-docs gate) The PR adds a new src/ module (fold-taint.ts) but the architecture-docs CI lane (tools/check-architecture-docs.mjs) requires every src/ file to be listed in reference/architecture.md in the same PR (#5920 docs layout rule). Add the one-line map entry so the lane goes green. Closes nothing; completes PR #7069's doc registration.
…tecture-docs gate) The PR adds a new src/ module (fold-taint.ts) but the architecture-docs CI lane (tools/check-architecture-docs.mjs) requires every src/ file to be listed in reference/architecture.md in the same PR (#5920 docs layout rule). Add the one-line map entry so the lane goes green. Closes nothing; completes PR #7069's doc registration.
… text into docs/ layout (#5920 move)
docs: 14 个根级文档一次性迁入
docs/(owner 指令 2026-11-08)干了什么
仓库根目录 14 个设计/配置文档一次性集中到
docs/,根目录只剩 4 个入口文件(README×2 / AGENTS / CHANGELOG):CONFIGURATION.md/.zh-CNdocs/configuration.md/.zh-CNCLIENTS.md/.zh-CNdocs/clients.md/.zh-CNTECHNICAL-NOTES.md/.zh-CNdocs/technical-notes.md/.zh-CNMESSAGE-IDENTITY.md/.zh-CNdocs/message-identity.md/.zh-CNSESSION-IDENTITY.md/.zh-CNdocs/session-identity.md/.zh-CNPLUGIN.mddocs/plugin-protocol.mdLIFECYCLE.mddocs/lifecycle.mdUNIFIED_LOOP_SPEC.mddocs/unified-loop-spec.md(顶部加「历史设计」注)AUTO-MERGE-GUARDRAILS.mddocs/auto-merge-guardrails.md新增
docs/index.md/docs/index.zh-CN.md文档总目录。原路径全部留单行重定向占位(> Moved to …),1–2 个版本后删除(卫生账已记入docs/lifecycle.md§5,带解除条件)。为什么
docs/是唯一 hub,reference/(惰性加载施工参考)保持原样不动。package.jsonfiles数组(npm 包继续带上两份配置文档)scripts/config-surface-guard.mjs/scripts/lifecycle-ledger-guard.mjs的运行时读路径 + 报错文案docs-sync的 diff 路径CONFIGURATION.md改为docs/configuration.md(仓库根相对,用户点开就是对的)验证
tools/gen-config-docs.mjs generate两连跑幂等;config-surface-guard、lifecycle-ledger-guard均绿(读新路径)docs/configuration.md两版 diff 仅含路径/引用更新blob/master/*.md链接与展示文案同步改到新路径范围
一个 PR 搞定(owner 要求);文档配图(Two compression modes / 客户端姿态总览 / 身份阶梯)随后另开 PR。