Contributing
Thanks for your interest in contributing to Gemara! Contributions of all kinds are welcome including docs, schemas, SDKs, examples, and ideas. This page covers a few things worth knowing before you open a pull request, including how we like AI-assisted work to be attributed.
Getting started
- Sign off your commits with
git commit -s(see DCO below). - Use Conventional Commits for PR
titles, for example
docs: fix typo on the model page. - Run
make cleanupbefore committing to clear out generated files.
Planning something larger? Come say hello first. We’re happy to help shape the idea:
- Slack: #gemara on OpenSSF Slack
- Meetings: every other Thursday — see the OpenSSF calendar
Start with an issue
Every non-trivial change starts with an issue. New issues arrive labeled
maintainer-triage, which means no maintainer has responded yet. Wait for a
maintainer to remove the label before opening a pull request, that’s the
signal that the scope is agreed and the work is ready to start. Pull requests
for changes whose issue still carries the label are moved to draft
automatically, so no one’s work is closed, just paused until the scope
conversation happens. Typo fixes and similar small corrections don’t need an
issue first.
Opening the issue first provides a chance to shape the idea together before time is spent on it, and to catch scope or design questions early, when they’re cheap to fix and review.
Pull request limits
GitHub moderation limits apply to users without write access, at most five open pull requests per user, with additional restrictions on recently created accounts. The caps keep each of those reviews thorough rather than rushed. Focusing on a handful of pull requests at a time also tends to produce reviews that are easier to act on, for contributor and reviewer alike. We lift the limits when submission volume returns to a level the team can keep pace with.
Bundling related changes, specifically when they are changes to improve test coverage, is fine to keep contributions under the cap.
DCO
Gemara uses the Developer Certificate of Origin,
so please sign off your commits with git commit -s. The sign-off says that
you wrote the change, or otherwise have the right to submit it. So it should
be yours, even when an AI tool helped you write it.
Working with AI
AI-assisted contributions are welcome. We just ask that you be open about where AI was involved, so reviewers and future maintainers understand what they’re looking at. Please refer to the Linux Foundation’s Generative AI Policy for additional guidance.
Commits
When AI helped author a commit, add an Assisted-by: trailer naming the tool:
Assisted-by: Claude Code <noreply@anthropic.com>
Please don’t use Co-authored-by: for AI tools (this is blocked by our branch protections).
The DCO sign-off is a statement made by a person, so co-authorship should reflect the humans
involved.
PRs, issues, and comments
If an AI generated or largely drafted a PR description, issue, or comment, add a 🤖 so it’s clear which text is AI-generated and which is yours.
Understanding what you contribute
Whether a change is hand-written or AI-assisted, the goal is the same: you should understand it well enough to walk someone through it. A good rule of thumb is to imagine explaining the change months from now. You might not remember every function name, but the reasoning, the design, and the packages it relies on should still feel like yours.
If a change gets that kind of understanding, it’s in good shape. If it doesn’t yet, it’s worth spending a bit more time with it before asking for a review.