Session export drops compaction-archived turns bug

NousResearch/hermes-agent · cluster 130339

Data as of

Nothing open on GitHub. Fix merged in #130623. Check it covers your case.

The short answer

0open issues
0open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #130623. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #130623. That is separate from the fix event.
Still open
Nothing open on GitHub.

A bug where JSON/JSONL session exports omit turns that were archived during compaction. Multiple fix attempts and a CLI/gateway change address including archived turns in backups.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #130623 fix(sessions): `hermes sessions export` JSON/JSONL backups keep compaction-archived turns (salvage #128057)

    merged to main

    files: hermes_cli/console_engine.py, hermes_cli/sessions_cmd.py, hermes_state.py, hermes_state_sessions.py, tests/hermes_cli/test_sessions_export_backup_round_trip.py, tests/hermes_cli/test_sessions_export_output_dir.py, website/docs/user-guide/sessions.md

  • #132211 /save json no longer drops compaction-archived turns (#130339, salvage #130340)

    merged to main

    files: gateway/slash_commands_session.py, hermes_cli/cli_session_mixin.py, hermes_cli/console_engine.py, hermes_cli/session_export.py, hermes_cli/sessions_cmd.py, tests/hermes_cli/test_save_transcript_history.py, website/docs/user-guide/sessions.md, website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/sessions.md

2 PRs closed without merging

From the close comments: done elsewhere 1 · merged via another change 1

  • #130340 fix(sessions): JSON/JSONL backups and /save json keep compaction-archived turns · merged via another change → b286002, 12f98c8, #132211, #130623
  • #130477 cli/gateway: export json/jsonl includes archived turns for canonical backup/restore · done elsewhere → b286002, #132211, #130339, #130623, #130340
Closed issues · 1
  • Closed#130339[Bug]: hermes sessions export JSONL backups and /save json drop compaction-archived turns
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.40: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Merged PRs
#130623, #132211
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
3 Oct 2026

For your agent

The same facts, typed.