Repository navigation
Description
The incubation discussion showed that CONTRIBUTING.md leaves several questions unanswered: who stands behind a contribution, how AI use is attributed, when another reviewer is required, where decisions happen, and how provenance is checked.
I propose the following changes.
Public decisions
Project direction, governance, and material product decisions should be discussed publicly before implementation, with the reasoning recorded. Once an ASF development list is available, project-level decisions should move there.
Implementation details can be discussed directly in a PR as long as the reasoning remains public and reviewable.
Human ownership
Every contribution must have a human contributor of record. That person reviews the work, chooses to submit it, and accepts responsibility for its accuracy, provenance, licensing, and any applicable ICLA representations.
Agents can prepare changes. They cannot use ASF credentials or push commits to ASF repositories.
AI attribution
Disclose AI assistance when it materially contributes to code or public discussion. Routine autocomplete and spelling correction are out of scope. Automated messages must identify themselves.
Maka will require materially AI-authored contributions to record the tool in the final commit on the target branch:
Generated-by: Codex
The trailer must survive squash or amend. This is a Maka project policy. ASF guidance recommends attribution but does not require this exact format for every project.
Independent review
Material changes to user-visible behavior, public contracts, security, licensing, releases, or governance require another human reviewer. AI review does not count as independent human review.
This is separate from the contributor-of-record requirement. Every contribution needs a human owner; only changes in the protected areas above require a second person.
Fast path
A change may be self-merged without independent review when it is low impact, easy to reverse, does not touch the protected areas above, and passes the required checks. The contributor must record why the fast path applies.
Tests, CI, documentation, and mechanical changes may qualify. Their file type alone is not enough.
Provenance and licensing
Submit only work you have the right to contribute. Record third-party sources, licenses, and required attribution.
Review can tell us whether code is correct. It cannot tell us where the code came from. For materially generated code, contributors should check the tool’s output terms and scan non-trivial or suspicious output for third-party matches.
The current ASF guidance remains the source for generative-tooling requirements:
CONTRIBUTING.md would contain these continuing rules. README.md would link to it.
The initial codebase still needs a provenance audit. That work has a clear end point and should be tracked in a separate issue rather than included in the contribution guide.
Is anything here still too strict or too loose before we turn it into a CONTRIBUTING.md change?
Background:
- https://lists.apache.org/thread/0n79l7dbz9jm694rpnbrxtn8f6lmnw1j
- https://lists.apache.org/thread/wywrdbrjnv5r1hx6kctt328ckfs7q7ts
AI assistance: Codex helped edit this RFC. I reviewed and approved the final text.
中文对照
孵化讨论表明,CONTRIBUTING.md 还有几个问题没有说清楚:由谁为贡献负责、如何披露 AI 使用、哪些改动需要另一位 reviewer、决策在哪里讨论,以及如何核查代码来源。
我建议加入以下规则。
公开决策
项目方向、治理和重大产品决策应在实施前公开讨论,并记录理由。ASF 开发邮件列表可用后,项目级决策应转移到那里。
实现细节可以直接在 PR 中讨论,只要相关理由保持公开且可供审查。
人类责任
每个贡献都必须有一名 human contributor of record。这个人需要检查改动、决定提交,并对准确性、来源、许可及适用的 ICLA 声明负责。
Agent 可以准备改动,但不能使用 ASF 凭据,也不能向 ASF 仓库 push commit。
AI 归因
AI 实质参与代码或公开讨论时,需要披露。普通自动补全和拼写修正不在此列。自动发送的消息必须表明身份。
Maka 将要求实质性使用 AI 生成的贡献在目标分支的最终 commit 中记录所用工具:
Generated-by: Codex
这个 trailer 必须在 squash 或 amend 后保留。这是 Maka 的项目政策。ASF 指南建议进行归因,但没有要求所有项目使用这一具体格式。
独立审查
涉及用户可见行为的重大变更、公开契约、安全、许可、发布或治理时,必须由另一名人类审查。AI review 不属于独立人工审查。
这与 contributor of record 是两项不同的要求。每个贡献都需要有人类负责;只有触及上述受保护范围的改动才需要第二个人。
Fast path
如果改动影响较低、容易回退、不触及上述受保护范围且必要检查通过,可以跳过独立审查并自行合并。贡献者必须说明为什么适用 fast path。
测试、CI、文档和机械修改可能符合条件,但文件类型本身并不足以获得豁免。
来源与许可
只提交自己有权贡献的内容,并记录第三方来源、许可和必要的署名要求。
Review 可以判断代码是否正确,但不能证明代码来自哪里。对于实质性生成的代码,贡献者应确认工具的输出条款,并扫描较大或来源可疑的输出是否匹配第三方代码。
ASF 当前的生成式工具指南仍是相关要求的依据:
CONTRIBUTING.md 将包含这些持续适用的规则,README.md 只提供链接。
现有代码库仍需要进行一次来源审计。这项工作有明确终点,应通过独立 Issue 跟踪,而不是写入贡献指南。
在落实到 CONTRIBUTING.md 前,是否还有哪些边界过严或过松?
背景:
- https://lists.apache.org/thread/0n79l7dbz9jm694rpnbrxtn8f6lmnw1j
- https://lists.apache.org/thread/wywrdbrjnv5r1hx6kctt328ckfs7q7ts
AI 辅助说明:Codex 协助编辑了这份 RFC,最终文本由我审阅并确认。
Activity
Rithikmahadev12 commentedon Aug 10, 2026
Astro-Han commentedon Aug 11, 2026
An update from the Incubator discussion clarified three points that this RFC should include:
Generated-by: Codex.This does not require a second reviewer for every low-risk PR. The independent-review boundary proposed above remains: material product, contract, security, licensing, release, and governance changes require another human reviewer; low-risk reversible changes may use the stated fast path.
中文对照
孵化讨论进一步明确了三点,应补充到这份 RFC 中:
Generated-by: Codex。这不意味着每个低风险 PR 都必须再找一名 reviewer。原提案中的边界不变:涉及产品行为、公开接口、安全、许可、发布或治理的改动需要另一名人类独立审核;低风险、可回退的改动可以走已说明的 fast path。
M4n5ter commentedon Aug 11, 2026
English
I support the overall direction of this RFC. It responds to concrete concerns raised during the incubation discussion: important decisions need a traceable public record, assisted contributions still require human accountability, and correctness review does not establish code provenance.
I suggest tightening four boundaries before turning this into policy:
Separate human ownership, tooling attribution, and independent review
These are distinct requirements:
ASF’s Generative Tooling Guidance describes
Generated-by:as a recommended practice rather than a universal requirement. Maka may reasonably make it mandatory for material use, but the document should identify that as a project policy.Because this repository uses squash merges, the attribution must survive in the final commit on the target branch. Requiring it only in intermediate local commits would lose the provenance record during squash.
Narrow the independent-review boundary
“Changes to behavior” is broad enough to include almost every bug fix. I suggest requiring independent human review for:
This preserves meaningful review for consequential changes without making a second reviewer mandatory for every small, well-understood correction. The human contributor of record remains required in either case; independent review is an additional safeguard, not a substitute for ownership.
Allow PRs to carry implementation-level discussion
“A PR implements a decision; it does not replace discussion” is appropriate for project direction, governance, and material product decisions, but it is too absolute for implementation details.
A clearer boundary would be:
This addresses the incubation feedback without requiring duplicate discussions across an issue, the mailing list, and a PR.
Define the fast path by impact, not file type
Tests, CI, and documentation are not inherently low risk: they can weaken required checks, alter releases, or change governance. They are reasonable fast-path candidates, but not automatic exemptions.
The deciding criteria should remain low impact, reversibility, no effect on protected boundaries, passing checks, and a recorded reason for skipping independent review.
For provenance and licensing, I would link directly to the current ASF guidance rather than restating an incomplete local version of it. Human review can establish confidence in correctness, but it does not by itself establish that generated output is safe to contribute.
Keeping the initial repository provenance audit as a separate, finite issue is also the right boundary.
CONTRIBUTING.mdshould define the continuing contribution rules, not become an audit procedure.中文
我支持这份 RFC 的总体方向。它回应了孵化讨论中提出的具体问题:重要决策需要留下可追溯的公开记录,借助工具完成的贡献仍然需要由人类承担责任,而正确性审查并不能证明代码来源合规。
在将其转化为正式规则前,我建议进一步明确四个边界:
区分人类责任、工具归因和独立审查
这是三项不同的要求:
ASF 的生成式工具指南将
Generated-by:描述为推荐实践,而不是普遍适用的强制要求。Maka 可以合理地将其规定为实质性使用场景下的强制项目规则,但文档应明确这是项目自身的政策选择。此外,本仓库使用 squash merge,因此归因信息必须保留在目标分支最终合入的 commit 中。如果只要求写入中间的本地 commit,相关来源记录会在 squash 时丢失。
缩小独立审查的适用边界
“Changes to behavior” 范围过宽,几乎所有 bug fix 都可能被包括进去。建议将独立人类审查要求限定为:
这样既能确保重要变更得到有效审查,也不会要求每个小型且边界明确的修复都必须找到第二位 reviewer。无论是否适用独立审查,人类 contributor of record 都仍然是必需的;独立审查是额外保障,不能替代责任归属。
允许 PR 承载实现层面的讨论
“A PR implements a decision; it does not replace discussion” 适用于项目方向、治理和重大产品决策,但用于实现细节时过于绝对。
更清晰的边界可以是:
这能够回应孵化讨论中的问题,同时避免要求同一项实现决策分别在 issue、邮件列表和 PR 中重复讨论。
根据影响而不是文件类型定义 fast path
测试、CI 和文档并不天然属于低风险变更:它们也可能削弱必要检查、改变发布流程或修改治理规则。这些变更可以作为 fast path 的候选,但不应自动获得豁免。
判断标准仍应是影响较低、容易撤销、不触及受保护的边界、相关检查通过,并记录跳过独立审查的理由。
对于来源和许可要求,我建议直接引用 ASF 的现行指南,而不是在本地规则中不完整地重新表述。人类审查可以帮助确认正确性,但它本身不能证明生成内容适合被贡献。
将首次仓库来源审计保留为一个独立且范围有限的 issue 也是正确的边界。
CONTRIBUTING.md应定义持续适用的贡献规则,而不应演变成一份审计操作手册。Astro-Han commentedon Aug 11, 2026
Thanks, this catches a few places where the proposal is still too broad. I agree with the changes.
Separating the contributor of record, tool attribution, and independent review is the right model. I’ll describe
Generated-by:as a Maka policy for material generative-tool use, rather than an ASF-wide requirement. Since we use squash merges, the attribution also needs to survive in the final commit on the target branch.I’ll narrow “changes to behavior” to “material user-visible behavior.” Project direction, governance, and material product decisions should be discussed before implementation, but implementation details can stay in the PR when the reasoning is public and reviewable.
The fast path should be based on impact, reversibility, protected boundaries, and passing checks. Tests, CI, documentation, and mechanical changes are candidates, not automatic exemptions.
I’ll link to the current ASF guidance and keep the initial provenance audit in a separate issue.
AI assistance: I used Codex to edit this reply and reviewed the final text.
中文对照
谢谢,这些建议指出了提案中几处仍然过宽的边界,我认同这些修改。
Human contributor of record、工具归因和独立审查应该分开处理。我会把
Generated-by:写成 Maka 针对生成式工具实质参与所制定的项目规则,而不是 ASF 的普遍强制要求。由于我们使用 squash merge,归因信息还必须保留到目标分支的最终 commit 中。我会把 “changes to behavior” 缩小为 “material user-visible behavior”。项目方向、治理和重大产品决策应在实施前讨论;实现细节可以直接留在 PR 中,只要相关理由公开且可供审查。
Fast path 应根据影响、可回退性、是否触及受保护边界以及检查结果来判断。测试、CI、文档和机械修改只是候选,并非自动豁免。
我也会直接引用 ASF 当前的指南,并把首次代码来源审计保留在独立 Issue 中。
AI 辅助说明:我使用 Codex 编辑了这份回复,并审阅了最终文本。
Astro-Han commentedon Aug 11, 2026
I’ll take this. I’ll update
CONTRIBUTING.mdbased on the agreed RFC, add theREADME.mdlink, and open a draft PR for review.Rithikmahadev12 commentedon Aug 12, 2026