- add tail-based HEAL line lookup to avoid O(file-size) reads in should_heal() - keep a safe fallback full scan when no HEAL marker is found in tail window - add regression test for large history files with recent HEAL marker
- add tail-based HEAL line lookup to avoid O(file-size) reads in should_heal() - keep a safe fallback full scan when no HEAL marker is found in tail window - add regression test for large history files with recent HEAL marker