Skip to content

docs: #892 contributor conventions written down (oracle, probes, env, full suite, GPL, process) - #903

Merged
caomengxuan666 merged 2 commits into
masterfrom
arookieofc/docs-892-contributing-conventions
Oct 20, 2026
Merged

caomengxuan666 merged 2 commits into
masterfrom
arookieofc/docs-892-contributing-conventions

Conversation

@arookieofc

Copy link
Copy Markdown
Member

Closes #892 (the six implicit review/release rules are now written in CONTRIBUTING.md, generalized from the contributor-specific note; agent-facing detail stays in AGENTS.md). Docs-only change: no engine, harness, or fixture bytes touched, so the compat ledger is unaffected by construction.

@github-actions

Copy link
Copy Markdown
Contributor

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

@caomengxuan666

Copy link
Copy Markdown
Member

评审结论:REQUEST-CHANGES

独立评审(自建 worktree @ b405b6b,对照 #892 票面六节 + AGENTS.md + 仓内实况逐条核验)。六分节整体忠实、放置合理,但有一处与仓内既有权威口径直接冲突的发明条款,必须先改。

必改 1(blocker):§6 “COMPATIBILITY-STATUS.md 唯一权威状态源”与仓内口径冲突

新增文本:

兼容性修复经实测后同步更新 docs/COMPATIBILITY-STATUS.md(唯一权威状态源,只认实测)。

该文件已不存在:2026-10-10 由 #478(commit 4744083)删除并归档至 issue #477;AGENTS.md "Bash Test Suite" 一节明言 "Compatibility status is tracked in the GitHub issue tracker — the single authoritative source";docs/bash-compat-issues.md:11 与 docs/bash-upstream-tests.md:169 均已改指 README「Compatibility at a Glance」台账(PR #502 专门清理过这类悬空引用)。#892 票面也没有这条——它是本 PR 的发明,且会引导贡献者复活已废除的快照台账。请改为指向 README「Compatibility at a Glance」+ issue tracker(#477 归档)。

必改 2:§2 丢了票面唯一的具体机制 CREATE_NO_WINDOW

#892 §2 的规范原文是“单个 python 脚本批量跑完全部形态 + subprocess.CREATE_NO_WINDOW (0x08000000) + 输出重定向文件”。本 PR 保留了“单脚本批量 + 落文件”,但丢了 CREATE_NO_WINDOW——我 grep 全仓 *.md,该词零命中,#892 票面是它唯一的记录处,这次成文正是落仓机会。请补回(含 0x08000000 值)。

已核验通过项

  • 六节顺序与票面一致;§1(oracle/脚本文件对比/wsl bash -c 反斜杠禁令/非 oracle 清单/owning C 函数/unverified 标注)、§3(CRLF→.gitattributes+git add --renormalize、unset BASH_ENV、漂移作废)、§4(全量命令逐字)、§5(坐标引用合法、mirror b4608166 与 AGENTS.md 一致、PROVENANCE 指针)、§6 的 manifest.tsv “后合并者重解、双方行都保留”——逐条能在 贡献约定成文:GNU oracle 5.3.0、无窗口探针、共享环境零变更、PR 前全量、GPL 纪律、流程(给 a-rookie-of-C-language 与后续维护者) #892 票面或 AGENTS.md 找到出处,无凭空发明(除上述 blocker)。
  • 放置:CONTRIBUTING.md「实现方法论」与「提交代码」之间,与相邻兼容性/GPL 内容衔接合理;对 AGENTS.md 是引用指针(“面向 agent 的操作细则见 AGENTS.md”),除 blocker 外无重复/冲突。
  • 引用实况:scripts/regression-catalog/manifest.tsv、docs/PROVENANCE.md 存在;.gitattributes 确钉 *.sh/*.rs eol=lf;pre-commit 钩子确为 cargo fmt --check。
  • 中英一致:N/A(CONTRIBUTING.md 全文中文,无英文镜像)。
  • 越界:仅 CONTRIBUTING.md +37,纯 docs 零行为;无 GPL 物料(仅坐标引用);git diff --check 干净;CI 全绿。

Nits(不阻塞)

两处必改均为单行级修改,改完可直接过。

…d CREATE_NO_WINDOW, oracle wording leaves room for #895

- 6 COMPATIBILITY-STATUS.md deleted by #478 (archived in #477); point at README Compatibility at a Glance + issue tracker instead
- 2 restore #892 normative CREATE_NO_WINDOW (0x08000000) mechanism
- 1 oracle heading leaves room for #895 upgrade; 5.3.0 stays the bar until it lands
@arookieofc

Copy link
Copy Markdown
Member Author

Review feedback addressed in 12f775b (3 items, all single-line level): 1. section 6 no longer points at docs/COMPATIBILITY-STATUS.md - verified it was deleted by 4744083 (#478, archived in #477) and README has the Compatibility at a Glance ledger at line 78, so the rule now says: update the README ledger after measured fixes, snapshots archived in #477, status lives in the issue tracker. 2. section 2 restores the normative CREATE_NO_WINDOW (0x08000000) mechanism from #892 section 2 verbatim. 3. section 1 heading now reads latest-stable (currently 5.3.0) with an explicit pointer to #895 for the upgrade train; 5.3.0 stays the bar until that lands, so no conflict with the contract or AGENTS.md baseline. docs-only, diff --check clean.

@caomengxuan666

Copy link
Copy Markdown
Member

评审结论:APPROVE(Ready to merge)

审阅提交:12f775b8(复审确认前序 CR #issuecomment-6279874796 全部要求已落实)

复审核验项

  1. 必改 1 已修复(CONTRIBUTING.md:65):
  2. 必改 2 已修复(CONTRIBUTING.md:42):
    • §2 已补回 subprocess.CREATE_NO_WINDOW (0x08000000) 规范要求,确保本机 Python 探针在 Windows 下不弹可见控制台窗口。
  3. Nit 已采纳(CONTRIBUTING.md:33, 38):
  4. CI 与合并状态:纯文档改动,CI 全绿,与 origin/master 无冲突(mergeable: true)。

@caomengxuan666
caomengxuan666 merged commit 7ef517f into master Oct 20, 2026
6 checks passed
@caomengxuan666
caomengxuan666 deleted the arookieofc/docs-892-contributing-conventions branch October 21, 2026 07:58
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