Preserve pinned/hidden flags on session import
NousResearch/hermes-agent · cluster 130344
Data as of
Nothing open on GitHub. Fix merged in #132129. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #132129. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #132129. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and fixes address a bug where pinned and hidden flags on sessions are lost during import or adoption, leaving restored sessions vulnerable to pruning. The changes aim to carry those protection flags through session transfer operations.
Open issues0
Open PRs0
Fixes on record
-
#132129 Session import keeps pinned, hidden and sweep-archive flags (#130344, salvage #130345)
files:
contributors/emails/[redacted:email],hermes_state_portability.py,tests/hermes_state/test_session_import_keep_flags.py,website/docs/user-guide/sessions.md
3 PRs closed without merging
From the close comments: superseded by another PR 3
-
#130345 fix(state): imported and adopted sessions keep their pinned and hidden flags (salvage #76206) · superseded by another PR →
#131161 -
#130470 state: preserve pinned and hidden flags during session import · superseded by another PR →
d440c5b,#132129 -
#131161 fix(state): preserve protection flags during session transfers · superseded by another PR →
d440c5b,73217fc,#132129
Closed issues · 1
- Closed#130344[Bug]: importing or adopting a session drops pinned/hidden; the next startup prune deletes restored pinned sessions
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.00means 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 LabAt a glance
- Merged PRs
- #132129
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 3 Oct 2026