Repository navigation
chore(docs): sync API ledger mirror with rubash #3145 (+5 symbols) - #976
Merged
Merged
Conversation
caomengxuan666
marked this pull request as ready for review
November 10, 2026 05:00
caomengxuan666
added a commit
that referenced
this pull request
Nov 10, 2026
本 PR 是 rubash PR #3248 台账面的镜像同步:把 `docs/api-ledger.md` 的 expansion-error discard addendum(两条 Addendum + `Session::take_classification` 行口径更新)字节级同步到 niubash 侧,使两仓台账保持字节一致。这是 rubash 侧合入的前置门(先例:niu PR #976)。 同步验合: - 同步前:niu 当下 master 台账与 rubash PR #3248 基底(`530d7063`)台账 sha256 同为 `56551e95bffbad7a90ead051aef3965c0ca24c73920022067f2cbfcd79059d32`——基线无漂移。 - 同步后:本 PR 的 `docs/api-ledger.md` sha256 = `09ecf2c203187eaa516ce114be2a783df9b7db81750e04edb12928b5f31b1882`,与 rubash PR #3248 头 `1b8ea5b7` 的台账全文逐字节一致。 - 变更面:仅 `docs/api-ledger.md` 一个文件,+30/−1,不碰任何代码。 本 PR 删除了什么:台账中 `Session::take_classification` 一行旧口径文本(1 行),由含 expansion-error discard 的新口径行替换;无其他删除。 Refs unixwin/rubash#3248 Refs unixwin/rubash#2794
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
账本镜像同步(随 rubash PR #3145)
Refs unixwin/rubash#3145
rubash 与 niubash 各持一份
docs/api-ledger.md,两份必须逐字节一致。rubash PR #3145 给 rubash 侧账本新增 5 个符号(账本计数 281→286),niubash 镜像未同步,导致 #3145 的niubash builds against this treecanary 红在第一步cmp。本 PR 把 #3145 的账本 diff(源 diff:git diff 88047f50..ed7aec50 -- docs/api-ledger.md,仅账本行增改)原样应用到 niubash 侧,只动docs/api-ledger.md一个文件(+7/−1)。+5 符号一句话:新增
Session::has_special_compspec选择性特殊 compspec 查询面——§2.3 新行 1 条(SpecialCompspecKind:Default/Empty/Initial三槽分开查询)、§4 补记 1 行、符号清单 item 1 + variant 3 + method 1。证据
cmprc=0)。ed7aec50的账本副本cmp逐字节一致(rc=0)。.github/workflows/api-ledger-sync.yml(clone rubash 后cmp docs/api-ledger.md ../rubash/docs/api-ledger.md),本地按同一形式复跑:对 #3145 头状态 rc=0 全等;对当前 rubash master(a432632d,#3145 尚未合入)仅在 char 98300 / line 1261 处不同,即 §2.3 新行本身——#3145 合入后该腿自动转绿。合入顺序由队长编排,本 PR 保持草稿。删除节豁免
本 PR 为纯 docs/chore 同步,按既定裁定(纯杂务/docs PR 豁免)不设「本 PR 删除了什么」节;实际删除仅账本内 1 行旧表述被新表述替换(+7/−1 中的 −1),无其他删除。