在 Claude 代码记录中, session-end transcript back-fill 无法提取提示信息

作者: dmazhukov创建于 2026年9月12日更新于 2026年9月12日

`extractTranscriptPrompts` in `src/hooks/session-end.ts` returns an empty array for every Claude Code transcript, so the prompt back-fill added for the SessionEnd hook silently posts nothing. Sessions then reach the daemon carrying only `{endedAt, status}`, and `mem::summarize` logs `No observations to summarize` for them indefinitely.

内容来源: rohitg00/agentmemory