Frontmatter
| id | 8204 |
| title | Fix Session Summary Timestamp Overwrite on Re-summarization |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Dec 29, 2025, 11:37 PM |
| updatedAt | Dec 29, 2025, 11:39 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8204 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 29, 2025, 11:39 PM |
The
SessionService.summarizeSessionmethod currently usesDate.now()for thetimestampmetadata whenever a session is summarized or re-summarized. This causes old sessions to jump to the top of the "recent sessions" list (which sorts by timestamp) whenever they are re-processed (e.g., due to drift detection).Fix: Update
summarizeSessionto calculate the session's timestamp based on the latest memory timestamp within that session. This ensures that the summary reflects the actual time of the activity, not the time of the summarization process.