Skip to content

feat: add plugin lifecycle registration - #5

Merged
offendingcommit merged 3 commits into
mainfrom
feat/plugin-kit-lifecycle
Jul 13, 2026
Merged

feat: add plugin lifecycle registration#5
offendingcommit merged 3 commits into
mainfrom
feat/plugin-kit-lifecycle

Conversation

@offendingcommit

Copy link
Copy Markdown
Owner

Summary

Hermes plugins can now register lifecycle hooks and plugin-owned skills through the same convention-safe kit used for tools. The new declarative entrypoint preserves the existing tool-only API while adding payload-safe hook logging, qualified skill declarations, duplicate detection, and an explicit registration inventory.

Registration validates every declaration before touching Hermes state, so a missing required skill cannot leave tools or hooks partially active or duplicate callbacks on retry. The contract suite now exercises real PluginContext and PluginManager behavior against upstream Hermes and treats an explicit checkout import failure as a failing compatibility signal.

Validation

  • make test — 30 tests pass locally; stale local Hermes contract tests skip
  • Current upstream Hermes contract suite — 5 tests pass
  • make build — wheel and source distribution build successfully
  • git diff --check — clean

Compound Engineering
Codex

Hooks and plugin-owned skills need the same convention-safe registration and upstream contract checks that tools already receive.
Keep safe logging and Hermes tool binding policies in one place so the new lifecycle API cannot drift from existing tool registration.
Prevent a missing required skill from leaving tools or hooks partially active and duplicating callbacks on retry.
@offendingcommit
offendingcommit merged commit 0b1fe7b into main Jul 13, 2026
4 checks passed
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