Skip to content

fix: session persistence, TTL eviction, and drift bugs - #38

Merged
four-bytes-robby merged 2 commits into
mainfrom
fix/token-session-bugs
Jun 14, 2026
Merged

fix: session persistence, TTL eviction, and drift bugs#38
four-bytes-robby merged 2 commits into
mainfrom
fix/token-session-bugs

Conversation

@four-bytes-robby

Copy link
Copy Markdown
Member

Fixes 4 bugs in token-budget-guard:

  1. Session-change detection — file-watcher no longer treats unchanged sessions as new
  2. TTL eviction — stale sessions now get cleaned up properly
  3. Read-side effect — read operations no longer mutate state
  4. sessionID drift — resolved ID propagation mismatch between server and TUI

Closes #32, #33, #34, #37.

@four-bytes-robby
four-bytes-robby force-pushed the fix/token-session-bugs branch from 8f3b063 to a9117af Compare June 14, 2026 07:32
@four-bytes-robby
four-bytes-robby merged commit 66b4d05 into main Jun 14, 2026
1 check passed
@four-bytes-robby
four-bytes-robby deleted the fix/token-session-bugs branch June 14, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P4d] Publish TBG status to plugin bus channel

1 participant