# NousResearch/hermes-agent · Fix reasoning field encoding when forking sessions

## Open now

- Nothing open on GitHub.

These issues and pull requests address a bug where forking a session causes reasoning columns to be double-encoded or dropped, resulting in silent loss of reasoning replay in forked branches.

## 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 #82109. Verify it addresses your case.
- **Recommended:** read PR #82109 (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

- #57240: forking a session double-encodes the reasoning columns — forked sessions silently lose reasoning replay

## Prior & competing PRs

- **#57536: fix(state): avoid double-encoding reasoning columns on fork round-trip**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#57704`, `#31829`, `#35327`, `#57548`, `#28154`, `#57713`, `#31365`, `#57536`, `#57248`, `#57696`, `#47821`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#82109: fix(state,cli,tui-gateway): keep reasoning fields intact across forks and branches (#57240)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `hermes_cli/cli_commands_mixin.py`, `hermes_state.py`, `tests/cli/test_branch_command.py`, `tests/hermes_state/test_reasoning_roundtrip.py`, `tests/test_tui_gateway_server.py`, `tui_gateway/methods_session.py`, `tui_gateway/server.py`
- **#57248: fix(state,cli,tui-gateway): keep reasoning fields intact across forks and branches**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#82109`
- **#57454: fix(state): preserve reasoning fields when forking sessions**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#82109`, `#57248`

## Fix status

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