# NousResearch/hermes-agent · Gateway /stop queue draining fix

## Open now

- 1 issue, 1 PR open on GitHub.
- #73060: \[Bug\]: Gateway /stop discards only the queue head, and the FIFO overflow runs anyway
- PR #73076: fix(gateway): cancel the whole queue on /stop and /new, not just the head

These issues and pull requests concern a bug where the gateway /stop command only discards the head of the message queue rather than the full FIFO queue. The work addresses clearing or canceling the entire queue on /stop (and /new) to prevent overflow.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 2 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.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.

## Open related issues

- #73060: \[Bug\]: Gateway /stop discards only the queue head, and the FIFO overflow runs anyway

## Prior & competing PRs

- **#73076: fix(gateway): cancel the whole queue on /stop and /new, not just the head**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `gateway/run_agent_cache.py`, `tests/gateway/test_stop_clears_queue_overflow.py`
- **#73081: fix(gateway): clear full FIFO queue on /stop (#73060)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#73076`
- **#73591: fix(gateway): drain full message queue on /stop instead of only queue head**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#73076`

## Fix status

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