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.
For substantial AI assistance, PR descriptions MUST include a short AI Usage Disclosure section. For minor or narrow AI assistance, full disclosure is not required. The PR template keeps this section intentionally short and links to Section 9 for the complete checklist.
Definition of substantial AI assistance:
yes) if any of the following apply:no for minor or narrow assistance only, such as spelling/grammar fixes, formatting, trivial comment wording edits, or other non-technical edits with no behavior impact.Required disclosure fields:
yes or no)Standard disclosure template (recommended):
AI Usage Disclosure - substantial_ai_assistance: yes - scope: <design drafting | code drafting | refactor suggestions | tests | docs | other> - affected_files_or_subsystems: <high-level paths/modules> - human_verification: <checks run locally or in CI + pass/fail summary + contributor reviewed results> - performance_verification: <N/A or benchmark/regression evidence summary> - provenance_license_confirmation: <Apache-2.0-compatible provenance confirmed; no incompatible third-party code introduced>
To protect privacy and enterprise security:
The following MUST be human-authored (translation and grammar correction tools are acceptable):
Generated filler text, evasive responses, or content that does not reflect contributor understanding may result in PR closure.
For non-trivial changes (especially architecture/protocol/performance-sensitive work), contributors SHOULD align scope in an issue or discussion before implementation.
This expectation applies to all contributors, whether AI-assisted or not. For AI-assisted non-trivial work without prior alignment, maintainers MAY request scope alignment before continuing review.
Every AI-assisted PR MUST provide verifiable evidence of local or CI validation:
Definition of adequate human verification:
The contributor personally runs the relevant checks locally or in project CI and reviews the results.
Verification includes concrete evidence (exact commands and pass/fail outcomes), not only claims.
Verification covers the changed behavior with targeted tests where applicable.
For protocol or performance-sensitive changes, verification includes the required compatibility tests and/or benchmark/regression evidence.
Confirmation that contributor performed line-by-line self-review of AI-assisted code changes
Build/lint/test checks run locally or in CI
Targeted tests for changed behavior
Results summary (pass/fail and relevant environment context)
Additional REQUIRED checks for Fory-critical paths:
docs/specification/**Claims without evidence may be treated as incomplete.
Contributors MUST follow ASF legal guidance and project licensing policy, including:
Contributors MUST ensure:
If provenance is uncertain, contributors MUST remove or replace the material before submission. Maintainers MAY request provenance clarification when needed.
Maintainers MAY close or return PRs that materially fail project standards, including:
This is not a ban on AI usage; it is a quality and maintainability gate.
Before merge, maintainers MAY request:
Maintainers MAY close PRs that remain non-compliant after feedback.
Any long-term contribution restrictions MUST follow Apache project governance and community process, and SHOULD be documented with clear rationale.
This is the canonical checklist for the PR template AI section.
yes / noyes, I included the standardized AI Usage Disclosure block below.yes, I can explain and defend all important changes without AI help.yes, I reviewed AI-assisted code changes line by line before submission.yes, I ran adequate human verification and recorded evidence (checks run locally or in CI, pass/fail summary, and confirmation I reviewed results).yes, I added/updated tests and specs where required.yes, I validated protocol/performance impacts with evidence when applicable.yes, I verified licensing and provenance compliance.AI Usage Disclosure (only when substantial AI assistance = yes):
AI Usage Disclosure - substantial_ai_assistance: yes - scope: <design drafting | code drafting | refactor suggestions | tests | docs | other> - affected_files_or_subsystems: <high-level paths/modules> - human_verification: <checks run locally or in CI + pass/fail summary + contributor reviewed results> - performance_verification: <N/A or benchmark/regression evidence summary> - provenance_license_confirmation: <Apache-2.0-compatible provenance confirmed; no incompatible third-party code introduced>
This policy complements, but does not replace, existing ASF and Apache Fory governance, contribution, and legal policies. If conflicts arise, ASF legal and project governance rules take precedence.