# NousResearch/hermes-agent · ANSI escape codes leaking into non-TTY diff output

## Open now

- 1 issue, 2 PRs open on GitHub.
- #88920: \[Bug\]: Diff renderer writes skin ANSI into non-tty output; 31% of Kanban worker log bytes are escape codes, NO_COLOR ignored
- PR #88927: fix(display): gate diff ANSI on tty-ness and NO_COLOR
- PR #88930: fix(display): suppress ANSI in non-TTY diff output

A bug where the diff renderer emits ANSI color codes even in non-TTY contexts and ignores the NO_COLOR convention, bloating logs with escape sequences. The members include a bug report and two related fixes gating ANSI output on TTY detection and NO_COLOR.

## TL;DR

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

## Open related issues

- #88920: \[Bug\]: Diff renderer writes skin ANSI into non-tty output; 31% of Kanban worker log bytes are escape codes, NO_COLOR ignored

## Prior & competing PRs

- **#88927: fix(display): gate diff ANSI on tty-ness and NO_COLOR**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `agent/display.py`, `tests/agent/test_display.py`
- **#88930: fix(display): suppress ANSI in non-TTY diff output**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#88927`, `#88920`
  - files: `agent/display.py`, `tests/agent/test_display.py`
- **#127635: fix(display): gate inline diff colors on tty/NO_COLOR so worker logs stay clean**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`

## Fix status

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