Skip to content

WIP: docs(ledger): census backfill — record the Executor::new constructor path - #697

Merged
caomengxuan666 merged 1 commit into
masterfrom
chore/ledger-executor-new-backfill
Oct 29, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
chore/ledger-executor-new-backfill

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

同字节镜像 rubash 侧 ledger 补登:docs/api-ledger.md 是两仓一份文档、必须逐字节一致。

背景

canary 的完整性步在 master 上标红 1 个 MISSING:rubash::Executor::new——本仓 #694 的 dump / pretty-print 修复(#695 落地)在 src/main.rs 的 read_invocation_script_operand 里借裸 Executor 跑引擎自家 find_script_on_path,以根重导出拼写命名构造器,账本从未登记。rubash 侧登记 PR:unixwin/rubash#2100 。

本 PR

只改 docs/api-ledger.md(+37/−2,与 rubash 侧补登逐字节同文):头部 addendum、§0 补登普查基线(rubash b41150e4 / niubash 4f9e8a17;rubash::Executor::new 按 §0 口径实测 1 次、恰 src/main.rs 一文件)、§2.1 根重导出行、§4 生命周期行、§6 一条 method rubash::Executor::new。

配对与合入次序

两 PR 须紧邻合入(先例 #2048/#689:rubash 先、niubash 后),次序请主会话裁定。本簇不自合。 本 PR 的 api-ledger-sync 在 rubash 侧补登合入前对 master 旧账本会红,属配对账本的既定形态。

Refs #694(消费出处);本 PR 不关任何 issue。

本地验证

  • 两仓副本 cmp:逐字节一致
  • rubash 侧同命令实测:presence all 157 ledger symbols present;covers(对 niubash master 树)exit 0、all 79 consumed niubash paths are recorded(补登前 exit 1、恰此 1 个 MISSING)

…path (niubash#694)

Mirror of the rubash ledger backfill: docs/api-ledger.md is one document in two repos and the two copies must stay byte-identical. Records the constructor path rubash::Executor::new — consumed here since #694 (landed by #695) in src/main.rs, where read_invocation_script_operand borrows a bare Executor to run find_script_on_path — that the canary's completeness check flags as consumed-but-unrecorded on master. Docs only; no code change.
@caomengxuan666
caomengxuan666 marked this pull request as ready for review October 29, 2026 10:37
@caomengxuan666
caomengxuan666 merged commit 7048de6 into master Oct 29, 2026
10 of 12 checks passed
@caomengxuan666
caomengxuan666 deleted the chore/ledger-executor-new-backfill branch October 30, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant