# NousResearch/hermes-agent · Dangerous command approval prompts need context and clarity

## Open now

- 2 issues, 2 PRs open on GitHub.
- #27604: Feature: Approval prompts should include the agent's contextual rationale (like Codex)
- #34625: Add plain-English semantic reasons to permission prompts
- PR #27833: feat(gateway): add contextual rationale to approval prompts
- PR #45700: feat(gateway): add contextual rationale to approval prompts (salvage of #27833 by @zccyman, closes #27604)

These issues and PRs address approval prompts for dangerous commands lacking explanation, rationale, and full command visibility. Work spans UI fixes for truncated commands, adding LLM-generated contextual rationale, and presenting risk in plain language.

## TL;DR

- 5 member(s): 2 open issue(s), 1 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 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_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.31`: 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.

## Open related issues

- #27604: Feature: Approval prompts should include the agent's contextual rationale (like Codex)
- #34625: Add plain-English semantic reasons to permission prompts

## Closed / duplicate issues

- #6959: \[UX\] Dangerous-command approvals should explain likely action and concrete risk in plain language

## Prior & competing PRs

- **#27833: feat(gateway): add contextual rationale to approval prompts**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `1bb1489f55`, `#27604`
  - files: `gateway/platforms/discord.py`, `gateway/platforms/feishu.py`, `gateway/platforms/matrix.py`, `gateway/platforms/qqbot/adapter.py`, `gateway/platforms/slack.py`, `gateway/platforms/telegram.py`, `gateway/run.py`, `plugins/platforms/teams/adapter.py`, `tests/gateway/test_approval_contextual_rationale.py`
- **#45700: feat(gateway): add contextual rationale to approval prompts (salvage of #27833 by @zccyman, closes #27604)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `1f28b1a9b975e61ea6016e192d047031b27e03bc`
  - files: `gateway/platforms/base.py`, `gateway/platforms/base_exec_approval.py`, `gateway/run.py`, `gateway/run_turn_runner.py`, `gateway/run_turn_runner_approval_text.py`, `plugins/platforms/qqbot/adapter.py`, `plugins/platforms/teams/adapter.py`, `tests/gateway/test_approval_contextual_rationale.py`

## Fix status

- No merged fix on record.
- Subsystem: `gateway`
- Kind: `feature` (from the open issues' GitHub type labels).
