Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions .github/dco-maintainers.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# SPDX-License-Identifier: Apache-2.0
# Maintainer identities for the DCO check (CONTRIBUTING section 11; P1-n).
# Sign-off identities for the DCO check (CONTRIBUTING section 11; P1-n, P1-p).
#
# This file is read from the trusted checkout of the target branch only, so a
# pull request that edits it is still judged by the target branch's copy. One
# identity per line as "<role> Name <e-mail>"; blank lines and lines starting
# identity per line as "signoff Name <e-mail>"; blank lines and lines starting
# with # are ignored, and any other line fails the check instead of being
# skipped.
#
# signoff may sign the squash-merge message in the pull request body; a
# sign-off identity is also exempt from per-commit sign-offs.
# author maintainer-owned commit identity (agents commit with this one);
# exempt from per-commit sign-offs in same-repository pull requests,
# but not allowed to sign the body.
#
# The maintainer is the only signoff identity. Agents commit with the
# maintainer's local Git identity and add no Signed-off-by themselves; the
# maintainer adds the sign-off to the pull request body before merging.
# Only the signer is checked. Two identities may sign the pull request body:
# the maintainer, and the human collaborator the maintainer has authorised
# (Ankar). A signature is the signer's DCO 1.1 confirmation for that
# contribution. Agents add no Signed-off-by themselves and never sign the body.
# The body sign-off confirms the whole pull request, so commits on a branch of
# this repository need no per-commit trailer; a fork pull request still needs
# one per commit (CONTRIBUTING section 11). A sign-off only clears the merge
# check; which role may merge is unchanged.
signoff inpac <inpac@lingmatrix.cn>
author inPac <tenneidp@gmail.com>
signoff Ankar <ankarnassia@lingmatrix.cn>
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ Closes #
- [ ] PARALLEL-1 审计没有未关闭的 `BLOCKER` / `MAJOR`
- [ ] 已用 `/aclt-sync` 与最新 `main` 同步,本次重跑通过
- [ ] CI 通过
- [ ] DCO:外部贡献的每个提交都已签署,维护者已在本地运行 `scripts/check-dco.py` 核验;维护者已在本正文最末尾另起一段加上自己的 `Signed-off-by`,`dco` 检查通过(CONTRIBUTING §11)
- [ ] DCO:外部贡献的每个提交都已签署,维护者已在本地运行 `scripts/check-dco.py` 核验;签名者(维护者,或签名名单中由维护者授权的人类协作者)已在本正文最末尾另起一段加上 `Signed-off-by`,`dco` 检查通过(CONTRIBUTING §11)

<!-- DCO(CONTRIBUTING §11):维护者合并前在本行下方另起一段加上签名行 `Signed-off-by: 姓名 <邮箱>`。只有正文最末尾的 trailer 区才算数;正文中只含 `---` 的行会把之后的内容当成补丁区。代理不填写本段。 -->
<!-- DCO(CONTRIBUTING §11):签名者(维护者,或签名名单中由维护者授权的人类协作者)合并前在本行下方另起一段加上签名行 `Signed-off-by: 姓名 <邮箱>`。只有正文最末尾的 trailer 区才算数;正文中只含 `---` 的行会把之后的内容当成补丁区。代理不填写本段。 -->
13 changes: 8 additions & 5 deletions .github/workflows/dco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ name: DCO sign-off
# GITHUB_OUTPUT. The title and the head branch name are not used at all.
#
# The squash merge takes its commit message from the pull request body, so the
# body must end with a Signed-off-by trailer from a maintainer sign-off
# identity before the merge; the edited activity type reruns the check when the
# maintainer adds it. The maintainer identities come from
# .github/dco-maintainers.txt inside the trusted checkout, so a pull request
# that edits that file is still judged by the target branch's copy.
# body must end with a Signed-off-by trailer from a sign-off identity in
# .github/dco-maintainers.txt before the merge; the edited activity type reruns
# the check when the signer adds it. The list holds the maintainer and the human
# collaborator the maintainer authorised, and it comes from inside the trusted
# checkout, so a pull request that edits that file is still judged by the target
# branch's copy. Only the signer is checked: commits on a branch of this
# repository are covered by the body sign-off, while a fork pull request still
# needs a matching sign-off on every commit.
#
# Until a fork pull request has shown on the public repository that this check
# blocks merging when a sign-off is missing and passes on the fixed head, its
Expand Down
10 changes: 6 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ ACLt Protocol 当前处于 G0 规格化阶段。贡献的首要目标不是快
4. 为变更添加确定性测试、性质测试、模型检查或仿真;
5. 更新 `docs/06-research/claims-and-sources.md` 中的论断状态;
6. 运行全部现有检查;
7. 提交小而可审查的变更,每个提交按 §11 处理 DCO 签署(人类贡献者用 `git commit -s`;代理产生的提交不加签名,由维护者在合并前签署 PR 正文);
7. 提交小而可审查的变更,每个提交按 §11 处理 DCO 签署(人类贡献者可用 `git commit -s`,fork PR 的每个提交必须带与作者一致的签名;代理产生的提交不加签名,由维护者或签名名单中的协作者在合并前签署 PR 正文);
8. 在证据不足时保留 `OPEN/CANDIDATE`,不提前关闭问题。
9. 按 `docs/08-governance/audit-procedure.md` 执行连续性、结构与 Gate 回验。

Expand Down Expand Up @@ -191,13 +191,15 @@ Signed-off-by: 姓名 <邮箱>

squash 合并的提交说明取自 PR 正文(`squash_merge_commit_message = PR_BODY`),所以签名写在 PR 正文里,并在合并前检查。

- **合并前的签名检查(2026-11-18 起,P1-n):** `.github/workflows/dco.yml` 在 PR 阶段读取当前 PR 正文,用与推送检查相同的解析方式(`git interpret-trailers --parse`)判断正文最末尾的 trailer 区是否含 `Signed-off-by: 姓名 <邮箱>`,且签名身份属于 `.github/dco-maintainers.txt` 的 `signoff` 一类(初始只有 `inpac <inpac@lingmatrix.cn>`)。`dco` 是必需检查,未通过时合并按钮不可用;维护者编辑正文加上签名后,`edited` 事件自动重跑检查。检查脚本与名单都取自目标分支的受信任检出,PR 修改名单不影响它自己的检查;PR 正文是不受信数据,只经环境变量传给脚本,不执行,也不写入 `GITHUB_ENV` 或 `GITHUB_OUTPUT`。
- **合并前的签名检查(2026-11-18 起,P1-n;P1-p 起签名身份有两个):** `.github/workflows/dco.yml` 在 PR 阶段读取当前 PR 正文,用与推送检查相同的解析方式(`git interpret-trailers --parse`)判断正文最末尾的 trailer 区是否含 `Signed-off-by: 姓名 <邮箱>`,且签名身份属于 `.github/dco-maintainers.txt` 的 `signoff` 一类(目前为维护者 `inpac <inpac@lingmatrix.cn>` 与维护者授权的人类协作者 `Ankar <ankarnassia@lingmatrix.cn>`)。签名者可以是两者之一,签名即按 DCO 1.1 为该贡献作确认;代理仍不得签名。`dco` 是必需检查,未通过时合并按钮不可用;签名者编辑正文加上签名后,`edited` 事件自动重跑检查。检查脚本与名单都取自目标分支的受信任检出,PR 修改名单不影响它自己的检查;PR 正文是不受信数据,只经环境变量传给脚本,不执行,也不写入 `GITHUB_ENV` 或 `GITHUB_OUTPUT`。
- **签名写法:** 签名作为正文最末尾的独立一段,前面空一行。正文中只含 `---` 的行会让 Git 把之后的内容当作补丁区,写在其后的签名不会被识别(提交 `7232164` 即因此漏签);CRLF 与 LF 的判定相同。
- **外部贡献**(来自 fork 的 PR):每个提交都要在提交说明末尾的 trailer 区带有 `Signed-off-by: 姓名 <邮箱>`,邮箱与提交作者一致,合并提交也不例外;写在正文中间的签署行不算数。用 `git commit -s` 即可自动添加。维护者合并前在 PR 正文末尾加上自己的签名,并在 `main` 的检出里独立核验提交签名与正文签名(命令见本节末;名单从脚本所在检出读取,PR 正文只作为数据载入,不要拼进 shell 命令)。**在仓库公开后用一次 fork PR 实测确认“缺签时合并受阻、补签后最新头部通过”之前,这项检查对外部 PR 只作提示**。
- **本仓库分支上的工作**(维护者、人类协作者与 AI 代理):代理产生的提交不加 `Signed-off-by`,代理也不在 PR 正文中写签名。维护者在合并前于 PR 正文末尾加上自己的签名,该行随 squash 合并成为 `main` 上的提交说明。本仓库分支的 PR 中,作者不属于 `.github/dco-maintainers.txt` 维护者身份的提交(例如人类协作者或外部贡献者直接在本仓库分支提交)仍需与作者一致的签名;人类协作者用自己的身份 `git commit -s` 即可。
- **外部贡献**(来自 fork 的 PR):每个提交都要在提交说明末尾的 trailer 区带有 `Signed-off-by: 姓名 <邮箱>`,邮箱与提交作者一致,合并提交也不例外;写在正文中间的签署行不算数。用 `git commit -s` 即可自动添加。签名者(维护者或签名名单中的协作者)在合并前于 PR 正文末尾加上签名,维护者再在 `main` 的检出里独立核验提交签名与正文签名(命令见本节末;名单从脚本所在检出读取,PR 正文只作为数据载入,不要拼进 shell 命令)。**在仓库公开后用一次 fork PR 实测确认“缺签时合并受阻、补签后最新头部通过”之前,这项检查对外部 PR 只作提示**。
- **本仓库分支上的工作**(维护者、人类协作者与 AI 代理):只检查签名者,不逐提交检查作者与签名。代理产生的提交不加 `Signed-off-by`,代理也不在 PR 正文中写签名。签名者(维护者,或签名名单中由维护者授权的人类协作者)在合并前于 PR 正文末尾加上自己的签名,该行随 squash 合并成为 `main` 上的提交说明,并统一确认该 PR 中的全部提交。人类协作者可以在自己的提交上用 `git commit -s`,不强制。
- **推送兜底:** `dco.yml` 仍检查推送到 `main` 的提交是否带 `Signed-off-by`,用于发现合并时被改掉的签名。
- **起算点:** 自引入 `scripts/check-dco.py` 的提交之后开始检查,此前的历史提交不追溯,也不改写。

签名只表示签署者按 DCO 1.1 为该贡献作确认,不改变合并权限:合并仍由维护者执行(PARALLEL-1 第 5.5 节),代理仍不得签名。

外部 PR 的本地核验(在 `main` 的检出里执行;`<编号>`、`<正文文件>`、`<目标分支提交>`、`<PR 头部提交>` 由维护者填写):

```sh
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ACLt Protocol 从构想到落地,大量工作是在 AI 助手协助下完成

- AI 工具不是法律意义上的作者或权利人,也不对仓库内容承担责任。仓库的法律责任由上述维护主体承担;内容的取舍与合并由维护者决定。
- Git 历史中只有部分提交保留了 co-author 署名(Claude、Copilot 与外部贡献者)。Codex 与 DeepSeek V4.1 Flash(经 dsh 代理)的工作没有独立署名,讨论与灵感也不会出现在提交中。因此提交统计和 GitHub contributors 图都不能反映各方实际贡献;自 PARALLEL-1 起,各条目的实现代理与审计代理记录在 PR 与审计评论中。
- 自 2026-11-15 起采用 DCO(CONTRIBUTING §11)。AI 代理产生的提交由维护者在合并时签署,签署者对该贡献承担 DCO 规定的确认责任。
- 自 2026-11-15 起采用 DCO(CONTRIBUTING §11)。AI 代理产生的提交由维护者或签名名单中的协作者在合并时签署,签署者对该贡献承担 DCO 规定的确认责任。
- Git 历史保留原始提交的作者与邮箱,不改写(维护者 2026-11-15 决定,[#128](https://github.com/ZeroMatrixTech/ACLt/issues/128));外部贡献者 Ankar 已同意随仓库公开。
- 无论由谁产出,证明、代码和结论都只以仓库中的测试、对拍、审计与双机证据为准,不因来源而获得或失去可信度。
- 新增贡献者,或某方角色有实质变化时,同步更新本文件。
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ state3 仍是本地单机回归入口([说明](experiments/aclt-minimal-verifi

本仓库的全部工件采用 **Apache License 2.0**,SPDX 标识为 `Apache-2.0`,范围包括代码与参考实现、协议规范、项目文档、仓库内的研究文稿、测试向量与证据。代码许可于 2026-08-17 确定;2026-11-14 维护者决定规范、文档与研究文稿沿用同一许可。

另有标注的第三方材料保留其原许可。目前包括 `tools/verification_profile/rust/unicode_data.rs`(由 Unicode 字符数据库生成,适用 `Unicode-3.0`,全文见同目录 `UNICODE-LICENSE.txt`)和 `docs/00-overview/fonts/` 下的五个字体子集(适用 `OFL-1.1`,随附三份 `OFL-*.txt` 原文)。Apache-2.0 第 6 条不授予名称或商标使用权;ACLt 是项目名称,不是商标,项目不声明商标;维护者已于 2026-11-16 决定放弃名称冲突检索并接受同名风险([#128](https://github.com/ZeroMatrixTech/ACLt/issues/128#issuecomment-6920084883)),名称、商标与兼容性声明不再作为公开发布的阻断项,见下节。贡献采用 Developer Certificate of Origin(DCO),不使用 CLA;外部 fork PR 的每个提交须带与作者一致的 `Signed-off-by`,内部代理提交由维护者在合并时签署,细则见 [CONTRIBUTING §11](CONTRIBUTING.md#11-许可)。安全漏洞的私密报告流程见 [SECURITY.md](SECURITY.md);利用细节不在公开渠道先行披露。
另有标注的第三方材料保留其原许可。目前包括 `tools/verification_profile/rust/unicode_data.rs`(由 Unicode 字符数据库生成,适用 `Unicode-3.0`,全文见同目录 `UNICODE-LICENSE.txt`)和 `docs/00-overview/fonts/` 下的五个字体子集(适用 `OFL-1.1`,随附三份 `OFL-*.txt` 原文)。Apache-2.0 第 6 条不授予名称或商标使用权;ACLt 是项目名称,不是商标,项目不声明商标;维护者已于 2026-11-16 决定放弃名称冲突检索并接受同名风险([#128](https://github.com/ZeroMatrixTech/ACLt/issues/128#issuecomment-6920084883)),名称、商标与兼容性声明不再作为公开发布的阻断项,见下节。贡献采用 Developer Certificate of Origin(DCO),不使用 CLA;外部 fork PR 的每个提交须带与作者一致的 `Signed-off-by`,内部代理提交由维护者或签名名单中的协作者在合并时签署,细则见 [CONTRIBUTING §11](CONTRIBUTING.md#11-许可)。安全漏洞的私密报告流程见 [SECURITY.md](SECURITY.md);利用细节不在公开渠道先行披露。

仓库根目录 `LICENSE` 为 Apache License 2.0 英文全文;2026-11-06 起,文末附录示例中的版权行填写为 `Copyright 2026 北京凌矩阵科技有限责任公司`,许可条款正文未改。源码由文件头 SPDX 标识或 [REUSE.toml](REUSE.toml) 显式路径声明覆盖,由 `make check` 中的覆盖检查核对;第三方材料见 [docs/08-governance/third-party-materials.md](docs/08-governance/third-party-materials.md);Markdown 等文档由本节与根目录 `LICENSE` 覆盖。存在归属声明或第三方通知要求时再维护 `NOTICE`。官方许可文本与应用说明见 [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) 和 [Apache Licensing FAQ](https://www.apache.org/foundation/license-faq.html)。

Expand Down
10 changes: 5 additions & 5 deletions SINGLEHOST-SHA256SUMS
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
5becf9549ae433806c07047455bf32ad95d0c6442ba0fa6f9b5cc1e7b73d8fcb .aclt-flow/.gitignore
c36a374c48191f329d8999f8b22318bfbcca1914c5171fba60caf4d492b01a9c .aclt-flow/template.json
838adf8712ba6dcc8e48a9f95bb9bcbf9e92072791eb86cf3e087a019f8b9c0b .github/ISSUE_TEMPLATE/config.yml
808c7363dc47b651cab3978ca4b7e5ac53d72c4090907a662f402d357175f753 .github/dco-maintainers.txt
82e085b2fcf9c1100fdd44057d9cc8ac846d956db7c4da9b96537ecc618ea626 .github/workflows/dco.yml
38feb1b272e03957f1046407e0ffddf4d106d7c2dd9cabbfbd3d63603c5c7499 .github/dco-maintainers.txt
5f24f9dd725ae1093297280750d535c50b3da5ff0644fba763c709b21296b241 .github/workflows/dco.yml
9f0d896a0fb77795ff4632f7303f2d84e29399e325588a2cd063a250a8a5c8a6 .github/workflows/validate.yml
f00bdef57c6cdd739a44f10c50427351e917076ea41c17586f10e102a23de2f2 .gitignore
d72675ebcd951cfc0621ca2f5ce4e45423d2e46cc7287f877e02225506b5383c DELIVERY-SCOPE.json
Expand Down Expand Up @@ -392,7 +392,7 @@ a530780f7345500677a990a3d0575f65b2a03dcfcdf560ed7fb04cc698e0fe15 scripts/check-
c03ed31936b34cddb1f5ff5645d437ceb37bb51ec988d2b6191812b6f1731db6 scripts/check-claim-codec.py
d27db0943ae28698408550d1e4e34f3f0b2e319f63cb1db3aa40cfd85754a028 scripts/check-commitment-bindings.py
73b94bf197b2813a92103bf7114f93bedfbe635d522157a50197d09a0ba3f1fc scripts/check-creation-bindings.py
f045d4d18079dcb448d4ab1c69ae8198379a1912b4a6fde47b858463a72c8592 scripts/check-dco.py
bba78a46d85f5499543db2c9de265adfed3d49b4adb0bc0264050f433311b444 scripts/check-dco.py
9a963b5df26f853a6c903890488b167b0fcd487969b41c490383289af963bd63 scripts/check-decision-replay.py
1d5dffcbd4e7100ac869883ebcbfae586507c60428a4df697479c7129a4ac9bd scripts/check-deployment-revocation.py
01f6e85ee8300cdaf5c55f7b27ba6891137910d5c9612c49857c2db321b2e890 scripts/check-environment.py
Expand Down Expand Up @@ -454,8 +454,8 @@ a8c57b9dbd3cdb205a97d90cb535a8a167f744d621de039169a70af7cee2160f tests/formal_m
5e19ecd77a8f4160782160333a157438823bafc9ed11d822a92b1b030cd19502 tests/formal_migration/vectors.json
7f6e90e896bc68a61903fef635b4b825a062b43797593e1d6acee28114fc7ac5 tests/migration_evidence/test_evidence.py
4f9b2235c0cdd889490baf2823601f3196aa33d41d6b85488decf83a4ce19888 tests/migration_evidence/test_public_archives.py
36f6f034c51e920ef80d9bf6b99a6054dab43bc20e02e037cc6f7779c482ca53 tests/repository_hardening/dco_pr_simulation.py
ea15cf5f70baffcf62ec54164e2fe4b5f35cbc602c12c13d77ebe55794ee55b2 tests/repository_hardening/test_check_dco.py
967e8669c670dc38d4deefd2128917e3746686c9fa486768e06f69177e70a1d4 tests/repository_hardening/dco_pr_simulation.py
9775fc0fc4973aa45bae69839881d6d97ed76e90891a258426ccf873464839c9 tests/repository_hardening/test_check_dco.py
34ed7a109f77efeadf0190ae04cd07e4aa47a1523ca70548a1f16330c789c3a9 tests/repository_hardening/test_git_sources.py
03ff67ffbd4ff2d63e5fd1f18da6e884c8293812191f0c29e49e5a425523a135 tests/repository_hardening/test_hardening.py
cdd63154a0bad204e185f86b94e5ba9caea97e711173896f4e36a101fd335d13 tests/verification_model/closed_form_oracle.py
Expand Down
Loading
Loading