Skip to content

feat(hermesagent): track Hermes Agent v0.23.2 hook events - #3937

Merged
dyoshikawa merged 2 commits into
mainfrom
resolve-issue-2414-hermes-v0232-hooks
Nov 22, 2026
Merged

dyoshikawa merged 2 commits into
mainfrom
resolve-issue-2414-hermes-v0232-hooks

Conversation

@dyoshikawa

Copy link
Copy Markdown
Owner

Summary

Follows up the 2026-11-19 upstream re-check in #2414. Hermes Agent v0.23.1 added two observer events to VALID_HOOKS in hermes_cli/plugins.py: on_session_open and post_curator_run. Neither is in SHELL_UNSUPPORTED_HOOKS, so shell hooks can register for both. rulesync still generated them from the hermesagent.hooks override, but warned not documented by Hermes Agent v0.22.3.

This is the same mechanical change as #3105, #3162, #3344 and #3589:

  • Add on_session_open and post_curator_run to HERMESAGENT_NATIVE_HOOK_EVENTS in upstream source order (47 of the 48 VALID_HOOKS; transform_api_error_classification stays excluded as shell-unsupported).
  • Re-pin the unknown-event warning, the JSDoc links and docs/reference/supported-tools.md from v0.22.3 to v0.23.2. Update the hook list in docs/reference/file-formats.md and regenerate src/generated/docs-content.ts.
  • Extend the "no warning for newly added events" test with both events.

Verification: I diffed VALID_HOOKS between the tags v0.22.3 and v0.23.2. The only additions are these two events. SHELL_UNSUPPORTED_HOOKS and _BLOCKING_EVENTS ({"pre_tool_call"}) are unchanged. v0.23.3 (released 2026-11-20) has a byte-identical plugins.py. The pin stays at v0.23.2 because that is the version the re-check validated. v0.23.3 is a large roll-up that has not been reviewed against the other config surfaces.

pnpm cicheck passes (619 test files, 17193 tests).

Still open in #2414 (maintainer design decisions, unchanged)

  • Project-scope skills via skills.external_dirs
  • Project-scope commands
  • How .hermes.md suppresses the AGENTS.md chain

Refs #2414

🤖 Generated with Claude Code

https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4

dyoshikawa and others added 2 commits November 22, 2026 17:44
Hermes Agent v0.23.1 added the on_session_open and post_curator_run
observer events to VALID_HOOKS (neither is in SHELL_UNSUPPORTED_HOOKS).
Add both to HERMESAGENT_NATIVE_HOOK_EVENTS so authoring them under
hermesagent.hooks no longer warns, and re-pin the warning text and the
compatibility docs from v0.22.3 to v0.23.2.

Refs #2414

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4
…rmes-v0232-hooks

# Conflicts:
#	src/generated/docs-content.ts
@dyoshikawa
dyoshikawa merged commit 2675f5b into main Nov 22, 2026
10 checks passed
@dyoshikawa
dyoshikawa deleted the resolve-issue-2414-hermes-v0232-hooks branch November 22, 2026 09:32
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