Session recovery column mapping bug and fixes

NousResearch/hermes-agent · cluster 101409

Data as of

Nothing open on GitHub. Fix merged in #101665. 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 #101665. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #101984. That is separate from the fix event.
Still open
Nothing open on GitHub.

A bug where session recovery maps salvaged 'lost_and_found' cells by declared column order rather than physical column names, causing shifted field values. The members cover the bug report and several related fix attempts addressing column mapping and verification status of mis-mapped salvage data.

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.

  • #101665 fix(recovery): never report a mis-mapped lost_and_found salvage as verified (salvage #101423)

    merged to main

    files: hermes_cli/session_lost_and_found.py, hermes_cli/session_recovery.py, tests/hermes_cli/test_session_recovery_lost_and_found.py

  • #101984 Session recovery maps salvaged cells by the store's real column layout (#101409, supersedes #101723)

    merged to main

    files: hermes_cli/session_lost_and_found.py, hermes_cli/session_recovery.py, hermes_cli/session_schema_history.py, tests/hermes_cli/test_session_recovery_lost_and_found.py, tests/hermes_cli/test_session_schema_history.py

2 PRs closed without merging

From the close comments: merged via another change 1 · superseded by another PR 1

  • #101423 fix(cli): flag mis-mapped lost_and_found salvage as not verified · merged via another change → #101665, #101409
  • #101723 fix(sessions): map lost_and_found cells by physical column names · superseded by another PR → 58facc4, #101984, #101665, #101409
Closed issues · 1
  • Closed#101409[Bug]: sessions recover --allow-partial maps lost_and_found cells onto declared column order, not physical order — every session gets started_at=0 and shifted fields on upgraded DBs
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
#101665, #101984
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
9 Sep 2026

For your agent

The same facts, typed.