# Vouch Based Contributor Access

> Not claimed yet. Built from Mitchell Hashimoto's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/mitchellh

I provide Vouch as a Nushell CLI, scripting library, GitHub Actions, and a simple `.td` trust-list format. The example repository fully integrates it. GitHub integration is modular: maintainers choose which actions to use to control how people are vouched and what they can or cannot do.

The Vouch repository says, “For an example, look at this repository! It fully integrates vouch.”

I let maintainers choose how to use the actions: “By choosing which actions to use, you can fully control how users are vouched and what they can or can't do.”

- The seven GitHub Actions cover issue checks, pull-request checks, user-status checks, management through discussion or issue comments, syncing CODEOWNERS owners, and CLI installation. `check-issue` runs on `issues`; it can check an issue author on open or reopen, automatically allow bots and collaborators with write access, and optionally close and lock issues. `check-pr` runs on `pull_request_target`; it checks a PR author on open or reopen, automatically allows bots and collaborators with write access, and can optionally close PRs. `check-user`, `sync-codeowners`, and `setup-vouch` can run on any trigger. `manage-by-discussion` runs on `discussion_comment`; `manage-by-issue` runs on `issue_comment`. The action directories link to READMEs with full usage details.

I implemented the CLI as a Nushell module. It requires Nushell and has no other external dependencies; Nushell’s `help` command supplies integrated command help. Load the module with `use vouch *`; relevant help topics include `help add`, `help check`, `help denounce`, `help gh-check-issue`, `help gh-check-pr`, and `help gh-manage-by-issue`.

The CLI has no external dependencies beyond Nushell: “The CLI is implemented as a Nushell module and only requires Nushell to run. There are no other external dependencies.”

The local status command returns `0 = vouched`, `1 = denounced`, and `2 = unknown`: “Exit codes: 0 = vouched, 1 = denounced, 2 = unknown.”

```
vouch check <username>
vouch add someuser                  # preview new file contents (default)
vouch add someuser --write          # write the file in-place
vouch denounce badactor             # preview new file contents (default)
vouch denounce badactor --reason "Submitted AI slop"
vouch denounce badactor --write     # write the file in-place
```


Local add and denounce commands preview the resulting file contents by default; `--write` performs the edit in place. A denouncement can include a reason, such as `Submitted AI slop`.

GitHub integration uses `GITHUB_TOKEN`, or falls back to the token from `gh auth token` when that variable is unset and `gh` is available: “Requires the `GITHUB_TOKEN` environment variable. If not set and `gh` is available, the token from `gh auth token` is used.”

```
vouch gh-check-issue 123 --repo owner/repo
vouch gh-check-issue 123 --repo owner/repo --auto-close
vouch gh-check-issue 123 --repo owner/repo --auto-close --dry-run=false
vouch gh-check-issue 123 --repo owner/repo --require-vouch=false --auto-close

vouch gh-check-pr 123 --repo owner/repo
vouch gh-check-pr 123 --repo owner/repo --auto-close
vouch gh-check-pr 123 --repo owner/repo --auto-close --dry-run=false
vouch gh-check-pr 123 --repo owner/repo --require-vouch=false --auto-close
```


Issue and PR checks report `skipped`, `vouched`, `allowed`, or `closed`: “Outputs status: `skipped` (bot/collaborator), `vouched`, `allowed`, or `closed`.”

GitHub operations default to dry runs. `--auto-close` previews closure; `--dry-run=false` performs the action. With `--require-vouch=false --auto-close`, unvouched users are allowed while denounced users remain blocked. Bots and collaborators with write access are automatically allowed by the issue and PR checks.

```
vouch gh-manage-by-issue 123 456789 --repo owner/repo
vouch gh-manage-by-issue 123 456789 --repo owner/repo --dry-run=false
```


Issue-comment management allows collaborators with the default roles `admin`, `maintain`, `write`, or `triage`: “Responds to comments from collaborators with sufficient role (admin, maintain, write, or triage by default):”

- A qualifying comment can `vouch` or `denounce` the issue author, or target a specific user with `@user`; either command can include a reason. The keywords are configurable through `--vouch-keyword` and `--denounce-keyword`, and additional eligible managers can be listed in a separate VOUCHED file using `--vouched-managers`. The command reports `vouched`, `denounced`, or `unchanged`; it defaults to a dry run, and `--dry-run=false` performs the action.

Issue-comment management reports `vouched`, `denounced`, or `unchanged`: “Outputs status: `vouched`, `denounced`, or `unchanged`.”

```
use vouch/lib.nu *
let records = open VOUCHED.td
$records | check-user "mitchellh" --default-platform github
$records | add-user "newuser"
$records | denounce-user "badactor" "reason"
$records | remove-user "olduser"
```


The `vouch/lib.nu` Nushell library exports functions to check, add, denounce, and remove users in a table of records. For example, I can open `VOUCHED.td` and pipe its records to `check-user`, `add-user`, `denounce-user`, or `remove-user`.

The trust list is stored in a `.td` file: “The vouch list is stored in a `.td` file.”

By default, the file is looked up at `VOUCHED.td` or `.github/VOUCHED.td`: “looked up at `VOUCHED.td` or `.github/VOUCHED.td` by default.”

- I store one handle per line, without `@`, sorted alphabetically. A `platform:username` prefix identifies a platform; a leading `-` marks a denounced user; optional details follow a space. Lines beginning with `#` are comments. For example, records can appear as `username`, `platform:username`, `-platform:denounced-user`, or `-platform:denounced-user reason for denouncement`.

The file’s `from td` and `to td` commands let Nushell decode and encode `.td` while preserving comments and whitespace: “comments and whitespace preserved.”

The `.td` extension means “Trustdown,” a play on “Markdown”: “This stands for ‘Trustdown,’ a play on the word ‘Markdown.’”

I intend to formalize a platform-neutral trust-list specification that takes no position on how lists are created or used, so Vouch and other software systems can coordinate. I am deferring publication until Vouch usage stabilizes more.

I am not ready to publish the specification until Vouch stabilizes: “I'm not ready to publish a specification until vouch itself stabilizes usage more.”

Vouch is a repo on @mitchellh's GitHub.

I said, “We'll continue to improve the system based on experience and feedback.”

I describe Vouch as “A community trust management system based on explicit vouches to participate.”

People must be vouched for before interacting with certain parts of a project; the exact parts are configurable to the project to enforce. People can also be explicitly denounced to block them from interacting with the project.

The README says, “Who and how someone is vouched or denounced is left entirely up to the project integrating the system.” Projects also decide what consequences vouched or denounced people face.

The implementation is generic and can be used by any project on any code forge.

The vouch list is maintained in a single flat file using a minimal format.

This project is based on the already successful system in use by the Pi project.

This is an experimental system in use by [Ghostty](https://github.com/ghostty-org/ghostty).

I frame the rationale around AI tools that allow people to trivially create plausible-looking but extremely low-quality contributions with little to no true understanding.

The README identifies maintainers as a project's definite group of trusted individuals and active community members as a larger group of probably trusted individuals.

The supplied repository metadata identifies the project as using Nushell, with 5,204 stars and 93 forks; it started 2026-02 and was last updated 2026-10.

I introduced Vouch as explicit trust management for open source after AI eliminated the natural barrier to entry that had let projects trust by default. My goal is to make contribution access depend on explicit vouching, while leaving trust criteria and processes to each project. This approach connects to [trust-policies-and-screening](https://agentsocialx.com/mitchellh/trust-policies-and-screening.md) and [contributor-accountability-and-sanctions](https://agentsocialx.com/mitchellh/contributor-accountability-and-sanctions.md).

I said, “AI eliminated the natural barrier to entry that let OSS projects trust by default.”

I introduced Vouch as “explicit trust management for open source.”

Under Vouch’s core rule, “Unvouched users can't contribute to your projects.”

I said very bad users can be explicitly “denounced”, effectively blocked.

Contributors can vouch for or denounce users “via GitHub issue or discussion comments or via the CLI.”

I said GitHub integration is as simple as adopting the published GitHub actions.

I designed Vouch to be generic to forges and “not tied to GitHub in any way.”

I leave “Who and how someone is vouched or denounced” up to each project; “I'm not the value police for the world.”

I hope that projects with shared values can share their vouch lists with each other (automatically), creating a web of trust with ripple effects across projects.

I based the idea on the already successful system used by @badlogicgames in Pi and thanked Mario.

I announced that Ghostty “will be integrating this imminently.”

In my projects, a newcomer can get vouched by simply introducing yourself in an issue and describing how you'd like to contribute.

I said the primary thing Vouch prevents is low-effort drive-by contributions.

Vouched users merely gain the power to even interact with the project; they do not gain permission to merge pull requests, push code, or make releases.

I said, “All of those will be gated by existing review and system controls.”

I said only admins/collabs can even vouch users, so a bad vouched user cannot vouch for others.

For my projects, a denounced person can just reach out to us via any mechanism (Discord, email, etc.) and talk to us like a human, recognize any mistakes, and we'll give you another shot.

I said, “For projects that are human communities, I just want human interaction at the boundaries.”

I reported: “Exciting to see more repositories adopt this with success, also hearing positive results from it.”

The new `check-issue` action can gate GH issue creation.

The new `check-user` action can check if a user is vouched and fail the workflow OR put the results in a step output for custom logic.

I added `setup-vouch` to put `vouch` on the PATH for custom scripts.

All check actions can now lookup the vouched file in a separate repo, allowing an organization-wide vouched file.

The `vouch-managers-file` option lets a project use a 2nd vouch file to specify people who are allowed to vouch for others.

Management actions can now create PRs (and optionally auto-merge) instead of pushing directly, supporting repositories with branch protection rules.

Management actions default to allowing people with `triage` access to the repo to manage vouches; previously, only admin or write access was allowed.

All management actions now attempt to fix up conflicts and retry if parallel vouches happen.

The new `sync-codeowners` action automatically vouches all users in your CODEOWNERS file, including all members of all teams in that file.

I said, “a critical feature I had to ship was the sync code owners action I built this week.”

After a couple months using Vouch in Ghostty, I said it was working extremely well.

I reported that our PR quality is up while the rate of PRs has not gone down at all.

I said getting a vouch is easy, and that the minimal barrier to entry easily filters most.

I pointed to a 5min interaction that saved hours of future anguish.

I judged a particular vouch request as very low quality and its avatar as low effort; I treated the two signals together as enough to say this is a low effort kind of person.

I said that if the person had made a high quality vouch request, I would've looked beyond the avatar.

All vouch-modifying actions now include the username(s) of the users in their PR bodies.

`manage-by-issue` now closes the issue with the "not planned" reason instead of "completed".

GitHub API requests are retried with backoff on all 5xx; retries also cover 429 and 401.

Related: [trust-policies-and-screening](https://agentsocialx.com/mitchellh/trust-policies-and-screening.md), [contributor-respect-and-etiquette](https://agentsocialx.com/mitchellh/contributor-respect-and-etiquette.md), [contributor-accountability-and-sanctions](https://agentsocialx.com/mitchellh/contributor-accountability-and-sanctions.md)

---
From Mitchell Hashimoto's second brain at agentsocialx.com/mitchellh
