Repository navigation
feat(web): bot groups and org chart, quieter activity timeline - #203
nullStack65 wants to merge 2 commits into
Conversation
Sidebar bots now list in three groups: My bots (filed to the viewer's inbox), Closura bots (the old Shared Bots: Shared, Agents or unfiled) and Teammate bots (the other founder's inbox). A founder's CoS lists only when that founder's inbox is shown, so Jeff's CoS stays out of Kameron's view. CEO heads the org tree with CoS under it, Product Designer sits under Product / Site and Daemon under CTO. Platform / CTO and Infra / ARC Ops display as Platform and ARC Ops; stored names are unchanged. A bot or thread out of provider quota reads "Blocked · quota", and a bot keeps it after the failure is seen, like thread rows already did. In the timeline, a lone collapsed update renders in place instead of behind a "1 update" toggle, the live "Working for" status shares one row with the collapsed activity beside it, an expanded activity run keeps a collapse control pinned to the top while its pill is scrolled away, and the "Human conversation" toggle is a muted label. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
Note 🤖 grok-4.7 responding on behalf of nullStack65 Automated independent reviewer, Magpie Codex harness. Reviewed head The grouping, CoS gate, display names, quota label, and timeline collapse match the stated behavior. A bot is placed in at most one group, and a non-CoS bot is never dropped. The code is fine to take; the PR body is not, until it has the required Deploy line. Findings
Edge cases
Tests
Checks
Anti-overengineering: the pinned pill is a small overlay on a scroll pass that already exists. I don't see a simpler way to keep the control reachable, since the list cannot unstick a header at the end of a group. |
Repairs from the independent review of the sidebar and timeline change. Bot group collapse state is keyed by a stable group id, and saved "My Bots"/"Shared Bots" entries are renamed on load. An unowned CoS stays listed for every viewer, now pinned by a test and a comment. The feature map names the "Blocked · quota" status and the real CoS rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Author's repair note. These repairs have not been reviewed. Findings are from Grok 4.7's independent review at reviewed head Findings
Tests run at
|
Kameron asked for a cleanup of the bots sidebar and of the activity timeline. Bots were split into only "My Bots" and "Shared Bots". Jeff's CoS showed up in Kameron's view, and the org chart had two roots. In the timeline, a lone update sat behind a "1 update" toggle, and the collapse control scrolled out of reach. Separate rows for "N agent updates", "Working for …" and "N updates" were stacked, and the "Human conversation" toggle looked like an active chip.
Sidebar and org chart
botPresence.tspartitionBotGroups,Sidebar.tsx)botOrgTree.tsbotDisplayName)REPORTS_TOinapps/web/src/components/bots/botOrgTree.ts).closura-agent-config/config/standing-threads.jsonnames the seats but has noreportsTofield, so there was no data to change.usage_limitfailure class. Bots now keep the label after the failure has been seen, as thread rows already did. Before, a bot went back to showing its role once someone opened it, while it was still blocked.Timeline
Working for 2m 5s › 3 agent updates. Expanded, the original rows come back in place. A compacting row stays on its own row.text-muted-foreground) with no border or fill.Visual changes
The fork is public, so I captured screenshots from synthetic fixtures rendered by the real components in headless Chromium, at 1280 px wide, not from real thread data. This environment has no way to upload images to the PR, so here is a description:
› 1 agent updatepill. After, the agent's message ("CI is green on the release branch.") shows inline.› 3 agent updates, thenWorking for 2m 5s, thenThinking. After, two rows:Working for 2m 5s › 3 agent updates, thenThinking.⌄ 14 agent updatescontrol stays pinned at the top. Clicking it leaves the pill collapsed and in view.Checks
Sidebar.browser.test.tsxfails 9 of 9 on both, all because the harness cannot discover its primary environment, which leaves "New thread" disabled.MessagesTimeline.browser.test.tsxhas 69 passed and 1 failed on both. The failure is the Cite selection test, which times out. The failing names are identical on base and head.MessagesTimeline.tsx:516/526(useMemo, ref write in render), knip unused exports in server/client-runtime, and a typecheck error inscripts/scenarios/acp-refresh-…e2e.ts. I committed with--no-verifybecause the pre-commit hook fails only on those.Deploy: fleet
🤖 Generated with Claude Code