Repository navigation
[GAP-13] Ledger cleanup: BindEntry/BindKind leave the ledger, three assembly faces read 1 (Refs #2833) - #2852
Merged
Merged
Conversation
…ssembly faces read 1 (Refs #2833) The GAP-13 host lane landed (niu #921, merge `9388c9cf`): `bind_surface.rs` is deleted and niubash production refs to the `bind_registry` types are 0. This record closes the two ledger items the entity wave parked: - §6: delete the `BindEntry` / `BindKind` / `KEYMAP_NAMES` items plus the three `BindKind` variants (284 → 278 symbols). - §2.1: the `shell::bind_registry` row is rewritten as exited (kill-row precedent) — the 23-reference consumption claim is gone; the exit record keeps the audit trail. - §2.3: `Session::register_binding` / `initialize_readline` / `is_known_keymap` read 1 each at production caliber (`shell.rs:3197`, `shell.rs:3164`, `repl.rs:5276`; the two test-module `is_known_keymap` calls are noted, not counted). - §4: the bind_registry row is annotated retired (GAP-13). - Header addendum records the wave (284 → 278). Checker: `--self-test` green, presence 278/278, `--niu` (niu master `9388c9cf`) green — all 97 consumed paths recorded. The 6 remaining `recorded but not consumed` warnings are the pre-existing stale items, left for the next bookkeeping wave (not this lane's). 本 PR 删除了什么: - §6 的 `BindEntry` / `BindKind` / `KEYMAP_NAMES` 项 + 3 个 `BindKind` 变体(共 6 行)。 - §2.1 `shell::bind_registry` 行的消费陈述(23 引用 + KEYMAP_NAMES), 改为退出记录(行本身保留,依 kill 行先例)。 净行数:+17/−11(净 +6),仅 `docs/api-ledger.md`。 Refs: #2833, unixwin/niubash#863, unixwin/niubash#921.
caomengxuan666
marked this pull request as ready for review
November 5, 2026 19:29
caomengxuan666
added a commit
that referenced
this pull request
Nov 6, 2026
…> 0 (Refs #863) (#2858) [B5-11] Ledger: raise has_compspec_at 0 -> 1, retire has_compspec 1 -> 0 (Refs #863) Follow-up bookkeeping for the merged B5-11 host migration (niu #926, merge `d4879b4b`): the host's completer routing gate now reads `Session::has_compspec_at` (one production call, completer.rs:637), and the name-form `Session::has_compspec` has zero production callers left (the two shell.rs reads are test-module only, noted in-row, not counted). Ledger only; no Rust touched. Checker: presence 279/279 + self-test green. Canary's ledger leg will read red until the niu mirror copies this ledger (expected lockstep debt, same as #2852 -> #923). Refs unixwin/niubash#863, #2856. 本 PR 删除了什么:两行账本记录的 staged-0 状态(`has_compspec_at` 的 "Recorded staged ahead of the host adoption" 与 `has_compspec` 行的旧门描述);无产品代码增删。
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.
[GAP-13] Ledger cleanup: BindEntry/BindKind leave the ledger, three assembly faces read 1 (Refs #2833)
The GAP-13 host lane landed (niu #921, merge
9388c9cf):bind_surface.rsis deleted and niubash production refs to thebind_registrytypes are 0. This record closes the two ledgeritems the entity wave parked:
BindEntry/BindKind/KEYMAP_NAMESitemsplus the three
BindKindvariants (284 → 278 symbols).shell::bind_registryrow is rewritten as exited(kill-row precedent) — the 23-reference consumption claim is
gone; the exit record keeps the audit trail.
Session::register_binding/initialize_readline/is_known_keymapread 1 each at production caliber(
shell.rs:3197,shell.rs:3164,repl.rs:5276; the twotest-module
is_known_keymapcalls are noted, not counted).Checker:
--self-testgreen, presence 278/278,--niu(niu master9388c9cf) green — all 97 consumed pathsrecorded. The 6 remaining
recorded but not consumedwarningsare the pre-existing stale items, left for the next bookkeeping
wave (not this lane's).
本 PR 删除了什么:
BindEntry/BindKind/KEYMAP_NAMES项 + 3 个BindKind变体(共 6 行)。shell::bind_registry行的消费陈述(23 引用 + KEYMAP_NAMES),改为退出记录(行本身保留,依 kill 行先例)。
净行数:+17/−11(净 +6),仅
docs/api-ledger.md。Refs: #2833, unixwin/niubash#863, unixwin/niubash#921.