Skip to content

fix(memory): filter framework artifacts before sync#32031

Draft
neopg27-claw wants to merge 2 commits into
NousResearch:mainfrom
neopg27-claw:fix/memory-sync-hygiene-guard
Draft

fix(memory): filter framework artifacts before sync#32031
neopg27-claw wants to merge 2 commits into
NousResearch:mainfrom
neopg27-claw:fix/memory-sync-hygiene-guard

Conversation

@neopg27-claw

Copy link
Copy Markdown

Summary

  • add a centralized memory-sync hygiene guard in MemoryManager
  • drop obvious Hermes framework artifacts per side before provider sync
  • drop raw base64 media payloads while preserving normalized media markers from fix(memory): normalize multimodal sync content #32030
  • cap excessive synced turn content at 8k chars

Stack

Draft and stacked on #32030. Please review/merge #32030 first; this follow-up is intentionally framed as provider-agnostic memory hygiene rather than Honcho-specific behavior.

Test Plan

  • pytest tests/agent/test_memory_provider.py tests/agent/test_memory_session_switch.py tests/honcho_plugin/test_session.py::TestConcludeToolDispatch -q

Refs #3943

@daimon-nous daimon-nous Bot added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/agent Core agent loop, run_agent.py, prompt builder tool/memory Memory tool and memory providers labels May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/agent Core agent loop, run_agent.py, prompt builder P3 Low — cosmetic, nice to have tool/memory Memory tool and memory providers type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant