chaokunyang commented on code in PR #3437: URL: https://github.com/apache/fory/pull/3437#discussion_r2867495382
########## AI_CONTRIBUTION_POLICY.md: ########## @@ -0,0 +1,127 @@ +# AI Contribution Policy + +Apache Fory is a performance-critical foundational serialization framework with cross-language compatibility requirements. +AI tools are welcome as assistants, but project quality, legal safety, and maintainability standards are unchanged. + +The key words MUST, MUST NOT, REQUIRED, SHOULD, and MAY are interpreted as described in RFC 2119. + +## 1. Core Principle + +- AI tools MAY assist contribution work. +- AI tools MUST NOT replace contributor accountability. +- The human submitter is responsible for correctness, safety, performance, and maintainability of all submitted changes. +- AI-assisted code MUST be reviewed carefully by the contributor line by line before submission. +- Contributors MUST be able to explain and defend design and implementation details during review. + +## 2. Disclosure (Privacy-Safe) + +For substantial AI assistance, PR descriptions MUST include a short `AI Usage Disclosure` section. + +Required disclosure fields: + +- Whether substantial AI assistance was used (`yes` or `no`) +- Scope of assistance (for example: design drafting, code drafting, refactor suggestions, tests, docs) +- Affected files or subsystems (high-level) +- Human verification performed (commands/tests/benchmarks executed) +- Provenance and license confirmation (see Section 6) Review Comment: added a point: - License/provenance confirmation: contributors MUST confirm submitted material is legally compatible and traceable, and MUST comply with [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
