# NousResearch/hermes-agent · Fix CLI panel text newline handling before wrapping

## Open now

- 1 issue, 4 PRs open on GitHub.
- #72580: fix: approval panel mangles multi-line heredoc commands, pushing approve/deny buttons off-screen
- PR #72601: fix(cli): split newlines before wrapping in approval/sudo/clarify panels (#72580)
- PR #72614: fix(cli): split panel text on newline before wrapping (fixes #72580)
- PR #73584: fix(cli): preserve newlines in approval panel heredoc commands
- PR #75207: fix(cli): split panel text on newlines before wrapping

Multiple fixes addressing how the CLI approval/sudo/clarify panels handle newlines in text (including heredoc commands) before applying word-wrap, which was causing layout issues like buttons being pushed off-screen.

## TL;DR

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

## Open related issues

- #72580: fix: approval panel mangles multi-line heredoc commands, pushing approve/deny buttons off-screen

## Prior & competing PRs

- **#72601: fix(cli): split newlines before wrapping in approval/sudo/clarify panels (#72580)**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `820db34e1ff3`, `#72580`, `#72601`, `#72614`, `#73584`, `#75207`, `#72601`, `#75207`, `#72601`, `#75207`, `#72614`, `#75207`, `#72614`, `#75207`, `#73584`, `#75207`, `#73584`, `#75207`, `#75207`, `#72601`, `#72614`, `#73584`, `#75207`, `#75207`, `#72580`, `#73584`, `#75207`, `#72601`, `#73584`, `#75207`, `#72614`, `#75207`, `#73584`, `#374151`, `#72580`, `#72601`, `#72614`, `#73584`, `#75207`
  - files: `cli.py`
- **#72614: fix(cli): split panel text on newline before wrapping (fixes #72580)**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `334339a7f9d7`, `#72580`, `#72601`, `#72614`, `#73584`, `#75207`, `#72601`, `#72601`, `#75207`, `#72614`, `#72614`, `#75207`, `#75207`, `#73584`, `#73584`, `#75207`, `#75207`, `#75207`, `#72601`, `#72614`, `#73584`, `#75207`, `#75207`, `#72580`, `#73584`, `#75207`, `#72601`, `#73584`, `#75207`, `#72614`, `#72614`, `#75207`, `#374151`, `#72580`, `#72601`, `#72614`, `#73584`, `#75207`
  - files: `cli.py`, `tests/cli/test_cli_approval_ui.py`
- **#73584: fix(cli): preserve newlines in approval panel heredoc commands**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `f661508638b9`, `#72580`, `#72601`, `#72614`, `#73584`, `#75207`, `#72601`, `#75207`, `#72601`, `#75207`, `#72614`, `#75207`, `#72614`, `#75207`, `#73584`, `#75207`, `#73584`, `#75207`, `#75207`, `#72601`, `#72614`, `#73584`, `#75207`, `#72580`, `#75207`, `#75207`, `#72601`, `#72614`, `#73584`, `#75207`, `#73584`, `#374151`, `#72601`, `#72614`, `#73584`, `#75207`
  - files: `agent/tool_executor.py`, `cli.py`, `skills/email/himalaya/SKILL.md`, `skills/email/himalaya/references/configuration.md`
- **#75207: fix(cli): split panel text on newlines before wrapping**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `702f9b1a2e40`, `#72580`, `#72601`, `#72614`, `#73584`, `#75207`, `#72601`, `#75207`, `#72601`, `#75207`, `#72614`, `#75207`, `#72614`, `#75207`, `#73584`, `#75207`, `#73584`, `#75207`, `#75207`, `#72601`, `#72614`, `#73584`, `#75207`, `#75207`, `#72580`, `#73584`, `#75207`, `#72601`, `#73584`, `#75207`, `#72614`, `#72614`, `#75207`, `#374151`, `#72580`, `#72601`, `#72614`, `#73584`, `#75207`
  - files: `cli.py`, `tests/cli/test_wrap_panel_text.py`

## Fix status

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