# NousResearch/hermes-agent · CLI background completion backlog turn coalescing bug

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #104686: fix(cli): coalesce background completion backlog into one turn (#104671)

A bug where each stale or dead background process in the completion backlog triggers a separate full agent turn instead of being coalesced into one. Related fixes address merging the backlog into a single CLI and TUI turn while preserving completion identity.

## TL;DR

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

- #104671: \[Bug\]\[CLI\]: background completion backlog creates one full agent turn per stale/dead process

## Prior & competing PRs

- **#104956: fix: completion backlogs share one CLI and TUI turn (#104671)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `cli.py`, `evals/completion_backlog_probe.py`, `hermes_cli/cli_process_notifications.py`, `tests/cli/test_completion_backlog.py`, `tests/test_tui_gateway_server.py`, `tools/process_registry_notifications.py`, `tui_gateway/prompt_turn.py`, `tui_gateway/session_notifications.py`, `website/docs/developer-guide/completion-backlog-delivery.md`, `website/sidebars.ts`
- **#104686: fix(cli): coalesce background completion backlog into one turn (#104671)**. open
  - maintainer direction: category `wontfix_bydesign`; implication `wontfix`; refs `#104671`
  - files: `cli.py`, `tests/cli/test_cli_completion_backlog_coalescing.py`
- **#104703: fix(cli): preserve completion identity while coalescing backlog (#104671)**. closed without merge
  - maintainer direction: category `wontfix_bydesign`; implication `wontfix`; refs `#104671`, `#104686`

## Fix status

- Merged to main in PR #104956 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-07`.
- Subsystem: `hermes_cli`
