# NousResearch/hermes-agent · Fix garbled ANSI codes in deferred update notice

## Open now

- Nothing open on GitHub.

A bug report and two fix attempts addressing garbled ANSI escape codes appearing in the deferred update notice that shows when the repo is behind. The fixes explore routing the output through different rendering mechanisms to avoid the corruption.

## TL;DR

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

- #83969: \[Bug\]: Garbled ANSI escape codes in deferred update notice ("N commits behind")

## Prior & competing PRs

- **#104181: fix(banner): route the deferred update notice through prompt_toolkit so it is not garbled under patch_stdout**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/[redacted:email]`, `evals/cli_deferred_notice.py`, `hermes_cli/banner.py`, `tests/tools/test_startup_latency_regressions.py`
- **#83972: fix: route deferred update notice through cprint to avoid ANSI garbling**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#83969`
- **#86074: fix: render deferred update notice through prompt_toolkit, not raw stdout**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#83972`
- **#91492: fix(banner,config): route deferred prints through ANSI-aware path**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `080422216f8`, `#104181`, `#83972`, `#104154`

## Fix status

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