mirror of
https://github.com/PrismLauncher/PrismLauncher
synced 2026-04-23 09:05:03 +00:00
fix(CONTRIBUTING): linting errors
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
e59e6f463c
commit
67101751c8
|
|
@ -1,6 +1,7 @@
|
|||
# Contributions Guidelines
|
||||
|
||||
## Restrictions on Generative AI Usage (AI Policy)
|
||||
|
||||
> [!NOTE]
|
||||
> The following is adapted from [matplotlib's contributing guide](https://matplotlib.org/devdocs/devel/contribute.html#generative-ai) and the [Linux Kernel policy guide](https://www.kernel.org/doc./html/next/process/coding-assistants.html)
|
||||
|
||||
|
|
@ -17,33 +18,32 @@ To preserve precious core developer capacity, we reserve the right to rigorously
|
|||
|
||||
AI agents MUST NOT add Signed-off-by tags. Only humans can legally certify the Developer Certificate of Origin (DCO). The human submitter is responsible for:
|
||||
|
||||
- Reviewing all AI-generated code
|
||||
- Ensuring compliance with licensing requirements
|
||||
- Adding their own Signed-off-by tag to certify the DCO
|
||||
- Taking full responsibility for the contribution
|
||||
- Reviewing all AI-generated code
|
||||
- Ensuring compliance with licensing requirements
|
||||
- Adding their own Signed-off-by tag to certify the DCO
|
||||
- Taking full responsibility for the contribution
|
||||
|
||||
See [Signing your work](#signing-your-work) for more information.
|
||||
|
||||
|
||||
### Attribution
|
||||
|
||||
When AI tools contribute to development, proper attribution helps track the evolving role of AI in the development process. Contributions should include an Assisted-by tag in the commit message with the following format:
|
||||
|
||||
```
|
||||
```text
|
||||
Assisted-by: AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]
|
||||
```
|
||||
|
||||
Where:
|
||||
|
||||
- `AGENT_NAME` is the name of the AI tool or framework
|
||||
- `MODEL_VERSION` is the specific model version used
|
||||
- `[TOOL1] [TOOL2]` are optional specialized analysis tools used (e.g., coccinelle, sparse, smatch, clang-tidy)
|
||||
- `AGENT_NAME` is the name of the AI tool or framework
|
||||
- `MODEL_VERSION` is the specific model version used
|
||||
- `[TOOL1] [TOOL2]` are optional specialized analysis tools used (e.g., coccinelle, sparse, smatch, clang-tidy)
|
||||
|
||||
Basic development tools (git, gcc, make, editors) should not be listed.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
```text
|
||||
Assisted-by: Claude:claude-3-opus coccinelle sparse
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue