hermes - 💡(How to fix) Fix WebUI can show context compaction block instead of latest assistant response after compression [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

After context compaction occurs in Hermes WebUI, the chat view can show the generated “Context compaction — reference only” block where the user expected to see the latest assistant response. The user had previously seen the assistant response, but after compaction the visible conversation appeared to contain the compaction summary instead, making it look as if the last useful assistant output had disappeared.

Error Message

  1. User and assistant had a long development conversation.
  2. Hermes performed context compaction.
  3. The WebUI displayed a “Context compaction — reference only” block.
  4. The user could no longer see the previous assistant message that had been visible before.
  5. User reported: “i cant see the output of the last message you sent, i did see it previously, however now see 'context compaction'”.

Root Cause

After context compaction occurs in Hermes WebUI, the chat view can show the generated “Context compaction — reference only” block where the user expected to see the latest assistant response. The user had previously seen the assistant response, but after compaction the visible conversation appeared to contain the compaction summary instead, making it look as if the last useful assistant output had disappeared.

Fix Action

Fixed

RAW_BUFFERClick to expand / collapse

Summary

After context compaction occurs in Hermes WebUI, the chat view can show the generated “Context compaction — reference only” block where the user expected to see the latest assistant response. The user had previously seen the assistant response, but after compaction the visible conversation appeared to contain the compaction summary instead, making it look as if the last useful assistant output had disappeared.

Environment

  • Interface: Hermes WebUI
  • Session type: browser-based chat
  • Workflow: long development session with tool use and large context
  • Model/provider in use: GPT-5.5 via openai-codex provider
  • Host: Linux VM

Observed behavior

  1. User and assistant had a long development conversation.
  2. Hermes performed context compaction.
  3. The WebUI displayed a “Context compaction — reference only” block.
  4. The user could no longer see the previous assistant message that had been visible before.
  5. User reported: “i cant see the output of the last message you sent, i did see it previously, however now see 'context compaction'”.

Expected behavior

After context compaction, the WebUI should preserve clear access to the latest user-visible assistant response.

Possible acceptable behaviors:

  • Keep the latest assistant response visible below/after the compaction card.
  • Collapse the compaction block by default.
  • Visually label compaction as internal/reference metadata and avoid making it look like the assistant’s answer.
  • Provide a “show previous assistant response” / “jump to latest answer” affordance.
  • Ensure scroll position remains on the latest user-facing message, not the compaction artifact.

Impact

This is confusing during long-running development workflows where Hermes is coordinating background Codex work. The user needs to see the last actionable result/summary, and the compaction card can make it appear that the result was lost.

Notes

The underlying task data was not lost: the repo branch, commit, and evidence bundle still existed locally. The issue appears to be WebUI/history display or scroll/visibility behavior after compaction, rather than loss of filesystem work.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

After context compaction, the WebUI should preserve clear access to the latest user-visible assistant response.

Possible acceptable behaviors:

  • Keep the latest assistant response visible below/after the compaction card.
  • Collapse the compaction block by default.
  • Visually label compaction as internal/reference metadata and avoid making it look like the assistant’s answer.
  • Provide a “show previous assistant response” / “jump to latest answer” affordance.
  • Ensure scroll position remains on the latest user-facing message, not the compaction artifact.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix WebUI can show context compaction block instead of latest assistant response after compression [1 pull requests]