hermes-agent/tests/plugins/memory
solyanviktor-star f1ea4a56c2 fix(memory): cover the remaining setup-time .env reads with utf-8-sig
Follow-up to review feedback:

- mem0 _prompt_api_key read .env with the locale default, so a Notepad
  BOM hid the first key from the masked current-value lookup; read it
  with utf-8-sig + errors=replace like the canonical readers in
  hermes_cli/config.py.
- hindsight _load_simple_env used plain utf-8; it also parses the Hermes
  .env during post_setup, where a BOM stuck to the first key. Switch to
  utf-8-sig + errors=replace.
- Add hindsight regressions: BOM key matching in _load_simple_env and in
  the cloud post_setup writer, plus non-ASCII round-trip preservation,
  and a mem0 regression for the BOM'd masked-key lookup. The BOM tests
  fail without the fix on any platform.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-24 17:10:39 -07:00
..
__init__.py
test_byterover_provider.py
test_config_schema.py
test_hindsight_config_schema.py
test_hindsight_provider.py fix(memory): cover the remaining setup-time .env reads with utf-8-sig 2026-07-24 17:10:39 -07:00
test_holographic_auto_extract.py fix(memory): preserve genuine pre-delimiter content in merged compaction rows 2026-07-22 06:59:14 -07:00
test_holographic_retrieval.py
test_holographic_shutdown_closes_db.py
test_holographic_store.py
test_honcho_config_schema.py
test_mem0_backend.py
test_mem0_providers.py
test_mem0_setup.py fix(memory): cover the remaining setup-time .env reads with utf-8-sig 2026-07-24 17:10:39 -07:00
test_mem0_v3.py
test_memory_lazy_install.py
test_openviking_provider.py fix(openviking): serialize client refresh state 2026-07-24 13:00:53 +05:30
test_openviking_shutdown.py fix(openviking): serialize client refresh state 2026-07-24 13:00:53 +05:30
test_retaindb_provider.py
test_supermemory_provider.py