hermes - 💡(How to fix) Fix Warn when memory store approaches memory_char_limit [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…

Fix Action

Fixed

RAW_BUFFERClick to expand / collapse

Follow-up from #35121 and the production report in https://github.com/NousResearch/hermes-agent/issues/35121#issuecomment-4582762430.

Problem: Users currently discover memory pressure only after a write fails with quota exceeded. In production, a store at 2,196/2,200 chars caused repeated failed memory writes until operators manually raised memory.memory_char_limit, pruned stale entries, and added a local failure fuse. #35243 addresses the deterministic retry loop, but not proactive visibility.

Expected behavior:

  • Surface memory usage when the store is near the configured memory_char_limit, for example at >=95%.
  • Provide actionable guidance before the next write fails: prune stale entries, shorten proposed memory, replace an existing entry, or raise the configured limit if appropriate.
  • Keep this as a warning, not a hard blocker.
  • Document how operators should tune memory.memory_char_limit for long-lived agents.

Acceptance:

  • A memory store at or above the warning threshold emits a structured warning with current size and configured limit.
  • The warning appears in a user/operator-visible path before or alongside memory writes.
  • Tests cover below-threshold, at-threshold, and over-limit cases.
  • Existing quota-exceeded behavior and #35243 non-retryable guardrail behavior remain intact.

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…

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 Warn when memory store approaches memory_char_limit [1 pull requests]