mirror of
https://github.com/thedotmack/claude-mem
synced 2026-04-25 17:15:04 +02:00
fix: broadcast uses summaryForStore to support salvaged summaries (#1718)
syncAndBroadcastSummary was using the raw ParsedSummary (null when salvaged) instead of summaryForStore for the SSE broadcast, causing a crash when the LLM returns <observation> without <summary> tags. Also removes misplaced tree-sitter docs from mem-search/SKILL.md (belongs in smart-explore). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -319,7 +319,9 @@ describe('ResponseProcessor', () => {
|
||||
);
|
||||
|
||||
const [, , , summary] = mockStoreObservations.mock.calls[0];
|
||||
expect(summary).toBeNull();
|
||||
// #1718: When observations exist without <summary> tags, a synthetic summary is salvaged
|
||||
expect(summary).not.toBeNull();
|
||||
expect(summary.notes).toContain('Salvaged from');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user