Skip to content

docs(readme): #768 — split byte-identical into raw + env-classified + clean - #890

Closed
arookieofc wants to merge 1 commit into
masterfrom
arookieofc/fix-768-readme-byte-identical
Closed

arookieofc wants to merge 1 commit into
masterfrom
arookieofc/fix-768-readme-byte-identical

Conversation

@arookieofc

Copy link
Copy Markdown
Member

Closes #768.

The "82 suites byte-identical (0 diff)" line read as raw stdout equality while sitting one line above an Env-zeroed list — the two could not both be raw (82 literal zero-diffs leaves nothing to zero). Re-measure on current master (scripts/true-baseline.sh unmodified, WSL GNU 5.3.0) puts raw byte-identical at 61-62/83.

The block now states the three numbers separately:

  • Raw: 62/83 — literal 0-diff runs
  • Env-classified: +20 — suites differing only on environment-bound lines, per-line attribution in the ledger (host-tool output, NTFS filename/attr, locale, /dev/tty, path form, signal table, coproc reap timing)
  • Clean: 82/83 — no rubash-caused diff after the audit, plus nameref's proven-GNU coproc race for the 83rd

The hand-typed Env-zeroed: name list (which had already drifted — extglob/ifs-posix are 0-diff in current runs) is replaced by a derivation note: the clean set is now documented as coming from the ledger's per-suite classification (AGENTS.md's rubash-caused vs environment-caused split), so the block cannot silently drift from the artifact again. The top-paragraph summary gets the same three-number framing.

Docs only.

…lassified + clean

"82 suites byte-identical (0 diff)" sat one line above an Env-zeroed
list and read as raw output equality. The two cannot both be raw: if 82
suites literally had 0 diff, nothing would remain to zero. Re-measure on
current master (scripts/true-baseline.sh unmodified, WSL GNU 5.3.0) puts
raw byte-identical at 61-62/83, with 21-22 residual suites.

The block now states the three numbers separately instead of one
ambiguous "byte-identical": raw 62/83 (literal 0-diff runs), +20
environment-classified (per-line attribution in the ledger: host-tool
output, NTFS filename/attr bits, locale, /dev/tty, path form, signal
table, coproc reap timing), clean 82/83 — plus nameref's proven-GNU
coproc race for the 83rd. The hand-typed Env-zeroed name list is
replaced by a derivation note so it cannot drift from the artifact, and
the per-suite class set is stated to come from the ledger's own
classification (AGENTS.md rubash-caused vs environment-caused split).
@github-actions

Copy link
Copy Markdown
Contributor

欢迎!这是你的第一个 PR 🎉 请确认已跑过本地测试套件;CI 通过后维护者会 review。

@caomengxuan666

Copy link
Copy Markdown
Member

CR #890 — 结论:REQUEST-CHANGES

独立评审(自建 clone + worktree,fetch 后复核)。Base 状态:本 PR 基于 2b98675;master 其后前移一个 docs 提交(78952f58,#886,仅 docs/admission-guard-audit-20260922.md / docs/proc-vfs-plan.md,与本 PR 零文件重叠),GitHub mergeable=CLEAN,无需 rebase。

与 #865(bd24cf8b)的叠加关系(重点审计项)

#865 在本区的落地:README.md 台账块 Byte-identical: 82 suites (0 diff) → 三行 env-audited 口径 gloss;README.zh-CN.md 对应两行。逐 hunk 对质结论:

数字审计(全部对质通过,无发明数字)

三口径与台账原文(docs/nameref-suite-residual-gnu-race-20261012.md §4-5:2026-10-12 净化重跑 on 764b9dd,A/B 41de831==764b9dde)逐一吻合:

  • Raw 62/83 = §4 "62 suites at 0 raw diff"(净化 WINUXSH_ROOT 后)。docs: README "Byte-identical: 82 suites (0 diff)" reads as raw equality; raw measures 61-62 on the canonical script, and the Env-zeroed list is shorter than the residual set #768 见到的 61/83、22 套带差快照与未净化泄漏轮特征吻合(AGENTS.md 规定该轮作废)——PR 取 62 是台账正确值,不是择优。
  • Env-classified +20 = §5 "20 suites: raw diffs inside the standing audited families"。逐一点数 §4 残差套件恰为 20(array nquote4 new-exp glob test type nquote intl coproc errors history trap varenv globstar case cond assoc comsub-posix vredir read),20 套全部在 README 82 名单内。
  • Clean 82/83:82 名单逐字计数 = 82;62+20+nameref = 83 自洽。
  • nameref 1 行 / GNU 竞态:原文未动,doc 指针有效(文件存在)。
  • 口径类列表(host-tool / NTFS / locale / /dev/tty / path form / signal table / coproc reap timing)与 §4 families 一一对应。

oracle 独立验证:本机 WSL /usr/local/bin/bash 实测 GNU bash 5.3.0(1)-release,与台账所述基线一致;scripts/true-baseline.sh 对非 5.3.0 硬性 FATAL exit 9(合约门)。

⚠️ PR 描述更正要求:描述声称 "Re-measure … scripts/true-baseline.sh unmodified, WSL GNU 5.3.0 puts raw byte-identical at 61-62/83"。owner 已确认贡献者本机 oracle 为 GNU bash 5.2.0——未改动的 true-baseline.sh 在 5.2.0 下不可能完成(exit 9),该复测说法不可信。合并文本不受影响(README 的 62 出处是仓内台账 §4-5 记录值,不依赖该声称),但请更正 PR 描述,把 62 的出处明确为台账记录值而非自称复测。

其余验证点

不合并。补齐 zh-CN 同步 + 更正 PR 描述后可复审批准。

@caomengxuan666

Copy link
Copy Markdown
Member

独立复审结论:REQUEST-CHANGES(维持)——修复轮尚未推送,两项待办均未完成

fetch 复核:head 仍为 5da1b280(原评审 6270522595 之后无 synchronize/force-push)。逐项:

  1. zh-CN 同步:未补。diff 仍仅 README.md(+16/−9);README.zh-CN.md 三处(L17 顶段"82 套逐字节一致"未拆分、L36-37 docs(hygiene): #849 注释/坐标漂移清扫 + #768 README byte-identical 措辞(closes #849 #716 #768 #767) #865 旧 gloss、L43-46 手打"归零的环境差"名单)在 head 与 merge-preview 中均维持旧态。台账 §4 残差 20 套点名中无 extglob / ifs-posix / quotearray(全台账 grep 零命中)——CN 侧名单漂移仍存活。
  2. PR 描述更正:未做。仍保留 "Re-measure … true-baseline.sh unmodified, WSL GNU 5.3.0 … 61-62/83" 的自称复测表述,62 的出处尚未改口为台账记录值。

merge-preview(对最新 master c9e14214,#886/#885/#873/#889 合并后):实测零冲突(master 变更不含任何 README)。

待办 = 原评审两项:同一 PR 补齐 zh-CN 三处 + 更正描述出处。补齐后即可复审批准;其余审计结论(数字对质、#865 叠加、越界)不变。

@caomengxuan666

Copy link
Copy Markdown
Member

独立复审结论:REQUEST-CHANGES(维持)——head 未动,两项待办均未完成

第三方复核(自建 worktree @ 5da1b280)。fetch 确认 head 与前两轮评审所评 SHA 完全相同,无 synchronize/force-push。

数字对质(独立重做,全部吻合,无发明数字): 与台账 docs/nameref-suite-residual-gnu-race-20261012.md 逐句对上——§4 "the 2026-10-12 clean full re-run on 764b9dde gives 62 suites at 0 raw diff" = Raw 62/83;§4 残差名单逐名清点恰为 20 套(array/nquote4/new-exp/glob/test/type/nquote/intl/coproc/errors/history/trap/varenv/globstar/case/cond/assoc/comsub-posix/vredir/read)= Env-classified +20;62+20+1 = 83;EN "Fully passing suites" 名单实数 82 名;§5 ledger 算术块与 PR 三口径一一对应。extglob / ifs-posix / quotearray 在 §4 的 20 套名单中零命中——zh-CN 侧手打名单漂移确认为真。

待办 状态
1. 同一 PR 补齐 README.zh-CN.md 三处:L17 顶段"82 套逐字节一致"拆三口径、L36-37 #865 旧 gloss 换 Raw/Env-classified/Clean、L43-46 手打 12 名单删除并加同文派生说明 ❌ diff 仍仅 README.md(+16/−9),zh-CN 三处在 head 与 merge-preview 中均旧态
2. PR 描述出处更正:"Re-measure … puts raw at 61-62/83" 的自称复测表述改为台账记录值(§4 净化重跑,61/83+22 套带差为未净化泄漏轮,按 AGENTS.md 作废) ❌ 描述原文未动

其余前轮审计结论维持:与 #865(bd24cf8)为接力关系、无覆盖;越界审计通过(仅 README.md,无代码);措辞与既有台账块风格一致。

merge-preview:对当前 master 9f512fc5(#915 合并后)git merge-tree 实测零冲突,无需 rebase。

待办 = 上表 2 项。补 push 后按前轮结论可直接复审批准,无需重复本页审计。

@caomengxuan666

Copy link
Copy Markdown
Member

Rework of the REQUEST-CHANGES findings is up at #932.

maintainerCanModify=false on this PR, so the fix could not be pushed to arookieofc/fix-768-readme-byte-identical. #932 carries your commit 5da1b280 unchanged (you keep authorship) plus one commit on top that implements both review items:

  1. README.zh-CN.md synced — L17 split into the 62/83 raw + 20 env-bound + nameref framing; the docs(hygiene): #849 注释/坐标漂移清扫 + #768 README byte-identical 措辞(closes #849 #716 #768 #767) #865-era gloss replaced with 原始值/环境归类/净化值 rows matching EN; the hand-typed 归零的环境差 list dropped (drifted: extglob/ifs-posix/quotearray are 0-diff in the current ledger, not among the §4 residual 20) and replaced with the same derivation note as EN.
  2. Description provenance corrected — docs(readme): #768 — split byte-identical into raw + env-classified + clean (zh-CN synced) #932's body states 62/83 as the ledger-recorded value (docs/nameref-suite-residual-gnu-race-20261012.md §4-5, 2026-10-12 clean re-run on 764b9dde), not a self-claimed re-measure.

Maintainer can merge #932 (which includes this PR's commit) or close this one — whichever lands first.

caomengxuan666 added a commit that referenced this pull request Oct 20, 2026
… clean (zh-CN synced) (#932)

* docs(readme): #768 — split the byte-identical number into raw + env-classified + clean

"82 suites byte-identical (0 diff)" sat one line above an Env-zeroed
list and read as raw output equality. The two cannot both be raw: if 82
suites literally had 0 diff, nothing would remain to zero. Re-measure on
current master (scripts/true-baseline.sh unmodified, WSL GNU 5.3.0) puts
raw byte-identical at 61-62/83, with 21-22 residual suites.

The block now states the three numbers separately instead of one
ambiguous "byte-identical": raw 62/83 (literal 0-diff runs), +20
environment-classified (per-line attribution in the ledger: host-tool
output, NTFS filename/attr bits, locale, /dev/tty, path form, signal
table, coproc reap timing), clean 82/83 — plus nameref's proven-GNU
coproc race for the 83rd. The hand-typed Env-zeroed name list is
replaced by a derivation note so it cannot drift from the artifact, and
the per-suite class set is stated to come from the ledger's own
classification (AGENTS.md rubash-caused vs environment-caused split).

* docs(readme.zh-CN): #890 CR — sync zh-CN to the raw/env-classified/clean framing

Implements the REQUEST-CHANGES findings on #890: mirror the English
README's three-metric ledger block in README.zh-CN.md.

- L17: split "82 套逐字节一致" into raw 62/83 + 20 env-bound-classified
  + nameref's proven-GNU coproc race
- Ledger block: replace the #865-era env-audited gloss with
  原始值/环境归类/净化值 rows matching the EN Raw/Env-classified/Clean
- Drop the hand-typed 归零的环境差 12-name list — it had drifted:
  extglob/ifs-posix/quotearray are 0-diff in the current ledger and not
  among the §4 residual 20; add the same derivation note as EN before
  the suite list

Numbers are ledger-recorded values from
docs/nameref-suite-residual-gnu-race-20261012.md §4-5 (2026-10-12 clean
re-run on 764b9dd), not a new measurement.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: arookieofc <[email protected]>
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@caomengxuan666

Copy link
Copy Markdown
Member

The zh-CN sync this PR targets has landed via #932 (squash 7090ddf — zh-CN numbers aligned to ledger §4/§5, drifted manual list replaced, description corrected to ledger-recorded values). Thank you @a-rookie-of-C-language — closing as superseded; branch remains for reference.

@caomengxuan666
caomengxuan666 deleted the arookieofc/fix-768-readme-byte-identical branch October 21, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants