# NousResearch/hermes-agent · Passing session/gateway context to plugin slash commands

## Open now

- Nothing open on GitHub.

The three members all concern giving plugin slash commands context about the calling session or authenticated gateway metadata. They appear to be a feature request and related pull requests, one of which references a salvage of an earlier PR (#137973); their status is not stated in the titles.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #140997. Verify it addresses your case.
- **Recommended:** read PR #140997 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-140997`. 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

- #51555: Feature: context-aware plugin slash commands for authenticated gateway metadata

## Prior & competing PRs

- **#140997: Plugin slash commands receive the calling session on every surface (#140199, salvage #137973)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `cli.py`, `gateway/run_inbound_hooks.py`, `hermes_cli/plugin_command_dispatch.py`, `hermes_cli/plugins.py`, `tests/gateway/test_session_env.py`, `tests/hermes_cli/test_plugin_command_source.py`, `tui_gateway/methods_tools.py`, `website/docs/developer-guide/plugins/index.md`, `website/docs/user-guide/features/plugins.md`
- **#51596: feat(plugins): pass gateway context to plugin slash commands**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `5f274827ffc`, `#140997`

## Fix status

- Merged to main in PR #140997 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-18`.
- Subsystem: `agent`
