feat(hermes): add native lifecycle hooks - #475
Open
beruro wants to merge 1 commit into
Open
Conversation
beruro
marked this pull request as ready for review
July 21, 2026 13:52
beruro
force-pushed
the
junyu/rebuild-hermes-hooks
branch
4 times, most recently
from
July 30, 2026 15:08
ed406a8 to
f03f3e0
Compare
beruro
force-pushed
the
junyu/rebuild-hermes-hooks
branch
from
August 10, 2026 04:05
ff8cb2e to
7e23506
Compare
beruro
force-pushed
the
junyu/rebuild-hermes-hooks
branch
from
August 10, 2026 05:47
9fd0cd3 to
c4ff5b6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
orgii-statusHermes plugin.AgentStatusEventV1pipeline.ORGII_SESSION_ID.Potential risks
Verification
Published branch was rebased by GitHub onto current
developat7be527a7a, producing headc4ff5b657. The rebase completed without conflicts, and changed-file/addition/deletion counts are unchanged from the pre-rebase PR. CI is rerunning on this integrated head.Previous GitHub CI on head
ff8cb2e6f:pnpm install --frozen-lockfile— PASS inFrontend (typecheck · lint · test).pnpm typecheck— PASS inFrontend (typecheck · lint · test).pnpm lint— PASS inFrontend (typecheck · lint · test).pnpm run test— PASS inFrontend (typecheck · lint · test).node scripts/tauri/prepare-sidecars.cjs --profile debug— PASS inRust (clippy).(cd src-tauri && cargo clippy --workspace --all-targets -- -D warnings)— PASS inRust (clippy).Not run: a live Hermes lifecycle callback against a packaged desktop build; loopback and session-ID propagation remain external runtime dependencies.