Skip to content

fix(ui): team agent headers show who created the main session - #168575

Merged
steipete merged 1 commit into
mainfrom
steipete/dr-display-session-entries-d4f17a
Oct 10, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/dr-display-session-entries-d4f17a

Conversation

@steipete

@steipete steipete commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes: in team mode, every agent header showed a lone initials avatar on its second line, naming whoever created that agent's main session.

User Impact

User impact: agent headers in the team sidebar show only the agent avatar and name plus Home status; the creator of the main session is no longer displayed there. Session rows keep their owner avatars as before.

Why This Change Was Made

Agent headers reuse the Home session's indicator line. Home deliberately has no session icon so the agent avatar stays the only identity, but with no icon that line fell through to the owner chip. The Home projection now clears creator and archiver attribution alongside the icon and channel avatar, so the header keeps its running, unread, attention, PR, and draft badges without a second identity.

Evidence

  • ui/src/e2e/sidebar-roster.e2e.test.ts: 3 passed. The header identity test now asserts the creator chip is absent while the running ring, unread dot, PR badge, attention count, and draft/incognito badges still render (touch and pointer variants).
  • ui/src/components/app-sidebar.projection-memo.test.ts, ui/src/components/app-sidebar-session-row-render.test.ts: 9 passed.
  • pnpm tsgo:ui: clean.
  • Codex autoreview (P2): scoped-clean.
  • Before/after (mock Gateway fixture data, dark theme). Forge's header no longer shows the creator chip; the unread dot and running ring stay.
Before After
Team sidebar before: creator chip under the Forge header Team sidebar after: only unread dot and running ring under the Forge header

Team-mode agent headers reuse the Home session's indicator line, and with no
session icon that line fell through to the creator's owner chip, so a lone
initials avatar sat under every agent name. The agent avatar is the header's
only identity: the Home projection now clears creator and archiver attribution
alongside the icon and channel avatar, while running, unread, attention, PR, and
draft badges keep rendering.
@clawsweeper

clawsweeper Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review in progress

ClawSweeper is reviewing this revision. This supersedes any previous blocked status.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: XS labels Oct 10, 2026
@steipete
steipete marked this pull request as ready for review October 10, 2026 17:48
@steipete
steipete merged commit 654c859 into main Oct 10, 2026
69 of 73 checks passed
@steipete
steipete deleted the steipete/dr-display-session-entries-d4f17a branch October 10, 2026 17:48
steipete added a commit that referenced this pull request Oct 10, 2026
#168575 (654c859) intentionally dropped the Home session creator chip from team agent headers but left the shared roster-main-metadata case asserting it, so app-sidebar.people.test.ts failed on main and fail-fast cancelled UI e2e on every PR selecting that shard. Assert the new contract; all other header badge assertions are unchanged. app-sidebar.people.test.ts: 148/148.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 11, 2026
…penclaw#168575)

Team-mode agent headers reuse the Home session's indicator line, and with no
session icon that line fell through to the creator's owner chip, so a lone
initials avatar sat under every agent name. The agent avatar is the header's
only identity: the Home projection now clears creator and archiver attribution
alongside the icon and channel avatar, while running, unread, attention, PR, and
draft badges keep rendering.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 11, 2026
openclaw#168575 (597119a) intentionally dropped the Home session creator chip from team agent headers but left the shared roster-main-metadata case asserting it, so app-sidebar.people.test.ts failed on main and fail-fast cancelled UI e2e on every PR selecting that shard. Assert the new contract; all other header badge assertions are unchanged. app-sidebar.people.test.ts: 148/148.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant