Skip to content

bug(workspace): a GitHub template's bundled avatar still shows as initials in the Workspace #4609

Open

Description

@obasilakis

Build: v1.0.5-rc3 (aebf54286), enterprise edition, refco. Release matrix row B21 (trinity-enterprise#1189), re-test of #4570.

What happens

An agent created from a GitHub template that ships avatar.png at its root now shows that image on the agent page and the dashboard tile (#4574). The Workspace still shows the initials tile for it: in the sidebar agent list, and so in every Workspace surface that reads the roster card.

Seen with a fixture repo: a red avatar.png on main and a blue one at tag v1. Both agents show their image on /agents/<name> and on the dashboard. GET /api/agents returns avatar_url for both. In /workspace both show BA / BT. An agent in the same list with a generated avatar shows its image.

Why

src/backend/client_portal/service.py:945-952 builds the Workspace card's avatar_url only when the avatar is not a default one:

# Only agents with a generated (non-default) avatar get an image URL;
# the UI renders an initials tile otherwise.
avatar_url = (
    f"/api/agents/{name}/avatar?v={updated}"
    if updated and not r.get("is_default_avatar")
    else None
)

#4574 records the bundled file as a default avatar (set_default_avatar, is_default_avatar=1), the same as a local: template's bundled avatar. So the Workspace drops it. A local: template's bundled avatar is hidden in the Workspace for the same reason.

#4570 named the Workspace as one of the three surfaces that should show the image. The agent page and the dashboard are fixed; the Workspace is not.

Expected

The Workspace card carries avatar_url for a bundled template avatar, as the agent page does. The rule that hides an untouched default avatar should not hide an image the template shipped on purpose.

Release

Not a 1.0.5 cut blocker (release decision): the case that needs it is not in the 1.0.5 scope.

Unchanged on dev.

Activity

  1. added
    priority-p2
    type-bug
    theme-ui-ux
    on Nov 16, 2026
  2. added
    complexity-low
    status-ready
    on Nov 18, 2026
  3. added 2 commits that reference this issue on Nov 24, 2026
  4. added
    status-in-dev
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity-lowpriority-p2status-in-devstatus-readytheme-ui-uxtype-bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions