Skip to content

feat(hermes): capture tool and task hooks#1030

Merged
wbugitlab1 merged 10 commits into
mainfrom
issue/331-hermes-python-plugin-hooks
Jun 20, 2026
Merged

feat(hermes): capture tool and task hooks#1030
wbugitlab1 merged 10 commits into
mainfrom
issue/331-hermes-python-plugin-hooks

Conversation

@wbugitlab1

Copy link
Copy Markdown
Owner

Summary

  • Add Hermes Python plugin extraction for explicit tool_use / tool_result message pairs into structured post_tool_use observations.
  • Add on_task_completed lifecycle support and manifest/docs coverage for the 7-hook Hermes plugin.
  • Preserve conversation fallback behavior and avoid duplicate tool observations for cumulative message histories.

Closes #331.

Verification

  • corepack pnpm exec vitest run test/hermes-plugin.test.ts test/integration-plaintext-http.test.ts --exclude test/integration.test.ts
  • PYTHONPYCACHEPREFIX=/tmp/agentmemory-pycache python3 -m py_compile integrations/hermes/__init__.py
  • git diff --check refs/remotes/origin/main...HEAD
  • gitleaks protect --staged --redact
  • corepack pnpm test
  • semgrep scan --config p/default --error --metrics=off .

@wbugitlab1 wbugitlab1 merged commit c881d72 into main Jun 20, 2026
2 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.

feat: Expose post-tool-use and TaskCompleted hooks to Python plugin (Hermes integration)

1 participant