Files
hermes-agent/agent
kshitijk4poor 28bd8cc08c fix(memory): never dedupe indented recall lines
Only column-0 bullets participate in `_drop_repeated_recall_lines`.
An indented line is a continuation of the bullet above it (nested
child, provenance, wrapped prose) and is kept verbatim, so identical
children under two different parents both survive. The docstring
already promised this; the code now matches.

PROOF: with the old code, `- Project A\n  - status: active\n- Project B\n
  - status: active\n` lost B's child (probe s4_eff_nested.py) and the
new assertion in test_a_bullet_with_continuation_lines_is_never_touched
fails (AssertionError at :49); after the change the probe returns the
input unchanged and tests/agent/test_memory_context_dedupe.py passes.
2026-09-22 15:55:09 +05:30
..
…
2026-09-21 13:28:28 -07:00