fix(webui): the organization page drops the Queue card and says running was not read when the bus sent no runs, kept Assistant drafts belong to the signed-in person, the agent drawer repaints alone (#1873) #1978
Reference in new issue
Block a user
What changes
#/queueis unchanged.running, the organization page says "running not read" in the Active agent sessions heading, the Agents working tile and the Settings "Agents and roles" row. Before, it said "none running" and "0 running". The Dashboard's Agents working tile and organization rows follow the same rule.How
serve.mjs: the existing/api/configanswer gains one field,viewer. It is the first 32 hex characters of a sha256 over the session's provider, issuer and subject, orlocalon a Console with no sign-in. The subject itself is never sent. No route was added.bus.jsexposes the viewer to the page.assistant.jsstores drafts as{viewer, drafts}and writes nothing until the viewer is known.workspace.js:runsUnreaddecides the "not read" wording in one place.drawerHtml()rebuilds the drawer from reads already made, and each pending drawer names the read it waits on.roles/,contracts/,packages/bus/orpackages/queue/.Tests
org-page-fit-browser.test.mjs: no Queue card and no queue read, the three "not read" places, the drawer repaint request count, and a second agent opened while the read is held.assistant-threads-browser.test.mjs: two identities on one tab. Each new test failed on the code before its change.c26879637: 192 webui test files, 1549 pass, 0 fail, 4 skipped (org-quick-live, needs a live scratch instance).c26879637: 218 pass, 0 fail over the changed test files plus the drawer, agents, assistant, single-pane, tiles, serve, SSO and workspace files, and the two cli files that read/api/config.Review
One fresh claude-opus-5-5 reviewer asked for one change (P2): a second agent opened while the drawer's read was open stayed on "Reading state…" until the next poll.
c26879637fixes it with a test. A second fresh reviewer approved with no P1 or P2.Left for later