Files
hermes-agent/tests
kshitijk4poor cd8d70bb95 test(memory): trim the journey identity tests to their invariants
AGENTS.md asks for at most two invariant tests per change and no
change-detectors; the salvage brought nine. Keep what goes red on main:

- one parametrized test: an edit/delete lands on the clicked card after
  an earlier entry was removed, and repeating it with the same id is
  refused as stale instead of hitting whatever sits at that index
  (absorbs the vanished-target test);
- the char-limit test (now also covering delete) and the BOM block in
  test_memory_writes_match_memory_tool_format (only guard for the
  shared parser);
- the render body test, minus its `count(":") == 3` id-shape assert.

Dropped: the id-layout change-detector, detail/profile/long-entry and
legacy-id variants (legacy index ids stay covered by the existing
memory:memory:N / memory:profile:2 tests). The render test also patched
a nonexistent hermes_constants._cached_default_hermes_root with
raising=False (a no-op) and set HERMES_HOME by hand; it now uses the
hermetic conftest home like its siblings. Test wording no longer claims
a memory add prepends (it appends).
2026-09-24 18:01:46 +05:30
..
…