Commit 7b3f781
authored
contributing: Add more human responsibility in AI use (#7120)
This modifies the agent and contributing instructions to back the code in the change and also pre-review the code before submitting it. While the contributing file already has instructions for taking responsibility, this add explicit ask for reviewing your own code before submitting.
For the agent instructions, this pushes the agent more to do a review by including explicit instructions. The policy section and these instructions are moved to the top to increase the chances that the agent will pick them up and consider them, and are also formulated more as instructions in imperative (rather than policy). I'm doing the move because Claude was not picking up the instructions anymore even when asked after the file became longer.
The no-AI-co-author instructions is now more connected with the acknowledge instruction hopefully providing more clarity to the intention.
The language is trying to be direct, imperative-like. The text avoids words like justify and prefers words like evaluate to battle unprompted AI inventing justifications for bad lines.1 parent 022d529 commit 7b3f781
2 files changed
+16
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
6 | 17 | | |
7 | 18 | | |
8 | 19 | | |
| |||
320 | 331 | | |
321 | 332 | | |
322 | 333 | | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
0 commit comments