Skip to content

chore(deps): pin hermes-plugin-kit to the fleet rev with a same-major range - #14

Merged
offendingcommit merged 1 commit into
mainfrom
chore/kit-fleet-pin
Nov 21, 2026
Merged

offendingcommit merged 1 commit into
mainfrom
chore/kit-fleet-pin

Conversation

@offendingcommit

Copy link
Copy Markdown
Owner

Problem

Hermes bakes one hermes-plugin-kit into the runtime image for every plugin, at the rev in offendingcommit/infra clusters/minilab/hermes-agent/files/plugin-dependency-policy.json. Live plugin updates ship plugin code onto that kit and never install the plugin's own pin. On 2026-11-20, persona-voice and sirens pinned a kit newer than the fleet's, so every voice memo and image send crashed after delivering, and the model retried. Each memo or image arrived twice. The plugins pinned seven different kit revs between them.

Change

  • dependencies declares hermes-plugin-kit>=0.9.0,<1, which matches the policy's same-major rule.
  • [tool.uv.sources] pins the kit to the fleet rev 23ac709 (kit main, which includes as_reply), and uv.lock is regenerated.
  • AGENTS.md gains a "hermes-plugin-kit version" section: check the fleet rev before touching the pin or using new kit API, keep this repo's rev equal to the fleet rev or an ancestor of it, and ship kit changes to the fleet first.

Order

This stays a draft until the infra promotion that moves the fleet kit to 23ac709 merges (dispatched as run 44824650426 of hermes-plugin-snapshot-promotion.yml). Merging this first would pin a kit ahead of the fleet, which is the bug the new rule prevents.

Proof

Test suite: the one failure, test_local_valid_hooks_match_runtime, also fails on unmodified main (the local Hermes hook set has drifted); every other test passes.

… range

Declare hermes-plugin-kit>=0.9.0,<1 and pin the uv source to the kit rev the Hermes image bakes (23ac709). AGENTS.md now says how to check the fleet rev before moving the pin.
@offendingcommit
offendingcommit marked this pull request as ready for review November 21, 2026 02:40
@offendingcommit
offendingcommit merged commit f23306a into main Nov 21, 2026
2 checks passed
@offendingcommit
offendingcommit deleted the chore/kit-fleet-pin branch November 21, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant