NousResearch/hermes-agent

Fix system prompt duplication during manual /compress

Cluster 15281. Data as of

Nothing open on GitHub. Fix merged in #16983 on 28 Apr 2026. Check it covers your case.

The short answer

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

A bug was identified where manually triggering /compress caused the system prompt to be duplicated, significantly increasing session size. The fixes address this by avoiding nested or repeated system messages during manual compression.

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.

  • #16983 fix(cli): avoid nesting system prompt during manual /compress

    merged to main

    files: cli.py, scripts/release.py, tests/test_cli_manual_compress.py

2 PRs closed without merging

From the close comments: merged via another change 2

  • #15304 fix(cli): pass None as system_message in manual /compress to prevent system prompt duplication · merged via another change → fb112d6, #16983
  • #15452 fix(cli): pass None as system_message in manual /compress to prevent duplication (#15281) · merged via another change → #16983
Closed issues · 1
  • Closed#15281[Bug]: Manual Session Compression Causes System Prompt Duplication (102% Size Increase)
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.50: 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
#16983
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
28 Apr 2026

For your agent

The same facts, typed.