LearnNewsExamplesServices
Frontmatter
id8204
titleFix Session Summary Timestamp Overwrite on Re-summarization
stateClosed
labels
bugai
assigneestobiu
createdAtDec 29, 2025, 11:37 PM
updatedAtDec 29, 2025, 11:39 PM
githubUrlhttps://github.com/neomjs/neo/issues/8204
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtDec 29, 2025, 11:39 PM

Fix Session Summary Timestamp Overwrite on Re-summarization

Closed v11.18.0 bugai
tobiu
tobiu commented on Dec 29, 2025, 11:37 PM

The SessionService.summarizeSession method currently uses Date.now() for the timestamp metadata 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 summarizeSession to 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.

tobiu added the bug label on Dec 29, 2025, 11:37 PM
tobiu added the ai label on Dec 29, 2025, 11:37 PM
tobiu assigned to @tobiu on Dec 29, 2025, 11:38 PM
tobiu referenced in commit 0f1550f - "Fix Session Summary Timestamp Overwrite on Re-summarization #8204" on Dec 29, 2025, 11:39 PM
tobiu closed this issue on Dec 29, 2025, 11:39 PM