docs: note bucket total wins over minPos for guild channel pick (v0.8.133)

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-22 19:15:50 -04:00
co-authored by Cursor
parent 76e9f3991e
commit 255b2bd542
+2
View File
@@ -135,6 +135,8 @@ Primary consumer: `apps/pearcord/index.js` sidecar reading pear-pipe JSON.
**v0.8.115:** `loadGuild` / `_openGuild` clears stale `activeChannelId`, then `_selectGuildChannelWithUnread` picks mention-weighted unread channels before falling back to the first text channel. `setSearch` records `searchRecentByGuild` in user prefs. View: `searchRecentQueries`.
**v0.8.133:** Parent-bucket selection prefers the highest **total** unread score over a bucket with a lower `minPos` but fewer unreads. Smoke: `test:guild-bucket-total-over-minpos`.
**v0.8.132:** Within one category, a channel with a mention alert beats another with the same plain unread count (`mentions × 1000 + unread`). Smoke: `test:guild-mention-in-bucket-pick`.
**v0.8.131:** Within a single parent bucket, equal unread/mention scores pick the channel with the lower sibling `position`. Smoke: `test:guild-in-bucket-position-tie`.