Files
romm/CONTRIBUTING.md
Georges-Antoine Assi 6aa1198634 feat(ci): add a vouch and denouncement contribution system (#5835)
* feat(ci): add a vouch and denouncement contribution system

Pull requests from authors who aren't vouched in .github/VOUCHED.td are
closed automatically, and denounced users' issues and pull requests are
closed too. Maintainers manage the list with !vouch, !unvouch and
!denounce comments, which queue changes on a single vouch/updates pull
request, since master is protected.

Adapted from Ghostty's vouch system (ghostty-org/ghostty#10559) with our
own stdlib-only script instead of the mitchellh/vouch actions. Adds a
vouch request issue form, an AI usage policy, and the matching
CONTRIBUTING sections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(ci): keep concurrent vouch commands and close only the vouched request

Addresses Greptile review on #5835:
- Drop the concurrency group, which kept only one waiting run, and retry
  on conflicting commits instead. The pending PR body is rebuilt from the
  branch's commit messages so concurrent runs can't lose a line.
- Only close a vouch request when the vouched user is its author.
- Shorten the module docstring, workflow comments and VOUCHED.td header.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* pr-ready: code-review

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* pr-ready: simplify

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* pr-ready: polish

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* pr-ready: prose

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* pr-ready: simplify code-review fixes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(ci): keep the vouch queue when its PR is closed without merging

Only a merged PR resets vouch/updates now. A PR closed to rerun CI keeps
its commits, and the next command reopens it instead of opening a new one.
Deleting the branch drops the queue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(ci): ask vouch requesters about their development experience

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(ci): tighten the vouch request experience prompt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(ci): ask vouch requesters what they've built and how they work

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(vouch): vouch for Covin90 and tmgast

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(vouch): vouch for milktoastrat and BrandonKowalski

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 17:12:10 -05:00

6.0 KiB

Contributing to RomM

Thank you for considering contributing to RomM! This document outlines some guidelines to help you get started with your contributions.

If you're looking to implement a large feature or make significant changes to the project, it's best to open an issue first AND join the Discord to discuss your ideas with the maintainers.

Code of Conduct

Please note that this project adheres to the Contributor Covenant code of conduct. By participating in this project, you are expected to uphold this code.

The Critical Rule

The most important rule: you must understand your code. If you can't explain what your changes do and how they interact with the rest of the system without the help of AI tools, don't contribute to this project.

Using AI to write code is fine. You can build that understanding by questioning an agent that has access to the codebase until you grasp every edge case and effect of your change. What's not fine is submitting agent-generated slop without that understanding.

AI Usage

Important

If you are using any kind of AI assistance to contribute to RomM, it must be disclosed in the pull request.

RomM has strict rules for AI usage. Please read the AI Usage Policy before contributing.

First-Time Contributors

RomM uses a vouch system for first-time contributors:

  1. Open a vouch request describing what you want to change, why, and your experience as a developer. We vouch for people who wrote software before AI coding tools existed. Follow the template, keep it short, and write it in your own words. Don't have an AI write it.
  2. A maintainer will comment !vouch if it's approved. That adds you to .github/VOUCHED.td through a pull request.
  3. Once that pull request is merged, you can open pull requests.

Pull requests from authors who aren't vouched are closed automatically. Members of the RomM organization, repository collaborators and bots don't need a vouch. This system exists because open source runs on trust, and AI has made it too easy to generate plausible-looking but low-quality contributions for us to trust by default.

Denouncement System

If you repeatedly break the rules in this document or repeatedly submit low-quality work, you will be denounced. This adds your username to the public list in .github/VOUCHED.td, and your future pull requests and issues on this project will be closed automatically.

The list is public and uses the same format as other projects' vouch lists, so projects that trust our judgement can block you automatically too.

Maintainers manage the list by commenting !vouch [@user], !unvouch [@user] or !denounce [@user] [reason] on an issue or pull request. Without @user, the command applies to the author of that issue or pull request, so a bare word after the command is never read as a username. Each command is queued on a single open pull request, and it takes effect once that pull request is merged.

Contributing to the Docs

If you would like to contribute to the project's documentation, open a pull request against the docs repo. We welcome any contributions that help improve the documentation (new pages, updates, or corrections).

Adding Translations

If you would like to translate the project into another language, create a new folder under the frontend/src/locales directory, and follow the existing language files as a template. Add the language's name, written in that language, to LOCALE_NAMES in frontend/src/stores/language.ts. Once you've created the new language file, open a pull request to add it to the project.

How to Contribute Code

  1. Fork the repository.
  2. Clone your forked repository: git clone https://github.com/your-username/romm.git
  3. Checkout the master branch: git checkout master
  4. Follow the steps in the developer setup guide
  5. Create a new branch for your feature/fix: git checkout -b feature-or-fix-name
  6. Make your changes and commit them with descriptive commit messages: git commit -am 'Add feature XYZ'
  7. Push your changes to your fork: git push origin feature-or-fix-name
  8. Open a pull request to the master branch of the original repository.

Pull Request Guidelines

  • Make sure your code follows the project's coding standards.
  • Test your changes locally before opening a pull request.
  • Update the documentation if necessary.
  • Ensure all existing tests pass, and add new tests for new functionality.
  • Use clear and descriptive titles and descriptions for your pull requests.
  • Write the PR title as a Conventional Commit, such as fix(scan): keep partial bytes out of the fallback hash. Allowed types are feat, fix, perf, refactor, revert, docs, style, test, build, ci and chore, and CI checks the title.

Code Style

Follow the existing code style used throughout the project. If working with VSCode or a similar editor, consider installing these extensions:

Issue Reporting

If you encounter any bugs or have suggestions for improvements, please create an issue on GitHub. Provide as much detail as possible, including steps to reproduce the issue if applicable.

Licensing

By contributing to RomM, you agree that your contributions will be licensed under the project's LICENSE.


Thank you for contributing to RomM! Your help is greatly appreciated.