# NousResearch/hermes-agent · Fix false-positive hardline blocks on grep quote patterns

## Open now

- Nothing open on GitHub.

These issues and PRs address a bug where valid grep patterns containing quoted bracket classes or escaped quotes were incorrectly triggering hardline approval blocks. The fixes update shell tokenization and approval logic to correctly handle these cases.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #110990. Verify it addresses your case.
- **Recommended:** read PR #110990 (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-110990`. 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.50`: 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

- #96776: approvals hardline block false-positive on grep bracket class containing a quote

## Prior & competing PRs

- **#110990: fix(approval): escaped quotes in grep patterns no longer hardline-blocked, and no longer hide a following hardline command (#96776, salvage #85922)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tools/test_hardline_escaped_quote_state.py`, `tools/approval_detection.py`, `website/docs/user-guide/security.md`
- **#96805: fix(approval): stop valid quoted grep patterns from being hardline-blocked**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `e383c28d2ffc`, `#110990`
- **#96826: fix(tools): allow grep bracket-class quotes in shell tokenizer (#96776)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `e383c28d2ffc`, `#110990`

## Fix status

- Merged to main in PR #110990 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-14`.
