You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(avatars): a template's shipped avatar is replaced when default avatars are generated #4750
A template can ship its own avatar image (avatar.webp or avatar.png beside template.yaml, #2693 for local: templates and #4570 for github: templates). The agent created from it shows that image from the first start, with no image key.
The image is stored as a default avatar. Defaults are the ones "Generate Default Avatars" is allowed to overwrite. So once an image key exists and someone presses that button, the face the template author chose is replaced by a generated one.
Read on dev @ c62030cf9:
docs/memory/feature-flows/agent-avatars.md (Bundled image): "It is still recorded as a default avatar, so Generate Default Avatars overwrites it once a key exists."
src/backend/db/agent_settings/avatar.py:75-96: agents with is_default_avatar = 1 are in the set that gets a new default.
Not tested live.
Why it matters
A shipped avatar is a deliberate choice by the template's author: the agent's identity across every install. It should not be treated as a placeholder. #4609 is the same root cause from another side: the Workspace hides the shipped image because it is flagged as a default.
Expected
An avatar shipped by a template is kept when default avatars are generated for the fleet.
The owner can still replace it on purpose (upload, or generate for that one agent).
#4754 is validated (APPROVE, independent run: #4754 (comment)) and marked ready for review; CI is green on e84cb3954. It also closes #4609. Before merge: one look on a live stack (create from a template that ships an image, press Generate Default Avatars, confirm the image stays and the Workspace sidebar shows it). One non-blocking note from validation: the "refused destination leaves no stamp" guarantee is pinned by a test on the github: path only; a twin test for local: would be one function.
Activity
fix(avatars): keep a template's shipped avatar instead of storing it …
docs(avatars): a template-shipped image is kept, not a default (#4750)
fix(avatar): stamp a GitHub shipped avatar as kept only when the file…
test(avatar): prove #4609 end to end — a shipped image reaches the Wo…
vybe commentedon Nov 24, 2026
#4754 is validated (APPROVE, independent run: #4754 (comment)) and marked ready for review; CI is green on
e84cb3954. It also closes #4609. Before merge: one look on a live stack (create from a template that ships an image, press Generate Default Avatars, confirm the image stays and the Workspace sidebar shows it). One non-blocking note from validation: the "refused destination leaves no stamp" guarantee is pinned by a test on thegithub:path only; a twin test forlocal:would be one function.fix(avatars): keep a template's shipped avatar instead of storing it …