Skip to content

Introduction of an AI-policy for stan-dev repos#59

Open
florence-bockting wants to merge 4 commits intostan-dev:masterfrom
florence-bockting:ai-policy
Open

Introduction of an AI-policy for stan-dev repos#59
florence-bockting wants to merge 4 commits intostan-dev:masterfrom
florence-bockting:ai-policy

Conversation

@florence-bockting
Copy link
Copy Markdown

@florence-bockting florence-bockting commented Mar 30, 2026

Description

This pull request introduces an initial proposal of an AI contribution policy that addresses the use of Large Language Models (LLMs) and generative AI tools in code contributions. The policy is designed to be adopted across Stan GitHub packages in the future. Given the growing use of AI-assisted tools, the goal is to provide clear guidance for our contributors.

This PR includes two documents:

  • an AI policy document (ai_policy.md)
  • a PR template document that builds upon the AI policy document

We invite the community to review the drafts, share ideas and feedback, and provide input before we test the documents in a selected repository. Thank you.

An initial draft of the AI-policy was generated using Google Gemini.

Copy link
Copy Markdown
Member

@bob-carpenter bob-carpenter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for submitting. I have a few questions on the legalese, some grammatical corrections, and some policy questions.


---

This policy is effective as of [date]. It will be reviewed periodically as AI tools and community norms evolve.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is not ready for approval until [date] is replaced with an actual date.

@WardBrian
Copy link
Copy Markdown
Member

The rendered policy can be viewed here: https://github.com/florence-bockting/design-docs/blob/ai-policy/ai_policy/AI_policy.md

I'm curious about the DCO requirement. We haven't previously required it, since the Github Terms of Service contain fairly similar language. The DCO goes a bit further, nearly to the point that one could interpret it as prohibiting any AI-written code until the copyright law about it settles down...

Copy link
Copy Markdown
Member

@bob-carpenter bob-carpenter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm OK with this now, so I'll submit my approval so it's not blocking anything. But I think we need something like SGB approval to launch a new policy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants