# NousResearch/hermes-agent · Thread-safety fix for gateway progress_callback state

## Open now

- Nothing open on GitHub.

A bug report and multiple related fix attempts addressing unguarded shared state (last_progress_msg/repeat_count) in the gateway's progress_callback, which is called concurrently by ThreadPoolExecutor workers. The fixes add threading.Lock to protect that deduplication state.

## TL;DR

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

## Closed / duplicate issues

- #24604: \[Bug\]: gateway progress_callback has unguarded shared state (last_progress_msg / repeat_count) called from concurrent ThreadPoolExecutor workers

## Prior & competing PRs

- **#24607: fix(gateway): lock dedup state in progress_callback against concurrent tool workers**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#24742`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#24643: fix(gateway): add threading.Lock to progress_callback dedup state (closes #24604)**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#24742`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#24742: fix(gateway): lock progress_callback dedup state against concurrent workers**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#24607`, `#24604`, `#24643`

## Fix status

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