You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-11Lines changed: 1 addition & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,7 @@ Before participating in the project, please read our [Code of Conduct](./CODE_OF
8
8
9
9
## AIGC Content Licensing Policy
10
10
11
-
We welcome the use of AI-generated content as a tool to enhance development efficiency, while maintaining high standards for code quality and integrity:
12
-
13
-
1.**AI as a Tool**: The use of AI for code generation is recognized as a technological advancement and valuable productivity tool.
14
-
15
-
2.**Core Business Logic**: All core business logic code must be written manually by developers and undergo thorough code review. AI-generated core business logic will not be accepted.
16
-
17
-
3.**Documentation**: AI-generated documentation is permitted, but must strictly conform to the project's API definitions and specifications.
18
-
19
-
4.**Tests**: Test cases may be generated using LLMs, but must provide complete coverage of the corresponding code lines, logical branches, and edge cases.
20
-
21
-
5.**Review Requirement**: All AI-generated content, regardless of type, must be reviewed and validated by human contributors before submission.
11
+
We welcome the use of AI-generated content as a tool to enhance development efficiency, while maintaining high standards for code quality and integrity. See [AIGC Content Licensing Policy](./POLICY_OF_AIGC) for details.
This license (AmritaConstant AIGC Content Licensing Policy, abbreviated as AACLP) sets forth the terms applicable to all contributions involving AI-generated content (AIGC) in projects that adopt this license. By submitting content to the project, any natural person, legal entity, or other organization acknowledges that they have read, understood, and agreed to be bound by all the terms of this license.
8
+
9
+
Article 1 – Definitions
10
+
11
+
1.1 "AI-Generated Content" (AIGC) refers to code, documentation, test cases, and other project assets that are partially or fully produced by artificial intelligence systems, including but not limited to large language models, code completion engines, and documentation generators.
12
+
1.2 "Contributor" refers to any natural person, legal entity, or other organization that submits content to the project.
13
+
1.3 "Maintainer" refers to the designated person or organization responsible for project governance and quality assurance.
14
+
1.4 "Core Business Logic" refers to the parts of the code that have a substantial impact on correctness, security, or data consistency. This policy does not provide an exhaustive definition; Maintainers should provide specific guidance for the project in the CONTRIBUTING file.
15
+
16
+
Article 2 – Fundamental Principles
17
+
18
+
2.1 AI-assisted tools are regarded as part of the development toolchain, on an equal footing with compilers, static analysis tools, and scaffolding tools.
19
+
2.2 The technical platforms or service providers offering AI assistance bear no responsibility for the correctness, security, or suitability of the generated content.
20
+
2.3 AI is the tool; the human is the helmsman. The ultimate responsibility for all AI-assisted output always rests with the Contributor who uses the tool.
21
+
22
+
Article 3 – Core Business Logic
23
+
24
+
3.1 Recommended Guideline: Maintainers recommend that all core business logic be written manually by Contributors.
25
+
3.2 Conditional Permission: Contributors may use AI assistance to generate core business logic, provided that all of the following conditions are met:
26
+
(a) Confirmation of Understanding: The Contributor must be able to explain the logic line by line, articulate the design decisions, and describe the role and impact of the code within the system context;
27
+
(b) Attribution of Responsibility: The committer and reviewer of the code are the sole and final parties responsible for its quality and correctness. Defects, security vulnerabilities, or logic errors caused by AIGC are the responsibility of the Contributor, and the technical platform or AI service provider does not enter the project's chain of responsibility;
28
+
(c) Additional Review: Maintainers have the right to require the Contributor to provide written or oral supplementary explanations for core logic generated with AI assistance, as a prerequisite for merge acceptance.
29
+
30
+
Article 4 – Documentation
31
+
32
+
4.1 AI may be used to generate initial documentation drafts.
33
+
4.2 The final submitted documentation must satisfy the following:
34
+
(a) Strictly conform to the project's API definitions and specifications, and contain no fictional interfaces, parameters, or behavioral descriptions;
35
+
(b) The Contributor assumes full responsibility for the accuracy of all factual statements in the documentation.
36
+
37
+
Article 5 – Tests
38
+
39
+
5.1 AI may be used to generate test cases.
40
+
5.2 The final submitted test code must satisfy the following:
41
+
(a) Provide adequate coverage of the target code's logical branches and edge cases;
42
+
(b) Possess actual verification effectiveness, and contain no meaningless placeholders or spurious pass logic.
43
+
44
+
Article 6 – Review Obligations
45
+
46
+
6.1 All AI-assisted content must be reviewed and verified by a Contributor before submission.
47
+
6.2 The reviewer must not be an AI tool.
48
+
6.3 The review must be clearly recorded, including but not limited to code review comments and commit message annotations.
49
+
50
+
Article 7 – Supplementary Provisions
51
+
52
+
7.1 Severability: If any provision of this license is held to be invalid or unenforceable, the remaining provisions shall remain in full force and effect.
53
+
7.2 Revision: Subsequent revisions of this license must be reviewed and approved by the Maintainer, with a change log recorded. Once published, the revised version applies to all subsequent contributions to the project.
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,10 @@ Full guides, API references, and examples at [core.amritabot.com](https://core.a
59
59
60
60
We welcome contributions! Please see our [contribution guidelines](./CONTRIBUTING.md) for more information.
61
61
62
+
## AIGC Content Licensing Policy
63
+
64
+
We use [AACLP v1.0](https://github.com/AmritaBot/AACLP/blob/v1.0/contents/AACLPV1) for AIGC content licensing. See [here](./POLICY_OF_AIGC) for more details.
65
+
62
66
## 📄 License
63
67
64
68
This project is licensed under the **Apache 2.0 License** — see the [LICENSE](./LICENSE) file for details. All versions of AmritaCore are released under Apache 2.0.
0 commit comments