chore: add vouch system for first-time contributors#375
Merged
johntmyers merged 4 commits intomainfrom Mar 16, 2026
Merged
Conversation
Add a trust gate that auto-closes PRs from unvouched external contributors. Org members and collaborators bypass automatically. Maintainers vouch users by commenting /vouch on a Vouch Request discussion, which appends the username to .github/VOUCHED. Also adds AI usage policy and good-first-issue guidance to CONTRIBUTING.md. Signed-off-by: John Myers <johntmyers@users.noreply.github.com>
Replace custom vouch-check and vouch-command workflow scripts with the mitchellh/vouch GitHub Actions. Handles bot exemption, race conditions, denouncement, and the .td file format out of the box. Signed-off-by: John Myers <johntmyers@users.noreply.github.com>
Signed-off-by: John Myers <johntmyers@users.noreply.github.com>
drew
approved these changes
Mar 16, 2026
Signed-off-by: John Myers <johntmyers@users.noreply.github.com>
pimlock
approved these changes
Mar 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a vouch system that gates first-time external contributor PRs behind maintainer approval. Inspired by Ghostty's contributor trust model. Org members and collaborators bypass automatically.
Changes
vouch-check.yml— auto-closes PRs from unvouched users (bots exempted)vouch-command.yml— handles/vouchcommand in Discussion comments, appends username to.github/VOUCHED.github/VOUCHED— flat-file allowlist of approved contributor usernames.github/DISCUSSION_TEMPLATE/vouch-request.yml— structured template for vouch requestsCONTRIBUTING.md— added "The Critical Rule", "AI Usage", "First-Time Contributors", and "Finding Work" sectionsAGENTS.md— added Vouch System section and updated PR conventions.github/CODEOWNERS— added ownership for VOUCHED file.github/ISSUE_TEMPLATE/config.yml— added vouch request as first contact linkManual Setup Required
After merge, a repo admin needs to:
good-first-issueto populate the link in CONTRIBUTING.mdTesting
mise run pre-commitpassesChecklist