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
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix(rust_brain): keep order index aligned during eviction and forget (#7)
Evicting from the front of _order without decrementing _order_index left
stale indices. forget() then tombstoned the wrong slot, and subsequent
evictions could drop live keys while leaving ghosts — silent data loss.
Add _evict_oldest/_remove_from_order helpers and regression tests.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Daniel <DJLougen@users.noreply.github.com>
0 commit comments