Repository navigation
WIP: docs(ledger): census backfill — record the Executor::new constructor path - #2100
Merged
Merged
Conversation
…path (niubash#694) The completeness half of the canary flags one path as consumed-by-niubash but unrecorded: rubash::Executor::new — niubash#694's dump / pretty-print fix (landed by niubash#695) borrows a bare Executor in read_invocation_script_operand to run find_script_on_path for a slash-less script operand, naming the constructor under its root re-export spelling, which no census ever registered. The gap is pre-existing on master — it surfaced in the pairing job's ledger step once the #2095/#695 lockstep cleared. Records the path with a header addendum, a §0 backfill census basis (rubash b41150e / niubash 4f9e8a17; occurrence count measured under the §0 rule: 1, in src/main.rs), a §2.1 root re-exports row amendment, a §4 lifecycle-row note, and one §6 entry (method rubash::Executor::new). Docs only; the mirror commit lands in niubash under the same branch name.
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::Executor::new消费路径,解 canary covers 红,master 既存缺口。背景
canary 的「Ledger covers everything niubash consumes」步现红:1 个 MISSING——
rubash::Executor::new。出处:niubash#694 的 dump / pretty-print 修复(niubash#695 落地)在 niubashsrc/main.rs的read_invocation_script_operand里借裸Executor跑引擎自家find_script_on_path(无斜杠脚本操作数的 $PATH 搜索),以根重导出拼写命名构造器,而账本普查从未登记该消费路径。此红在 master 既存——#2095/#695 锁步对清掉 E0063 漂移后,配对 job 才走到 ledger 完整性步而显形(fix-fd-batch 收敛节在案),与任何在飞 PR 无关。本 PR
只改
docs/api-ledger.md(+37/−2):b41150e4/ niubash4f9e8a17,occurrences 按 §0 机械口径实测——rubash::Executor::new(1),恰 1 文件src/main.rsnewmethod rubash::Executor::new(按 kind、path 排序置于 method 块首)配对
niubash 侧同字节 PR:unixwin/niubash#697 。两仓账本须逐字节一致:本 PR 的 canary cmp 步在配对 PR 合入前会红(对 niubash master 的旧账本),对方的 ledger-sync 亦然——这是配对账本的既定合入形态,两 PR 须紧邻合入,次序请主会话裁定。本簇不自合。
Refs niubash#694(消费出处);本 PR 不关任何 issue。
本地验证(补登后树实测)
scripts/check-api-ledger.py --self-test:通过all 157 ledger symbols present,exit 0--repo . --niu <niubash master 树>):exit 0,all 79 consumed niubash paths are recorded;补登前同一命令 exit 1、恰为这 1 个 MISSING(另有 2 条 recorded-but-not-consumed warning 为既存、与本次无关)cmp:逐字节一致