CLI agent api_content sidecar persistence fixes

NousResearch/hermes-agent · cluster 102194

Data as of

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

The short answer

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

Multiple fixes and a bug report addressing the CLI path failing to persist api_content sidecar data, which caused injected decorations and prompt cache to be lost at turn boundaries. The work involves backfilling, row-addressed persistence, and handling pre-flushed user context.

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.

  • #105842 CLI keeps the api_content sidecar when a turn was persisted early — prompt cache survives (#102194, salvage #102411)

    merged to main

    files: agent/session_persistence.py, agent/turn_context.py, hermes_state_messages.py, tests/agent/test_api_content_row_addressed_backfill.py

5 PRs closed without merging

From the close comments: done elsewhere 1 · duplicate 1 · merged via another change 1 · superseded by another PR 1 · other 1

  • #102239 fix(agent): persist api_content sidecar on the normal CLI path · done elsewhere → #102411
  • #102255 fix(agent): backfill stamped api_content for pre-persisted CLI rows · superseded by another PR → #102239
  • #102411 fix(agent): row-addressed api_content backfill for pre-persisted user turns (#102194) · merged via another change → db9ad70, #105842
  • #103565 fix(agent): persist pre-flushed user context by exact row identity · other → #105842, #102411
  • #103721 fix(agent): row-addressed api_content backfill for pre-persisted user turns (#102194) · duplicate → #103565, #102411, #102194
Closed issues · 1
  • Closed#102194[Bug]: CLI path never persists api_content sidecar → injected <memory-context>/tool-result decorations dropped at turn boundary → first API call of every new turn misses prompt cache
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.29: 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
#105842
Closed issues
1
Attempts
5 PRs closed without merging
Fix link checked
9 Sep 2026

For your agent

The same facts, typed.