Plugins / GitHub
GitHub 5.5.1
The GitHub plugin lets a Vaubaan Gateway mission use GitHub without handing the agent a credential. Repositories, branches, files, pull requests, issues, releases and workflows a fine-grained token reaches.
1 · The model
How GitHub is modelled
1 plane, 25 things. The things that exist at the service and how they nest. Every permission is written over these; a resource of an account is one of them, named by its ref.
Account One account is one repository and a fine-grained personal access token made at GitHub for it alone.
Plane · repoA single GitHub repository (<owner>/), with its branches, files, PRs, issues, workflows, branch protection and credentials.
<owner>/<repo>). Not creatable via Vaubaan tools (out of scope).create_release when the tag does not yet exist.branch-protection 1nbranch-protection: The protection rules attached to a branch (required reviews, status checks, restrictions). Writing here is a posture-shift — the rule survives the token's lifetime.collaborator 1*collaborator: A user with explicit access to the repo. Present in the data model for exhaustiveness ; no current MCP tool writes here.secret 1nsecret: A repository Actions secret. Reserved for a future tool surface ; no current MCP tool touches secrets directly.repo-settings 1repo-settings: The singleton repo configuration (visibility, default branch, archive flag, etc.). Reserved — no current tool surface.branch[main] ≠ branch[feature/x]. Cardinality emerges from the selector — [main] is one, [feature/*] is unbounded.file[<path>] slice per file plus the files-bulk virtual leaf ; single-file writes emit file[<path>] (cardinality one).commit 1*commit: A commit on a branch. Read-only via tools — mutations are emitted implicitly when files are pushed.branch[<base>].merge-into.W.get_pull_request_reviews, slice pull_request[N].review.R).review-comment 1*review-comment: A comment on a line of the diff of a pull request, in a thread (get_pull_request_comments, slice pull_request[N].review-comment.R). Not an issue comment : GitHub keeps them apart. A reply in a thread (reply_to_pull_request_comment) is written issue[N].comment.W, as any comment : a write beneath pull_request[N] would be a pull-request write.issue[N].comment.W).update_issue rewrites the title, body or type of the issue. Its own leaf, so that it is neither a comment nor a label.comment 1*comment: A comment on an issue or PR (union space — see issue).label 1*label: A label put on an issue or PR (add_labels, slice issue[N].label[<name>].W, one per label). GitHub creates a label the repository does not have..github/workflows/*.yml). Read-only via tools — mutations only happen via file[] writes on the YAML (captured by the branch[**].workflow-via-file.W virtual slice).dispatch_workflow, cancel_workflow_run, rerun_workflow_run.list_workflow_jobs, slice workflow[*].workflow-run[<run>].job.R).get_job_logs, slice workflow[*].workflow-run[*].job[<id>].log.R). Read-only ; what a step printed, secrets masked by GitHub.search_code, search_issues) : every repository the token reaches, beyond the repositories of a mission. A second root of the plane, not a resource : nothing is selected, the search is decided by its own risk.search_code, slice search.code.R).issues 1issues: Issue and pull-request search (search_issues, slice search.issues.R). The search, not an issue of a repository.1 exactly one, namedn a finite, known set* an unknown number, possibly all the resource carries the environment, in the model only no tool touches it
Account
One account is one repository and a fine-grained personal access token made at GitHub for it alone.
Resource
The repository is the account's one resource. Another repository is another account. A mission picks repositories and the permissions it holds on them.
Environment
- Rule
- No permission of this service depends on an environment: each is held once, whatever the resource.
- Known
- none
- Carried by
repo.branch, in the model only
GitHub has no environment label: protected branches (main, master, release-*) and working branches (feature/*, fix/*, …) are told apart by two different permissions.
2 · Macro-actions
What an agent does at GitHub: 5 macro-actions
A mission is made of them: the person ticks the ones the task needs and sets each to a trust level.
- 1
Read
Code and metadata of the mission's repositories.
Reading the code, issues, pull requests and their reviews, comments, releases, workflow runs and job logs of the mission's repositories. Nothing here changes a repository, but what is read lands in the agent's context: a README, an issue body or a review comment can carry instructions someone else wrote.
2 permissions
- 2
Search everywhere
GitHub's code and issue search, beyond the mission's repositories.
GitHub's search reaches every repository the account can see, not only the mission's: a query names any repository of the organisation, and the code it returns lands in the agent's context. Kept apart from Read so that a mission on one repository reads that repository only.
1 permission
- 3
Propose
Work branches, push, pull requests, issues, comments and labels.
The coding agent's loop. Everything lands on branches named feature/*, fix/*, chore/*… and can be reverted; nothing reaches production until a person merges. Two acts are kept apart because they destroy work: deleting a branch and rewriting its history.
9 permissions
- 4
Ship
Merge on protected branches, tags and releases.
Getting work onto main, master or release-* and publishing it: merges and direct commits there, tags and releases. Each reaches people outside the session (CI/CD runs on the protected branch, watchers are notified, consumers pull the tag), so undoing one is costly. Deleting a release sits here because its assets vanish for whoever already links to them.
4 permissions
- 5
Administer
Branch protection and workflow files.
Changing the rules a repository runs by: branch protection and the workflow files under .github/workflows. Both outlive the mission. A loosened protection lets writes through that nobody reviews, and a workflow runs with the repository's secrets on every trigger, which is why neither is part of Propose.
2 permissions
3 · The map
The map
18 permissions of 5 macro-actions, in the four rows of the tree. For the chosen trust level, each cell gives yes, ask me or no, and the quota a day.
A permission sits in the first row its facts answer: irreversible; costly to undo or unbounded cost; secret or personal data, whole account or bulk, moderate cost, public; otherwise harmless.
| Risk | ReadCode and metadata of the mission's repositories. | Search everywhereGitHub's code and issue search, beyond the mission's repositories. | ProposeWork branches, push, pull requests, issues, comments and labels. | ShipMerge on protected branches, tags and releases. | AdministerBranch protection and workflow files. |
|---|---|---|---|---|---|
| Cannot be repaired Careful: no. Trusting, Autonomous: ask me. | None | None | None |
| None |
| Repairable, at a price Careful, Trusting: ask me. Autonomous: runs freely. | None | None |
|
|
|
| Worth a look Careful: ask me. Trusting, Autonomous: runs freely. | None |
| None | None | None |
| Harmless Runs freely at every level. |
| None |
| None | None |
Careful: runs freely 9, ask me first 8, not included 1. Trusting: runs freely 10, ask me first 8. Autonomous: runs freely 17, ask me first 1. Limits are counted over a mission's period: a day unless its creator picks another, or the mission's whole life for a one-off. The figures here are per day.
4 · A few calls
A few calls, classified by the plugin
49 declared calls, run through the plugin's own classifier when this page was built; here one per macro-action and the first the catalog refuses at Careful. The 49 calls, as code.
| The call | The plugin sees | The catalog answers | A Careful mission |
|---|---|---|---|
github__ |
|
| yes |
github__ |
|
| ask me |
github__ |
|
| yes |
github__ |
|
| ask me |
github__ |
|
| ask me |
github__ |
|
| no |
5 · Anything else
Anything else
A call no permission covers touches github. instead of slipping through. No macro-action holds it; a person ticks it knowingly.
| Permission | Risk | Careful ×1 | Trusting ×3 | Autonomous ×10 |
|---|---|---|---|---|
Uncategorized GitHub write (fallback)Why it sits here: Catch-all for writes no fine-grained entry categorises — a branch outside the feature/* and protected conventions, or a future tool added without a catalog entry. In no macro-action ; the creator opts in explicitly (no implicit accept). github.uncategorized-write | Repairable, at a price costly to undo | ask me · 50 a day | ask me · 150 a day | yes · 500 a day |
Left out on purpose — tools of the service this plugin does not expose:
github__: Dispatching a workflow runs whatever it does with the repository's secrets; deployments go through the tools of the service that hosts the service.dispatch_ workflow github__: Cancelling a run stops checks or a deployment a person started; nothing an agent needs to do its work.cancel_ workflow_ run github__: Re-running a run executes it again with the repository's secrets, which is a dispatch by another name.rerun_ workflow_ run
6 · Tools
Tools
34 tools. A tool's permissions depend on its arguments, so a mission is made of the macro-actions above, not of tools.
34 tools · scroll the list
| Tool | What it does | Usually touches |
|---|---|---|
github__ | List branches | github. |
github__ | List commits | github. |
github__ | List pull requests | github. |
github__ | List issues | github. |
github__ | Read a file | github. |
github__ | Read a pull request | github. |
github__ | Read an issue | github. |
github__ | Read a commit | github. |
github__ | Read comments on an issue or pull request | github. |
github__ | Read the reviews of a pull request | github. |
github__ | Read the code comments of a pull request | github. |
github__ | List the files a pull request changes | github. |
github__ | Search code | github. |
github__ | Search issues and pull requests | github. |
github__ | Create a branch | github., github. |
github__ | Write a file on a branch | github., github., github. |
github__ | Push files to a branch | github., github. |
github__ | Open a pull request | github. |
github__ | Comment on an issue or pull request | github. |
github__ | Reply to a pull request code comment | github. |
github__ | Add labels to an issue or pull request | github. |
github__ | Edit an issue's title, body or type | github. |
github__ | List workflows | github. |
github__ | List workflow runs | github. |
github__ | List the jobs of a workflow run | github. |
github__ | Read the log of a workflow job | github. |
github__ | Read the protection of a branch | github. |
github__ | Merge a pull request | github., github. |
github__ | Delete a file on a branch | github. |
github__ | Change the protection of a branch | github. |
github__ | List releases | github. |
github__ | List tags | github. |
github__ | Create a release | github. |
github__ | Delete a release | github. |
The instance is also the agents' git remote for this service: git clone and git push go through the gateway with the mission key, every pushed ref decided like a tool call (git remote).
7 · Retired permissions
Retired permissions
Kept so the missions that hold them still read; no tool touches them and no new mission is offered them.
- Mint an install token (purpose=clone, read-only)
github.: replaced bymint- install- token- clone github.read- code - Mint an install token (purpose=push, write)
github.: replaced bymint- install- token- push github.git- push
8 · Connecting an account
Connecting an account
1 of 3 · a key you create and paste fine-grained personal access token
A fine-grained personal access token the person creates at GitHub and pastes once; nobody declares anything beforehand.
Only select repositories: the one repository of this account. One account per repository: a leak or a mistake stays inside it, and each mission narrows further, to the permissions it names. Another repository is another account, with its own token.
- Sign in to GitHub as the account the agents will act as.
- SettingsDeveloper settingsPersonal access tokensFine-grained tokensGenerate new tokenOpen the page and start a new fine-grained token. (open)
- Resource ownerChoose the organization or the user that owns the repository.
- Repository accessOnly select repositoriesChoose Only select repositories, then the one repository of this account.
- PermissionsRepository permissionsTick every permission below at the access shown; GitHub adds Metadata (read) by itself.
- Generate tokenGenerate the token, copy it, and paste it here with the repository (owner/repository). GitHub shows it once.
| Permission at GitHub | Access |
|---|---|
| Actions | read |
| Administration | read-write |
| Contents | read-write |
| Issues | read-write |
| Metadata | read |
| Pull requests | read-write |
| Workflows | read-write |
- Where
- https://github.com/settings/personal-access-tokens
- Expiry
- The service tells the gateway the date, and the account page warns before it.
- The connect page asks
- Fine-grained personal access token (secret) and Repository
- The service's documentation
- https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens
- Disconnecting
- Delete the token at GitHub, signed in as the account that created it: Settings, Developer settings, Personal access tokens, Fine-grained tokens.
9 · Health
Health
18 gateways run this plugin (over the last 90 days).
| Version | Gateways | Calls | Success | Validated |
|---|---|---|---|---|
5. | 1 | 33 | 100.0 % | |
5. | 1 | 408 | 99.8 % | validated |
5. | 1 | 16 | 100.0 % | |
5. | 2 | 812 | 69.1 % | |
5. | 2 | 226 | 96.9 % | validated |
5. | 2 | 161 | 99.4 % | |
5. | 7 | 372 | 99.5 % | validated |
4. | 5 | 142 | 98.6 % | |
4. | 5 | 73 | 100.0 % |
A version is marked validated by the community with at least 200 reports and a success rate of at least 90 %, over the last 90 days; a gateway shows that mark on the accounts of this service. The figures are refreshed at most hourly (what they mean). It is a community signal, not a security guarantee.
Calls are counted over the last 90 days from the instances that share plugin health. Gateways are counted over the same window among the instances that also share usage statistics, so they are a lower bound. The success rate leaves out calls refused for a rejected credential: a revoked token is the user's configuration, not the plugin.
10 · Links
Links
Last changed 2026-12-02. This page as Markdown: /plugins/github.md