# fix\(cache\): pin the startup cache bypass to verified account selections · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/2da57079b9fa45d1399ee0ffe71ea4e0e2935e56)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 2da57079b9fa45d1399ee0ffe71ea4e0e2935e56

Requested commit: 2da57079b9fa45d1399ee0ffe71ea4e0e2935e56

Commit: 2da57079b9fa45d1399ee0ffe71ea4e0e2935e56

Tree: 675c95001115c6acfffd796e082d18e707192f27

Author: Simone

Committer: Simone

## Message

```
fix(cache): pin the startup cache bypass to verified account selections

The previous commit let every provider skip the account-key comparison
during restore, but usageCacheContext() fingerprints only the explicit
entries of selectedAccounts. A provider left on the CLI default account
can therefore change identity between sessions without changing that
fingerprint, so an early identified failure could reuse the quota saved
for the previous default account. reconcile() now takes the pinned
account map instead of a blanket flag and skips the comparison only for
a provider whose explicit selection the context covers.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

```

## Parents

- [dd2dadb4bdf9c4706a7742d407feb880561ca2b5](https://git.cafe/lucenx/codexbar-plasma/commit/dd2dadb4bdf9c4706a7742d407feb880561ca2b5?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/2da57079b9fa45d1399ee0ffe71ea4e0e2935e56?format=markdown)
