This is helpful @ebrahim, Iβm looking forward to the conversation.
Two related topics in my mind:
What should be our AI best practice guidelines be for review of contributions. We have been experimenting with this but it would help to be a bit more formal about what tools we run and what prompts we use.
How can we use these tools to analyze and improve our pre-AI code. I know there many things that can be improved, and we should discuss how we want to proceed with large scale bug hunts and refactorings.
We need to consider how these decisions will impact research users as well as clinical/commercial collaborators.
Ahead of the meeting, I wanted to collect opinions that were already expressed in the various github discussions.
Do we want to discourage or forbid any pull requests where the contributor admits they are not able to explain how the code works?
Andrey favors allowing them case by case, while making clear they may receive lower priority or be rejected. Thibault and Andras expect contributors to understand their changes, but didnβt say that means a submission should be otherwise disqualified.
What must contributors do before requesting review?
Murat wants explicit requirements people can give their agents, to prevent overwhelming maintainers. Andrey proposes separating contributor recommendations from concrete rules for maintainers.
What AI disclosure should we require?
There is broad support for disclosure, including from Ron. Andras and Murat want model/agent details and Andras wants them preserved in commits. Andrey supports AI co-authorship. Thibault initially objected that listing an AI co-author gives the AI company free advertising, but James points out that there are many incidental sources of advertisement that we already accept. Thibault added model/agent disclosure to the PR template and was okay to relax the co-author restriction. A possible compromise is Andrasβs custom commit format.
Should AI review run automatically, and how should reviewers use it?
James favors automatic Copilot review before human review, with findings and responses visible. Thibault prefers contributor-run local checks to avoid clutter. Andrey proposes a light automatic pass, then reviewer-directed deeper review, accounting for cost and reviewer bias; he doubts Copilot alone is sufficient. He also wants reviewersβ AI use standardized or disclosed.
May contributors and reviewers paste AI-generated responses into discussions?
Thibault objects to lengthy pasted output cluttering discussion and expects contributors to answer code questions themselves. Andrey considers disclosed AI output a legitimate second opinion; James points to its existing use in extension reviews.
And let me throw in my two cents built upon this ( no AI below!):
Do we want to discourage or forbid any pull requests where the contributor admits they are not able to explain how the code works?
Agree with Andrey: judge cases individually and make it clear that some cases may be deprioritized. As Sam put it, we have already been doing a perfectly good job of ignoring non-AI pull requests
The policy we put out might do well to just formalize that permission and warning of deprioritization. It should be clear that allowing a submission isnβt a promise it will be reviewed, because it has never been anyway.
Ultimately, no matter what we say in the policy, review requirements come down to trust. Individuals trusting their LLM agents, individuals trusting other individuals with a track record, individuals trusting other individuals with a track record of using LLM agents in a certain way, etc.
What must contributors do before requesting review?
I think that for core application changes we have to require that they have built the software and demonstrated what they are doing locally, potentially also running tests. If it is a bug fix, for example, they should have at least reproduced the bug and tested that it is fixed. We should require that the agent they are working with is enabled by a full application build with tests. As Murat suggested we can embed this sort of requirement into something that contributorsβ agents will see.
What AI disclosure should we require?
I am fully in the camp that βco-authorβ suggests reduced responsibility by the human author and should be disallowed outright for that reason. Some folks want the model/agent details, and some folks donβt care about that, and so I think it is harmless to just require model/agent details (in commit messages) and make almost everyone happy.
Should AI review run automatically, and how should reviewers use it?
I agree with Thibault that the copilot review is clutter and often distracting. I think for a useful review you need a human at least deciding which issues matter before posting them. I might change my mind if copilot becomes better.
Howeverβ¦ why should we feel so strongly about a bit of clutter? Itβs localized and ignorable clutter. So maybe we should be okay enabling auto-copilot review if it helps some people as long as itβs not considered a replacement for a βrealβ review and is more just providing information rather than tasks.
Side note: It would be super nice to have a standard set of instructions for Slicer reviews that reviewers can use with their own agents. That could make reviews a breeze and ensure that reviewers donβt miss important things.
May contributors and reviewers paste AI-generated responses into discussions?
No one wants to talk to a meat proxy, but itβs too difficult to enforce a ban and there are many legitimate uses of AI-generated text in responses (such as my own AI summary of the community discussion above which I hope is useful!). I think this should remain in the realm of etiquette: If you are pasting a wall of AI generated text, then you are being annoying but that doesnβt mean there should be a policy to strike you down.
Do we want to discourage or forbid any pull requests where the contributor admits they are not able to explain how the code works?
No one wants to forbid these outright, it is always case by case. As for writing down a policy, we donβt necessarily need to write down a policy in order to reject PRs that are 100% not understood by their authors (people generally agree that those are okay to reject). But we should probably write down a policy for to provide people with some guidance, to encourage contributions.
What must a contributor do before asking maintainers to review an AI-assisted PR?
(Not discussed)
What AI disclosure should we actually require? (co-authorship vs disclosure, etc.)
Almost full agreement that it is reasonable to stick into the commit message check CI and into an AGENTS.md a requirement to not have LLM git co-authorship β¦ we could at least make a PR for this and accept objections.
The question of disclosure is separate and there is not clear consensus on the what exactly to require in the way of disclosure.
Should we automatically run an AI review on PRs?
(Not discussed)
May contributors and reviewers paste AI-generated responses into discussions?