| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a4cbecb commit f2ad992
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -90,6 +90,28 @@ To format your code according to our guidelines before committing, run: | |||
| 90 | 90 | cd python-gitlab/ | |
| 91 | 91 | tox -e black,isort | |
| 92 | 92 | ||
| 93 | + AI Attribution | ||
| 94 | + -------------- | ||
| 95 | + | ||
| 96 | + When an AI coding assistant contributed meaningfully to a commit (writing or | ||
| 97 | + significantly modifying code, suggesting the fix, generating tests, etc.), | ||
| 98 | + add an ``Assisted-by`` trailer to the commit footer:: | ||
| 99 | + | ||
| 100 | + Assisted-by: <AgentName>:<ModelVersion> | ||
| 101 | + | ||
| 102 | + Place it alongside any ``Closes:`` or ``BREAKING CHANGE:`` lines. Omit it when | ||
| 103 | + the AI contribution was trivial (e.g. a one-word suggestion or only | ||
| 104 | + autocomplete) or purely mechanical (running linters, reformatting). | ||
| 105 | + | ||
| 106 | + Example:: | ||
| 107 | + | ||
| 108 | + fix(cli): correct the --spam flag | ||
| 109 | + | ||
| 110 | + The --spam flag now says spam three times. | ||
| 111 | + | ||
| 112 | + Closes: #1234 | ||
| 113 | + Assisted-by: Claude:claude-sonnet-4-6 | ||
| 114 | + | ||
| 93 | 115 | Running unit tests | |
| 94 | 116 | ------------------ | |
| 95 | 117 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments