# NousResearch/hermes-agent · Fix garbled ANSI codes in update banner output

## Open now

- Nothing open on GitHub.

A bug where the deferred update notice prints raw ANSI escape codes instead of rendered color when running under prompt_toolkit's patch_stdout. The fix routes the banner through prompt_toolkit to avoid the race condition.

## TL;DR

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

- #95968: \[Bug\]: Deferred update banner prints raw ANSI escape codes (literal "ESC\[1;33m…") — background console.print races prompt_toolkit

## 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`
- **#95973: fix(banner): route the deferred update notice through prompt_toolkit**. 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`.
