# NousResearch/hermes-agent · Plugin lifecycle hooks wiring and missing env var warnings

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #68703: fix(plugins): warn when required env vars are missing, before register()

These items address the discovery and fix of plugin lifecycle hooks (pre_llm_call, post_llm_call, on_session_start, on_session_end) that were documented but never actually invoked, plus a related fix to warn when required environment variables are absent before plugin registration.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #2817: \[Bug\]: Plugin hooks pre_llm_call, post_llm_call, on_session_start, on_session_end are documented but never invoked

## Prior & competing PRs

- **#2820: fix(plugins): wire-plugin-lifecycle-hooks**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `455bf2e853a6a9b137e7a2bd594a97c927954a01`, `#3542`, `#2823`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#68703: fix(plugins): warn when required env vars are missing, before register()**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `078382a2f1ea`, `#2768`, `#58692`, `#63050`, `#68703`, `#18606`, `#70257`, `#2817`, `#2820`, `#2823`, `#2930`, `#3542`, `#2765`, `#74379`, `#374151`
  - files: `hermes_cli/plugins.py`, `tests/hermes_cli/test_plugins.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
