Skip to content

feat(hermes): add native lifecycle hooks - #475

Open
beruro wants to merge 1 commit into
developfrom
junyu/rebuild-hermes-hooks
Open

feat(hermes): add native lifecycle hooks#475
beruro wants to merge 1 commit into
developfrom
junyu/rebuild-hermes-hooks

Conversation

@beruro

@beruro beruro commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Problem

Hermes sessions do not currently report their native lifecycle through ORG2’s existing authenticated status pipeline, leaving external and integrated TUI sessions without authoritative lifecycle hooks.

Solution

  • Add and enable the managed orgii-status Hermes plugin.
  • Post privacy-safe lifecycle callbacks to the authenticated loopback server.
  • Translate Hermes events into the existing AgentStatusEventV1 pipeline.
  • Support external and integrated TUI sessions through ORGII_SESSION_ID.
  • Validation: 8 Python tests, Python compile check, scoped Rust formatting/clippy, diff check, and GitHub CI.

Potential risks

  • Hermes plugin/API changes could require lifecycle payload updates.
  • Loopback availability and session-ID propagation remain external runtime dependencies.
  • This PR deliberately excludes polling, UI, i18n, and historical merge content.

@beruro
beruro marked this pull request as ready for review July 21, 2026 13:52
@beruro
beruro force-pushed the junyu/rebuild-hermes-hooks branch 3 times, most recently from 1b85eec to ed406a8 Compare July 30, 2026 08:03
@beruro
beruro force-pushed the junyu/rebuild-hermes-hooks branch from ed406a8 to f03f3e0 Compare July 30, 2026 15:08
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