# fix\(cache\): keep extra window IDs so hidden rows stay hidden after restart \(\#405\) · lucenx/codexbar-plasma

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

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

Visibility: public

Requested revision: 3925997cb7c7d13b081bfb126e117bab98c335ed

Requested commit: 3925997cb7c7d13b081bfb126e117bab98c335ed

Commit: 3925997cb7c7d13b081bfb126e117bab98c335ed

Tree: 73d9f48942e388f9741bd5042b3ba78288ac70a3

Author: Simone

Committer: GitHub

## Message

```
fix(cache): keep extra window IDs so hidden rows stay hidden after restart (#405)

The quota cache persisted extra rate windows without their CLI window ID.
Restored rows therefore had no `extra:<id>` hide key, so a hidden extra
window reappeared after a restart and during failed refreshes that reused
cached quotas, and could not be hidden again until a live refresh.

Encode and decode now carry the identifier-shaped ID validated by
`Normalizer.extraWindowID`; titles and other prose stay out of the cache.
A restored extra row is labeled by that ID, as a live title-less window is.

Documentation: usage guide drops the known-limitation note and lists the
ID among cached fields; development guide notes the cache keeps `windowId`.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
```

## Parents

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

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