fix(worker): sanitize report model arg, fix multi-repo summary attribution and standup-weekday sentinel
This commit is contained in:
@@ -79,6 +79,14 @@ public sealed class ClaudeHistoryReader : IClaudeHistoryReader
|
||||
}
|
||||
else
|
||||
{
|
||||
// Keep only the closing summary per (repo, day). If this turn moved to a
|
||||
// different repo/day (e.g. the session cd'd), flush the previous one first.
|
||||
if (lastAssistantText is not null &&
|
||||
(cwd != lastAssistantRepo || date != lastAssistantDate))
|
||||
{
|
||||
Bucket(buckets, lastAssistantRepo!, lastAssistantDate).Summaries.Add(lastAssistantText);
|
||||
lastAssistantText = null;
|
||||
}
|
||||
lastAssistantText = text.Trim();
|
||||
lastAssistantRepo = cwd;
|
||||
lastAssistantDate = date;
|
||||
|
||||
Reference in New Issue
Block a user