Hermes HQ Subscribe
Setup

Pin a Hermes Agent plugin to an exact commit so updates won't move it

What it does

Hermes Agent lets you pin any plugin to an exact commit with --ref. Every change to the code is a public commit, and hermes plugins update won't move a pinned plugin.

Why it's worth it

Lets you know what runs on your setup. A pinned plugin is not moved by hermes plugins update.

Illustration: Pin a Hermes Agent plugin to an exact commit so updates won't move it

Step by step

Paste it into Hermes Agent and swap the highlighted parts for your own details.

Prompt

Get Hermes Agent to:

  1. Show me the public commit [commit-hash] for [add-on-name] before pinning it.
  2. Ask me to approve pinning [add-on-name] at [commit-hash] before proceeding.
  3. Add [add-on-name] pinned to the exact commit [commit-hash] using --ref.
  4. Once it is added, confirm [add-on-name] is pinned at [commit-hash].
  5. Tell me that --ref pins [add-on-name] to [commit-hash] so hermes plugins update won't move it.
  6. Tell me that hermes plugins update won't move [add-on-name] while it is pinned at [commit-hash].
  7. After I run hermes plugins update, check that [add-on-name] is still at [commit-hash].

Expected resultAfter hermes plugins update runs, the plugin stays on the exact commit you pinned with --ref.

Related use cases

See all
Prompt