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
Dataflow Dev
committed
fix: persist session binding to disk to survive restarts
Addresses bot feedback on PR #1171: the in-memory session binding was
bypassed by simply restarting the CLI process. Now the binding is
persisted to ~/.config/manicode/session-binding.json alongside the
session lifecycle:
- Persisted when session becomes active
- Loaded on startup and restored to in-memory state
- Cleared when session ends or on force-logout
- Checked on startup against current credentials
This closes the restart-bypass abuse path: a user who Ctrl-C's and
restarts with different credentials will hit the startup guard, which
reads the persisted binding and ends the session if the user changed.
0 commit comments