Commit e1a74c6
fix(session-memory): narrow transcript filter to delivery-mirror only, preserve gateway-injected
ClawSweeper review flagged that using isTranscriptOnlyOpenClawAssistantMessage
also filters standalone gateway-injected rows, which are visible assistant replies
and should be preserved. Switch to isOpenClawDeliveryMirrorAssistantMessage which
only filters delivery-mirror duplicates.
- Change import from isTranscriptOnlyOpenClawAssistantMessage to isOpenClawDeliveryMirrorAssistantMessage
- Update regression test to verify gateway-injected standalone rows are preserved
- All 195 hooks tests pass
Co-Authored-By: claude-sonnet-4-6 <[email protected]>1 parent 4abfeb4 commit e1a74c6
2 files changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
816 | | - | |
| 816 | + | |
817 | 817 | | |
818 | 818 | | |
819 | 819 | | |
| |||
840 | 840 | | |
841 | 841 | | |
842 | 842 | | |
843 | | - | |
| 843 | + | |
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
849 | 849 | | |
850 | | - | |
851 | | - | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
852 | 853 | | |
853 | 854 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments