You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f4dfc80
Browse filesBrowse the repository at this point in the historyBrowse files
ref(cache): replace the stale-start comparison with an identity check
session.json has only two writers, the SessionStart path and
persistCurrentSession. So if a start envelope finds its own session id
already on disk, persistCurrentSession put it there for the live session,
and that copy is necessarily at least as advanced. There is nothing to
measure: comparing the unhandled flag and error count answered a question
that only ever has one answer.
The start path collapses to "if this envelope is about a different
session than the one on disk, behave as before; otherwise leave it
alone", which also avoids rotating a running session into
previous_session.json.
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments