Skip to content

fix(honcho): harden memory-context leak boundaries to user-visible surfaces - #15371

Closed
erosika wants to merge 2 commits into
NousResearch:mainfrom
erosika:fix/honcho-memory-context-leak-boundaries
Closed

fix(honcho): harden memory-context leak boundaries to user-visible surfaces#15371
erosika wants to merge 2 commits into
NousResearch:mainfrom
erosika:fix/honcho-memory-context-leak-boundaries

Conversation

@erosika

@erosika erosika commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Adopts the memory-context-leak boundary fixes from #13672 by @dontcallmejames with original authorship preserved.

Fixes #5719.

The Honcho Context block was leaking into user-visible messages through the vision auto-analysis path and conversation replay. Two commits land the boundary hardening:

  • 503fa1b9 strip leaked memory context from commentary (run_agent codex-responses path)
  • e11bbd98 harden memory-context leak boundaries (hermes_state replay, honcho sync, run_agent)

Scope note: #13672 bundled four commits; the two above are the advertised fix. The other two are adjacent but out-of-scope for this boundary-fix PR:

  • 02f8043d (hermes update: return to local-overrides branch after update) — unrelated, would warrant its own PR

  • c34e7f20 (use conclusions query for honcho search context) — separate concern, worth review on its own merits

  • hermes_state.py: +6 -1

  • plugins/memory/honcho/init.py: +5 -2

  • run_agent.py: +12 -4

  • tests: +90

1411/1412 tests pass across honcho_plugin + run_agent + hermes_state (the single failure on test_inf_stays_string_for_integer_only is a preexisting flake on main, unrelated to these changes).

@erosika

erosika commented Apr 24, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #15381 (consolidated).

@erosika erosika closed this Apr 24, 2026
@erosika
erosika deleted the fix/honcho-memory-context-leak-boundaries branch April 24, 2026 22:11
@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/plugins Plugin system and bundled plugins comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint labels Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint comp/plugins Plugin system and bundled plugins P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Honcho Context block leaking into user-visible messages via vision auto-analysis

3 participants