mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
chore: add ai policy (#7481)
This commit is contained in:
@@ -16,12 +16,27 @@ Closes #
|
||||
<!--- Please describe in detail how you tested your changes. -->
|
||||
<!--- Include details of your testing environment, tests ran to see how -->
|
||||
<!--- your change affects other areas of the code, etc. -->
|
||||
<!--- Most changes do not need to be tested on multiple operating systems. -->
|
||||
- [ ] I have tested using **MacOS**
|
||||
- [ ] I have tested using **Linux**
|
||||
- [ ] I have tested using **Windows**
|
||||
|
||||
#### AI-Assistance
|
||||
<!-- Per our AI Policy (AI_POLICY.md), all AI usage must be declared. -->
|
||||
Have you used AI-assistance to author this PR?
|
||||
|
||||
- [ ] Yes
|
||||
- [ ] No
|
||||
|
||||
If **yes**, describe the scope of assistance:
|
||||
<!--- Describe how you used AI-Assistance -->
|
||||
<!--- Disclosure is required if you have used AI-assistance -->
|
||||
<!--- For example: answering project questions, writing tests, implementation, or documentation -->
|
||||
N/A
|
||||
|
||||
#### Checklist:
|
||||
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
|
||||
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
|
||||
- [ ] I have updated the documentation accordingly.
|
||||
- [ ] I have updated the tests accordingly.
|
||||
- [ ] I understand and have read the code I contribute and can answer questions about it.
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
# AI Usage Policy
|
||||
|
||||
This policy supplements our [Contributing Guide](CONTRIBUTING.md) and [Code of Conduct](CODE_OF_CONDUCT.md).
|
||||
|
||||
This project is maintained by volunteers.
|
||||
This policy exists to keep review burden reasonable.
|
||||
The policy is inspired by the [Ghostty](https://github.com/ghostty-org/ghostty/blob/main/AI_POLICY.md) and [LLVM](https://llvm.org/docs/AIToolPolicy.html) AI policies.
|
||||
|
||||
Contributions that violate this policy may be closed without further notice.
|
||||
|
||||
## Mandatory Disclosure
|
||||
|
||||
Every Pull Request that utilizes AI-assisted tooling (including but not limited to Claude Code, Cursor, GitHub Copilot, ChatGPT, or local LLMs) must disclose its usage.
|
||||
|
||||
### PR Description
|
||||
|
||||
You must complete the **AI-Assistance** section in our Pull Request Template.
|
||||
|
||||
## Human-in-the-Loop
|
||||
|
||||
Contributors must fully understand all submitted contributions.
|
||||
|
||||
### Contributions
|
||||
|
||||
- You must be able to explain what your changes do and defend your implementation choices.
|
||||
- You are expected to have read and understood every line of code you submit.
|
||||
- If your response to a maintainer's question is an unedited copy-paste from an LLM, or if you cannot explain the mechanics of your PR, the PR will be closed.
|
||||
|
||||
### Issue Triage and Discussions
|
||||
|
||||
You are not allowed to reply to user issues or discussions with unverified or raw AI-generated information.
|
||||
|
||||
## "Good First Issue" Protections
|
||||
|
||||
You may not submit contributions to close a `🌱 good first issue` if they were authored with substantial AI assistance.
|
||||
These issues are intentionally triaged as learning opportunities for new developers navigating the codebase for the first time.
|
||||
|
||||
## Low-Effort Contributions & Prohibition of Autonomous Agents
|
||||
|
||||
- Contributions that are overly verbose, contain unsupported or hallucinated claims, or otherwise show the hallmarks of low-effort LLM usage may be closed without further notice.
|
||||
- Contributions via OpenClaw, or any other unsupervised autonomous agent operating in an automated loop, are strictly prohibited.
|
||||
Reference in New Issue
Block a user