# NousResearch/hermes-agent · Non-finite floats producing invalid JSON in tui_gateway RPC frames

## Open now

- 1 issue, 2 PRs open on GitHub.
- #132800: tui_gateway: profiles.list sends bare Infinity (invalid JSON) when a profile.yaml ui_meta value is an unquoted id that YAML 1.1 reads as a float
- PR #125316: fix(tui_gateway): keep non-finite YAML scalars out of the profiles.list frame
- PR #132831: fix(tui_gateway): keep non-finite floats out of RPC frames

Members concern tui_gateway sending non-finite float values (e.g. bare Infinity) in RPC frames, notably in profiles.list when a profile.yaml ui_meta value is parsed by YAML as a float. Two titles describe proposed fixes to keep such values out of frames, and one describes the underlying problem.

## TL;DR

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

## Open related issues

- #132800: tui_gateway: profiles.list sends bare Infinity (invalid JSON) when a profile.yaml ui_meta value is an unquoted id that YAML 1.1 reads as a float

## Prior & competing PRs

- **#125316: fix(tui_gateway): keep non-finite YAML scalars out of the profiles.list frame**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#132800`
  - files: `tests/tui_gateway/test_frame_serialization.py`, `tests/tui_gateway/test_profiles_list_ui_meta_cache.py`, `tui_gateway/methods_profiles.py`, `tui_gateway/transport.py`
- **#132831: fix(tui_gateway): keep non-finite floats out of RPC frames**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `ba5a5b9398`
  - files: `tests/tui_gateway/test_profiles_list_ui_meta_nonfinite.py`, `tests/tui_gateway/test_tui_gateway_ws.py`, `tui_gateway/methods_profiles.py`, `tui_gateway/transport.py`

## Fix status

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