# NousResearch/hermes-agent · Kanban dispatcher singleton and concurrency fixes

## Open now

- Nothing open on GitHub.

These issues and pull requests address a concurrency problem where multiple gateway instances can run competing kanban dispatchers simultaneously, leading to claim-reclaim churn and potential database corruption. Proposed fixes involve machine-global singleton locks and flock-based guards to enforce a single active dispatcher.

## 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 #49068. Verify it addresses your case.
- **Recommended:** read PR #49068 (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: `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

- #41448: \[Bug\]: kanban dispatcher: gateway embeds dispatcher without singleton guard — two gateway instances cause claim-reclaim churn

## Prior & competing PRs

- **#49068: fix(kanban): machine-global singleton lock for the embedded dispatcher (#41448)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/kanban_watchers.py`, `scripts/release.py`, `tests/gateway/test_kanban_watchers_mixin.py`
- **#41679: fix(gateway): add flock-based singleton guard to kanban dispatcher**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `dfa561092`, `226e9322e`, `#44919`
- **#44919: fix(kanban): machine-global singleton lock for the embedded dispatcher (#41448)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `dfa561092a`, `226e9322e1`, `#49068`

## Fix status

- Merged to main in PR #49068 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-06-19`.
- Subsystem: `gateway`
