epugh commented on code in PR #5409:
URL: https://github.com/apache/solr/pull/5409#discussion_r4758305732


##########
dev-docs/how-to-contribute.adoc:
##########
@@ -60,16 +60,28 @@ In order to make a new contribution to Solr you will use 
the fork you have creat
 * update documentation (e.g., package.html files, this wiki, etc.)
 * try to provide a unit test that shows a bug was indeed fixed or the new 
functionality truly works
 * use the "draft state" for PRs which are work in progress
-* carefully review and take responsibility for any AI-assisted code or 
documentation (see below)
-
-## Use of AI Coding Assistants
-
-AI-powered tools or agents (like GitHub Copilot, ChatGPT, etc.) can assist 
with contributions, but human contributors remain fully responsible for all 
submitted code and documentation. See the [ASF Generative Tooling 
Guidance](https://www.apache.org/legal/generative-tooling.html) for the 
foundation's policy. If you use AI tools:
-
-- Do include our `AGENTS.md` file in the LLM's context for best result.
-- Carefully review all generated content for correctness, security, and 
alignment with Solr's architecture
-- For major AI-assisted contributions, disclose the use of AI tools in your PR 
description
-- For documentation contributions, prefer concise, human-readable content over 
verbose AI-generated text
+* review and take responsibility for AI-assisted work, and disclose AI-written 
text (see below)
+
+## Use of AI / Generative Tooling
+
+Using AI tools (Copilot, ChatGPT, Claude, coding agents, etc.) to work on Solr 
is welcome -- for code, tests, docs, research, reviews, and more.
+We have one firm expectation: **don't pass off AI-written text as your own 
words.**
+
+* **Mark AI-written prose.**
+  When people read a PR description, JIRA issue, comment, review, or mailing 
list post, they assume a human wrote it unless told otherwise.
+  If AI wrote it, or a substantial part of it, mark it -- a 🤖 is enough; 
naming the tool is a nice touch.
+  Text you wrote yourself and only had AI polish (grammar, wording) doesn't 
need marking.
+* **Code and docs needn't be marked line by line.**
+  But if AI substantially generated a PR's contents, say so in the commit 
message(s) with a trailer naming the tool, e.g. `Generated-by: <tool>` (or 
similar -- there's no standard yet; `Assisted-by:` or `Co-authored-by:` are 
fine).
+  Committers squash-merging such a PR should keep the trailer.
+* **You own what you submit.**
+  Review and understand it, and be ready to explain it.
+  If you didn't review it or don't understand it then admit this in a comment 
up front.

Review Comment:
   > I'd also like to share my opinion that it's not wrong to contribute 
something completely as-is without time/energy for anything more. 
   
   I've been dealing with a fair number of "drive by contributions" and if it's 
small and perfect, maybe it's okay.  but if it require any thinking, then if 
the person isn't willing to work with me when I reach out, well then that ends 
up being another loss of my time.  Again, writing code is the easy part, 
getting it understood, tested, integrated is the hard part.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to