بنقرة واحدة
hermes-update-workflow
Safe Hermes update and local patch intake workflow.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Safe Hermes update and local patch intake workflow.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | hermes-update-workflow |
| description | Safe Hermes update and local patch intake workflow. |
| triggers | ["hermes update","make update","make patch-pr","make patch-files","apply upstream PR locally","create patch from changed files"] |
This skill owns two related workflows:
hermes update.The update path remains centered on:
make updatemake patch-pr <pr_url_or_id>make patch-files <file1> <file2> ...No custom replacement of Hermes core updater logic is used. The wrapper delegates to
hermes update, then restores local patch state.
scripts/hermes-update.sh: update/check orchestrationscripts/patch-helpers.sh: shared patch-apply logicscripts/patch-from-pr-or-files.sh: new patch intake script~/my-hermes/patches/*.patch: local patch payload~/my-hermes/patches/*.yaml: metadata sidecarUse this skill when you need one of the following:
gh CLI installed and authenticated for PR mode.~/.hermes/hermes-agent.~/my-hermes (override with MY_HERMES_REPO).# Show update status, then ask whether to apply
make update
# Apply PR diff to local checkout + generate patch/.yaml in my-hermes
make patch-pr https://github.com/NousResearch/hermes-agent/pull/56911
# Create patch/.yaml from current local diff for chosen files
make patch-files gateway/run.py cli.py
make update performs this sequence:
shared-goals/hermes-update-workflow@main.
origin/main; fail instead of using a stale cached ref.origin/main.*.yaml) from ~/my-hermes/patches.hermes update --branch main --backup when confirmed.origin/main and require HEAD == origin/main.Important prompt handling:
hermes update asks Restore local changes? [Y/n], answer N.--pr)patch-from-pr-or-files.sh --pr ... does the following:
gh pr diff.HEAD.~/my-hermes/patches:
<name>.patch<name>.yaml~/.hermes/hermes-agent checkout (unless --no-apply).Why this design:
--from-files --file ...)Use this when you already made local edits and want to register them as patch artifacts.
<name>.patch and <name>.yaml into ~/my-hermes/patches.pr: "https://github.com/NousResearch/hermes-agent/pull/12345"
issue: "https://github.com/NousResearch/hermes-agent/issues/6122"
title: "Short description"
apply_to: path/to/file.py
notes: "optional"
Rules:
pr as full URL for PR-based patches.issue when known (prefer issue lifecycle for retirement decisions).After patch intake from PR:
cd ~/.hermes/hermes-agent
# expected: reverse-check passes if patch is applied
git apply --check --reverse ~/my-hermes/patches/<name>.patch
# verify touched files
git status --short
cd ~/my-hermes
ls patches/<name>.patch patches/<name>.yaml
--yes with hermes update auto-restores stash and may conflict with stale patches.CLOSED is not equal to MERGED; issue lifecycle is more reliable for retirement.Use a three-layer model:
~/.hermes/hermes-agent.~/my-hermes/patches/*.patch + *.yaml.Operational pattern:
my-hermes under git.make update as the single controlled entrypoint.