Skip to content

Commit d0e6490

Browse files
committed
update AI-polices for contributing
1 parent be8e56d commit d0e6490

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,16 @@ Before submitting your pull request, also make sure that the following condition
5151

5252
Please note that if a pull request is rather complicated, i.e. touches lots of internals, or became stale, it is not uncommon that a core contributor performs the final integration to get it done in good conscience while naming you as a co-author.
5353

54+
Guidelines for **AI**-assisted Contributions
55+
--------------------------------------------
56+
57+
**AI** tools are welcome as helpers, not authors. Keep these practices in mind:
58+
59+
* Stay accountable: only submit changes you understand and can justify; be ready to explain behavior, edge cases, and alignment with Kvrocks conventions. If an **AI** suggestion feels unclear, rewrite or drop it.
60+
* Keep humans in the loop: discuss non-trivial ideas early via [Issues](https://github.com/AssemblyScript/assemblyscript/issues) or [Discord](https://discord.gg/assemblyscript), especially when you are unsure about design or impact.
61+
* Use **AI** for acceleration, optimizarion and verification: treat **AI** output as a draft for code, tests, or docs; run linters/tests and review the logic **yourself**.
62+
* Be transparent in PRs: note briefly if **AI** was used and for what (e.g., initial draft, test scaffolding), and call out any parts where you want extra review.
63+
* Respect ASF policy: ensure generated content does not introduce incompatible licenses or undisclosed third-party code; review the ASF Generative Tooling Guidance and licensing rules when in doubt.
64+
* Prefer small patches over large dumps; if you cannot confidently explain an **AI**-produced change, open a well-described issue instead.
65+
5466
Thank you!

0 commit comments

Comments
 (0)