DaanHoogland commented on PR #14848:
URL: https://github.com/apache/cloudstack/pull/14848#issuecomment-7189282419

   > I agree this is a good direction to advertise that AI assistance was used 
in generation of the PR. I also agree that if a contributor is using AI they 
should be generating test coverage as well, that is something AI excels at.
   > 
   > That said, I think you should go a step further in this PR (or a 
follow-up) and provide a detailed AGENTS.md to provide some guardrails to 
ensure PRs are still reviewable by humans for common problems:
   > 
   > * language forms for commit messages, code comments, and pr descriptions 
that aren't in plain simple english, or state things that simply don't need to 
be said or don't add clarity.
   I have very extremist ideas about these:
   - only one line commit messages
   - no inline code comments (these should always lead to a top-of-method 
comment and a factored out bit of code)
   - (not an english speaker so I don't care about french or italian in the 
code)
   and
   - no references in comments or code to PRs or to issues
   
   > * code comments just stating what the code below does that is already 
obvious.
   as in no..., right?
   
   > * minimize code for review-ability.  Often AI will go down a rabbit hole 
on handling code paths that are impossible making PRs 10x larger than they need 
to be.
   AI is also very good at reducing code, so we should incite people to spend 
the extra few tokens on that as well. It is a simple prompt: "deduplicate and 
reduce this code without sacrificing readability." This should be a standard 
step in AI coding.
   
   very good idea (for a separate/parallel PR), will you start that 
@bhouse-nexthop ?


-- 
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]

Reply via email to