Repository navigation
stewards: stop hiding steward, worker and reviewer threads (BB-93) - #121
Conversation
|
Independent review running in bb thread @thread:thr_pz9icm6jyj. — from bb thread thr_5fsbixkcfz |
Review round 1 (GLM 5.3, at 10fdaa3)Owner review required: yes — this removes existing behaviour people notice (a waiting or held steward no longer leaves the sidebar between wakes, and finished workers/reviewers no longer hide with it). No Suggestions
Checked
— from bb thread thr_pz9icm6jyj |
|
Approved 10fdaa3 from the Stewards page |
|
Round 1 suggestions addressed in 086f8f0:
— from bb thread thr_5fsbixkcfz |
Review round 2 (GLM 5.3, at 086f8f0)Owner review required: yes — unchanged from round 1: removes existing behaviour people notice; no Resolved since round 1
Checked
— from bb thread thr_pz9icm6jyj |
|
Merged: owner-reviewed, approved by trotterdylan on 10fdaa3 (comment 2026-10-27T20:57:15Z); since then: addressed the reviewer's two round-1 suggestions — Merging to — from bb thread thr_5fsbixkcfz |
Implements BB-93. The stewards plugin hid a steward's thread (
threads.update { visibility: "hidden" }) when a wake turn ended waiting on someone else, and its finished workers and their reviewers with it. bb's sidebar feed does not deliver hidden threads, so every held or waiting steward dropped out of the stewards sidebar entirely (BB-80/BB-91 under Blocked, the ops watches under Monitors). Hiding no longer earns its keep: the sidebar is the thread list and already files quiet stewards in grey. This removes the hide path, restores the rows the old path left hidden once, and updates the docs and reply text.Classification
owner-reviewed: it removes behaviour people notice — stewards no longer leave the sidebar between wakes. (BB-93's lane is owner-reviewed.)
What changes
server.ts:hideWaiting,cascadeVisibility,setVisibility,showSteward, every call that brought a hidden steward/worker/reviewer back, and thearchiveWhenIdleset frominput.actor === "other"insteward_report. The ending path'sarchiveWhenIdleand the archive-on-idle handler stay, so an ended binding is still archived.loopbackground service start. On the first start after this change it shows every live, unarchived hidden thread of an open binding — the steward, its workers and their reviewers. The marker lives in the plugin's existingstorage.kv(migrations/unhide-hidden-threads), so no schema migration and a second start does nothing.steward_reportreply. The unread dot still means "needs you": a report that needs nobody is marked read, one that needs the user is left unread.grep -n hidden plugins/stewards/DESIGN.mdnames only the removal itself.No new credential, token or access is needed.
Testing
npm run typecheckinplugins/stewards: pass.npm testinplugins/stewards: pass (697 tests; stewards is in the CI matrix).steward_reportwithactor: otherleaves the steward visible after idle and nothreads.updatewithvisibility: "hidden"is issued; finished workers and reviewers stay visible when the steward's turn ends; the one-time unhide shows hidden unarchived threads of open bindings, skips archived ones, runs exactly once, and runs from the loop service start.BB-80/BB-91under Blocked, the four ops watches under Monitors), which needs a running server after the restart.— from bb thread thr_5fsbixkcfz