hermes-agent/plugins/memory
Erosika 9e77d83354 fix(honcho): gate memory-file migration on the declared owner
The previous gate compared session.user_peer_id against a fresh
_resolve_user_peer_id() call on the same manager. Both values come from
the same resolver with the same inputs, so a non-owner triggering a new
session in a shared channel passed the check and received the owner's
MEMORY.md/USER.md under their peer.

The owner is now a config fact: _declared_owner_peer_id() returns the
sanitized peerName, and migration runs only when the session's user peer
is that peer. Without a declared peerName, migration runs only when no
runtime gateway identity is present (the single-operator CLI path).
Aliases still work: a platform ID mapped onto peerName resolves to the
owner peer before the comparison.

Tests now derive each session's user peer from the real resolver instead
of hand-picking mismatched ids, so the non-owner test fails against the
old gate.
2026-08-13 23:43:15 +05:30
..
byterover fix: add explicit UTF-8 encoding to all subprocess text=True calls (#53428) 2026-07-24 11:45:57 -07:00
hindsight fix: security + efficiency review fixes for salvaged PR #74379 2026-08-13 23:15:25 +05:30
holographic fix(memory): resolve dim=1 float32/float64 blob ambiguity 2026-08-02 22:33:13 +05:30
honcho fix(honcho): gate memory-file migration on the declared owner 2026-08-13 23:43:15 +05:30
mem0 fix(secrets): scope memory plugin credential reads (hindsight/honcho/supermemory/mem0/retaindb) 2026-08-02 10:04:48 -07:00
openviking refactor(openviking): reuse _headers() and _status_code_from_error() 2026-08-13 15:06:22 +05:30
retaindb test(retaindb): guard scoped secret config resolution 2026-08-03 20:35:47 +05:30
supermemory fix(secrets): scope memory plugin credential reads (hindsight/honcho/supermemory/mem0/retaindb) 2026-08-02 10:04:48 -07:00
__init__.py fix(windows): sweep remaining bare read_text/write_text sites + linter rule 2026-07-24 17:10:39 -07:00
config_schema.py revert(memory): drop the provider actions extension point 2026-07-10 15:41:52 -04:00
query_rewrite.py fix(honcho): enforce recall latency and budget contracts 2026-07-16 12:48:48 -07:00