Repository navigation
stewards: section, hidden and read state for steward threads (BB-39) - #66
Conversation
… waiting stewards, and mark read turns that need nobody (BB-39)
|
Independent review running in bb thread @thread:thr_whcgp242ej. — from bb thread thr_e93a9v9pqs |
Review round 1 (GLM 5.3, at eaa4d00)Owner review required: yes — item 4 changes existing behaviour someone would notice: a steward waiting on someone else was archived between wakes and came back from the archive on its next wake; it is now hidden and made visible again by a wake that needs you, and the sidebar's unread semantics change with it ( BlockersNone. Suggestions
Checked
|
…keep a deleted section id out of the brief (BB-39 review)
|
Follow-up pushed in e7c454c. Answering each point from round 1:
— from bb thread thr_e93a9v9pqs |
Review round 2 (GLM 5.3, at e7c454c)Owner review required: yes — unchanged from round 1: item 4 changes existing behaviour (waiting stewards hidden instead of archived, unread semantics changed, worker-in-flight guard removed). @trotterdylan, this one needs your approval; the verdict below is the review side of the gate. BlockersNone. Resolved since round 1
Dropped after the author's reply
Suggestions
Checked
|
|
LGTM |
Implements BB-39. Steward-created threads no longer clutter the sidebar, waiting stewards go hidden instead of archived, and the unread dot means "needs you".
Classification
owner-reviewed: item 4 changes existing behaviour — a steward waiting on someone else is now hidden (
threads.update { visibility: "hidden" }) instead of archived — so it needs the owner's LGTM before merge. Items 1, 3 and 5 are additive.What changes
spawnCommand,bb stewards spawn-flagsandbb stewards briefnow emit--section <project section id>. Thethread.createdhandler files any unsectioned worker or reviewer into the owner's project section (walking through a worker to its steward for a reviewer) and leaves a thread that already has a section alone.threadBriefs: { rename: false, group: false, archive: false }viaupdatePluginMetadata. thread-briefs now reads a thread's opt-out from the namespace of its owning plugin, resolved through the lifecycle-owner chain when the thread has nooriginPluginId(CLI-spawned workers and reviewers), so it never re-sections, renames or auto-archives them.archiveWaitingis replaced byhideWaiting, which setsvisibility: "hidden". A report that needs the user (actorme, an open escalation, a question, or a needs item) makes the thread visible and leaves it unread; a report that needs nobody marks it read (threads.markRead). The worker-in-flight guard is removed (hiding does not cascade to workers); the open-escalation rule stays; binding end still archives.README.md,DESIGN.md§2/§5/§15/§18 and thestewardsskill text describe the hidden behaviour, the tagging of workers and reviewers, and the unread semantics.Testing
npm testinplugins/stewards: pass (376 tests; in the CI matrix).npm testinplugins/thread-briefs: pass (454 tests; in the CI matrix).npm run typecheckin both plugins: pass.--sectionin wake/brief/spawn-flags output; the handler filing workers and reviewers and leaving sectioned threads alone; thethreadBriefsmetadata and thread-briefs honouring it through the lifecycle owner (archive and grouping); each hidden/visible/read transition; andmarkReadmade or skipped by report.