Fix a note however you work, then press Mark fixed. A coding agent can do the fixing too, through a runner.
A runner runs on your machine or in CI. It takes queued notes, hands each to a coding agent in a fresh checkout of your repository, and opens a pull request. Mender never sees your code.
npm install -g ./mender-runner-<version>.tgz
export MENDER_TOKEN=mrt_… mender-runner --repo . \ --agent "claude -p --permission-mode acceptEdits --allowed-tools Read Edit Write Glob Grep"Its first lines say which sites it serves and how many notes are waiting.
A pull request the runner leaves for a person can be merged from its note, by an owner or a maintainer: press Merge pull request…, read what GitHub says about it, and press Merge pull request #N. It opens two locks, and Mender holds only one of them.
To switch it on, an owner or maintainer opens the repository in Settings → Repositories and presses Install on GitHub, picks Only select repositories and the one, and comes back. GitHub shows the merge as yours. Mender keeps no GitHub key: it uses your sign-in for that one merge and keeps nothing. The note is marked fixed, and its reporter is asked to check once the site is updated.
Fixing needs one of these two. Reader, Drafter and Triage agent tokens answer notes instead.
| Unattended fixer | For a runner left running. Work it drops goes back to the queue after 15 minutes. It also queues what people marked Build this or No, change it, and dismisses Not doing this. |
|---|---|
| Session fixer | For a coding session you are sitting in, with
mender-runner lease. Its leases last 8 hours. |
git, gh and the agent command on
your PATH, and point --repo at a git clone.Also: Leaving notes, for reviewers · Setting up a site · Fixing notes