AGENT SKILL
upstream-bump
Re-run the upstream probe's checks when the pinned nousresearch/hermes-agent image changes, as in a Dependabot docker-compose pull request or a manual bump, before it merges.
- License 许可
- GPL-3.0
- 所属仓库
- xxdorothy/hermes
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- upstream-bump
- spdx
- GPL-3.0-only
- tags
- [ "llm", "claude", "hermes" ]
- ctime
- 1791072000000
- mtime
- 1791158400000
- title
- Bump the upstream Hermes image
- description
- Re-run the upstream probe's checks when the pinned nousresearch/hermes-agent image changes, as in a Dependabot docker-compose pull request or a manual bump, before it merges.
- disable-model-invocation
- true
03 SKILL.md 正文
<!--
- ~xxdorothy/hermes.git
- ::: :/.claude/skills/upstream-bump/SKILL.md
-->
Bump the upstream Hermes image
Dorothy runs the upstream image unmodified, so every bump can move something
our code assumes. docs/notes/2026-10-03-upstream-probe.md records how each
assumption was first established; this skill re-checks them. Work on the bump's
branch, commit each step on its own, and stop at the first check that fails.
1. Pin the new image everywhere
- Note the new tag and digest from the pull request.
- Confirm the digest without buildx:
docker pull IMAGE, thendocker image inspect --format '{{json .RepoDigests}}' IMAGE. git grep -n 'hermes-agent:v'lists every pin. They move together, exceptsmoke/make-fixture.sh, which stays one release behind (step 6).
2. Match Node to the image
docker run --rm --entrypoint /usr/local/bin/node IMAGE --version- If it differs, set
nodeinmise.tomland@types/nodeinpackage.jsonto that exact version, runbun install, thenmise run test.
3. Regenerate the platform registry
- Run
scripts/platforms.tsinside the new image and format the result, as its doc comment shows. The secrets guard blocks editinghermes/src/platforms.jsonby hand. - If it stops with "judge these access-shaped names", read where upstream
uses each one. A name that lets someone in goes in
JUDGMENTS.grantsinscripts/platforms.ts; anything else goes inJUDGMENTS.notAccesswith the reason. Names that only narrow where the bot answers are not grants. If it stops with "upstream no longer mentions", drop those judgments. - Read the diff. A new platform, or a new allowlist variable, changes what S6 refuses at boot; check it against the security spec. Until this step is done, the smoke test's drift check fails.
4. Run the smoke test
mise run smokeboots the real image and covers thecap_addset (restart and stop), the broken-config rollback, the memory-key check (S1), and migration from the older fixture.- A capability failure means upstream needs a new one: re-probe as the note describes, and add only what the failure proves.
- If
smoke/fixtures/config-broken.yamlnow boots cleanly, upstream accepts it: pick a new candidate the way the note's candidates A to D were tried.
5. Run the full checks
mise run testandbun run check.
6. After the bump merges, roll the fixture forward
- Set
FIXTURE_IMAGEinsmoke/make-fixture.shto the image that was current before this bump, run the script, review thestate.sqldiff, and commit it alone. Smoke then proves migration from the release before.
7. Record what changed
- Append a dated section to the probe note: tag, digest, Node version, platform registry diff, smoke result, and any new ruling.
<!-- vim:set expandtab shiftwidth=2 filetype=markdown foldlevel=3: -->