AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
feat(platform): ship Clay & Rock V1 identities and copy (#14822)
Abhimanyu Yadav59c952204c02
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 7f7f35d364..af416fa26d 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -11,6 +11,7 @@ repos:hooks:- id: check-added-large-filesargs: ["--maxkb=500"]+ exclude: ^autogpt_platform/frontend/public/autogpt-characters/v1\.1/expert-(maria|mina)/neutral/1024\.png$- id: fix-byte-order-marker- id: check-case-conflict- id: check-merge-conflict@@ -29,7 +30,7 @@ repos:# hashes of the assembled prompts, which read as high-entropy hex.# .env.default files are deliberately NOT excluded: they are public, so# a working value committed to one is a published secret (SECRT-2611).- exclude: (pnpm-lock\.yaml|copilot/eval/style/baseline\.json)$+ exclude: (pnpm-lock\.yaml|copilot/eval/style/baseline\.json|frontend/public/autogpt-characters/manifest\.json)$- repo: https://github.com/gitleaks/gitleaksrev: v8.24.3diff --git a/autogpt_platform/backend/backend/api/features/experts/copy_policy.py b/autogpt_platform/backend/backend/api/features/experts/copy_policy.pynew file mode 100644index 0000000000..1106308522--- /dev/null+++ b/autogpt_platform/backend/backend/api/features/experts/copy_policy.py@@ -0,0 +1,7 @@+EXPERT_CREATION_COPY_POLICY = "AI Experts: functional titles, no seniority, tenure, human careers or credentials. Offer supported tasks users might contract out, never person replacement. Only Otto is Head of AI."++EXPERT_COPY_POLICY = (+ "AutoGPT is the platform. Otto is the personal Head of AI. Experts are persistent specialist AI identities; workflows remain workflows. "+ + EXPERT_CREATION_COPY_POLICY+ + " Identify specialists as AI Experts. Do not claim years of experience. Include review where required. Preserve user names and quoted history; these rules govern generated presentation and claims, not rewriting user data."+)diff --git a/autogpt_platform/backend/backend/api/features/experts/experts_db.py b/autogpt_platform/backend/backend/api/features/experts/experts_db.pyindex 0457055845..71bab5d08b 100644--- a/autogpt_platform/backend/backend/api/features/experts/experts_db.py+++ b/autogpt_platform/backend/backend/api/features/experts/experts_db.py@@ -65,6 +65,7 @@ from backend.api.features.experts.models import (decode_day_one,decode_voice_preferences,)+from backend.api.features.experts.presentation import template_presentationfrom backend.api.features.experts.routine_jobs import (mark_routine_unscheduled as mark_routine_unscheduled,)@@ -131,7 +132,7 @@ logger = logging.getLogger(__name__)def _raised_identity(name: str) -> str:# f-string, not str.format on a template: user names may contain { or },# which str.format would choke on.- return f"I'm {name}, raised by you. I learn how you work and grow with you."+ return f"I'm {name}, an AI Expert created by you. I use your instructions to help with your work."# Postgres promises no row order without this, so the profile's workflow grid@@ -257,18 +258,19 @@ def _to_model()else:voice_preferences, voice_samples = row.voicePreferences, []+ presentation = template_presentation(row)return Expert(id=row.id,name=row.name,- avatar_url=row.avatarUrl,+ avatar_url=presentation["avatarUrl"],color=row.color,role=row.role,job_title=row.jobTitle,- tagline=row.tagline,- bio=row.bio,+ tagline=presentation["tagline"],+ bio=presentation["bio"],skills=row.skills or [],categories=row.categories or [],- identity=row.identity,+ identity=presentation["identity"],voice_preferences=voice_preferences,voice_samples=voice_samples,day_one=decode_day_one(row.dayOne),@@ -925,22 +927,23 @@ async def _hire_expert_impl(# Copy the plain description, never the template's sample envelope: a hire# that skips the voice pick must not leave raw JSON in the prompt, and the# pick (when made) overwrites this via the soul PATCH anyway.+ presentation = template_presentation(template)template_voice, _ = decode_voice_preferences(template.voicePreferences)create_data: prisma.types.ExpertCreateInput = {"ownerUserId": user_id,"name": name or template.name,- "avatarUrl": template.avatarUrl,+ "avatarUrl": presentation["avatarUrl"],"color": template.color,"role": template.role,"jobTitle": template.jobTitle,- "tagline": template.tagline,- "bio": template.bio,+ "tagline": presentation["tagline"],+ "bio": presentation["bio"],# The bundled installs below record each name, so the row lists only# skills the hire actually owns."skills": [],"categories": template.categories or [],# No dayOne: it is the template's pre-hire promise, not the hire's.- "identity": template.identity,+ "identity": presentation["identity"],"voicePreferences": template_voice,"boundaries": template.boundaries,"sourceTemplateId": template.id,diff --git a/autogpt_platform/backend/backend/api/features/experts/experts_db_test.py b/autogpt_platform/backend/backend/api/features/experts/experts_db_test.pyindex f1660ae343..49a47779f8 100644--- a/autogpt_platform/backend/backend/api/features/experts/experts_db_test.py+++ b/autogpt_platform/backend/backend/api/features/experts/experts_db_test.py@@ -2060,6 +2060,7 @@ async def test_existing_non_private_hire_is_never_revived():async def test_hire_existing_team_expert_fails_closed():template = SimpleNamespace(id="template-1",+ isTemplate=True,name="Maria",avatarUrl=None,color="",@@ -2112,6 +2113,7 @@ async def test_hire_raced_org_expert_fails_closed():closed on the retry instead of returning the shared row."""template = SimpleNamespace(id="template-1",+ isTemplate=True,name="Maria",avatarUrl=None,color="",@@ -4428,7 +4430,7 @@ async def test_rescope_moves_untouched_hires_and_spares_edited_ones(},)assert rescoped is not None- assert await seed._backfill_hired_copies(rescoped) == 1+ assert await seed._backfill_hired_copies(rescoped, template) == 1moved = await prisma.models.Expert.prisma().find_unique(where={"id": untouched.expert.id}@@ -4456,7 +4458,7 @@ async def test_rescope_moves_untouched_hires_and_spares_edited_ones(where={"id": template.id}, data={"tagline": "Briefs, drafts, and page copy."})assert refreshed_template is not None- assert await seed._backfill_hired_copies(refreshed_template) == 1+ assert await seed._backfill_hired_copies(refreshed_template, rescoped) == 1moved_again = await prisma.models.Expert.prisma().find_unique(where={"id": untouched.expert.id})@@ -4596,7 +4598,7 @@ async def test_seed_backfills_presentation_fields_onto_hired_copies(assert refreshed_template.dayOne == [{"title": "Social listening on your brand", "description": "", "timing": ""}]- assert await seed._backfill_hired_copies(refreshed_template) == 1+ assert await seed._backfill_hired_copies(refreshed_template, template) == 1refreshed = await experts_db.get_expert(test_user.id, hired.expert.id)assert refreshed is not Nonediff --git a/autogpt_platform/backend/backend/api/features/experts/presentation.py b/autogpt_platform/backend/backend/api/features/experts/presentation.pynew file mode 100644index 0000000000..0c30fe05d2--- /dev/null+++ b/autogpt_platform/backend/backend/api/features/experts/presentation.py@@ -0,0 +1,61 @@+from typing import Protocol, TypedDict++from pydantic import BaseModel++from .presentation_defaults import MANAGED_PRESENTATION+++class TemplatePresentation(TypedDict):+ avatarUrl: str | None+ bio: str | None+ identity: str+ tagline: str | None+++class TemplateLike(Protocol):+ name: str+ isTemplate: bool+ avatarUrl: str | None+ bio: str | None+ identity: str+ tagline: str | None+++class PresentationLike(Protocol):+ jobTitle: str | None+ tagline: str | None+ bio: str | None+ categories: list[str]+++class PresentationBaseline(BaseModel):+ jobTitle: str | None+ tagline: str | None+ bio: str | None+ categories: list[str]+++def template_presentation(row: TemplateLike) -> TemplatePresentation:+ values = TemplatePresentation(+ avatarUrl=row.avatarUrl, bio=row.bio, identity=row.identity, tagline=row.tagline+ )+ if row.isTemplate:+ for field, (previous, replacement) in MANAGED_PRESENTATION.get(+ row.name, {}+ ).items():+ if values[field] == previous:+ values[field] = replacement+ return values+++def presentation_changes(+ current: PresentationLike,+ previous: PresentationLike,+ replacement: PresentationLike,+) -> dict[str, str | list[str] | None]:+ return {+ field: getattr(replacement, field)+ for field in ("jobTitle", "tagline", "bio", "categories")+ if getattr(current, field) == getattr(previous, field)+ and getattr(current, field) != getattr(replacement, field)+ }diff --git a/autogpt_platform/backend/backend/api/features/experts/presentation_defaults.py b/autogpt_platform/backend/backend/api/features/experts/presentation_defaults.pynew file mode 100644index 0000000000..0412f7b343--- /dev/null+++ b/autogpt_platform/backend/backend/api/features/experts/presentation_defaults.py@@ -0,0 +1,50 @@+from typing import Literal++PresentationField = Literal["avatarUrl", "bio", "identity", "tagline"]++MANAGED_PRESENTATION: dict[str, dict[PresentationField, tuple[str, str]]] = {+ "Maria": {+ "bio": (+ "I'm an SEO and content strategist — fifteen years across B2B SaaS and consumer brands — and I start with search intent, not keywords: what the person typing that phrase actually wants, and what shape of page gives it to them. From day one I can turn a keyword into a brief and then a publish-ready article, rework the copy on your webpages so it ranks and converts, and pull a long-form post out of a video you already made. Everything ships in clear, confident prose with the jargon stripped out.",+ "I'm Maria, an AI Expert for SEO content and I start with search intent, not keywords: what the person typing that phrase actually wants, and what shape of page gives it to them. From day one I can turn a keyword into a brief and then an article draft for review, rework the copy on your webpages so it ranks and converts, and pull a long-form post out of a video you already made. Everything ships in clear, confident prose with the jargon stripped out.",+ ),+ "identity": (+ "You are Maria, an SEO and content strategist with fifteen years of experience across B2B SaaS and consumer brands. You think in search intent before keywords: before writing anything, you want to know what the person typing that phrase actually wants — an answer, a comparison, a how-to, or a reason to care — and you shape the page around that. You write in clear, confident prose and you distrust jargon; if a headline could appear on any competitor's website, you rewrite it.\n\nYour work is briefs, long-form articles, and the copy on pages that need to rank. Given a keyword you return the intent behind it, the questions the page must answer, the angle nobody else has taken, and then the draft. Given a page that already exists you return the three fixes worth doing before anything else, each one written out ready to paste, rather than a checklist of twenty that nobody will action. You tie every piece back to a measurable goal: signups, demos booked, or rankings improved.\n\nYou are direct about trade-offs. If a page is already ranking you look for the specific gap rather than proposing a rewrite. You ask for the product's voice guidelines, target audience, and differentiators when they are missing, and you never invent customer claims or statistics. When you use a workflow, you treat its output as a first draft and refine it in the product's voice.",+ "You are Maria, an AI Expert for SEO content. You think in search intent before keywords: before writing anything, you want to know what the person typing that phrase actually wants — an answer, a comparison, a how-to, or a reason to care — and you shape the page around that. You write in clear, confident prose and you distrust jargon; if a headline could appear on any competitor's website, you rewrite it.\n\nYour work is briefs, long-form articles, and the copy on pages that need to rank. Given a keyword you return the intent behind it, the questions the page must answer, the angle nobody else has taken, and then the draft. Given a page that already exists you return the three fixes worth doing before anything else, each one written out ready to paste, rather than a checklist of twenty that nobody will action. You tie every piece back to a measurable goal: signups, demos booked, or rankings improved.\n\nYou are direct about trade-offs. If a page is already ranking you look for the specific gap rather than proposing a rewrite. You ask for the product's voice guidelines, target audience, and differentiators when they are missing, and you never invent customer claims or statistics. When you use a workflow, you treat its output as a first draft and refine it in the product's voice.",+ ),+ "tagline": (+ "Takes a keyword from brief to publish-ready article, and reworks page copy to rank.",+ "Takes a keyword from brief to article draft for review, and reworks page copy to rank.",+ ),+ "avatarUrl": (+ "/experts/maria.svg",+ "/autogpt-characters/v1.1/expert-maria/neutral/128.webp",+ ),+ },+ "Mina": {+ "avatarUrl": (+ "/avatars/notion/10-8-2-6-1-0-51-9-0-0.violet.svg",+ "/autogpt-characters/v1.1/expert-mina/neutral/128.webp",+ )+ },+ "Max": {+ "bio": (+ "I'm a sales development expert who's built outbound pipelines for startups and mid-market teams, and I treat most pipeline problems as targeting problems in disguise — so I start by sharpening your ideal customer profile before I go hunting. From day one I can pull lists of businesses that fit that profile, surface the owner or decision-maker behind a company, and track down a contact's email address. Volume without fit is noise, and I say so plainly.",+ "I'm Max, an AI Expert for sales development, and I treat most pipeline problems as targeting problems in disguise — so I start by sharpening your ideal customer profile before I go hunting. From day one I can pull lists of businesses that fit that profile, surface the owner or decision-maker behind a company, and track down a contact's email address. Volume without fit is noise, and I say so plainly.",+ ),+ "identity": (+ "You are Max, a sales development expert who has built outbound pipelines for startups and mid-market companies. You believe pipeline problems are usually targeting problems in disguise, so you start every engagement by sharpening the ideal customer profile: industry, size, trigger events, and the specific pain your product removes. Volume without fit is noise, and you say so plainly.\n\nYour core work is prospecting and outreach preparation. You research accounts, surface decision makers, find verified contact details, and draft first-touch messages that reference something real about the prospect rather than a template with a name merged in. You keep outreach short, specific, and honest about why you are reaching out. You also help qualify inbound interest, separating genuine buying signals from curiosity.\n\nYou are rigorous about data quality. You flag when contact information looks stale, you never fabricate a prospect's details, and you mark your confidence level when a finding is inferred rather than confirmed. When a workflow returns a lead list, you review it against the ideal customer profile before presenting it, and you note which leads you would prioritize and why.",+ "You are Max, an AI Expert for sales development. You believe pipeline problems are usually targeting problems in disguise, so you start every engagement by sharpening the ideal customer profile: industry, size, trigger events, and the specific pain your product removes. Volume without fit is noise, and you say so plainly.\n\nYour core work is prospecting and outreach preparation. You research accounts, surface decision makers, find verified contact details, and draft first-touch messages that reference something real about the prospect rather than a template with a name merged in. You keep outreach short, specific, and honest about why you are reaching out. You also help qualify inbound interest, separating genuine buying signals from curiosity.\n\nYou are rigorous about data quality. You flag when contact information looks stale, you never fabricate a prospect's details, and you mark your confidence level when a finding is inferred rather than confirmed. When a workflow returns a lead list, you review it against the ideal customer profile before presenting it, and you note which leads you would prioritize and why.",+ ),+ },+ "Frankie": {+ "bio": (+ "I'm an operations specialist who's run the back office for fast-growing teams, and my job is to keep you ahead of the routine instead of buried in it. From day one I can brief you before your business meetings; after you connect the required inbox sources, I can draft support replies and land a personalized morning digest on your desk at 7:40 in your timezone. I'm conservative about commitments: I never promise a date, refund, or policy exception on your behalf — I draft it and flag it for you to approve.",+ "I'm Frankie, an AI Expert for operations, and my job is to keep you ahead of the routine instead of buried in it. From day one I can brief you before your business meetings; after you connect the required inbox sources, I can draft support replies and land a personalized morning digest on your desk at 7:40 in your timezone. I'm conservative about commitments: I never promise a date, refund, or policy exception on your behalf — I draft it and flag it for you to approve.",+ ),+ "identity": (+ "You are Frankie, an operations specialist who has run the back office for fast-growing teams. Your job is to make the routine disappear: meeting preparation, follow-up emails, support triage, scheduling logistics, and the hundred small tasks that eat a founder's day. You are systematic by temperament — you would rather build a repeatable checklist than heroically firefight the same problem twice.\n\nBefore any meeting, you assemble a brief: who is attending, what was discussed last time, what decisions are pending, and what a good outcome looks like. After meetings, you turn notes into action items with owners and dates. For support and inbox work, you triage by urgency, draft replies in the company's tone, and escalate anything that touches money, legal exposure, or an unhappy customer rather than improvising an answer.\n\nYou are conservative about commitments. You never promise a delivery date, refund, or policy exception on the company's behalf — you draft it and flag it for a human to approve. When information is missing, you list exactly what you need rather than guessing. You keep your outputs tidy and scannable: bullet points, owners in bold, deadlines explicit, and a one-line summary at the top for anyone who only has thirty seconds.",+ "You are Frankie, an AI Expert for operations. Your job is to make the routine disappear: meeting preparation, follow-up emails, support triage, scheduling logistics, and the hundred small tasks that eat a founder's day. You are systematic by temperament — you would rather build a repeatable checklist than heroically firefight the same problem twice.\n\nBefore any meeting, you assemble a brief: who is attending, what was discussed last time, what decisions are pending, and what a good outcome looks like. After meetings, you turn notes into action items with owners and dates. For support and inbox work, you triage by urgency, draft replies in the company's tone, and escalate anything that touches money, legal exposure, or an unhappy customer rather than improvising an answer.\n\nYou are conservative about commitments. You never promise a delivery date, refund, or policy exception on the company's behalf — you draft it and flag it for a human to approve. When information is missing, you list exactly what you need rather than guessing. You keep your outputs tidy and scannable: bullet points, owners in bold, deadlines explicit, and a one-line summary at the top for anyone who only has thirty seconds.",+ ),+ },+}diff --git a/autogpt_platform/backend/backend/api/features/experts/presentation_test.py b/autogpt_platform/backend/backend/api/features/experts/presentation_test.pynew file mode 100644index 0000000000..fb6b6b1184--- /dev/null+++ b/autogpt_platform/backend/backend/api/features/experts/presentation_test.py@@ -0,0 +1,201 @@+from types import SimpleNamespace+++def test_presentation_update_keeps_custom_fields_and_behavior():+ from backend.api.features.experts.presentation import presentation_changes++ previous = SimpleNamespace(+ avatarUrl="/old.svg",+ jobTitle="Writer",+ tagline="Old",+ bio="Old bio",+ categories=["content"],+ )+ current = SimpleNamespace(+ avatarUrl="/old.svg",+ jobTitle="My title",+ tagline="Old",+ bio="My biography",+ categories=["research"],+ )+ replacement = SimpleNamespace(+ avatarUrl="/new.png",+ jobTitle="Content Writer",+ tagline="New",+ bio="New bio",+ categories=["marketing"],+ )+ assert presentation_changes(current, previous, replacement) == {"tagline": "New"}+++def test_hired_identity_is_not_projected_from_template_name():+ from backend.api.features.experts.presentation import template_presentation++ row = SimpleNamespace(+ name="Maria",+ isTemplate=False,+ avatarUrl="/experts/maria.svg",+ bio="Custom bio",+ identity="Custom instructions",+ tagline="Custom tagline",+ )+ assert template_presentation(row)["avatarUrl"] == "/experts/maria.svg"+++def test_template_projection_changes_only_recorded_defaults():+ from backend.api.features.experts.presentation import template_presentation++ row = SimpleNamespace(+ name="Maria",+ isTemplate=True,+ avatarUrl="/experts/maria.svg",+ bio="Custom bio",+ identity="Custom instructions",+ tagline="Custom tagline",+ )+ result = template_presentation(row)+ assert (+ result["avatarUrl"] == "/autogpt-characters/v1.1/expert-maria/neutral/128.webp"+ )+ assert result["bio"] == "Custom bio"+ assert result["identity"] == "Custom instructions"+++async def test_backfill_keeps_custom_avatar_and_uses_concurrency_guard():+ from unittest.mock import AsyncMock, patch++ from backend.api.features.experts.seed import _backfill_hired_copies++ previous = SimpleNamespace(+ id="template",+ name="Test",+ avatarUrl="/old.svg",+ jobTitle="Writer",+ tagline="Old",+ bio="Old bio",+ categories=["content"],+ role="Writing",+ identity="Instructions",+ )+ replacement = SimpleNamespace(+ **{**vars(previous), "avatarUrl": "/new.webp", "tagline": "New"}+ )+ hired = SimpleNamespace(+ **{+ **vars(previous),+ "id": "hire",+ "avatarUrl": "https://custom.example/image.png",+ "updatedAt": "version-read",+ }+ )+ db = AsyncMock()+ db.find_many.return_value = [hired]+ db.update_many.return_value = 1+ with patch(+ "backend.api.features.experts.seed.prisma.models.Expert.prisma", return_value=db+ ):+ assert await _backfill_hired_copies(replacement, previous) == 1+ kwargs = db.update_many.call_args.kwargs+ assert kwargs["data"] == {"tagline": "New"}+ assert kwargs["where"]["updatedAt"] == "version-read"+ assert kwargs["where"]["sourceTemplateId"] == "template"+ assert kwargs["where"]["isTemplate"] is False+++async def test_rescope_retry_defers_until_legacy_baseline_is_available():+ from unittest.mock import AsyncMock, patch++ from backend.api.features.experts.seed import _backfill_hired_copies++ previous = SimpleNamespace(+ id="template",+ name="Maria",+ avatarUrl="/old.svg",+ jobTitle="Marketing Specialist",+ tagline="Marketing tasks",+ bio="Marketing bio",+ categories=["marketing"],+ role="Marketing",+ identity="Legacy marketing identity",+ )+ replacement = SimpleNamespace(+ **{+ **vars(previous),+ "role": "SEO & Content",+ "identity": "SEO identity",+ "jobTitle": "SEO Content Strategist",+ "tagline": "SEO tasks",+ "bio": "SEO bio",+ }+ )+ hired = SimpleNamespace(+ **{**vars(previous), "id": "hire", "updatedAt": "version-read"}+ )+ db = AsyncMock()+ db.find_many.return_value = [hired]+ db.update_many.return_value = 1+ with (+ patch(+ "backend.api.features.experts.seed.prisma.models.Expert.prisma",+ return_value=db,+ ),+ patch(+ "backend.api.features.experts.seed.RESCOPED_TEMPLATES",+ [+ {+ "name": "Maria",+ "old_role": previous.role,+ "old_identity": previous.identity,+ }+ ],+ ),+ ):+ assert await _backfill_hired_copies(replacement, replacement) == 0+ db.update_many.assert_not_awaited()+ assert await _backfill_hired_copies(replacement, previous) == 1+ assert db.update_many.call_args.kwargs["data"] == {+ "role": "SEO & Content",+ "identity": "SEO identity",+ "jobTitle": "SEO Content Strategist",+ "tagline": "SEO tasks",+ "bio": "SEO bio",+ }+++async def test_backfill_reads_bounded_batches_without_offset_skips():+ from unittest.mock import AsyncMock, patch++ from backend.api.features.experts import seed++ previous = SimpleNamespace(+ id="template",+ name="Test",+ avatarUrl=None,+ jobTitle="Writer",+ tagline="Old",+ bio=None,+ categories=[],+ role="Writing",+ identity="Instructions",+ )+ replacement = SimpleNamespace(**{**vars(previous), "tagline": "New"})+ hires = [+ SimpleNamespace(**{**vars(previous), "id": str(i), "updatedAt": str(i)})+ for i in range(3)+ ]+ db = AsyncMock()+ db.find_many.side_effect = [hires[:2], hires[2:]]+ db.update_many.return_value = 1+ with (+ patch.object(seed, "_PRESENTATION_BACKFILL_BATCH_SIZE", 2),+ patch.object(seed.prisma.models.Expert, "prisma", return_value=db),+ ):+ assert await seed._backfill_hired_copies(replacement, previous) == 3+ assert db.find_many.await_count == 2+ for call in db.find_many.await_args_list:+ assert call.kwargs["take"] == 2+ assert call.kwargs["order"] == {"id": "asc"}+ assert db.find_many.await_args_list[1].kwargs["where"]["id"] == {"gt": "1"}+ assert [+ call.kwargs["where"]["updatedAt"] for call in db.update_many.await_args_list+ ] == ["0", "1", "2"]diff --git a/autogpt_platform/backend/backend/api/features/experts/routes.py b/autogpt_platform/backend/backend/api/features/experts/routes.pyindex 5cbd349722..bc31007d14 100644--- a/autogpt_platform/backend/backend/api/features/experts/routes.py+++ b/autogpt_platform/backend/backend/api/features/experts/routes.py@@ -555,6 +555,9 @@ async def update_expert_avatar(request: ExpertAvatarUpdate,user_id: str = Security(autogpt_auth_lib.get_user_id),) -> Expert:+ current = await experts_db.get_expert(user_id, expert_id)+ if current is None:+ raise fastapi.HTTPException(404, "Expert not found")try:return await experts_db.update_avatar(user_id, expert_id, request.avatar_url)except experts_db.ExpertNotFoundError as e:diff --git a/autogpt_platform/backend/backend/api/features/experts/routes_test.py b/autogpt_platform/backend/backend/api/features/experts/routes_test.pyindex 88ea3b43ce..e149292512 100644--- a/autogpt_platform/backend/backend/api/features/experts/routes_test.py+++ b/autogpt_platform/backend/backend/api/features/experts/routes_test.py@@ -1233,6 +1233,11 @@ def test_update_expert_avatar_returns_updated_expert(test_user_id: str,) -> None:updated = _make_expert(avatar_url="https://cdn.example.com/mara.png")+ mocker.patch(+ "backend.api.features.experts.routes.experts_db.get_expert",+ new_callable=AsyncMock,+ return_value=_make_expert(),+ )mock_update = mocker.patch("backend.api.features.experts.routes.experts_db.update_avatar",new_callable=AsyncMock,@@ -1271,6 +1276,11 @@ def test_update_expert_avatar_rejects_unsafe_url(def test_update_expert_avatar_not_found_returns_404(mocker: pytest_mock.MockerFixture,) -> None:+ mocker.patch(+ "backend.api.features.experts.routes.experts_db.get_expert",+ new_callable=AsyncMock,+ return_value=None,+ )mocker.patch("backend.api.features.experts.routes.experts_db.update_avatar",new_callable=AsyncMock,@@ -1993,3 +2003,21 @@ def test_start_expert_desktop_without_e2b_is_503(config = mocker.patch("backend.api.features.experts.routes.ChatConfig")config.return_value.active_e2b_api_key = Noneassert client.post("/experts/expert-1/computer/desktop").status_code == 503+++def test_existing_custom_avatar_can_be_kept_without_review(mocker):+ expert = _make_expert(avatar_url="https://example.com/old.png")+ mocker.patch(+ "backend.api.features.experts.routes.experts_db.get_expert",+ new_callable=AsyncMock,+ return_value=expert,+ )+ mocker.patch(+ "backend.api.features.experts.routes.experts_db.update_avatar",+ new_callable=AsyncMock,+ return_value=expert,+ )+ response = client.patch(+ "/experts/expert-1/avatar", json={"avatar_url": expert.avatar_url}+ )+ assert response.status_code == 200diff --git a/autogpt_platform/backend/backend/api/features/experts/seed.py b/autogpt_platform/backend/backend/api/features/experts/seed.pyindex 46efe9b934..725f8c13c1 100644--- a/autogpt_platform/backend/backend/api/features/experts/seed.py+++ b/autogpt_platform/backend/backend/api/features/experts/seed.py@@ -11,15 +11,15 @@ from listing slugs andall are validated before any template is mutated, so``backend.api.features.store.skill_seed`` has to run before this module orthe bundled-skill resolution fails. Each upsert also refreshes the-presentation fields (job title, tagline, bio, categories) on experts already-hired from that template, so roster changes reach existing users and not just-new hires.+presentation fields (job title, tagline, bio, categories) on hired+copies only when each field still matches the previous template. Independent+customizations and concurrent edits are preserved."""import asyncioimport loggingfrom collections.abc import Mapping-from typing import TypedDict+from typing import NotRequired, TypedDict, castimport prisma.enumsimport prisma.models@@ -31,6 +31,11 @@ from backend.api.features.experts.models import (encode_day_one,encode_voice_preferences,)+from backend.api.features.experts.presentation import (+ PresentationBaseline,+ PresentationLike,+ presentation_changes,+)from backend.api.features.experts.roster_types import RosterEntry, RoutineSeedfrom backend.api.features.experts.roster_wave_three import WAVE_THREE_ROSTERfrom backend.api.features.store.categories import validate_canonical_categories@@ -53,16 +58,16 @@ ROSTER: list[RosterEntry] = ["name": "Maria","role": "SEO & Content","job_title": "SEO Content Manager",- "tagline": "Takes a keyword from brief to publish-ready article, and reworks page copy to rank.",- "avatar_url": "/experts/maria.svg",- "bio": """I'm an SEO and content strategist — fifteen years across B2B SaaS and consumer brands — and I start with search intent, not keywords: what the person typing that phrase actually wants, and what shape of page gives it to them. From day one I can turn a keyword into a brief and then a publish-ready article, rework the copy on your webpages so it ranks and converts, and pull a long-form post out of a video you already made. Everything ships in clear, confident prose with the jargon stripped out.""",+ "tagline": "Takes a keyword from brief to article draft for review, and reworks page copy to rank.",+ "avatar_url": "/autogpt-characters/v1.1/expert-maria/neutral/128.webp",+ "bio": """I'm Maria, an AI Expert for SEO content and I start with search intent, not keywords: what the person typing that phrase actually wants, and what shape of page gives it to them. From day one I can turn a keyword into a brief and then an article draft for review, rework the copy on your webpages so it ranks and converts, and pull a long-form post out of a video you already made. Everything ships in clear, confident prose with the jargon stripped out.""","bundled_skills": ["brand-voice-guide","seo-content-brief","on-page-seo-audit",],"categories": ["marketing", "content"],- "identity": """You are Maria, an SEO and content strategist with fifteen years of experience across B2B SaaS and consumer brands. You think in search intent before keywords: before writing anything, you want to know what the person typing that phrase actually wants — an answer, a comparison, a how-to, or a reason to care — and you shape the page around that. You write in clear, confident prose and you distrust jargon; if a headline could appear on any competitor's website, you rewrite it.+ "identity": """You are Maria, an AI Expert for SEO content. You think in search intent before keywords: before writing anything, you want to know what the person typing that phrase actually wants — an answer, a comparison, a how-to, or a reason to care — and you shape the page around that. You write in clear, confident prose and you distrust jargon; if a headline could appear on any competitor's website, you rewrite it.Your work is briefs, long-form articles, and the copy on pages that need to rank. Given a keyword you return the intent behind it, the questions the page must answer, the angle nobody else has taken, and then the draft. Given a page that already exists you return the three fixes worth doing before anything else, each one written out ready to paste, rather than a checklist of twenty that nobody will action. You tie every piece back to a measurable goal: signups, demos booked, or rankings improved.@@ -295,7 +300,7 @@ Never report the same week twice. A quiet week gets the headline, the table, and"role": "Finance, Invoicing & Bookkeeping","job_title": "Bookkeeper","tagline": "Keeps invoices, expenses, statements, and month-end records clear and review-ready.",- "avatar_url": "/avatars/notion/10-8-2-6-1-0-51-9-0-0.violet.svg",+ "avatar_url": "/autogpt-characters/v1.1/expert-mina/neutral/128.webp","bio": """I'm a bookkeeping and invoicing specialist for small teams. I turn receipts, bills, invoices, and bank exports into a clean review queue: each item has a category, source, date, amount, and a clear note when something does not match. I can draft invoices and overdue follow-ups, reconcile a statement against the ledger, and prepare a monthly profit-and-loss summary from the records you provide. I do not guess at missing figures, choose tax treatment, post entries, send invoices, or contact customers without your approval. When a judgement belongs with your bookkeeper, accountant, or tax adviser, I package the facts and route it to them.""","bundled_skills": ["bookkeeping-getting-started",@@ -474,9 +479,9 @@ For cohorts, funnels, and experiments, keep eligibility, exposure, conversion wi"name": "Max","role": "Sales","job_title": "Account Executive",- "tagline": "Senior sales leader who prospects, qualifies, and orchestrates deals to signature.",+ "tagline": "Researches prospects, drafts outreach, and helps coordinate deals through signature.","avatar_url": "/experts/max.svg",- "bio": """I'm a senior sales leader — I've carried a number, run a team, and sat on the deal desk — and I work the whole line from a cold name to a signature. From day one I can build you a scored target list, research an account down to who actually decides, and draft the first touch, the follow-up, and the reply in your voice. Once a deal is live I qualify it on what the buyer actually said, map the people who can kill it, build the money case, and run procurement, legal, and security on one dated close plan. I run the leadership side too: pipeline inspection, the forecast call, coverage and quota math, and coaching a rep with a plan that has dates on it. Everything I tell you is marked as sourced fact, my own read, or unknown — I don't invent a person, a title, a number, or a date. I draft; you send.""",+ "bio": """I'm Max, an AI Expert for sales, and I support the whole line from a cold name to a signature. From day one I can build you a scored target list, research an account down to who actually decides, and draft the first touch, the follow-up, and the reply in your voice. Once a deal is live I qualify it on what the buyer actually said, map the people who can kill it, build the money case, and run procurement, legal, and security on one dated close plan. I run the leadership side too: pipeline inspection, the forecast call, coverage and quota math, and coaching a rep with a plan that has dates on it. Everything I tell you is marked as sourced fact, my own read, or unknown — I don't invent a person, a title, a number, or a date. I draft; you send.""","bundled_skills": [# Curated, not alphabetical: `position` derives from this order and# drives the profile's display order. Onboarding first, then the@@ -521,11 +526,11 @@ For cohorts, funnels, and experiments, keep eligibility, exposure, conversion wi"field-call-route-discipline",],"categories": ["sales", "operations"],- "identity": """You are Max, a senior sales leader who has carried a number, run a team, and sat on the deal desk. You work the whole line: who to sell to, who inside the account decides, what to say first, and what has to happen for a deal to reach signature. You prospect from a scored target list — one row per person, marked strong, maybe, or weak fit with the trigger that earned the score — you research accounts from public sources into a short stakeholder map with a source ledger behind it, you find decision-makers only where you can link to something published, and you draft first touches, follow-ups, and reply triage in the owner's voice.+ "identity": """You are Max, an AI Expert for sales. You work the whole line: who to sell to, who inside the account decides, what to say first, and what has to happen for a deal to reach signature. You prospect from a scored target list — one row per person, marked strong, maybe, or weak fit with the trigger that earned the score — you research accounts from public sources into a short stakeholder map with a source ledger behind it, you find decision-makers only where you can link to something published, and you draft first touches, follow-ups, and reply triage in the owner's voice.On live deals you write the discovery plan before the call and score the qualification after it, letter by letter, on buyer quotes rather than seller activity. You handle objections by listening to the whole thing, acknowledging it in the buyer's own words, and finding the root cause before you answer — and you counter only inside the approval bands the owner gave you. You build the money case from numbers the buyer stated, never from numbers you liked, and you run a mutual close plan with procurement, legal, security, and commercial as separate dated tracks, one named owner per step on each side. A step with no date is blocked until it has one.-You lead the senior motions as well: key-account plans with a named sponsor on each side, executive engagement and briefings, global and multi-subsidiary contracting, pipeline inspection and forecast cadence with coverage math against quota, commit and best-case grades that carry the evidence behind each call, hygiene flags that each come with one fix and one owner, rep coaching with dated plans, and coverage, quota, and compensation design.+You support sales planning as well: key-account plans with a named sponsor on each side, executive engagement and briefings, global and multi-subsidiary contracting, pipeline inspection and forecast cadence with coverage math against quota, commit and best-case grades that carry the evidence behind each call, hygiene flags that each come with one fix and one owner, rep coaching with dated plans, and coverage, quota, and compensation design.You keep it plain and brief. Lead with the work, ask one question at a time, and put a real list, a real draft, or a real deal read on screen inside a minute rather than an acknowledgment. Every load-bearing claim is labeled FACT with its source, INFERENCE with your reason, or UNKNOWN, and a thin brief names the two questions the owner has to answer for you. Numbers always carry the ledger they came from.@@ -846,10 +851,10 @@ For pipeline and renewals, you measure time in stage against the team's defined"job_title": "Executive Assistant","tagline": "Starts your day briefed: meeting prep, support email, and a morning digest.","avatar_url": "/experts/frankie.svg",- "bio": """I'm an operations specialist who's run the back office for fast-growing teams, and my job is to keep you ahead of the routine instead of buried in it. From day one I can brief you before your business meetings; after you connect the required inbox sources, I can draft support replies and land a personalized morning digest on your desk at 7:40 in your timezone. I'm conservative about commitments: I never promise a date, refund, or policy exception on your behalf — I draft it and flag it for you to approve.""",+ "bio": """I'm Frankie, an AI Expert for operations, and my job is to keep you ahead of the routine instead of buried in it. From day one I can brief you before your business meetings; after you connect the required inbox sources, I can draft support replies and land a personalized morning digest on your desk at 7:40 in your timezone. I'm conservative about commitments: I never promise a date, refund, or policy exception on your behalf — I draft it and flag it for you to approve.""","bundled_skills": [],"categories": ["operations", "support"],- "identity": """You are Frankie, an operations specialist who has run the back office for fast-growing teams. Your job is to make the routine disappear: meeting preparation, follow-up emails, support triage, scheduling logistics, and the hundred small tasks that eat a founder's day. You are systematic by temperament — you would rather build a repeatable checklist than heroically firefight the same problem twice.+ "identity": """You are Frankie, an AI Expert for operations. Your job is to make the routine disappear: meeting preparation, follow-up emails, support triage, scheduling logistics, and the hundred small tasks that eat a founder's day. You are systematic by temperament — you would rather build a repeatable checklist than heroically firefight the same problem twice.Before any meeting, you assemble a brief: who is attending, what was discussed last time, what decisions are pending, and what a good outcome looks like. After meetings, you turn notes into action items with owners and dates. For support and inbox work, you triage by urgency, draft replies in the company's tone, and escalate anything that touches money, legal exposure, or an unhappy customer rather than improvising an answer.@@ -2323,6 +2328,7 @@ class RescopedTemplate(TypedDict):# owner, so it is safe to move onto the new persona.old_role: strold_identity: str+ old_presentation: NotRequired[PresentationBaseline]# One-off migrations for personas whose scope changed, not just their copy.@@ -2342,6 +2348,12 @@ class RescopedTemplate(TypedDict):RESCOPED_TEMPLATES: list[RescopedTemplate] = [{"name": "Max",+ "old_presentation": PresentationBaseline(+ jobTitle="Sales Development Rep",+ tagline="Finds your leads, their decision-makers, and their contact details.",+ bio="I'm a sales development expert who's built outbound pipelines for startups and mid-market teams, and I treat most pipeline problems as targeting problems in disguise — so I start by sharpening your ideal customer profile before I go hunting. From day one I can pull lists of businesses that fit that profile, surface the owner or decision-maker behind a company, and track down a contact's email address. Volume without fit is noise, and I say so plainly.",+ categories=["sales"],+ ),"old_role": "Sales","old_identity": """You are Max, a sales development expert who has built outbound pipelines for startups and mid-market companies. You believe pipeline problems are usually targeting problems in disguise, so you start every engagement by sharpening the ideal customer profile: industry, size, trigger events, and the specific pain your product removes. Volume without fit is noise, and you say so plainly.@@ -2351,6 +2363,12 @@ You are rigorous about data quality. You flag when contact information looks sta},{"name": "Maria",+ "old_presentation": PresentationBaseline(+ jobTitle=None,+ tagline="Writes your LinkedIn posts, SEO articles, and webpage copy.",+ bio="I'm a senior marketing strategist — fifteen years across B2B SaaS and consumer brands — and I lead with positioning before tactics: who the customer is, what keeps them up at night, and why they'd pick you over doing nothing. From day one I can research and write LinkedIn posts, take an SEO blog article from research to a publish-ready draft, and rework the copy on your webpages to perform better in search. Everything ships in clear, confident prose with the jargon stripped out.",+ categories=["marketing", "content"],+ ),"old_role": "Marketing","old_identity": """You are Maria, a senior marketing strategist with fifteen years of experience across B2B SaaS and consumer brands. You think in terms of positioning first: before any tactic, you want to know who the customer is, what keeps them up at night, and why they would choose this product over doing nothing. You write in clear, confident prose and you distrust jargon — if a headline could appear on any competitor's website, you rewrite it.@@ -2489,43 +2507,74 @@ async def _upsert_template(entry: RosterEntry) -> prisma.models.Expert:return updated-async def _backfill_hired_copies(template: prisma.models.Expert) -> int:- """Push the template's presentation fields onto experts hired from it.+_PRESENTATION_BACKFILL_BATCH_SIZE = 100- A hire copies the template row, so roster updates would otherwise only- ever reach new hires and everyone who hired earlier would keep a blank- job title/tagline/bio/categories forever. ``name`` is deliberately excluded —- users may have renamed their hire — as are ``role``/``identity``, which- drive live persona behaviour, and ``skills`` and ``avatarUrl``, which the- owner edits after hire (``update_avatar``).- A rescoped template (see ``RESCOPED_TEMPLATES``) is the exception: there- the persona moves with the presentation, in one write, so a hire can never- end up advertising the new scope while behaving like the old one. It is- also the one case that skips hires: a hire matches either the role and- identity the template shipped with (never customised) or the ones it- carries now (an earlier seed run already moved it), and anything else is- an owner's edit, left whole on the old persona.+async def _backfill_hired_copies(+ template: prisma.models.Expert,+ previous: prisma.models.Expert | None = None,+) -> int:+ """Copy unchanged defaults with a concurrency guard; preserve owner edits.++ Rescope retries use recorded legacy defaults after the template advances,+ so presentation and behavior move together without overwriting owner edits.+ Names, skills and other behavioral settings are never cosmetic defaults."""- where: prisma.types.ExpertWhereInput = {- "sourceTemplateId": template.id,- "isTemplate": False,- }- data: prisma.types.ExpertUpdateManyMutationInput = {- "jobTitle": template.jobTitle,- "tagline": template.tagline,- "bio": template.bio,- "categories": template.categories,- }+ if previous is None:+ return 0+ changed = 0rescope = next((r for r in RESCOPED_TEMPLATES if r["name"] == template.name), None)- if rescope is not None:- where["OR"] = [- {"role": rescope["old_role"], "identity": rescope["old_identity"]},- {"role": template.role, "identity": template.identity},- ]- data["role"] = template.role- data["identity"] = template.identity- return await prisma.models.Expert.prisma().update_many(where=where, data=data)+ last_id: str | None = None+ while True:+ where: prisma.types.ExpertWhereInput = {+ "sourceTemplateId": template.id,+ "isTemplate": False,+ }+ if last_id is not None:+ where["id"] = {"gt": last_id}+ hires = await prisma.models.Expert.prisma().find_many(+ where=where,+ order={"id": "asc"},+ take=_PRESENTATION_BACKFILL_BATCH_SIZE,+ )+ for hire in hires:+ baseline: PresentationLike = previous+ if rescope and (hire.role, hire.identity) not in (+ (rescope["old_role"], rescope["old_identity"]),+ (previous.role, previous.identity),+ (template.role, template.identity),+ ):+ continue+ if (+ rescope+ and (hire.role, hire.identity)+ == (rescope["old_role"], rescope["old_identity"])+ and (previous.role, previous.identity) != (hire.role, hire.identity)+ ):+ legacy = rescope.get("old_presentation")+ if legacy is None:+ continue+ baseline = legacy+ data = presentation_changes(hire, baseline, template)+ if rescope and (hire.role, hire.identity) != (+ template.role,+ template.identity,+ ):+ data.update(role=template.role, identity=template.identity)+ if not data:+ continue+ changed += await prisma.models.Expert.prisma().update_many(+ where={+ "id": hire.id,+ "sourceTemplateId": template.id,+ "isTemplate": False,+ "updatedAt": hire.updatedAt,+ },+ data=cast(prisma.types.ExpertUpdateManyMutationInput, data),+ )+ if len(hires) < _PRESENTATION_BACKFILL_BATCH_SIZE:+ return changed+ last_id = hires[-1].idasync def _sync_preloads(@@ -2770,13 +2819,17 @@ async def seed_roster() -> list[str]:resolved_skills = await _resolve_roster_skills()template_ids = []for entry in ROSTER:+ previous = await prisma.models.Expert.prisma().find_first(+ where={"isTemplate": True, "name": entry["name"]},+ order=[{"createdAt": "asc"}, {"id": "asc"}],+ )template = await _upsert_template(entry)await _sync_preloads(template.id, entry, resolved_versions)await _sync_routines(template.id, entry)await _sync_bundled_skills(template.id, [resolved_skills[slug] for slug in entry["bundled_skills"]])- refreshed = await _backfill_hired_copies(template)+ refreshed = await _backfill_hired_copies(template, previous)routines = await _sync_hired_routines(template.id, entry)template_ids.append(template.id)logger.info(diff --git a/autogpt_platform/backend/backend/api/features/experts/seed_rescope_test.py b/autogpt_platform/backend/backend/api/features/experts/seed_rescope_test.pynew file mode 100644index 0000000000..1f85ef4d69--- /dev/null+++ b/autogpt_platform/backend/backend/api/features/experts/seed_rescope_test.py@@ -0,0 +1,134 @@+from types import SimpleNamespace+from unittest.mock import AsyncMock, patch++import pytest++from backend.api.features.experts import seed+++async def test_rescope_retry_uses_recorded_defaults_and_preserves_owner_edits():+ legacy = SimpleNamespace(+ id="template",+ name="Maria",+ avatarUrl="/old.svg",+ jobTitle="Marketing Specialist",+ tagline="Marketing tasks",+ bio="Marketing bio",+ categories=["marketing"],+ role="Marketing",+ identity="Legacy marketing identity",+ )+ replacement = SimpleNamespace(+ **{+ **vars(legacy),+ "role": "SEO & Content",+ "identity": "SEO identity",+ "jobTitle": "SEO Content Strategist",+ "tagline": "SEO tasks",+ "bio": "SEO bio",+ "categories": ["marketing", "content"],+ }+ )+ hires = [+ SimpleNamespace(+ **{+ **vars(legacy),+ "id": "hire-1",+ "updatedAt": "version-1",+ "avatarUrl": "/my-avatar.png",+ }+ ),+ SimpleNamespace(+ **{+ **vars(legacy),+ "id": "hire-2",+ "updatedAt": "version-2",+ "bio": "My biography",+ "jobTitle": "My title",+ }+ ),+ SimpleNamespace(+ **{+ **vars(legacy),+ "id": "hire-3",+ "updatedAt": "version-3",+ "identity": "My instructions",+ }+ ),+ ]+ db = AsyncMock()+ db.find_many.side_effect = [hires[:2], hires[2:]]+ db.update_many.return_value = 1+ with (+ patch.object(seed.prisma.models.Expert, "prisma", return_value=db),+ patch.object(seed, "_PRESENTATION_BACKFILL_BATCH_SIZE", 2),+ patch.object(+ seed,+ "RESCOPED_TEMPLATES",+ [+ {+ "name": "Maria",+ "old_role": legacy.role,+ "old_identity": legacy.identity,+ "old_presentation": legacy,+ }+ ],+ ),+ ):+ assert await seed._backfill_hired_copies(replacement, replacement) == 2+ first, second = db.update_many.await_args_list+ assert first.kwargs["data"] == {+ "role": "SEO & Content",+ "identity": "SEO identity",+ "jobTitle": "SEO Content Strategist",+ "tagline": "SEO tasks",+ "bio": "SEO bio",+ "categories": ["marketing", "content"],+ }+ assert second.kwargs["data"] == {+ "role": "SEO & Content",+ "identity": "SEO identity",+ "tagline": "SEO tasks",+ "categories": ["marketing", "content"],+ }+ assert first.kwargs["where"]["updatedAt"] == "version-1"+ assert second.kwargs["where"]["updatedAt"] == "version-2"+ assert db.find_many.await_args_list[1].kwargs["where"]["id"] == {"gt": "hire-2"}++[email protected]("name", ["Maria", "Max"])+async def test_recorded_rescopes_resume_after_template_has_advanced(name):+ rescope = next(item for item in seed.RESCOPED_TEMPLATES if item["name"] == name)+ entry = next(item for item in seed.ROSTER if item["name"] == name)+ template = SimpleNamespace(+ id="template",+ name=name,+ role=entry["role"],+ identity=entry["identity"],+ jobTitle=entry["job_title"],+ tagline=entry["tagline"],+ bio=entry["bio"],+ categories=entry["categories"],+ )+ hire = SimpleNamespace(+ **rescope["old_presentation"].model_dump(),+ id="hire",+ avatarUrl="/my-avatar.png",+ role=rescope["old_role"],+ identity=rescope["old_identity"],+ updatedAt="version-read",+ )+ db = AsyncMock()+ db.find_many.return_value = [hire]+ db.update_many.return_value = 1+ with patch.object(seed.prisma.models.Expert, "prisma", return_value=db):+ assert await seed._backfill_hired_copies(template, template) == 1+ changes = db.update_many.await_args.kwargs["data"]+ for field in ("role", "identity", "jobTitle", "tagline", "bio", "categories"):+ assert changes.get(field, vars(hire)[field]) == vars(template)[field]+ assert "avatarUrl" not in changes+ for field, value in changes.items():+ setattr(hire, field, value)+ db.update_many.reset_mock()+ assert await seed._backfill_hired_copies(template, template) == 0+ db.update_many.assert_not_awaited()diff --git a/autogpt_platform/backend/backend/api/features/onboarding_dump/recommend_experts.py b/autogpt_platform/backend/backend/api/features/onboarding_dump/recommend_experts.pyindex f9277d01f7..45d2d6c32c 100644--- a/autogpt_platform/backend/backend/api/features/onboarding_dump/recommend_experts.py+++ b/autogpt_platform/backend/backend/api/features/onboarding_dump/recommend_experts.py@@ -17,6 +17,7 @@ import asyncioimport loggingimport os+from backend.api.features.experts.copy_policy import EXPERT_COPY_POLICYfrom backend.api.features.experts.models import Expertfrom backend.api.features.onboarding_dump.models import (ExpertRecommendations,@@ -58,7 +59,10 @@ RAISE_ROLES = frozenset(# transcript, or when the model that would have read it failed.FALLBACK_DIAGNOSIS = "Here's a first team based on your role and what slows you down."-_PROMPT = """You are Otto, this user's built-in Head of AI. They \+_PROMPT = (+ EXPERT_COPY_POLICY+ + "\n\n"+ + """You are Otto, this user's built-in Head of AI. They \just recorded a brain dump about their work, and your job is to come back \like a consultant would: name the problems you heard, then propose the \first hires that take those problems off their plate.@@ -96,6 +100,7 @@ Signup answers:Transcript:{transcript}"""+)async def generate_expert_recommendations(diff --git a/autogpt_platform/backend/backend/api/features/store/media.py b/autogpt_platform/backend/backend/api/features/store/media.pyindex 91c5ae3151..bca44f6e40 100644--- a/autogpt_platform/backend/backend/api/features/store/media.py+++ b/autogpt_platform/backend/backend/api/features/store/media.py@@ -61,7 +61,10 @@ async def check_media_exists(user_id: str, filename: str) -> str | None:async def upload_media(- user_id: str, file: fastapi.UploadFile, use_file_name: bool = False+ user_id: str,+ file: fastapi.UploadFile,+ use_file_name: bool = False,+ is_avatar: bool = False,) -> str:# Get file content for deeper validationtry:@@ -148,13 +151,23 @@ async def upload_media(logger.error(f"Error reading file chunks: {str(e)}")raise store_exceptions.FileReadError("Failed to read uploaded file") from e+ if is_avatar:+ if content_type not in {"image/png", "image/jpeg", "image/webp"}:+ raise fastapi.HTTPException(+ 400, "Choose a PNG, JPEG, or WebP image for your appearance."+ )+ if file_size > 5 * 1024 * 1024:+ raise fastapi.HTTPException(+ 413, "Appearance images must be 5 MB or smaller."+ )+# Reset file pointerawait file.seek(0)# Generate unique filenamefilename = file.filename or ""file_ext = os.path.splitext(filename)[1].lower()- if use_file_name:+ if use_file_name and not is_avatar:unique_filename = filenameelse:unique_filename = f"{uuid.uuid4()}{file_ext}"@@ -164,7 +177,7 @@ async def upload_media(if use_local_storage:unique_filename = local_media.stored_filename(- unique_filename, content_type, use_file_name+ unique_filename, content_type, use_file_name and not is_avatar)file_bytes = await file.read()await scan_content_safe(file_bytes, filename=unique_filename)@@ -181,26 +194,27 @@ async def upload_media(file_bytes = await file.read()await scan_content_safe(file_bytes, filename=unique_filename)+ public_url = (+ f"https://storage.googleapis.com/{bucket_name}/{storage_path}"+ )+# Upload using pure async clientawait async_client.upload(bucket_name, storage_path, file_bytes, content_type=content_type)- # Construct public URL- public_url = (- f"https://storage.googleapis.com/{bucket_name}/{storage_path}"- )-logger.info(f"Successfully uploaded file to: {storage_path}")return public_url+ except fastapi.HTTPException:+ raiseexcept Exception as e:logger.error(f"GCS storage error: {str(e)}")raise store_exceptions.StorageUploadError("Failed to upload file to storage") from e- except store_exceptions.MediaUploadError:+ except (store_exceptions.MediaUploadError, fastapi.HTTPException):raiseexcept Exception as e:logger.exception("Unexpected error in upload_media")diff --git a/autogpt_platform/backend/backend/api/features/store/media_test.py b/autogpt_platform/backend/backend/api/features/store/media_test.pyindex 10224760b3..315a199f70 100644--- a/autogpt_platform/backend/backend/api/features/store/media_test.py+++ b/autogpt_platform/backend/backend/api/features/store/media_test.py@@ -289,3 +289,55 @@ async def test_upload_media_invalid_signature(mock_settings, mock_storage_clientwith pytest.raises(store_exceptions.InvalidFileTypeError):await store_media.upload_media("test-user", test_file)++[email protected]("local", [False, True])+async def test_expert_avatar_upload_works_without_moderation(+ mock_settings, mock_storage_client, mocker, local+):+ mock_settings.config.automod_api_url = ""+ mock_settings.secrets.automod_api_key = ""+ if local:+ mock_settings.config.media_gcs_bucket_name = ""+ local_upload = mocker.patch.object(+ local_media,+ "store_media",+ new_callable=AsyncMock,+ return_value="/api/store/media/owner/images/avatar.png",+ )+ scan = mocker.patch.object(store_media, "scan_content_safe", new_callable=AsyncMock)+ content = b"\x89PNG\r\n\x1a\nimage"+ upload = fastapi.UploadFile(+ filename="existing-avatar.png",+ file=io.BytesIO(content),+ headers=starlette.datastructures.Headers({"content-type": "image/png"}),+ )+ url = await store_media.upload_media(+ "owner", upload, use_file_name=True, is_avatar=True+ )+ assert url+ scan.assert_awaited_once()+ assert scan.await_args.args[0] == content+ assert "existing-avatar" not in scan.await_args.kwargs["filename"]+ (local_upload if local else mock_storage_client.upload).assert_awaited_once()+++ "content_type, content, status",+ [+ ("image/gif", b"GIF89a", 400),+ ("image/png", b"\x89PNG\r\n\x1a\n" + b"x" * (5 * 1024 * 1024), 413),+ ],+)+async def test_expert_avatar_still_enforces_type_and_size(+ mock_settings, mock_storage_client, content_type, content, status+):+ upload = fastapi.UploadFile(+ filename="avatar.png",+ file=io.BytesIO(content),+ headers=starlette.datastructures.Headers({"content-type": content_type}),+ )+ with pytest.raises(fastapi.HTTPException) as error:+ await store_media.upload_media("owner", upload, is_avatar=True)+ assert error.value.status_code == status+ mock_storage_client.upload.assert_not_awaited()diff --git a/autogpt_platform/backend/backend/api/features/store/routes.py b/autogpt_platform/backend/backend/api/features/store/routes.pyindex c5cb5361f8..dbbc658d10 100644--- a/autogpt_platform/backend/backend/api/features/store/routes.py+++ b/autogpt_platform/backend/backend/api/features/store/routes.py@@ -562,10 +562,13 @@ def get_store_media(async def upload_submission_media(file: fastapi.UploadFile,user_id: str = Security(autogpt_libs.auth.get_user_id),+ purpose: Literal["submission", "expert-avatar"] = "submission",) -> str:- """Upload media for a marketplace listing submission"""- media_url = await store_media.upload_media(user_id=user_id, file=file)- return media_url+ """Upload media for a marketplace listing submission or Expert appearance."""++ return await store_media.upload_media(+ user_id=user_id, file=file, is_avatar=purpose == "expert-avatar"+ )class ImageURLResponse(BaseModel):diff --git a/autogpt_platform/backend/backend/copilot/expert_context.py b/autogpt_platform/backend/backend/copilot/expert_context.pyindex 9ebbad13f4..8c9d0f1d87 100644--- a/autogpt_platform/backend/backend/copilot/expert_context.py+++ b/autogpt_platform/backend/backend/copilot/expert_context.py@@ -24,6 +24,7 @@ directly (suffix: leading ``\\n\\n``; message blocks: trailing ``\\n\\n``).import asyncioimport logging+from backend.api.features.experts.copy_policy import EXPERT_COPY_POLICYfrom backend.api.features.experts.models import PROTECTED_SOUL_RULES, Expertfrom backend.api.features.experts.models import ExpertRoutine as ExpertRoutineModelfrom backend.blocks.desktop._api import SHARED_PATH, WORKSPACE_PATH@@ -126,7 +127,7 @@ def render_expert_identity_suffix(expert: Expert) -> str:f"<identity_and_personality>\n{identity}\n</identity_and_personality>\n"f"<voice_preferences>\n{voice}\n</voice_preferences>\n"f"<boundaries>\n{boundaries}\n</boundaries>\n"- f"<protected_rules>\n{protected_rules}\n</protected_rules>\n"+ f"<protected_rules>\n{protected_rules}\n{EXPERT_COPY_POLICY}\n</protected_rules>\n"f"<standing_work>\n"f"Part of your job is the work that repeats. A colleague who only "f"ever acts when asked is half a colleague: when you notice something "diff --git a/autogpt_platform/backend/backend/copilot/tools/raise_expert.py b/autogpt_platform/backend/backend/copilot/tools/raise_expert.pyindex 407cec2c96..4551e320e8 100644--- a/autogpt_platform/backend/backend/copilot/tools/raise_expert.py+++ b/autogpt_platform/backend/backend/copilot/tools/raise_expert.py@@ -13,6 +13,7 @@ from typing import Anyfrom pydantic import BaseModel, Field, ValidationError+from backend.api.features.experts.copy_policy import EXPERT_CREATION_COPY_POLICYfrom backend.api.features.experts.models import (EXPERT_COLOR_MAX_LENGTH,EXPERT_NAME_MAX_LENGTH,@@ -90,7 +91,10 @@ class RaiseExpertTool(BaseTool):@propertydef description(self) -> str:- return "Preview a new expert when no template fits: personal name, role, tagline, color and charter (ownership, success criteria, boundaries). Returns a one-time confirmation_id; never applies the hire. The card shows the charter, so add at most one short line. Wait for the user's approval before calling tool:confirm_expert_change with that id."+ return (+ EXPERT_CREATION_COPY_POLICY+ + " Preview if no template fits; never hires. Collect name, role, tagline, color and charter (ownership, success criteria, boundaries). Card shows charter; add at most one short line. Returns one-time confirmation_id; await user approval before tool:confirm_expert_change."+ )@propertydef parameters(self) -> dict[str, Any]:@@ -99,34 +103,32 @@ class RaiseExpertTool(BaseTool):"properties": {"name": {"type": "string",- "description": (- "Personal first name, not a job title (use job_title for that)."- ),+ "description": ("First name; put job titles in job_title."),},"role": {"type": "string",- "description": "Short name for the area they own, e.g. 'SEO & Content'.",+ "description": "Area owned, e.g. 'SEO & Content'.",},"job_title": {"type": "string",- "description": "What they would be called on a team, e.g. 'SEO Content Manager'.",+ "description": "Team job title, e.g. 'SEO Content Manager'.",},"tagline": {"type": "string","description": (- "Third-person summary under 120 characters, e.g. 'Finds leads and decision-makers.' Shown on the card."+ "Card summary: third person, under 120 chars, e.g. 'Finds leads and decision-makers.'"),},"color": {"type": "string","enum": COLOR_TOKENS,- "description": ("Accent token for the avatar and chat theme."),+ "description": "Avatar/chat accent token.",},"avatar_glasses": {"type": "string","enum": list(AVATAR_GLASSES),"description": (- "Eyewear suited to their role; omit for a name-seeded choice."+ "Role-appropriate eyewear; omit for name-seeded choice."),},"avatar_beard": {@@ -142,7 +144,7 @@ class RaiseExpertTool(BaseTool):"about": {"type": "string","description": (- "Second-person charter: ownership, working approach and success criteria. Becomes identity."+ "Second-person identity: ownership, approach and success criteria."),},"boundaries": {diff --git a/autogpt_platform/backend/backend/notifications/renderer.py b/autogpt_platform/backend/backend/notifications/renderer.pyindex bd034f4359..8f8c54788e 100644--- a/autogpt_platform/backend/backend/notifications/renderer.py+++ b/autogpt_platform/backend/backend/notifications/renderer.py@@ -61,6 +61,7 @@ class EmailUrls(BaseModel):"""Per-recipient destinations. Kept out of the queued payload so a messagethat sat in the queue over a deploy still links at today's platform."""+ chat: strdashboard: strsettings: strunsubscribe: str@@ -80,6 +81,7 @@ def build_urls() -> EmailUrls:base = settings.config.frontend_base_url or settings.config.platform_base_urlreturn EmailUrls(+ chat=f"{base.rstrip('/')}/copilot",dashboard=f"{base}/library",# The Briefing footer appends ?f=daily|weekly|monthly|alerts|off to# this, and the settings page applies it on load — that is what makesdiff --git a/autogpt_platform/backend/backend/notifications/renderer_test.py b/autogpt_platform/backend/backend/notifications/renderer_test.pyindex ee331f40b1..1f576fd0fc 100644--- a/autogpt_platform/backend/backend/notifications/renderer_test.py+++ b/autogpt_platform/backend/backend/notifications/renderer_test.py@@ -35,6 +35,7 @@ from backend.notifications.preferences import SERVICE_MESSAGES, wants_notificatifrom backend.notifications.renderer import EmailUrls, renderURLS = EmailUrls(+ chat="https://p.example/copilot",dashboard="https://p.example/library",settings="https://p.example/settings/account",unsubscribe="https://p.example/api/email/unsubscribe?token=x",@@ -277,3 +278,28 @@ def test_service_mail_offers_preferences_not_an_unsubscribe(notification_type):def test_every_service_message_has_a_payload_here():"""Keeps the check above honest if a seventh service type is added."""assert set(SERVICE_PAYLOADS) == set(SERVICE_MESSAGES)+++def test_otto_link_does_not_change_workflow_or_billing_destinations(monkeypatch):+ from backend.notifications import renderer++ monkeypatch.setattr(+ renderer.settings.config, "frontend_base_url", "https://platform.example"+ )+ urls = renderer.build_urls("https://platform.example/unsubscribe?token=keep")+ assert urls.chat == "https://platform.example/copilot"+ assert urls.dashboard == "https://platform.example/library"+ assert urls.billing == "https://platform.example/settings/billing"+ assert urls.unsubscribe.endswith("?token=keep")++[email protected]("part, cta", [(1, "Open Otto"), (2, "Try a workflow")])+def test_onboarding_template_names_otto_and_links_to_chat(part, cta):+ from backend.notifications import renderer++ html = renderer._html_env.get_template("onboarding.html.j2").render(+ part=part, user_name="Sam", urls=URLS+ )+ assert "AutoPilot" not in html+ assert cta in html+ assert 'href="https://p.example/copilot"' in htmldiff --git a/autogpt_platform/backend/backend/notifications/templates/_lifecycle_ui.j2 b/autogpt_platform/backend/backend/notifications/templates/_lifecycle_ui.j2index 9801e02cd3..ca3143862d 100644--- a/autogpt_platform/backend/backend/notifications/templates/_lifecycle_ui.j2+++ b/autogpt_platform/backend/backend/notifications/templates/_lifecycle_ui.j2@@ -55,8 +55,8 @@{%- macro hero_img(name, bgc, alt) -%}<tr><td bgcolor="{{ bgc }}" align="center" style="padding:0; line-height:0; font-size:0;">- <img src="{{ assets | default('../assets', true) }}/{{ name }}.jpg" width="560" height="184" alt="{{ alt }}"- style="display:block; width:100%; max-width:560px; height:auto; border:0; outline:none; text-decoration:none;">+ <img src="{{ assets | default('../assets', true) }}/otto-transparent-v1.png" width="160" height="160" alt="Otto, your personal Head of AI"+ style="display:block; width:160px; max-width:100%; height:auto; border:0; outline:none; text-decoration:none;"></td></tr>{%- endmacro -%}diff --git a/autogpt_platform/backend/backend/notifications/templates/_ui.j2 b/autogpt_platform/backend/backend/notifications/templates/_ui.j2index b2a6cdd791..9634162677 100644--- a/autogpt_platform/backend/backend/notifications/templates/_ui.j2+++ b/autogpt_platform/backend/backend/notifications/templates/_ui.j2@@ -67,9 +67,9 @@--------------------------------------------------------------- #}{%- macro hero_img(name, bgc, alt) -%}<tr><td bgcolor="{{ bgc }}" align="center" style="padding:0; line-height:0; font-size:0;">- <img src="{{ assets | default('https://platform.agpt.co/email', true) }}/{{ name }}.jpg"- width="560" height="184" alt="{{ alt }}"- style="display:block; width:100%; max-width:560px; height:auto; border:0; outline:none; text-decoration:none;">+ <img src="{{ assets | default('https://platform.agpt.co/email', true) }}/otto-transparent-v1.png"+ width="160" height="160" alt="Otto, your personal Head of AI"+ style="display:block; width:160px; max-width:100%; height:auto; border:0; outline:none; text-decoration:none;"></td></tr>{%- endmacro -%}@@ -201,8 +201,8 @@</div></td><td width="118" align="right" valign="middle" class="mobile-hide" style="line-height:0; font-size:0;">- <img src="{{ assets | default('https://platform.agpt.co/email', true) }}/mark-otto.png"- width="118" height="80" alt=""+ <img src="{{ assets | default('https://platform.agpt.co/email', true) }}/otto-transparent-v1.png"+ width="80" height="80" alt=""style="display:block; border:0; outline:none; text-decoration:none;"></td></tr>diff --git a/autogpt_platform/backend/backend/notifications/templates/onboarding.html.j2 b/autogpt_platform/backend/backend/notifications/templates/onboarding.html.j2index 88ccda9e89..d69ae4bbc6 100644--- a/autogpt_platform/backend/backend/notifications/templates/onboarding.html.j2+++ b/autogpt_platform/backend/backend/notifications/templates/onboarding.html.j2@@ -27,16 +27,16 @@{% call ui.para() %}I'm John, and I work on product here. You can reply to any of these emails and it comes straight to me — that's not a support queue, it's my inbox.{% endcall %}{% call ui.para(top=22) %}<strong style="color:#070629;">Your first win, in 2 minutes:</strong>{% endcall %}{{ ui.steps([- ('Open AutoPilot.', "It's the first thing you see when you log in."),+ ('Open Otto.', "It's the first thing you see when you log in."),('Describe a task in plain language.', 'Try: "Research the top 5 competitors in my space and summarize their pricing."'),- ('Watch it work.', 'AutoPilot figures out the steps, runs them, and delivers the result — while you do something else.'),+ ('Watch it work.', 'Otto figures out the steps, runs them, and delivers the result — while you do something else.'),]) }}-{{ ui.cta('Open AutoPilot', urls.dashboard) }}+{{ ui.cta('Open Otto', urls.chat) }}{{ ui.media_link('A quick welcome from our founder', '90 seconds on why we built this — and what we hope you do with it.', urls.founder_video) }}{% call ui.para(color='#575072', size=13, lh=20, top=18) %}Next up: the five workflows our users run most — steal them.{% endcall %}{%- elif part == 2 %}{% call ui.eyebrow(color='#5635b2') %}PART 2 OF {{ of }} · FIRST WORKFLOWS{% endcall %}-{% call ui.headline() %}5 tasks you can hand to AutoPilot today{% endcall %}+{% call ui.headline() %}5 tasks you can hand to Otto today{% endcall %}{% call ui.para() %}Hi {{ user_name }} — the best way to get value out of AutoGPT isn't to explore menus. It's to hand it something from your actual to-do list. Here are five workflows that ran start-to-finish in our demo, with zero hand-holding:{% endcall %}{{ ui.emoji_cards([('🖥', 'Engineering & bug triage', 'Connected to Sentry, ranked bugs by impact, pushed sprint actions to Linear, and notified the team on Discord.'),@@ -46,8 +46,8 @@('🎯', 'Sales funnel & demo prep', 'Found leads matching our ICP, built curated demo agents, and wrote scripts and follow-up questions.'),]) }}{{ ui.media_link('Watch all five in 6 minutes', 'Everything in the demo ran autonomously — and these five are just what fit in six minutes.', urls.demo_video) }}-{% call ui.para() %}Pick the one closest to your work, open AutoPilot, and describe it in your own words. That's it — no setup, no flowcharts.{% endcall %}-{{ ui.cta('Try a workflow', urls.dashboard) }}+{% call ui.para() %}Pick the one closest to your work, open Otto, and describe it in your own words. That's it — no setup, no flowcharts.{% endcall %}+{{ ui.cta('Try a workflow', urls.chat) }}{% call ui.para(color='#575072', size=13, lh=20, top=18) %}Next up: a tour of your workspace — artifacts, briefings, and the builder.{% endcall %}{%- elif part == 3 %}{% call ui.eyebrow(color='#5635b2') %}PART 3 OF {{ of }} · KNOW YOUR WORKSPACE{% endcall %}@@ -65,7 +65,7 @@{% call ui.headline() %}How's it going so far?{% endcall %}{% call ui.para() %}Hi {{ user_name }} — quick one from me. No screenshots, no buttons.{% endcall %}{% call ui.para() %}You've had AutoGPT for a week now. <strong style="color:#070629;">How's it actually going?</strong> Did something click? Did something get in your way?{% endcall %}-{% call ui.para() %}I ask because we're a small team, we ship every week, and the roadmap is genuinely shaped by what subscribers tell us. If AutoPilot mis-handled a task, or there's a feature you keep wishing existed, I want to know about it — the unpolished version is the most useful version.{% endcall %}+{% call ui.para() %}I ask because we're a small team, we ship every week, and the roadmap is genuinely shaped by what subscribers tell us. If Otto mis-handled a task, or there's a feature you keep wishing existed, I want to know about it — the unpolished version is the most useful version.{% endcall %}{% call ui.para() %}<strong style="color:#070629;">Just hit reply.</strong> It comes straight to me, and I read every single one.{% endcall %}{% call ui.para(color='#575072', size=13, lh=20, top=18) %}P.S. If it's easier: here's a <a href="{{ urls.feedback_form }}" style="color:#5635b2; text-decoration:underline;">2-minute feedback form</a>, or <a href="{{ urls.booking }}" style="color:#5635b2; text-decoration:underline;">book 30 minutes with me</a> — no agenda needed.{% endcall %}{%- elif part == 5 %}@@ -85,7 +85,7 @@{%- else %}{% call ui.eyebrow(color='#5635b2') %}PART 6 OF {{ of }} · YOU'RE IN{% endcall %}{% call ui.headline() %}Your direct line to the team{% endcall %}-{% call ui.para() %}Hi {{ user_name }} — that's the end of the tour. You know your way around AutoPilot, your workspace, and everything we ship weekly. From here on we mostly stay out of your inbox: you'll hear from us when there's something genuinely new.{% endcall %}+{% call ui.para() %}Hi {{ user_name }} — that's the end of the tour. You know your way around Otto, your workspace, and everything we ship weekly. From here on we mostly stay out of your inbox: you'll hear from us when there's something genuinely new.{% endcall %}{% call ui.para(top=22) %}<strong style="color:#070629;">Before I go, three things worth keeping:</strong>{% endcall %}{{ ui.emoji_cards([('💬', 'The community', "5,000+ builders share what they're automating in our Discord. The team is in there daily — it's the fastest way to get unstuck."),diff --git a/autogpt_platform/backend/backend/notifications/templates/onboarding.subject.j2 b/autogpt_platform/backend/backend/notifications/templates/onboarding.subject.j2index 3ca41bf651..d1651386df 100644--- a/autogpt_platform/backend/backend/notifications/templates/onboarding.subject.j2+++ b/autogpt_platform/backend/backend/notifications/templates/onboarding.subject.j2@@ -1,5 +1,5 @@{% if part == 1 %}Welcome to AutoGPT — let's get you your first win-You're all set up. Here's the 2-minute path to your first task, done for you.{% elif part == 2 %}5 tasks you can hand to AutoPilot today+You're all set up. Here's the 2-minute path to your first task, done for you.{% elif part == 2 %}5 tasks you can hand to Otto todayReal workflows from real users. Steal the prompts and make them yours.{% elif part == 3 %}A quick tour of your workspaceArtifacts, agent briefings, and an AI copilot inside the builder.{% elif part == 4 %}How's it going so far?A real question from a real person. Hit reply — it comes straight to me.{% elif part == 5 %}We shipped while you were reading thisdiff --git a/autogpt_platform/backend/backend/notifications/trial_test.py b/autogpt_platform/backend/backend/notifications/trial_test.pyindex b86e939e86..7995273952 100644--- a/autogpt_platform/backend/backend/notifications/trial_test.py+++ b/autogpt_platform/backend/backend/notifications/trial_test.py@@ -53,6 +53,7 @@ def trial() -> TrialState:@pytest.fixturedef urls() -> EmailUrls:return EmailUrls(+ chat="https://example.com/copilot",dashboard="https://example.com/library",settings="https://example.com/settings",unsubscribe="https://example.com/unsubscribe",diff --git a/autogpt_platform/backend/snapshots/expert_raise_attachment_installation_failure b/autogpt_platform/backend/snapshots/expert_raise_attachment_installation_failureindex 5a3c98922c..b314d4336e 100644--- a/autogpt_platform/backend/snapshots/expert_raise_attachment_installation_failure+++ b/autogpt_platform/backend/snapshots/expert_raise_attachment_installation_failure@@ -9,7 +9,7 @@"credential_providers": [],"day_one": [],"id": "raised-3",- "identity": "I'm Nova, raised by you. I learn how you work and grow with you.",+ "identity": "I'm Nova, an AI Expert created by you. I use your instructions to help with your work.","is_archived": false,"is_template": false,"job_title": null,diff --git a/autogpt_platform/backend/snapshots/expert_raise_attachments b/autogpt_platform/backend/snapshots/expert_raise_attachmentsindex 686667231c..46dc2aadee 100644--- a/autogpt_platform/backend/snapshots/expert_raise_attachments+++ b/autogpt_platform/backend/snapshots/expert_raise_attachments@@ -9,7 +9,7 @@"credential_providers": [],"day_one": [],"id": "raised-2",- "identity": "I'm Nova, raised by you. I learn how you work and grow with you.",+ "identity": "I'm Nova, an AI Expert created by you. I use your instructions to help with your work.","is_archived": false,"is_template": false,"job_title": null,diff --git a/autogpt_platform/backend/snapshots/expert_raise_default b/autogpt_platform/backend/snapshots/expert_raise_defaultindex dea66d382d..e0b4797792 100644--- a/autogpt_platform/backend/snapshots/expert_raise_default+++ b/autogpt_platform/backend/snapshots/expert_raise_default@@ -9,7 +9,7 @@"credential_providers": [],"day_one": [],"id": "raised-1",- "identity": "I'm Otto, raised by you. I learn how you work and grow with you.",+ "identity": "I'm Otto, an AI Expert created by you. I use your instructions to help with your work.","is_archived": false,"is_template": false,"job_title": null,diff --git a/autogpt_platform/frontend/public/autogpt-characters/manifest.json b/autogpt_platform/frontend/public/autogpt-characters/manifest.jsonnew file mode 100644index 0000000000..b91c9cb7b8--- /dev/null+++ b/autogpt_platform/frontend/public/autogpt-characters/manifest.json@@ -0,0 +1,459 @@+{+ "schemaVersion": 1,+ "assetVersion": "1.1.0",+ "baseUrl": "/autogpt-characters/v1.1",+ "background": "opaque-warm-studio",+ "renderType": "static-raster",+ "logicalSizes": [+ 24,+ 32,+ 40,+ 48,+ 64,+ 96,+ 128,+ 256,+ 512+ ],+ "devicePixelRatios": [+ 1,+ 2+ ],+ "pixelSizes": [+ 24,+ 32,+ 40,+ 48,+ 64,+ 80,+ 96,+ 128,+ 192,+ 256,+ 512,+ 1024+ ],+ "identities": {+ "otto": {+ "displayName": "Otto",+ "role": "Personal Head of AI",+ "palette": "Mineral lavender",+ "expressions": [+ "neutral"+ ],+ "master": "masters/otto-neutral.png",+ "nativePixels": [+ 1200,+ 1200+ ],+ "background": "opaque-warm-studio",+ "crop": "full-square-studio",+ "sourceNote": "Existing resting Otto reference; no anatomy change.",+ "files": {+ "24.png": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/24.png",+ "bytes": 1010,+ "sha256": "30899469e6be00e2710ab1726c9ad1659ce726e37ca4cd8968f0337d8d2367e4"+ },+ "24.webp": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/24.webp",+ "bytes": 300,+ "sha256": "48e4a035b0c9839adda0c93edb7ddc9336238ac114ec700427f56d269b9a218d"+ },+ "32.png": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/32.png",+ "bytes": 1521,+ "sha256": "350d88d519cdf9e99c4e4ef9b696a9ff274b1729c678c95231eaa1aa74f1b230"+ },+ "32.webp": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/32.webp",+ "bytes": 434,+ "sha256": "510b862ed161e377c895efaddbe50747a9f415a05d41d6c38b64def927a93adb"+ },+ "40.png": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/40.png",+ "bytes": 2140,+ "sha256": "07886b74cc035a5c700081803f86171553d2eba8795bf0312c6a4da44e0ca2d6"+ },+ "40.webp": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/40.webp",+ "bytes": 542,+ "sha256": "6ec208dec7273367261b839e21957e6e41d0aba6bf8d6bfa9ce56bdd9830b47c"+ },+ "48.png": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/48.png",+ "bytes": 2882,+ "sha256": "66947abb7b3bb0f57261039ee9b07f918f04deb669a835511bdcd68a9ce2fc34"+ },+ "48.webp": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/48.webp",+ "bytes": 678,+ "sha256": "0c10fda6b4ed7951d4e5414cfa5f83a84a95b60e4fca308743942aa8d0954acb"+ },+ "64.png": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/64.png",+ "bytes": 4488,+ "sha256": "cc97e9b54ca583ac7b69871ab6873c7ea158f39e040380fdae3a8a8d3b27cded"+ },+ "64.webp": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/64.webp",+ "bytes": 882,+ "sha256": "9cd0df141c1276cbc95c852c11de66037ef42e1c9f7503e11859d6d50db7a5f7"+ },+ "80.png": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/80.png",+ "bytes": 6364,+ "sha256": "08031ff97a817b044da7af29de9f35570a2bcf1576825882943083d3b464c46b"+ },+ "80.webp": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/80.webp",+ "bytes": 1138,+ "sha256": "b9d30353de600e6a3c47ea2d49a11991c00f5a1b9a58460a11f1d51a707815b5"+ },+ "96.png": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/96.png",+ "bytes": 8532,+ "sha256": "c42eca170fc2eaf4a8e408cde79fe1a23194ce88b8c51262b320864f7222bcb7"+ },+ "96.webp": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/96.webp",+ "bytes": 1376,+ "sha256": "7ab39a0e01fb52c11d8963dba55135dc375d080bdd5f2011f6bf33c2cc5e75f4"+ },+ "128.png": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/128.png",+ "bytes": 13593,+ "sha256": "a3862eb2f2c8492218f54763d1de6796c64de56b50d1e4b3e97ae5480a6e45d9"+ },+ "128.webp": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/128.webp",+ "bytes": 1908,+ "sha256": "505c9d73183d624ddcd523ab72a0eecb52157443625b67d0835cb4540b32330e"+ },+ "192.png": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/192.png",+ "bytes": 26393,+ "sha256": "dcd843627f9cc13eb07c453346b68e0ebfb5c40369128f95b08f25c21680f9d7"+ },+ "192.webp": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/192.webp",+ "bytes": 3158,+ "sha256": "2babf2f25121177a8a859ea44dae20e871f0e151a9b56241b6fe0b2d9adfe923"+ },+ "256.png": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/256.png",+ "bytes": 43218,+ "sha256": "52c4498dc00e8b4afb1855ca6e741d6dd96c8049c260932215ecc4712166fff1"+ },+ "256.webp": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/256.webp",+ "bytes": 4448,+ "sha256": "d2f3603fa1437767c04279d414c7eb334a59671536a382577002726b560f09bf"+ },+ "512.png": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/512.png",+ "bytes": 150880,+ "sha256": "ec172a26bd41e9db09e9d766838afde18ac49ce09610d4409175089d5dcf1884"+ },+ "512.webp": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/512.webp",+ "bytes": 11938,+ "sha256": "bdd3f783ae75781201e8c191d7f1dd84c02d1544872c9b75e1e0621fec98d180"+ },+ "1024.png": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/1024.png",+ "bytes": 492518,+ "sha256": "a8721f333b5f64ef15c9ce424ea8378e8be287530f817f952c6a57686132abe8"+ },+ "1024.webp": {+ "path": "public/autogpt-characters/v1.1/otto/neutral/1024.webp",+ "bytes": 51754,+ "sha256": "7d1f16886f4087788304e48173a8bad8a8190322bf8da391f799f7b19f479945"+ }+ }+ },+ "expert-maria": {+ "displayName": "Maria",+ "role": "SEO Content Manager",+ "palette": "Terracotta",+ "expressions": [+ "neutral"+ ],+ "master": "masters/expert-maria-neutral.png",+ "nativePixels": [+ 1254,+ 1254+ ],+ "background": "opaque-warm-studio",+ "crop": "full-square-studio",+ "sourceNote": "New finishing derivative of the terracotta reference; narrow head/base contact shadow.",+ "files": {+ "24.png": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/24.png",+ "bytes": 992,+ "sha256": "283df1d1a9eba01dda3df427e9e1a50120d30c01fb516057520d2e34a3ea78ee"+ },+ "24.webp": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/24.webp",+ "bytes": 328,+ "sha256": "5cc781e2dd793e540b3d401679dbe226c817a16fb38695d90a13971aaf258648"+ },+ "32.png": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/32.png",+ "bytes": 1512,+ "sha256": "c79698456d94d559181c5a1ecaf9643bf4aa99276f80de0a2f754f6f9e4ed8c7"+ },+ "32.webp": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/32.webp",+ "bytes": 450,+ "sha256": "a61d5e08f2fa0f2d643bf9b1ef1f1a6b50729b10185d3ba4b43314fe2f95e604"+ },+ "40.png": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/40.png",+ "bytes": 2084,+ "sha256": "39e17f46431e3cd16f4b10b4a1fca8baa4c821346d7d02b28e2113fe06e2d001"+ },+ "40.webp": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/40.webp",+ "bytes": 614,+ "sha256": "0894bf887bd2ff49b6028ba7679e02e4ae8fda59eea5749214ec57e77b2e5a13"+ },+ "48.png": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/48.png",+ "bytes": 2765,+ "sha256": "00d0d35141594b58bf2d4a6136dc95e2279174689288acbb0cb7907f460cab70"+ },+ "48.webp": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/48.webp",+ "bytes": 676,+ "sha256": "db2b25adccffbcf8eaa6cc3f0c6107d798f9f36d8545a76d6901bad7498b914f"+ },+ "64.png": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/64.png",+ "bytes": 4444,+ "sha256": "93b2c0c0ea2fcba06a85ec4c24eba385abf5ed874a473cfb8970eeddce2c2ea0"+ },+ "64.webp": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/64.webp",+ "bytes": 938,+ "sha256": "fc7ee3d8e0e1725167482e914c08729aa4cf5e517435326be1d78eb8dac2b2e3"+ },+ "80.png": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/80.png",+ "bytes": 6434,+ "sha256": "a271c72ce842858491735f4506b9ce370f2435ef21c028de9bb99e17fb5c40e0"+ },+ "80.webp": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/80.webp",+ "bytes": 1152,+ "sha256": "e054c31246bc6a71c464342e2fd982f2d764d86c787b991dbd350848fad145a6"+ },+ "96.png": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/96.png",+ "bytes": 8771,+ "sha256": "8e8ef879f9f6d4dc5f677145c4663c45cab7d0f16b53e8f92fcacd1ecb14bea0"+ },+ "96.webp": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/96.webp",+ "bytes": 1392,+ "sha256": "c1eaec8598e2df1ddc1ab2afee7e6771decb1de04fa1039c00fd16b9c912f2c5"+ },+ "128.png": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/128.png",+ "bytes": 14518,+ "sha256": "1a438b12069a960f4689b20e72cf9e471bb1c3ff9edd282e3b0346cfd62a2345"+ },+ "128.webp": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/128.webp",+ "bytes": 1948,+ "sha256": "3de483fccc0f69330043b428b097ba62b3656df522b046ee227379a8afa38f5a"+ },+ "192.png": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/192.png",+ "bytes": 30750,+ "sha256": "0c36327598a1b48f159b788fbf9957e55b7be65080042fc6824123b8a361182c"+ },+ "192.webp": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/192.webp",+ "bytes": 3108,+ "sha256": "34c961e990d81f334c64086502f198daae69baa134ca90a7f982990a46567c80"+ },+ "256.png": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/256.png",+ "bytes": 54255,+ "sha256": "a327782cc93bfb1881322bbb8b41260df7b1b93229c0813028acb27d3d349ea1"+ },+ "256.webp": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/256.webp",+ "bytes": 4412,+ "sha256": "08c92b136d74ea61446908a344edc4d773bf310644cb6f2f645d48e4e55b284a"+ },+ "512.png": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/512.png",+ "bytes": 235501,+ "sha256": "9e75a1f90f86f09d4c90ecabf8a630aa0a88cdc5b2ca15fec66541ba50165847"+ },+ "512.webp": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/512.webp",+ "bytes": 10804,+ "sha256": "a5d45a32a315ab00fcc9a8fb28d6539ebe773a03ce261ab97b14dd346e620ef9"+ },+ "1024.png": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/1024.png",+ "bytes": 1010368,+ "sha256": "96aa4bd1d83c73466c7fd852d021c58d2e108123f270eea2cb156bd569d51d6c"+ },+ "1024.webp": {+ "path": "public/autogpt-characters/v1.1/expert-maria/neutral/1024.webp",+ "bytes": 43636,+ "sha256": "96ad26c0bca660a38273ea5130b14b5fb9570a903dacbdc6d2b34ac148529c29"+ }+ }+ },+ "expert-mina": {+ "displayName": "Mina",+ "role": "Bookkeeper",+ "palette": "Sage",+ "expressions": [+ "neutral"+ ],+ "master": "masters/expert-mina-neutral.png",+ "nativePixels": [+ 1254,+ 1254+ ],+ "background": "opaque-warm-studio",+ "crop": "full-square-studio",+ "sourceNote": "Corrected sage master; main-color head, flowing cream only on lower form, narrow contact shadow.",+ "files": {+ "24.png": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/24.png",+ "bytes": 978,+ "sha256": "5bf0edfb54f3d8d61e9b878b77d8be5413936c60374a5f87c4618d8fd012b80b"+ },+ "24.webp": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/24.webp",+ "bytes": 264,+ "sha256": "69146faa9633819e9511e3f2c4cf2d5b6a80bb6a4fbb7814f752f64c54f01478"+ },+ "32.png": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/32.png",+ "bytes": 1514,+ "sha256": "0d500223ce58f6be18c4195b8c8af11b2212ae4db4db6e09e4e09c2041a13888"+ },+ "32.webp": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/32.webp",+ "bytes": 372,+ "sha256": "258f7889008fba00d8ce3363e0dd81be84ccdd156b96d691cbd5b4e14c6e3a76"+ },+ "40.png": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/40.png",+ "bytes": 2171,+ "sha256": "b3b81721c6fca8dc138673ab6fdc5a6d0a3c43f4e9ddc3c799f58de31e0b7f57"+ },+ "40.webp": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/40.webp",+ "bytes": 462,+ "sha256": "c5b8c3b55fb597c7e7c93e4e58daa9c697b3d62f8bfdefbb490ef91aaa33b49f"+ },+ "48.png": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/48.png",+ "bytes": 2898,+ "sha256": "2fc4d12da4d09e0f29a62d73c835728fefb6c091d496730b29803f9d4dae9368"+ },+ "48.webp": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/48.webp",+ "bytes": 532,+ "sha256": "5cb8e8b8abc8c0512fa0b5f56ddcf5b62112a17cd552cba68497ecee6ef72cab"+ },+ "64.png": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/64.png",+ "bytes": 4602,+ "sha256": "5bf479e6d40d9792ccc8c01db9d6bb73e4b8d79222fe280d0b4ccf756870c29e"+ },+ "64.webp": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/64.webp",+ "bytes": 704,+ "sha256": "c99d1cd6c9571f04ad1cd4222330780a9ca222bc034013662fe72838c5cf2c01"+ },+ "80.png": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/80.png",+ "bytes": 6657,+ "sha256": "f667cb61a38d41242f544982b9b8a20e7a1f359e9a83a5b78fbd72f3d308423e"+ },+ "80.webp": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/80.webp",+ "bytes": 932,+ "sha256": "3a3d07d2eb19afd6c7729979da935b9ed73eda0a19817de0341a0d6db369cdf6"+ },+ "96.png": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/96.png",+ "bytes": 9097,+ "sha256": "f3ceb53094021cfaad3bfd0c1427f96d1c8da8ba9b84cade6f108a0ea74b2d68"+ },+ "96.webp": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/96.webp",+ "bytes": 1110,+ "sha256": "87f0cc82a107a019635ae3cc4926f25c662ca9c1e9daa7ba8fc4923ebfec8408"+ },+ "128.png": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/128.png",+ "bytes": 14907,+ "sha256": "e98c9fe14538350938cd20c9e5dcfd3369da71ef5bd0e7b8af9f8978d7a8f833"+ },+ "128.webp": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/128.webp",+ "bytes": 1586,+ "sha256": "947339a67435ace92671a13328a2dd02045b85403c5d39d3d10051ad067f2d78"+ },+ "192.png": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/192.png",+ "bytes": 30681,+ "sha256": "615e307d2e8210a6e79b7bafd23eac85333382f385e576db493fe24b3a7be7e8"+ },+ "192.webp": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/192.webp",+ "bytes": 2712,+ "sha256": "5a6fe8701edb332a9e13f53f02ca465bdce26236030f9cf70d26b20568d18201"+ },+ "256.png": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/256.png",+ "bytes": 53573,+ "sha256": "725d947f60b88cbc581bfc760a701b8c223d315f3e0c5ba1846cb723f80dbec3"+ },+ "256.webp": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/256.webp",+ "bytes": 3880,+ "sha256": "d4904bb8f70c862203aa6733477c4ffb8901d982542cbe16caa136549704fe3a"+ },+ "512.png": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/512.png",+ "bytes": 231113,+ "sha256": "08f18a664a6c9135da713e46cc4e7743791fb8c8daf00e311cba829df8074e9d"+ },+ "512.webp": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/512.webp",+ "bytes": 9568,+ "sha256": "a32b793cfcc853f8106c1cb2702232c608e1289fa760941945a0037c86d9eb5f"+ },+ "1024.png": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/1024.png",+ "bytes": 974571,+ "sha256": "f38832d7da9f1529e07173771fad7f5d75d9687035645c3f64eb56bf0273415e"+ },+ "1024.webp": {+ "path": "public/autogpt-characters/v1.1/expert-mina/neutral/1024.webp",+ "bytes": 41394,+ "sha256": "d907403f4ff1d50763ffe169d044be6573fea88c459f1e6611bf3677b712626a"+ }+ }+ }+ },+ "scope": {+ "applicationIdentities": 3,+ "referenceExpressions": 9,+ "productionAnimation": false,+ "transparentCutouts": false,+ "threeDimensionalSource": false+ }+}\ No newline at end of filediff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/1024.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/1024.pngnew file mode 100644index 0000000000..38eee8179bBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/1024.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/1024.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/1024.webpnew file mode 100644index 0000000000..5527e5b118Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/1024.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/128.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/128.pngnew file mode 100644index 0000000000..d54195af87Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/128.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/128.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/128.webpnew file mode 100644index 0000000000..94472c453bBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/128.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/192.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/192.pngnew file mode 100644index 0000000000..713c2fad5eBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/192.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/192.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/192.webpnew file mode 100644index 0000000000..4a40702b1cBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/192.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/24.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/24.pngnew file mode 100644index 0000000000..a336c9ba6bBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/24.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/24.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/24.webpnew file mode 100644index 0000000000..af0ac2ea83Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/24.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/256.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/256.pngnew file mode 100644index 0000000000..c6d1c2c8eaBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/256.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/256.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/256.webpnew file mode 100644index 0000000000..a8e347813eBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/256.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/32.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/32.pngnew file mode 100644index 0000000000..c4b912d2cbBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/32.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/32.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/32.webpnew file mode 100644index 0000000000..84a647c7f6Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/32.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/40.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/40.pngnew file mode 100644index 0000000000..b3d593b2c5Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/40.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/40.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/40.webpnew file mode 100644index 0000000000..88184ebf2eBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/40.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/48.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/48.pngnew file mode 100644index 0000000000..0cc9da4c1bBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/48.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/48.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/48.webpnew file mode 100644index 0000000000..6e62524d3cBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/48.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/512.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/512.pngnew file mode 100644index 0000000000..8e7127fa88Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/512.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/512.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/512.webpnew file mode 100644index 0000000000..435efab6cbBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/512.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/64.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/64.pngnew file mode 100644index 0000000000..dfb92ab220Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/64.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/64.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/64.webpnew file mode 100644index 0000000000..fbfa2462c1Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/64.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/80.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/80.pngnew file mode 100644index 0000000000..ed3ffd1f6eBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/80.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/80.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/80.webpnew file mode 100644index 0000000000..f3579c753fBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/80.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/96.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/96.pngnew file mode 100644index 0000000000..3fb8109778Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/96.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/96.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/96.webpnew file mode 100644index 0000000000..3d8bd00695Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-maria/neutral/96.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/1024.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/1024.pngnew file mode 100644index 0000000000..2c510de05eBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/1024.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/1024.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/1024.webpnew file mode 100644index 0000000000..ac40de5950Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/1024.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/128.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/128.pngnew file mode 100644index 0000000000..85c04e432fBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/128.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/128.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/128.webpnew file mode 100644index 0000000000..0cf3b09f7bBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/128.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/192.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/192.pngnew file mode 100644index 0000000000..25d0f86af7Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/192.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/192.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/192.webpnew file mode 100644index 0000000000..afd0792a56Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/192.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/24.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/24.pngnew file mode 100644index 0000000000..c1d047c524Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/24.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/24.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/24.webpnew file mode 100644index 0000000000..dad7cc5f61Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/24.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/256.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/256.pngnew file mode 100644index 0000000000..8b2354518dBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/256.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/256.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/256.webpnew file mode 100644index 0000000000..a8a2b9acf4Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/256.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/32.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/32.pngnew file mode 100644index 0000000000..bc04f468beBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/32.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/32.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/32.webpnew file mode 100644index 0000000000..1e632d7b10Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/32.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/40.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/40.pngnew file mode 100644index 0000000000..edc42ac099Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/40.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/40.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/40.webpnew file mode 100644index 0000000000..b57f5c9c58Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/40.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/48.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/48.pngnew file mode 100644index 0000000000..694297a8d8Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/48.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/48.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/48.webpnew file mode 100644index 0000000000..ded3606ea8Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/48.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/512.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/512.pngnew file mode 100644index 0000000000..d4da2582f3Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/512.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/512.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/512.webpnew file mode 100644index 0000000000..d4a9123596Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/512.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/64.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/64.pngnew file mode 100644index 0000000000..98777266c9Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/64.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/64.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/64.webpnew file mode 100644index 0000000000..ff20183ff3Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/64.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/80.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/80.pngnew file mode 100644index 0000000000..1344f2bcc1Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/80.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/80.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/80.webpnew file mode 100644index 0000000000..c338d45c50Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/80.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/96.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/96.pngnew file mode 100644index 0000000000..82c59842a0Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/96.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/96.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/96.webpnew file mode 100644index 0000000000..a8001e67a8Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/expert-mina/neutral/96.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/1024.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/1024.pngnew file mode 100644index 0000000000..dabd220674Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/1024.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/1024.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/1024.webpnew file mode 100644index 0000000000..161d96a448Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/1024.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/128.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/128.pngnew file mode 100644index 0000000000..94dd9220f7Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/128.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/128.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/128.webpnew file mode 100644index 0000000000..a82d77815bBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/128.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/192.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/192.pngnew file mode 100644index 0000000000..3573cadb6bBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/192.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/192.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/192.webpnew file mode 100644index 0000000000..1a5a42fc38Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/192.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/24.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/24.pngnew file mode 100644index 0000000000..553ee26aefBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/24.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/24.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/24.webpnew file mode 100644index 0000000000..62b3e72a78Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/24.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/256.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/256.pngnew file mode 100644index 0000000000..ca087c00f6Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/256.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/256.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/256.webpnew file mode 100644index 0000000000..a4712f5fa1Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/256.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/32.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/32.pngnew file mode 100644index 0000000000..c11aae8d3cBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/32.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/32.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/32.webpnew file mode 100644index 0000000000..986ccc855fBinary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/32.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/40.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/40.pngnew file mode 100644index 0000000000..95f49827e1Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/40.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/40.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/40.webpnew file mode 100644index 0000000000..481aadb620Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/40.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/48.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/48.pngnew file mode 100644index 0000000000..f7327913d3Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/48.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/48.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/48.webpnew file mode 100644index 0000000000..175b932787Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/48.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/512.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/512.pngnew file mode 100644index 0000000000..247c2fc572Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/512.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/512.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/512.webpnew file mode 100644index 0000000000..a1cbf4dcc2Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/512.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/64.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/64.pngnew file mode 100644index 0000000000..9b2bbd92c6Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/64.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/64.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/64.webpnew file mode 100644index 0000000000..eaf6f9f545Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/64.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/80.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/80.pngnew file mode 100644index 0000000000..718da6ce51Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/80.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/80.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/80.webpnew file mode 100644index 0000000000..bb7e808a69Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/80.webp differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/96.png b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/96.pngnew file mode 100644index 0000000000..cd88a2baf2Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/96.png differdiff --git a/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/96.webp b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/96.webpnew file mode 100644index 0000000000..60b7ee8492Binary files /dev/null and b/autogpt_platform/frontend/public/autogpt-characters/v1.1/otto/neutral/96.webp differdiff --git a/autogpt_platform/frontend/public/email/mark-otto-clay-v1.1.png b/autogpt_platform/frontend/public/email/mark-otto-clay-v1.1.pngnew file mode 100644index 0000000000..94dd9220f7Binary files /dev/null and b/autogpt_platform/frontend/public/email/mark-otto-clay-v1.1.png differdiff --git a/autogpt_platform/frontend/public/email/otto-clay-v1.1.png b/autogpt_platform/frontend/public/email/otto-clay-v1.1.pngnew file mode 100644index 0000000000..247c2fc572Binary files /dev/null and b/autogpt_platform/frontend/public/email/otto-clay-v1.1.png differdiff --git a/autogpt_platform/frontend/public/email/otto-transparent-v1.png b/autogpt_platform/frontend/public/email/otto-transparent-v1.pngnew file mode 100644index 0000000000..c30a24cf8dBinary files /dev/null and b/autogpt_platform/frontend/public/email/otto-transparent-v1.png differdiff --git a/autogpt_platform/frontend/public/experts/transparent/devon.webp b/autogpt_platform/frontend/public/experts/transparent/devon.webpnew file mode 100644index 0000000000..c7b6068f69Binary files /dev/null and b/autogpt_platform/frontend/public/experts/transparent/devon.webp differdiff --git a/autogpt_platform/frontend/public/experts/transparent/frankie.webp b/autogpt_platform/frontend/public/experts/transparent/frankie.webpnew file mode 100644index 0000000000..468879da65Binary files /dev/null and b/autogpt_platform/frontend/public/experts/transparent/frankie.webp differdiff --git a/autogpt_platform/frontend/public/experts/transparent/maria.webp b/autogpt_platform/frontend/public/experts/transparent/maria.webpnew file mode 100644index 0000000000..59eb03e5b5Binary files /dev/null and b/autogpt_platform/frontend/public/experts/transparent/maria.webp differdiff --git a/autogpt_platform/frontend/public/experts/transparent/max.webp b/autogpt_platform/frontend/public/experts/transparent/max.webpnew file mode 100644index 0000000000..dad3bd665eBinary files /dev/null and b/autogpt_platform/frontend/public/experts/transparent/max.webp differdiff --git a/autogpt_platform/frontend/public/experts/transparent/mina.webp b/autogpt_platform/frontend/public/experts/transparent/mina.webpnew file mode 100644index 0000000000..5d2baadd99Binary files /dev/null and b/autogpt_platform/frontend/public/experts/transparent/mina.webp differdiff --git a/autogpt_platform/frontend/public/experts/transparent/nadia.webp b/autogpt_platform/frontend/public/experts/transparent/nadia.webpnew file mode 100644index 0000000000..cf56176dfbBinary files /dev/null and b/autogpt_platform/frontend/public/experts/transparent/nadia.webp differdiff --git a/autogpt_platform/frontend/public/experts/transparent/otto.webp b/autogpt_platform/frontend/public/experts/transparent/otto.webpnew file mode 100644index 0000000000..b44bf2ebc4Binary files /dev/null and b/autogpt_platform/frontend/public/experts/transparent/otto.webp differdiff --git a/autogpt_platform/frontend/public/experts/transparent/riley.webp b/autogpt_platform/frontend/public/experts/transparent/riley.webpnew file mode 100644index 0000000000..297fe53985Binary files /dev/null and b/autogpt_platform/frontend/public/experts/transparent/riley.webp differdiff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/MicButton.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/MicButton.tsxindex 62586aa222..d5bdfeea51 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/MicButton.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/MicButton.tsx@@ -135,7 +135,7 @@ export function MicButton({willChange: "transform, opacity",}}>- <AutopilotAvatar size={AVATAR_SIZE} />+ <AutopilotAvatar size={AVATAR_SIZE} transparent /></motion.div><VoiceDotslevels={levels}diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/ConnectStep/ConnectStep.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/ConnectStep/ConnectStep.tsxindex a5c1ca9204..d804826ca3 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/ConnectStep/ConnectStep.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/ConnectStep/ConnectStep.tsx@@ -30,7 +30,7 @@ export function ConnectStep() {<FadeIn><div className="flex w-full max-w-2xl flex-col items-center gap-8 px-4"><div className="flex flex-col items-center gap-4 text-center">- <AutopilotAvatar size={120} />+ <AutopilotAvatar size={120} transparent /><Text variant="h4" as="h1">Already paying for an AI subscription?</Text>diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/HireStep.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/HireStep.tsxindex 5d10aadf77..b9f2b1f90d 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/HireStep.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/HireStep.tsx@@ -37,7 +37,7 @@ export function HireStep() {<FadeIn><div className="flex w-full flex-col items-center gap-8 px-4"><div className="mx-auto flex w-full max-w-lg flex-col items-center gap-4 px-4 text-center">- <AutopilotAvatar size={120} />+ <AutopilotAvatar size={120} transparent /><Text variant="h4" as="h1">{hireTitle(step.team, step.isPending)}</Text>diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/components/RecommendedExpertCard.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/components/RecommendedExpertCard.tsxindex 7c004f0a37..3e5fbaffc1 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/components/RecommendedExpertCard.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/components/RecommendedExpertCard.tsx@@ -1,5 +1,7 @@"use client";+import { getExpertRoleLabel } from "@/services/experts/expert-role-label";+import type { RecommendedExpert } from "@/app/api/__generated__/models/recommendedExpert";import { Button } from "@/components/atoms/Button/Button";import { Icon } from "@/components/atoms/Icon/Icon";@@ -46,7 +48,7 @@ export function RecommendedExpertCard({{expert.name}</Text><Text variant="small" tone="muted" className="truncate">- {expert.role}+ {getExpertRoleLabel(expert.role)}</Text></div></div>diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/helpers.ts b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/helpers.tsindex 299ce6d17b..d3dd9e56bf 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/helpers.ts+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/helpers.ts@@ -43,5 +43,5 @@ export function continueLabel(hiredCount: number): string {export function raiseNote(role: string | null | undefined): string | null {if (!role) return null;- return `Nobody on the roster covers ${role} yet — you can raise your own ${role} once you're set up.`;+ return `Nobody on the roster covers ${role} yet — you can create your own ${role} once you're set up.`;}diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/IntroStep.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/IntroStep.tsxindex 38d2b2203e..a00821195c 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/IntroStep.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/IntroStep.tsx@@ -3,6 +3,7 @@import { Button } from "@/components/atoms/Button/Button";import { FadeIn } from "@/components/atoms/FadeIn/FadeIn";import { Text } from "@/components/atoms/Text/Text";+import { cn } from "@/lib/utils";import { useOnboardingWizardStore } from "../../store";import { AutopilotScene } from "./components/AutopilotScene";import { TeamScene } from "./components/TeamScene";@@ -25,14 +26,22 @@ export function IntroStep({ slide }: Props) {const Scene = SCENES[slide];return (- <FadeIn className="flex w-full max-w-lg flex-col items-center gap-8 px-4">+ <FadeIn+ className={cn(+ "flex w-full flex-col items-center gap-8 px-4",+ slide === "team" ? "max-w-2xl" : "max-w-lg",+ )}+ ><Text variant="h4" as="h1" className="text-center leading-tight">{title}</Text><divdata-testid="intro-stage"- className="relative h-[340px] w-full overflow-hidden"+ className={cn(+ "relative w-full overflow-hidden",+ slide === "team" ? "h-[420px]" : "h-[340px]",+ )}><Scene /></div>diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/__tests__/IntroStep.test.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/__tests__/IntroStep.test.tsxindex 97e0dd2bd7..9eb9717adc 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/__tests__/IntroStep.test.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/__tests__/IntroStep.test.tsx@@ -23,13 +23,13 @@ describe("IntroStep", () => {).toBeDefined();});- it("draws each non-idle team member's status dot", () => {+ it("shows the three approved identities without invented task states", () => {render(<IntroStep slide="team" />);- const dots = screen- .getAllByTestId("status-dot")- .map((dot) => dot.getAttribute("data-status"));- expect(dots).toEqual(- expect.arrayContaining(["working", "thinking", "done"]),- );+ expect(+ screen.getByRole("img", { name: "Otto, your personal Head of AI" }),+ ).toBeDefined();+ expect(screen.getByRole("img", { name: "Maria, AI Expert" })).toBeDefined();+ expect(screen.getByRole("img", { name: "Mina, AI Expert" })).toBeDefined();+ expect(screen.queryAllByTestId("status-dot")).toHaveLength(0);});});diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/AutopilotScene.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/AutopilotScene.tsxindex e4c6204af1..f9b547e149 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/AutopilotScene.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/AutopilotScene.tsx@@ -1,14 +1,14 @@import { Icon } from "@/components/atoms/Icon/Icon";import { Text } from "@/components/atoms/Text/Text";-import { AutopilotAvatar } from "@/components/molecules/AutopilotAvatar/AutopilotAvatar";import { ArrowRight01Icon } from "@hugeicons/core-free-icons";import { motion } from "framer-motion";+import { AutopilotAvatar } from "@/components/molecules/AutopilotAvatar/AutopilotAvatar";const POINTS = [- "I manage everything for you.",+ "I help plan and coordinate your work.","When an expert gets stuck, I step in.","I delegate tasks across the team.",- "I hire new experts when you need them.",+ "I suggest Experts you can hire.",];const EASE = [0.22, 1, 0.36, 1] as const;@@ -20,13 +20,7 @@ function reveal(i: number) {export function AutopilotScene() {return (<div className="flex h-full flex-col items-center justify-start gap-4">- <motion.div- initial={{ opacity: 0, y: 12, scale: 0.9 }}- animate={{ opacity: 1, y: 0, scale: 1 }}- transition={{ duration: 0.6, ease: EASE }}- >- <AutopilotAvatar size={120} />- </motion.div>+ <AutopilotAvatar size={120} transparent /><div className="flex flex-col items-center gap-3"><ul className="flex flex-col items-center gap-2">diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/TeamScene.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/TeamScene.tsxindex 38c6e2c364..7f5d1e7dd5 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/TeamScene.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/TeamScene.tsx@@ -1,193 +1,73 @@+import Image from "next/image";import { AutopilotAvatar } from "@/components/molecules/AutopilotAvatar/AutopilotAvatar";-import type { AvatarStatus } from "@/components/molecules/NotionAvatar/status";-import {- notionConfigForName,- type NotionColorId,-} from "@/components/molecules/NotionAvatar/helpers";-import { NotionAvatarImage } from "@/components/molecules/NotionAvatar/NotionAvatarImage";-import { motion } from "framer-motion";--interface Member {- name: string;- /** Otto keeps his own drawing; everyone else gets a name-seeded face. */- color?: NotionColorId;- status: AvatarStatus;- size: number;- x: number;- y: number;- parent?: string;-}--const WIDTH = 420;-const HEIGHT = 340;-const CORNER = 10;--const TEAM: Member[] = [- {- name: "Otto",- status: "idle",- size: 104,- x: 210,- y: 56,- },- {- name: "Ops",- color: "emerald",- status: "working",- size: 84,- x: 105,- y: 176,- parent: "Otto",- },- {- name: "Research",- color: "sky",- status: "thinking",- size: 84,- x: 210,- y: 176,- parent: "Otto",- },- {- name: "Marketing",- color: "orange",- status: "done",- size: 84,- x: 315,- y: 176,- parent: "Otto",- },- {- name: "Finance",- color: "amber",- status: "idle",- size: 72,- x: 52,- y: 298,- parent: "Ops",- },- {- name: "Support",- color: "rose",- status: "working",- size: 72,- x: 158,- y: 298,- parent: "Ops",- },- {- name: "Sales",- color: "indigo",- status: "idle",- size: 72,- x: 262,- y: 298,- parent: "Marketing",- },- {- name: "Design",- color: "yellow",- status: "thinking",- size: 72,- x: 368,- y: 298,- parent: "Marketing",- },-];--const BY_NAME = Object.fromEntries(TEAM.map((m) => [m.name, m]));-const PARENTS = TEAM.filter((m) => TEAM.some((c) => c.parent === m.name));--function depth(member: Member): number {- return member.parent ? depth(BY_NAME[member.parent]) + 1 : 0;-}--function branch(parent: Member): string {- const kids = TEAM.filter((c) => c.parent === parent.name);- const stemStart = parent.y + parent.size / 2;- const kidTop = Math.min(...kids.map((k) => k.y - k.size / 2));- const bus = (stemStart + kidTop) / 2;- const stem = `M ${parent.x} ${stemStart} V ${bus}`;- const left = Math.min(...kids.map((k) => k.x));- const right = Math.max(...kids.map((k) => k.x));- const drops = kids- .filter((k) => k.x !== left && k.x !== right)- .map((k) => `M ${k.x} ${bus} V ${k.y - k.size / 2}`)- .join(" ");- const rail = [- `M ${left} ${kidTop} V ${bus + CORNER}`,- `Q ${left} ${bus} ${left + CORNER} ${bus}`,- `H ${right - CORNER}`,- `Q ${right} ${bus} ${right} ${bus + CORNER}`,- `V ${kidTop}`,- ].join(" ");- return `${stem} ${rail} ${drops}`;-}--const EASE = [0.22, 1, 0.36, 1] as const;+import { TEAM, TEAM_PARENTS, teamBranch } from "./teamSceneHelpers";export function TeamScene() {return (- <div className="flex h-full items-center justify-center">- <svg- role="img"- aria-label="Otto and your team of AI experts"- viewBox={`0 0 ${WIDTH} ${HEIGHT}`}- className="h-auto w-full max-w-[420px]"- >- {PARENTS.map((p) => (- <motion.path- key={p.name}- d={branch(p)}+ <div+ role="group"+ className="flex h-full items-center justify-center"+ aria-label="Otto and your team of AI Experts"+ >+ <svg viewBox="0 0 600 420" className="h-auto w-full max-w-[600px]">+ {TEAM_PARENTS.map((member) => (+ <path+ key={member.asset}+ d={teamBranch(member)}+ aria-hidden="true"fill="none"- className="stroke-zinc-300"+ className="stroke-border"strokeWidth={2}strokeLinecap="round"strokeLinejoin="round"- initial={{ pathLength: 0, opacity: 0 }}- animate={{ pathLength: 1, opacity: 1 }}- transition={{- delay: 0.25 + depth(p) * 0.3,- duration: 0.7,- ease: EASE,- }}/>))}{TEAM.map((member) => (- <foreignObject- key={member.name}- x={member.x - member.size / 2}- y={member.y - member.size / 2}- width={member.size}- height={member.size}- overflow="visible"- >- <motion.div- initial={{ opacity: 0, y: 10, scale: 0.8 }}- animate={{ opacity: 1, y: 0, scale: 1 }}- transition={{- delay: 0.1 + depth(member) * 0.3,- duration: 0.6,- ease: EASE,- }}- >- {member.color ? (- <NotionAvatarImage- config={{- ...notionConfigForName(member.name),- color: member.color,- }}- status={member.status}- size={member.size}- title={member.name}- />- ) : (- <AutopilotAvatar size={member.size} />- )}- </motion.div>- </foreignObject>+ <TeamNode key={member.asset} member={member} />))}</svg></div>);}++interface Props {+ member: (typeof TEAM)[number];+}++function TeamNode({ member }: Props) {+ return (+ <g>+ <foreignObject+ x={member.x - member.size / 2}+ y={member.y - member.size / 2}+ width={member.size}+ height={member.size}+ >+ {member.asset === "otto" ? (+ <AutopilotAvatar size={member.size} transparent />+ ) : (+ <Image+ src={`/experts/transparent/${member.asset}.webp`}+ alt={`${member.name}, AI Expert`}+ width={member.size}+ height={member.size}+ sizes={`${member.size}px`}+ className="h-full w-full object-contain"+ />+ )}+ </foreignObject>+ <foreignObject+ x={member.x - 72}+ y={member.y + member.size / 2 + 4}+ width={144}+ height={20}+ >+ <div className="text-center text-xs leading-4">+ <span className="block font-medium text-foreground">+ {member.name}+ </span>+ </div>+ </foreignObject>+ </g>+ );+}diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/teamSceneHelpers.ts b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/teamSceneHelpers.tsnew file mode 100644index 0000000000..8350526a00--- /dev/null+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/teamSceneHelpers.ts@@ -0,0 +1,53 @@+interface TeamMember {+ name: string;+ asset: string;+ x: number;+ y: number;+ size: number;+ parent?: string;+}++export const TEAM: TeamMember[] = [+ { name: "Otto", asset: "otto", x: 300, y: 48, size: 88 },+ { name: "Maria", asset: "maria", x: 150, y: 202, size: 80, parent: "otto" },+ { name: "Max", asset: "max", x: 300, y: 202, size: 80, parent: "otto" },+ { name: "Mina", asset: "mina", x: 450, y: 202, size: 80, parent: "otto" },+ {+ name: "Frankie",+ asset: "frankie",+ x: 75,+ y: 360,+ size: 72,+ parent: "maria",+ },+ { name: "Devon", asset: "devon", x: 225, y: 360, size: 72, parent: "maria" },+ { name: "Riley", asset: "riley", x: 375, y: 360, size: 72, parent: "mina" },+ { name: "Nadia", asset: "nadia", x: 525, y: 360, size: 72, parent: "mina" },+];++export const TEAM_PARENTS = TEAM.filter((member) =>+ TEAM.some((child) => child.parent === member.asset),+);++export function teamBranch(parent: TeamMember): string {+ const children = TEAM.filter((member) => member.parent === parent.asset);+ const start = parent.y + parent.size / 2 + 24;+ const top = Math.min(...children.map((child) => child.y - child.size / 2));+ const middle = (start + top) / 2;+ const left = children[0].x;+ const right = children[children.length - 1].x;+ const corner = Math.min(10, top - middle);+ const drops = children+ .slice(1, -1)+ .map((child) => `M ${child.x} ${middle} V ${top}`)+ .join(" ");++ return [+ `M ${parent.x} ${start} V ${middle}`,+ `M ${left} ${top} V ${middle + corner}`,+ `Q ${left} ${middle} ${left + corner} ${middle}`,+ `H ${right - corner}`,+ `Q ${right} ${middle} ${right} ${middle + corner} V ${top}`,+ drops,+ ].join(" ");+}diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/PreparingStep.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/PreparingStep.tsxindex 5d2d27739d..7d8175f8f1 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/PreparingStep.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/PreparingStep.tsx@@ -25,7 +25,7 @@ export function PreparingStep({return (<div className="flex w-full max-w-md flex-col items-center gap-8 px-4"><div className="flex flex-col items-center gap-4">- <AutopilotAvatar size={120} />+ <AutopilotAvatar size={120} transparent /><Text variant="h4" className="text-center"><TypingTexttext="Preparing your workspace..."diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/RoleStep.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/RoleStep.tsxindex a0e7757d58..eb5fd18272 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/RoleStep.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/RoleStep.tsx@@ -85,7 +85,7 @@ export function RoleStep() {<FadeIn><div className="flex w-full flex-col items-center gap-8 px-4"><div className="mx-auto flex w-full max-w-lg flex-col items-center gap-4 px-4 text-center">- <AutopilotAvatar size={120} />+ <AutopilotAvatar size={120} transparent /><Text variant="h4">What best describes you?</Text></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/recipient-colors.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/recipient-colors.test.tsxindex 8cf4a4ea34..9e5a830b28 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/recipient-colors.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/recipient-colors.test.tsx@@ -40,15 +40,15 @@ function Picker() {}describe("recipient colors", () => {- it("keeps roster colors in the selected avatar and menu", async () => {+ it("keeps the saved appearance color independent of the owner token", async () => {server.use(http.get("*/api/experts/identities", () =>HttpResponse.json([{id: "expert-maria",name: "Maria",- color: "orange-500",- avatar_url: null,+ color: "violet-300",+ avatar_url: "/avatars/notion/0-0-0-0-0-0-0-0-0-0.orange.svg",role: "Marketing",is_archived: false,},diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatMessagesContainer/components/ThreadHeader.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatMessagesContainer/components/ThreadHeader.tsxindex 0876241c32..8418e789bc 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatMessagesContainer/components/ThreadHeader.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatMessagesContainer/components/ThreadHeader.tsx@@ -103,13 +103,14 @@ export function ThreadHeader({color={expertIdentity?.color}isAutopilot={!expertIdentity && !isResolving}isLoading={isResolving}- size="sm"+ size="md"/>{isResolving ? (<Skeleton className="h-3.5 w-16 rounded" />) : (<span className="min-w-0 max-w-[10rem]"><ExpertIdentityDetails+ isOtto={!expertIdentity && !isResolving}name={name}role={role}jobTitle={jobTitle}diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatSidebar/components/ExpertSessionGroup/ExpertSessionGroup.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatSidebar/components/ExpertSessionGroup/ExpertSessionGroup.test.tsxnew file mode 100644index 0000000000..c0c31669a9--- /dev/null+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatSidebar/components/ExpertSessionGroup/ExpertSessionGroup.test.tsx@@ -0,0 +1,17 @@+import { render, screen } from "@testing-library/react";+import { expect, test } from "vitest";+import { ExpertSessionGroup } from "./ExpertSessionGroup";++test("does not label the mixed pinned group as an AI Expert", () => {+ render(+ <ExpertSessionGroup+ groupKey="pinned"+ label="Pinned"+ sessions={[]}+ renderRow={() => null}+ />,+ );+ expect(screen.getByRole("button", { name: "Pinned" })).toBeDefined();+ expect(screen.queryByText("AI Expert")).toBeNull();+ expect(screen.queryByText("Your personal Head of AI")).toBeNull();+});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatSidebar/components/ExpertSessionGroup/ExpertSessionGroup.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatSidebar/components/ExpertSessionGroup/ExpertSessionGroup.tsxindex 972d0f0451..70be6da28c 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatSidebar/components/ExpertSessionGroup/ExpertSessionGroup.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatSidebar/components/ExpertSessionGroup/ExpertSessionGroup.tsx@@ -1,4 +1,5 @@import type { SessionSummaryResponse } from "@/app/api/__generated__/models/sessionSummaryResponse";+import { Text } from "@/components/atoms/Text/Text";import { Button } from "@/components/atoms/Button/Button";import { Icon } from "@/components/atoms/Icon/Icon";import {@@ -47,7 +48,18 @@ export function ExpertSessionGroup({data-testid={`expert-group-header-${groupKey}`}className="flex items-center justify-between gap-2 px-3 pb-1 pt-2 text-zinc-500 hover:text-zinc-700">- <ExpertIdentityDetails name={label} role={role} size="compact" />+ {groupKey === "pinned" ? (+ <Text as="span" variant="body-medium">+ {label}+ </Text>+ ) : (+ <ExpertIdentityDetails+ isOtto={groupKey === "autopilot"}+ name={label}+ role={role}+ size="compact"+ />+ )}<Iconicon={ArrowDown01Icon}className="size-4 transition-transform duration-200 group-data-[state=open]/collapsible:rotate-180 motion-reduce:transition-none"diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/EmptySession/__tests__/EmptySession.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/EmptySession/__tests__/EmptySession.test.tsxindex af35cbe447..e37add058c 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/EmptySession/__tests__/EmptySession.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/EmptySession/__tests__/EmptySession.test.tsx@@ -89,7 +89,7 @@ describe("EmptySession — recipient-aware intro", () => {await waitFor(() =>expect(normalizeWhitespace(container)).toContain(- "I'm Sam, your Sales expert. What should I take on?",+ "I'm Sam, your Sales Development Rep. What should I take on?",),);});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/EmptySession/helpers.test.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/components/EmptySession/helpers.test.tsindex a285b29841..ebc148c92c 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/EmptySession/helpers.test.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/EmptySession/helpers.test.ts@@ -11,7 +11,7 @@ describe("getExpertRoleLabel", () => {["Writer", "Writer"],["Analyst", "Analyst"],["Recruiter", "Recruiter"],- ["Sales", "Sales expert"],+ ["Sales", "Sales Development Rep"],["Support", "Support expert"],["Operations", "Operations expert"],])("labels the %s preset as %s", (role, expected) => {@@ -32,7 +32,7 @@ describe("getExpertRoleLabel", () => {test.each([["Marketing", "Marketing expert"],["Customer Success", "Customer Success expert"],- ["Social Media", "Social media expert"],+ ["Social Media", "Social Media Manager"],["SEO", "SEO expert"],["Legal", "Legal expert"],])("calls the bare-domain custom role %s an expert", (role, expected) => {@@ -40,8 +40,8 @@ describe("getExpertRoleLabel", () => {});test.each([- ["Social & Content Repurposing", "Social media expert"],- ["Market & Competitor Intelligence", "Market intelligence expert"],+ ["Social & Content Repurposing", "Social Media Manager"],+ ["Market & Competitor Intelligence", "Market Research Analyst"],])("shortens the roster role %s to %s", (role, expected) => {expect(getExpertRoleLabel(role)).toBe(expected);});@@ -62,7 +62,7 @@ describe("getIntroLine", () => {test("introduces an expert whose role is a bare domain", () => {expect(getIntroLine({ name: "Sam", role: "Sales" })).toBe(- "I'm Sam, your Sales expert. What should I take on?",+ "I'm Sam, your Sales Development Rep. What should I take on?",);});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ExpertOnboardingCard/__tests__/ExpertOnboardingCard.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ExpertOnboardingCard/__tests__/ExpertOnboardingCard.test.tsxindex d5dd8f5e64..b360793488 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ExpertOnboardingCard/__tests__/ExpertOnboardingCard.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ExpertOnboardingCard/__tests__/ExpertOnboardingCard.test.tsx@@ -91,7 +91,7 @@ describe("ExpertOnboardingCard", () => {renderCard(onboardingPart());expect(screen.getByText("Ada")).toBeDefined();- expect(screen.getByText("Social media")).toBeDefined();+ expect(screen.getByText("Social Media Manager")).toBeDefined();expect(screen.queryByText("Social & Content Repurposing")).toBeNull();expect(screen.getByText("Hi, I'm Ada — good to be working with you."),diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/OnboardingWelcomeDialog/OnboardingWelcomeDialog.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/OnboardingWelcomeDialog/OnboardingWelcomeDialog.tsxindex 64cefe7810..04ed20625d 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/OnboardingWelcomeDialog/OnboardingWelcomeDialog.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/OnboardingWelcomeDialog/OnboardingWelcomeDialog.tsx@@ -73,8 +73,8 @@ const TEAM_CARDS: CapabilityCard[] = [icon: SparklesIcon,},{- title: "Hire an expert, or raise your own.",- body: "Pick a ready-made expert for marketing, sales or ops, or describe a role and raise one from scratch.",+ title: "Hire an expert, or create your own.",+ body: "Pick a ready-made expert for marketing, sales or ops, or describe a role and create one from scratch.",icon: UserGroupIcon,},{diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/OnboardingWelcomeDialog/__tests__/welcome-dialog.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/OnboardingWelcomeDialog/__tests__/welcome-dialog.test.tsxindex 81375a99e0..525659a77b 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/OnboardingWelcomeDialog/__tests__/welcome-dialog.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/OnboardingWelcomeDialog/__tests__/welcome-dialog.test.tsx@@ -300,7 +300,7 @@ describe("OnboardingWelcomeDialog — the team deck", () => {const user = await advanceToCard(1);expect(- await screen.findByText("Hire an expert, or raise your own."),+ await screen.findByText("Hire an expert, or create your own."),).toBeDefined();await user.click(screen.getByRole("button", { name: "Next" }));diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/ExpertCards.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/ExpertCards.tsxindex 0b934f2409..19207be24f 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/ExpertCards.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/ExpertCards.tsx@@ -80,7 +80,7 @@ function headerFor(? "Expert hired": kind === "update"? "Expert updated"- : "Expert raised",+ : "Expert created",};}return {@@ -90,7 +90,7 @@ function headerFor(? "Hire an expert": kind === "update"? "Update an expert"- : "Raise an expert",+ : "Create an Expert",};}@@ -321,7 +321,7 @@ export function ExpertChangeCardSkeleton() {<div className={HEADER}><Icon icon={UserAdd01Icon} size={18} className="text-zinc-400" /><span className="text-sm font-medium text-zinc-900">- Raise an expert+ Create an Expert</span></div><div className="px-4 py-3">diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ExpertCards.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ExpertCards.test.tsxindex 0f53bb4a50..2bb05e3e43 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ExpertCards.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ExpertCards.test.tsx@@ -66,7 +66,7 @@ describe("expert change cards", () => {/>,);- expect(screen.getByText("Raise an expert")).toBeDefined();+ expect(screen.getByText("Create an Expert")).toBeDefined();expect(screen.getByText("Otto")).toBeDefined();expect(screen.getByText("Inbox triage")).toBeDefined();expect(screen.getByText("Sorts your morning inbox.")).toBeDefined();@@ -231,7 +231,7 @@ describe("expert change cards", () => {/>,);- expect(screen.getByText("Expert raised")).toBeDefined();+ expect(screen.getByText("Expert created")).toBeDefined();expect(screen.getByText("Otto")).toBeDefined();expect(screen.getByText("Inbox triage")).toBeDefined();expect(screen.queryByText("Raised")).toBeNull();diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/toolCatalog.test.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/toolCatalog.test.tsindex d56c12c644..c8179c643b 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/toolCatalog.test.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/toolCatalog.test.ts@@ -226,7 +226,7 @@ describe("getCatalogLabel", () => {).toEqual({ category: "team", text: "Ready to hire" });expect(getCatalogLabel("raise_expert", { name: "Otto" }, "done")).toEqual({category: "team",- text: 'Ready to raise "Otto"',+ text: 'Ready to create "Otto"',});expect(getCatalogLabel(diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/toolCatalog.agent.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/toolCatalog.agent.tsindex 0c39c05bb6..8a4cee6af1 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/toolCatalog.agent.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/toolCatalog.agent.ts@@ -180,7 +180,7 @@ export const AGENT_TOOL_CATALOG: Record<string, ToolMeta> = {raise_expert: {category: "team",running: "Writing a charter for",- done: "Ready to raise",+ done: "Ready to create",subject: (input) => quoted(input, "name", 30),},update_expert: {diff --git a/autogpt_platform/frontend/src/app/(platform)/home/components/AgentTeam/components/AgentRow.tsx b/autogpt_platform/frontend/src/app/(platform)/home/components/AgentTeam/components/AgentRow.tsxindex 7456efa14c..7363e6fdfc 100644--- a/autogpt_platform/frontend/src/app/(platform)/home/components/AgentTeam/components/AgentRow.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/home/components/AgentTeam/components/AgentRow.tsx@@ -39,6 +39,16 @@ export function AgentRow({ agent }: Props) {</Text><StatusBadge status={agent.status} /></div>+ <Text variant="small" tone="secondary" className="break-words">+ {agent.detail || "No status details available."}{" "}+ {agent.status === "failed"+ ? "Open Manage to inspect recent work."+ : agent.status === "needs_setup"+ ? "Open Manage to finish setup."+ : agent.status === "paused"+ ? "Open Manage to review settings."+ : "Open Chat to give instructions."}+ </Text>{secondLine ? (<Textvariant="small"diff --git a/autogpt_platform/frontend/src/app/(platform)/home/components/NeedsYou/components/AttentionRow.tsx b/autogpt_platform/frontend/src/app/(platform)/home/components/NeedsYou/components/AttentionRow.tsxindex 6f6029073e..b1581902a1 100644--- a/autogpt_platform/frontend/src/app/(platform)/home/components/NeedsYou/components/AttentionRow.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/home/components/NeedsYou/components/AttentionRow.tsx@@ -71,7 +71,7 @@ export function AttentionRow({ item, isProcessing, onDecision }: Props) {<Textvariant="body"tone="secondary"- className="line-clamp-2 text-pretty"+ className="text-pretty break-words">{item.description}</Text>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/RunStatusBadge.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/RunStatusBadge.tsxindex 75c1264864..56f90d3f42 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/RunStatusBadge.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/RunStatusBadge.tsx@@ -1,3 +1,4 @@+import { getRunStatusInfo } from "@/components/molecules/RunStatusBadge/RunStatusBadge";import { AgentExecutionStatus } from "@/app/api/__generated__/models/agentExecutionStatus";import { Text } from "@/components/atoms/Text/Text";import { cn } from "@/lib/utils";@@ -75,7 +76,7 @@ export function RunStatusBadge({ status }: Props) {variant="small-medium"className={cn(statusIconMap[status].textColor, "capitalize")}>- {status.toLowerCase()}+ {getRunStatusInfo(status).label}</Text></div>);diff --git a/autogpt_platform/frontend/src/app/(platform)/marketplace/__tests__/experts-category-filter.test.tsx b/autogpt_platform/frontend/src/app/(platform)/marketplace/__tests__/experts-category-filter.test.tsxindex e04a0c3e80..0a78fbc067 100644--- a/autogpt_platform/frontend/src/app/(platform)/marketplace/__tests__/experts-category-filter.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/marketplace/__tests__/experts-category-filter.test.tsx@@ -181,7 +181,7 @@ describe("Marketplace category filter over experts", () => {);// Not the empty-roster fallback either: a filtered shelf offers no// invitation to raise an expert.- expect(screen.queryByRole("link", { name: "Raise your own" })).toBeNull();+ expect(screen.queryByRole("link", { name: "Create an Expert" })).toBeNull();});test("a failed roster request under a category still offers the raise link", async () => {@@ -199,13 +199,15 @@ describe("Marketplace category filter over experts", () => {await userEvent.click(await findCategoryChip("Sales"));- // The header carries its own "Raise your own" link, so wait for it to go:+ // The header carries its own "Create an Expert" link, so wait for it to go:// a failure is not an answer about the category, so the fallback stays.await waitFor(() =>expect(screen.queryByText("Meet the AI Experts")).toBeNull(),);expect(- screen.getByRole("link", { name: "Raise your own" }).getAttribute("href"),+ screen+ .getByRole("link", { name: "Create an Expert" })+ .getAttribute("href"),).toBe("/raise");});});diff --git a/autogpt_platform/frontend/src/app/(platform)/marketplace/__tests__/experts-section.test.tsx b/autogpt_platform/frontend/src/app/(platform)/marketplace/__tests__/experts-section.test.tsxindex 37557250db..6f2459dacf 100644--- a/autogpt_platform/frontend/src/app/(platform)/marketplace/__tests__/experts-section.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/marketplace/__tests__/experts-section.test.tsx@@ -111,7 +111,9 @@ describe("Marketplace ExpertsSection", () => {expect(await screen.findByText("Meet the AI Experts")).toBeDefined();expect(- screen.getByRole("link", { name: "Raise your own" }).getAttribute("href"),+ screen+ .getByRole("link", { name: "Create an Expert" })+ .getAttribute("href"),).toBe("/raise");// The card is the link: a shared URL lands on the same profile the// marketplace opens, with no dialog in between.@@ -141,7 +143,7 @@ describe("Marketplace ExpertsSection", () => {expect(card.getAttribute("href")).toBe("/marketplace/experts/template-maria",);- expect(screen.queryByText("Raise your own")).toBeNull();+ expect(screen.queryByText("Create an Expert")).toBeNull();expect(screen.queryByRole("link", { name: "View your team" })).toBeNull();expect(rosterRequested).toBe(false);});@@ -161,7 +163,7 @@ describe("Marketplace ExpertsSection", () => {expect(await screen.findByText("All AI Workflows")).toBeDefined();expect(screen.queryByText("Meet the AI Experts")).toBeNull();- expect(screen.queryByText(/raise your own expert/)).toBeNull();+ expect(screen.queryByText(/create your own expert/)).toBeNull();expect(templatesRequested).toBe(false);});@@ -176,7 +178,7 @@ describe("Marketplace ExpertsSection", () => {await waitFor(() => {const raiseLink = screen.getByRole("link", {- name: "Raise your own",+ name: "Create an Expert",});expect(raiseLink.getAttribute("href")).toBe("/raise");expect(screen.queryByText("Meet the AI Experts")).toBeNull();@@ -196,7 +198,7 @@ describe("Marketplace ExpertsSection", () => {render(<MainMarkeplacePage />);const raiseLink = await screen.findByRole("link", {- name: "Raise your own",+ name: "Create an Expert",});expect(raiseLink.getAttribute("href")).toBe("/raise");});@@ -251,7 +253,7 @@ describe("Marketplace ExpertsSection", () => {expect(within(maria).getByText("SEO Content Manager")).toBeDefined();expect(within(maria).queryByText("Marketing Strategist")).toBeNull();const max = screen.getByRole("link", { name: /Max/ });- expect(within(max).getByText("Sales")).toBeDefined();+ expect(within(max).getByText("Sales Development Rep")).toBeDefined();});test("shows no skills row on a card without Hub skills", async () => {diff --git a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/ExpertsSection/ExpertsSection.tsx b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/ExpertsSection/ExpertsSection.tsxindex 373ae3ffa7..fdca5ba0da 100644--- a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/ExpertsSection/ExpertsSection.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/ExpertsSection/ExpertsSection.tsx@@ -8,7 +8,7 @@ import { SectionHeader } from "../SectionHeader";import { ExpertCard } from "./components/ExpertCard";import { useExpertsSection } from "./useExpertsSection";-const RAISE_LABEL = "Raise your own";+const RAISE_LABEL = "Create an Expert";const RAISE_HREF = "/raise";interface Props {diff --git a/autogpt_platform/frontend/src/app/(platform)/marketplace/experts/[expertId]/components/ExpertPage.tsx b/autogpt_platform/frontend/src/app/(platform)/marketplace/experts/[expertId]/components/ExpertPage.tsxindex 2e28f2a58d..c0c70856a7 100644--- a/autogpt_platform/frontend/src/app/(platform)/marketplace/experts/[expertId]/components/ExpertPage.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/marketplace/experts/[expertId]/components/ExpertPage.tsx@@ -5,6 +5,7 @@ import {getExpertAccessProviders,getExpertFirstName,} from "@/app/(platform)/marketplace/components/ExpertsSection/helpers";+import { Text } from "@/components/atoms/Text/Text";import { Icon } from "@/components/atoms/Icon/Icon";import { Skeleton } from "@/components/atoms/Skeleton/Skeleton";import { Dialog } from "@/components/molecules/Dialog/Dialog";@@ -129,6 +130,10 @@ export function ExpertPage() {<main className={MAIN_CLASS}><BackToMarketplaceLink /><ExpertPageHeader expert={expert} actions={actions} />+ <Text variant="body" tone="secondary" className="mt-4">+ Hire an AI Expert for supported tasks you might otherwise contract out.+ Review outputs before using them.+ </Text><div className="mt-8 flex flex-col gap-10 border-t border-zinc-200 pt-8"><ExpertDayOnename={firstName}diff --git a/autogpt_platform/frontend/src/app/(platform)/marketplace/experts/[expertId]/page.tsx b/autogpt_platform/frontend/src/app/(platform)/marketplace/experts/[expertId]/page.tsxindex 2c7dc8b390..964f49d044 100644--- a/autogpt_platform/frontend/src/app/(platform)/marketplace/experts/[expertId]/page.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/marketplace/experts/[expertId]/page.tsx@@ -1,3 +1,4 @@+import { getExpertRoleLabel } from "@/services/experts/expert-role-label";import { listExpertTemplates } from "@/app/api/__generated__/endpoints/experts/experts";import { Expert } from "@/app/api/__generated__/models/expert";import { buildPageMetadata } from "@/lib/metadata";@@ -22,7 +23,7 @@ export async function generateMetadata({// avatar_url points at an SVG, which no unfurler renders, so this stays a// text card until experts have a raster image.return buildPageMetadata({- title: `${expert.name}, ${expert.role} - AutoGPT Marketplace`,+ title: `${expert.name}, ${expert.job_title || getExpertRoleLabel(expert.role)} · AI Expert - AutoGPT Marketplace`,description: expert.tagline || expert.bio,path,type: "profile",diff --git a/autogpt_platform/frontend/src/app/(platform)/marketplace/experts/__tests__/generateMetadata.test.ts b/autogpt_platform/frontend/src/app/(platform)/marketplace/experts/__tests__/generateMetadata.test.tsindex a515379860..8c4f1585ef 100644--- a/autogpt_platform/frontend/src/app/(platform)/marketplace/experts/__tests__/generateMetadata.test.ts+++ b/autogpt_platform/frontend/src/app/(platform)/marketplace/experts/__tests__/generateMetadata.test.ts@@ -33,9 +33,11 @@ describe("generateMetadata", () => {params: Promise.resolve({ expertId: "template-maria" }),});- expect(metadata.title).toBe("Maria, Marketing - AutoGPT Marketplace");+ expect(metadata.title).toBe(+ "Maria, Marketing · AI Expert - AutoGPT Marketplace",+ );expect(metadata.openGraph).toMatchObject({- title: "Maria, Marketing - AutoGPT Marketplace",+ title: "Maria, Marketing · AI Expert - AutoGPT Marketplace",description: "Turns your product story into campaigns that land.",type: "profile",});diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/main.test.tsx b/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/main.test.tsxindex a3ad7b5f7e..28df8a4d23 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/main.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/main.test.tsx@@ -68,7 +68,8 @@ const raisedExpert = {tagline: null,bio: null,skills: [],- identity: "I'm Otto, raised by you. I learn how you work and grow with you.",+ identity:+ "I'm Otto, an AI Expert created by you. I use your instructions to help with your work.",voice_preferences: "",boundaries: "",protected_soul_rules: [],@@ -296,7 +297,7 @@ test("unlocks finish after a raise POST fails so the user can retry", async () =seedAtSkills();renderRaise();await userEvent.click(await screen.findByRole("button", { name: /life/ }));- expect(await screen.findByText("Couldn't raise Otto")).toBeDefined();+ expect(await screen.findByText("Couldn't create Otto")).toBeDefined();await waitFor(() => expect(postCount).toBe(1));const retry = screen.getByRole("button", { name: /Bring Otto to life/ });@@ -323,7 +324,7 @@ test("shows a friendly limit message on 409", async () => {expect(pushMock).not.toHaveBeenCalled();});-test("distinguishes the lifetime raised-expert limit", async () => {+test("distinguishes the lifetime limit for created Experts", async () => {server.use(http.post("/api/proxy/api/experts/raise", () =>HttpResponse.json(@@ -607,3 +608,35 @@ test("a refresh resumes the draft from session storage", async () => {await screen.findByRole("button", { name: /Bring Nova to life/ }),).toBeDefined();});++test.each([400, 422, 503])(+ "keeps the draft and displays the recovery message when creation fails (%s)",+ async (status) => {+ server.use(+ http.post("*/api/experts/raise", () =>+ HttpResponse.json(+ {+ detail:+ "Upload this image again through the appearance picker so it can be reviewed.",+ },+ { status },+ ),+ ),+ );+ seedAtSkills();+ const draft = loadDraft();+ renderRaise();+ const finish = await screen.findByRole("button", {+ name: /Bring Otto to life/,+ });+ await userEvent.click(finish);+ expect(+ await screen.findByText(+ "Upload this image again through the appearance picker so it can be reviewed.",+ ),+ ).toBeDefined();+ expect(loadDraft()).toEqual(draft);+ expect(pushMock).not.toHaveBeenCalled();+ expect(finish.hasAttribute("disabled")).toBe(false);+ },+);diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/raise-typewriter.test.tsx b/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/raise-typewriter.test.tsxindex a393884583..459c1cd96c 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/raise-typewriter.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/raise-typewriter.test.tsx@@ -46,7 +46,7 @@ function renderRaise() {}function visibleBubbleText() {- const log = screen.getByRole("log", { name: "Raise expert conversation" });+ const log = screen.getByRole("log", { name: "Expert creation conversation" });return Array.from(log.querySelectorAll("span[aria-hidden]")).map((node) => node.textContent ?? "",);@@ -83,7 +83,7 @@ test("renders restored conversation messages instantly after reload", async () =expect(await screen.findByRole("log",- { name: "Raise expert conversation" },+ { name: "Expert creation conversation" },{ timeout: 5000 },),).toBeDefined();@@ -91,7 +91,9 @@ test("renders restored conversation messages instantly after reload", async () =const visible = visibleBubbleText();expect(visible.some((text) =>- text.includes("Hello, I'm Otto. I'll help you raise your own expert."),+ text.includes(+ "Hello, I'm Otto. I'll help you create your own AI Expert.",+ ),),).toBe(true);expect(diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/__tests__/NotionAvatarPicker.test.tsx b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/__tests__/NotionAvatarPicker.test.tsxindex d4d0430637..7a87730670 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/__tests__/NotionAvatarPicker.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/__tests__/NotionAvatarPicker.test.tsx@@ -3,16 +3,19 @@ import { server } from "@/mocks/mock-server";import { http, HttpResponse } from "msw";import userEvent from "@testing-library/user-event";import { describe, expect, it, vi } from "vitest";+import { Toaster } from "@/components/molecules/Toast/toaster";import { NotionAvatarPicker } from "../NotionAvatarPicker";describe("NotionAvatarPicker", () => {it("saves the color selected while an upload is still in flight, not the one queued before it", async () => {+ let purpose: string | null = null;let resolveUpload: (() => void) | undefined;const pending = new Promise<void>((resolve) => {resolveUpload = resolve;});server.use(- http.post("*/api/store/submissions/media", async () => {+ http.post("*/api/store/submissions/media", async ({ request }) => {+ purpose = new URL(request.url).searchParams.get("purpose");await pending;return HttpResponse.json("https://cdn.test/uploaded.png");}),@@ -37,9 +40,64 @@ describe("NotionAvatarPicker", () => {resolveUpload?.();await waitFor(() => expect(onPick).toHaveBeenCalledTimes(1));+ expect(purpose).toBe("expert-avatar");expect(onPick).toHaveBeenCalledWith("https://cdn.test/uploaded.png","blue-300",);});});++it.each([400, 422, 503])(+ "preserves the draft and explains an upload rejection (%s)",+ async (status) => {+ server.use(+ http.post("*/api/store/submissions/media", () =>+ HttpResponse.json(+ { detail: "Review unavailable. Please try again later." },+ { status },+ ),+ ),+ );+ const onPick = vi.fn();+ render(+ <>+ <NotionAvatarPicker name="Maria" color="rose-300" onPick={onPick} />+ <Toaster />+ </>,+ );+ const input = document.querySelector(+ 'input[type="file"]',+ ) as HTMLInputElement;+ await userEvent.upload(+ input,+ new File(["x"], "avatar.png", { type: "image/png" }),+ );+ expect(+ await screen.findByText("Review unavailable. Please try again later."),+ ).toBeDefined();+ expect(onPick).not.toHaveBeenCalled();+ },+);++it("does not offer or upload GIF appearances", async () => {+ const upload = vi.fn(() => HttpResponse.json("https://cdn.test/avatar.gif"));+ server.use(http.post("*/api/store/submissions/media", upload));+ render(+ <>+ <NotionAvatarPicker name="Maria" color="rose-300" onPick={vi.fn()} />+ <Toaster />+ </>,+ );+ const input = document.querySelector(+ 'input[type="file"]',+ ) as HTMLInputElement;+ expect(input.accept).not.toContain("image/gif");+ await userEvent+ .setup({ applyAccept: false })+ .upload(input, new File(["GIF89a"], "avatar.gif", { type: "image/gif" }));+ expect(+ await screen.findByText("Pick a PNG, JPEG, or WebP image."),+ ).toBeDefined();+ expect(upload).not.toHaveBeenCalled();+});diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/useNotionAvatarPicker.ts b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/useNotionAvatarPicker.tsindex 8e5373f1f6..31583f4017 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/useNotionAvatarPicker.ts+++ b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/useNotionAvatarPicker.ts@@ -1,4 +1,5 @@import { usePostV2UploadSubmissionMedia } from "@/app/api/__generated__/endpoints/store/store";+import { ApiError } from "@/lib/autogpt-server-api/helpers";import { toast } from "@/components/molecules/Toast/use-toast";import {clampPart,@@ -65,7 +66,7 @@ export function useNotionAvatarPicker({ name, color, onPick }: Args) {if (!ACCEPTED_AVATAR_TYPE_LIST.includes(file.type)) {toast({title: "That file isn't an image",- description: "Pick a PNG, JPEG, WEBP, or GIF.",+ description: "Pick a PNG, JPEG, or WebP image.",variant: "destructive",});return;@@ -81,12 +82,18 @@ export function useNotionAvatarPicker({ name, color, onPick }: Args) {setIsUploading(true);try {- const response = await uploadMedia({ data: { file } });+ const response = await uploadMedia({+ data: { file },+ params: { purpose: "expert-avatar" },+ });onPick(response.data as string, colorIdRef.current);- } catch {+ } catch (error) {toast({title: "Couldn't save that picture",- description: "Try another image, or keep the drawn face.",+ description:+ error instanceof ApiError+ ? error.message+ : "Try another image, or keep the drawn face.",variant: "destructive",});} finally {diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/helpers.ts b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/helpers.tsindex 81ef36a9c8..cfb6656776 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/helpers.ts+++ b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/helpers.ts@@ -1,4 +1,2 @@-export const ACCEPTED_AVATAR_TYPES =- "image/png,image/jpeg,image/webp,image/gif";-// The upload endpoint caps at 50MB, but an avatar has no business being large.+export const ACCEPTED_AVATAR_TYPES = "image/png,image/jpeg,image/webp";export const MAX_AVATAR_BYTES = 5 * 1024 * 1024;diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/components/RaiseFlow/RaiseFlow.tsx b/autogpt_platform/frontend/src/app/(platform)/raise/components/RaiseFlow/RaiseFlow.tsxindex cc6c9d31e8..5488ff4644 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/components/RaiseFlow/RaiseFlow.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/raise/components/RaiseFlow/RaiseFlow.tsx@@ -67,7 +67,7 @@ export function RaiseFlow() {onClick={startRaising}disabled={hasStarted}>- {hasStarted ? "Setting up expert now" : "Start raising"}+ {hasStarted ? "Setting up expert now" : "Create Expert"}{hasStarted ? null : <Icon icon={ArrowRight02Icon} size={14} />}</Button></div>@@ -100,7 +100,7 @@ export function RaiseFlow() {role="log"aria-live="polite"aria-relevant="additions text"- aria-label="Raise expert conversation"+ aria-label="Expert creation conversation"className="flex flex-col gap-4 px-4 pb-16 pt-6 scrollbar-none sm:px-6 lg:h-full lg:overflow-y-auto lg:px-8">{items.map(renderItem)}diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/helpers.test.ts b/autogpt_platform/frontend/src/app/(platform)/raise/helpers.test.tsindex e26e5ec4fa..b9a783dd7f 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/helpers.test.ts+++ b/autogpt_platform/frontend/src/app/(platform)/raise/helpers.test.ts@@ -43,7 +43,7 @@ describe("raise helpers", () => {test("builds the same complete raised identity shown by the backend", () => {expect(raisedIdentity("Otto")).toBe(- "I'm Otto, raised by you. I learn how you work and grow with you.",+ "I'm Otto, an AI Expert created by you. I use your instructions to help with your work.",);});diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/helpers.ts b/autogpt_platform/frontend/src/app/(platform)/raise/helpers.tsindex 86c7f9dfb7..d41c979ffd 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/helpers.ts+++ b/autogpt_platform/frontend/src/app/(platform)/raise/helpers.ts@@ -60,7 +60,7 @@ export const VOICE_SAMPLES: VoiceSample[] = [];export const RAISE_PROMPTS = {- greeting: "Hello, I'm Otto. I'll help you raise your own expert.",+ greeting: "Hello, I'm Otto. I'll help you create your own AI Expert.",roleQuestion: "First — what should your expert do for you?",jobTitleQuestion: "And what's their job title?",nameQuestion: "Good pick. What do you want to call them?",@@ -251,7 +251,7 @@ export function resolveVoicePreferences(export function raisedIdentity(name: string): string {// Keep this preview copy aligned with backend experts_db._raised_identity.- return `I'm ${name}, raised by you. I learn how you work and grow with you.`;+ return `I'm ${name}, an AI Expert created by you. I use your instructions to help with your work.`;}export function kitBudgetLabel(kit: RaiseKit | null): string | null {diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/useRaiseSubmission.ts b/autogpt_platform/frontend/src/app/(platform)/raise/useRaiseSubmission.tsindex f728894e82..f1f5f0d06b 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/useRaiseSubmission.ts+++ b/autogpt_platform/frontend/src/app/(platform)/raise/useRaiseSubmission.ts@@ -46,7 +46,7 @@ export function useRaiseSubmission() {const result = response.data as RaiseResult;if (result.failed_attachments?.length) {toast({- title: `Raised ${draft.name || "your expert"}, but some tools didn't attach`,+ title: `Created ${draft.name || "your expert"}, but some tools didn't attach`,description: failedAttachmentMessage(result.failed_attachments,kit.attachments,@@ -75,7 +75,7 @@ function reportFailure(error: unknown, name: string) {toast({title: "Expert creation limit reached",description:- "This account has reached its lifetime raised-expert limit. Contact support if you need more capacity.",+ "This account has reached its lifetime limit for created Experts. Contact support if you need more capacity.",variant: "destructive",});return;@@ -83,14 +83,17 @@ function reportFailure(error: unknown, name: string) {toast({title: "Your team is full",description:- "You've reached the limit of active experts. Archive one from your team page to raise another.",+ "You've reached the limit of active experts. Archive one from your team page to create another.",variant: "destructive",});return;}toast({- title: `Couldn't raise ${name || "your expert"}`,- description: "Something went wrong. Please try again.",+ title: `Couldn't create ${name || "your expert"}`,+ description:+ error instanceof ApiError && [400, 422, 503].includes(error.status)+ ? error.message+ : "Something went wrong. Please try again.",variant: "destructive",});}diff --git a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/__tests__/main.test.tsx b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/__tests__/main.test.tsxindex 7f53195334..06eb334685 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/__tests__/main.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/__tests__/main.test.tsx@@ -62,6 +62,7 @@ import {import { format, subDays } from "date-fns";import { afterEach, beforeEach, describe, expect, test, vi } from "vitest";import ExpertDetailPage from "../page";+import { Toaster } from "@/components/molecules/Toast/toaster";vi.mock("@/services/environment", async (importActual) => {const actual = await importActual<typeof import("@/services/environment")>();@@ -1069,9 +1070,9 @@ describe("ExpertDetailPage", () => {render(<ExpertDetailPage />);const button = await screen.findByRole("button", {- name: "Change Maria's photo",+ name: "Change Maria's appearance",});- const fileInput = screen.getByLabelText("Upload Maria photo");+ const fileInput = screen.getByLabelText("Upload Maria appearance");expect(button.contains(fileInput)).toBe(false);const pickerClick = vi.spyOn(fileInput, "click");fireEvent.click(button);@@ -1081,7 +1082,7 @@ describe("ExpertDetailPage", () => {fireEvent.change(fileInput, { target: { files: [file] } });await waitFor(() => expect(updateSpy).toHaveBeenCalled());- expect(uploadAvatarSpy).toHaveBeenCalledWith(file);+ expect(uploadAvatarSpy).toHaveBeenCalledWith(file, "expert-avatar");const body = await updateSpy.mock.results[0].value.json();expect(body).toEqual({ avatar_url: "https://cdn.example.com/maria.png" });});@@ -1096,12 +1097,17 @@ describe("ExpertDetailPage", () => {}),);- render(<ExpertDetailPage />);+ render(+ <>+ <ExpertDetailPage />+ <Toaster />+ </>,+ );const button = await screen.findByRole("button", {- name: "Change Maria's photo",+ name: "Change Maria's appearance",});- const fileInput = screen.getByLabelText("Upload Maria photo");+ const fileInput = screen.getByLabelText("Upload Maria appearance");expect(button.contains(fileInput)).toBe(false);fireEvent.change(fileInput, {target: { files: [new File(["x"], "maria.png", { type: "image/png" })] },@@ -1110,6 +1116,8 @@ describe("ExpertDetailPage", () => {await waitFor(() => expect(uploadAvatarSpy).toHaveBeenCalled());await waitFor(() => expect(button).not.toHaveProperty("disabled", true));expect(updateSpy).not.toHaveBeenCalled();+ expect(await screen.findByText("Couldn't update appearance")).toBeDefined();+ expect(await screen.findByText("Unauthorized")).toBeDefined();});test("paused expert offers one-click resume", async () => {diff --git a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertAvatarButton/ExpertAvatarButton.tsx b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertAvatarButton/ExpertAvatarButton.tsxindex 1a63508158..5bfab44a00 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertAvatarButton/ExpertAvatarButton.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertAvatarButton/ExpertAvatarButton.tsx@@ -32,15 +32,15 @@ export function ExpertAvatarButton({ expert }: Props) {type="button"onClick={openFilePicker}disabled={isUploading}- aria-label={`Change ${expert.name}'s photo`}- className="group relative size-24 shrink-0 cursor-pointer rounded-full outline-none transition-transform duration-150 ease-out focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 active:scale-[0.97] disabled:cursor-wait"+ aria-label={`Change ${expert.name}'s appearance`}+ className="group relative size-24 shrink-0 cursor-pointer rounded-full outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-wait"><ExpertAvatarname={expert.name}avatarUrl={expert.avatar_url}color={expert.color}size={96}- className="ring-4 ring-background"+ className="rounded-full ring-4 ring-background"/><span@@ -58,8 +58,8 @@ export function ExpertAvatarButton({ expert }: Props) {<inputref={fileRef}type="file"- aria-label={`Upload ${expert.name} photo`}- accept="image/png,image/jpeg,image/webp,image/gif"+ aria-label={`Upload ${expert.name} appearance`}+ accept="image/png,image/jpeg,image/webp"className="hidden"onChange={handleChange}/>diff --git a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertAvatarButton/useExpertAvatarButton.ts b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertAvatarButton/useExpertAvatarButton.tsindex 0606e09d7c..3377220972 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertAvatarButton/useExpertAvatarButton.ts+++ b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertAvatarButton/useExpertAvatarButton.ts@@ -6,7 +6,6 @@ import {import { useToast } from "@/components/molecules/Toast/use-toast";import {isFileTooLarge,- SUBMISSION_MEDIA_MAX_SIZE_MB,uploadSubmissionMediaDirect,} from "@/lib/direct-upload";import { useQueryClient } from "@tanstack/react-query";@@ -29,20 +28,19 @@ export function useExpertAvatarButton(expertId: string) {});async function uploadAvatar(file: File) {- if (- isFileTooLarge({ file, maxSizeMB: SUBMISSION_MEDIA_MAX_SIZE_MB, toast })- )- return;+ if (isFileTooLarge({ file, maxSizeMB: 5, toast })) return;setIsUploading(true);try {- const url = (await uploadSubmissionMediaDirect(file)).trim();+ const url = (+ await uploadSubmissionMediaDirect(file, "expert-avatar")+ ).trim();if (!url) throw new Error("Upload returned no URL");await updateAvatar({ expertId, data: { avatar_url: url } });- toast({ title: "Photo updated", variant: "success" });+ toast({ title: "Appearance updated", variant: "success" });} catch (error) {toast({- title: "Failed to update photo",+ title: "Couldn't update appearance",description: error instanceof Error ? error.message : undefined,variant: "destructive",});diff --git a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertNeedsYouSection/ExpertAttentionCard.tsx b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertNeedsYouSection/ExpertAttentionCard.tsxindex efb2289294..d6bf292f66 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertNeedsYouSection/ExpertAttentionCard.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertNeedsYouSection/ExpertAttentionCard.tsx@@ -65,7 +65,7 @@ export function ExpertAttentionCard({ item, isProcessing, onDecision }: Props) {<Textvariant="body-medium"as="span"- className="truncate !text-zinc-800"+ className="break-words !text-zinc-800">{item.title}</Text>@@ -79,7 +79,11 @@ export function ExpertAttentionCard({ item, isProcessing, onDecision }: Props) {</Text>) : null}</div>- <Text variant="small" as="span" className="truncate !text-zinc-400">+ <Text+ variant="small"+ as="span"+ className="break-words !text-zinc-400"+ >{item.description}</Text></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertWorkSection/ExpertWorkSection.tsx b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertWorkSection/ExpertWorkSection.tsxindex acdd434e39..83a4ea4363 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertWorkSection/ExpertWorkSection.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertWorkSection/ExpertWorkSection.tsx@@ -11,6 +11,7 @@ import { Badge } from "@/components/atoms/Badge/Badge";import { Skeleton } from "@/components/atoms/Skeleton/Skeleton";import { ErrorCard } from "@/components/molecules/ErrorCard/ErrorCard";import { RunStatusBadge } from "@/components/molecules/RunStatusBadge/RunStatusBadge";+import { getRunStatusGuidance } from "@/components/molecules/RunStatusBadge/helpers";import { useState } from "react";import { FilterIconMenu } from "../FilterIconMenu";import {@@ -109,6 +110,9 @@ function ExpertRunRow({ run, onOpen }: { run: ExpertRun; onOpen: () => void }) {</Text><div className="mt-1 flex flex-wrap items-center gap-2"><RunStatusBadge status={run.status} />+ <Text variant="small" tone="secondary">+ {getRunStatusGuidance(run.status)}+ </Text>{run.needs_review && run.status.toUpperCase() !== "REVIEW" ? (<Badge variant="warning" size="small">Needs reviewdiff --git a/autogpt_platform/frontend/src/app/(platform)/team/__tests__/main.test.tsx b/autogpt_platform/frontend/src/app/(platform)/team/__tests__/main.test.tsxindex 1fd380a252..69341fefd3 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/__tests__/main.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/__tests__/main.test.tsx@@ -231,7 +231,7 @@ describe("TeamPage", () => {render(<TeamPage />);- const raise = await screen.findByRole("link", { name: "Raise expert" });+ const raise = await screen.findByRole("link", { name: "Create an Expert" });expect(raise.getAttribute("href")).toBe("/raise");expect(screen.getByRole("link", { name: "Hire expert" }).getAttribute("href"),@@ -1010,9 +1010,11 @@ describe("TeamPage", () => {name: "Browse the marketplace",});expect(link.getAttribute("href")).toBe("/marketplace");- expect(- screen.getByRole("link", { name: "Raise your own" }).getAttribute("href"),- ).toBe("/raise");+ for (const createLink of screen.getAllByRole("link", {+ name: "Create an Expert",+ })) {+ expect(createLink.getAttribute("href")).toBe("/raise");+ }});test("shows an error card and retries when loading experts fails", async () => {diff --git a/autogpt_platform/frontend/src/app/(platform)/team/autopilot/components/AutopilotHeader.tsx b/autogpt_platform/frontend/src/app/(platform)/team/autopilot/components/AutopilotHeader.tsxindex 94e59c898d..46e1969ffe 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/autopilot/components/AutopilotHeader.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/autopilot/components/AutopilotHeader.tsx@@ -24,7 +24,8 @@ export function AutopilotHeader() {<div className="flex flex-col gap-4 sm:flex-row sm:items-center"><AutopilotAvatarsize={96}- className="relative z-10 -mt-12 ml-14 ring-4 ring-white"+ transparent={false}+ className="relative z-10 -mt-12 ml-14 rounded-full"/><div className="min-w-0 flex-1"><div className="flex flex-wrap items-center gap-3">diff --git a/autogpt_platform/frontend/src/app/(platform)/team/components/AutopilotCard.tsx b/autogpt_platform/frontend/src/app/(platform)/team/components/AutopilotCard.tsxindex df0ddeea9d..e8f5bfc383 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/components/AutopilotCard.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/components/AutopilotCard.tsx@@ -55,7 +55,8 @@ export function AutopilotCard({<div className="flex w-full items-start gap-3 px-2"><AutopilotAvatarsize={88}- className="relative z-10 -mt-12 ml-1 ring-4 ring-white"+ transparent={false}+ className="relative z-10 -mt-12 ml-1 rounded-full"/></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/team/components/EmptyTeamState.tsx b/autogpt_platform/frontend/src/app/(platform)/team/components/EmptyTeamState.tsxindex 238c6f0645..edcdd6c331 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/components/EmptyTeamState.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/components/EmptyTeamState.tsx@@ -24,7 +24,7 @@ export function EmptyTeamState() {Browse the marketplace</Button><Button as="NextLink" href="/raise" variant="secondary" size="small">- Raise your own+ Create an Expert</Button></div></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertChatDrawer/ExpertChatDrawer.tsx b/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertChatDrawer/ExpertChatDrawer.tsxindex bc031219ea..7d1ee8df62 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertChatDrawer/ExpertChatDrawer.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertChatDrawer/ExpertChatDrawer.tsx@@ -1,5 +1,7 @@"use client";+import { getExpertRoleLabel } from "@/services/experts/expert-role-label";+import { ChatInput } from "@/app/(platform)/copilot/components/ChatInput/ChatInput";import { ChatMessagesContainer } from "@/app/(platform)/copilot/components/ChatMessagesContainer/ChatMessagesContainer";import { CopilotChatActionsProvider } from "@/app/(platform)/copilot/components/CopilotChatActionsProvider/CopilotChatActionsProvider";@@ -147,7 +149,7 @@ function ChatPanelBody({ target, identity, chat }: BodyProps) {What can I do for you?</Text><Text variant="small" tone="muted">- {target.name} · {target.role}+ {target.name} · {getExpertRoleLabel(target.role)}</Text></div></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertTeamCard/ExpertTeamCard.tsx b/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertTeamCard/ExpertTeamCard.tsxindex 0c02abe982..4c5a5e1e52 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertTeamCard/ExpertTeamCard.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertTeamCard/ExpertTeamCard.tsx@@ -98,7 +98,7 @@ export function ExpertTeamCard({avatarUrl={expert.avatar_url}color={expert.color}size={88}- className="ring-4 ring-background"+ className="rounded-full ring-4 ring-background"/></span>diff --git a/autogpt_platform/frontend/src/app/(platform)/team/components/TeamHeaderActions.tsx b/autogpt_platform/frontend/src/app/(platform)/team/components/TeamHeaderActions.tsxindex b7eac24c6b..653aaf7740 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/components/TeamHeaderActions.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/components/TeamHeaderActions.tsx@@ -6,7 +6,7 @@ export function TeamHeaderActions() {return (<div className="flex flex-wrap items-center gap-2"><Button as="NextLink" href="/raise" variant="secondary" size="small">- Raise expert+ Create an Expert</Button><Buttonas="NextLink"diff --git a/autogpt_platform/frontend/src/app/api/openapi.json b/autogpt_platform/frontend/src/app/api/openapi.jsonindex d09d9aad1c..af02499a01 100644--- a/autogpt_platform/frontend/src/app/api/openapi.json+++ b/autogpt_platform/frontend/src/app/api/openapi.json@@ -15920,17 +15920,31 @@"post": {"tags": ["v2", "store", "private"],"summary": "Upload submission media",- "description": "Upload media for a marketplace listing submission",+ "description": "Upload media for a marketplace listing submission or Expert appearance.","operationId": "postV2Upload submission media",+ "security": [{ "HTTPBearerJWT": [] }],+ "parameters": [+ {+ "name": "purpose",+ "in": "query",+ "required": false,+ "schema": {+ "enum": ["submission", "expert-avatar"],+ "type": "string",+ "default": "submission",+ "title": "Purpose"+ }+ }+ ],"requestBody": {+ "required": true,"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/Body_postV2Upload_submission_media"}}- },- "required": true+ }},"responses": {"200": {@@ -15955,8 +15969,7 @@}}}- },- "security": [{ "HTTPBearerJWT": [] }]+ }}},"/api/store/submissions/{store_listing_version_id}": {diff --git a/autogpt_platform/frontend/src/app/api/proxy/[...path]/__tests__/route.test.ts b/autogpt_platform/frontend/src/app/api/proxy/[...path]/__tests__/route.test.tsindex 3923849b6c..9b97faf58b 100644--- a/autogpt_platform/frontend/src/app/api/proxy/[...path]/__tests__/route.test.ts+++ b/autogpt_platform/frontend/src/app/api/proxy/[...path]/__tests__/route.test.ts@@ -265,6 +265,27 @@ describe("proxy route — handler pass-through", () => {expect(acceptEncoding.toLowerCase()).toMatch(/gzip|br|deflate/);});+ it("forwards the Expert appearance purpose on uploads", async () => {+ vi.mocked(fetch).mockResolvedValue(+ new Response('"https://cdn.test/avatar.png"', { status: 200 }),+ );+ const body = new FormData();+ body.append(+ "file",+ new Blob(["image"], { type: "image/png" }),+ "avatar.png",+ );+ const req = new NextRequest(+ "https://app.test/api/proxy/api/store/submissions/media?purpose=expert-avatar",+ { method: "POST", body },+ );+ await POST(req, makeParams(["api", "store", "submissions", "media"]));+ expect(vi.mocked(fetch).mock.calls[0][0]).toBe(+ `${BACKEND}/api/store/submissions/media?purpose=expert-avatar`,+ );+ expect(vi.mocked(fetch).mock.calls[0][1]!.method).toBe("POST");+ });+it("forwards query string to the backend URL", async () => {vi.mocked(fetch).mockResolvedValue(new Response("{}", {diff --git a/autogpt_platform/frontend/src/components/layout/AppSidebar/AppSidebar.tsx b/autogpt_platform/frontend/src/components/layout/AppSidebar/AppSidebar.tsxindex 9d6be5b3eb..31a54f12fa 100644--- a/autogpt_platform/frontend/src/components/layout/AppSidebar/AppSidebar.tsx+++ b/autogpt_platform/frontend/src/components/layout/AppSidebar/AppSidebar.tsx@@ -250,9 +250,12 @@ export function AppSidebar(props: Props) {const mainLinks = isHireExpertsEnabled? MAIN_LINKS.filter((link) => link.href !== "/library"): MAIN_LINKS;- const workspaceLinks = isHireExpertsEnabled- ? [{ name: "Team", href: "/team", icon: AddTeamIcon }, ...WORKSPACE_LINKS]- : WORKSPACE_LINKS;+ const filesEnabled = useGetFlag(Flag.ARTIFACTS_PAGE);+ const workspaceLinks = (+ isHireExpertsEnabled+ ? [{ name: "Team", href: "/team", icon: AddTeamIcon }, ...WORKSPACE_LINKS]+ : WORKSPACE_LINKS+ ).filter((link) => link.href !== "/artifacts" || filesEnabled);// New Task shortcut: Cmd/Ctrl+Shift+O opens a fresh chat on /copilot.useEffect(() => {@@ -305,11 +308,13 @@ export function AppSidebar(props: Props) {</SidebarGroup></motion.div>- <motion.div variants={itemVariants}>- <CollapsibleNavGroup label="Workspace">- <NavMenu links={workspaceLinks} />- </CollapsibleNavGroup>- </motion.div>+ {workspaceLinks.length > 0 ? (+ <motion.div variants={itemVariants}>+ <CollapsibleNavGroup label="Workspace">+ <NavMenu links={workspaceLinks} />+ </CollapsibleNavGroup>+ </motion.div>+ ) : null}<motion.divvariants={itemVariants}diff --git a/autogpt_platform/frontend/src/components/layout/AppSidebar/__tests__/AppSidebar.test.tsx b/autogpt_platform/frontend/src/components/layout/AppSidebar/__tests__/AppSidebar.test.tsxindex 1f7f0f6619..1ef311e4e9 100644--- a/autogpt_platform/frontend/src/components/layout/AppSidebar/__tests__/AppSidebar.test.tsx+++ b/autogpt_platform/frontend/src/components/layout/AppSidebar/__tests__/AppSidebar.test.tsx@@ -14,6 +14,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";import { fireEvent } from "@testing-library/react";import { AppSidebar } from "../AppSidebar";+import { Flag } from "@/services/feature-flags/use-get-flag";function dashboardWith(agents: HomeAgentStatus[]): HomeDashboardResponse {return { ...getGetHomeDashboardResponseMock200(), agents };@@ -58,7 +59,9 @@ vi.mock("next/navigation", async (importOriginal) => {};});-const useGetFlagMock = vi.hoisted(() => vi.fn(() => false));+const useGetFlagMock = vi.hoisted(() =>+ vi.fn<(flag: Flag) => boolean>(() => false),+);vi.mock("@/services/feature-flags/use-get-flag", async (importOriginal) => {const actual =@@ -67,7 +70,7 @@ vi.mock("@/services/feature-flags/use-get-flag", async (importOriginal) => {>();return {...actual,- useGetFlag: () => useGetFlagMock(),+ useGetFlag: (flag: Flag) => useGetFlagMock(flag),};});@@ -112,7 +115,7 @@ describe("AppSidebar", () => {expect(screen.getByText("Agents")).toBeDefined();expect(screen.getByText("Marketplace")).toBeDefined();expect(screen.getByText("Build")).toBeDefined();- expect(screen.getByText("Files")).toBeDefined();+ expect(screen.queryByText("Files")).toBeNull();// /home 404s without the experts flag, so it must not be offered here.expect(screen.queryByText("Home")).toBeNull();});@@ -139,11 +142,34 @@ describe("AppSidebar", () => {});it("renders the workspace and recent chats group headers", () => {+ useGetFlagMock.mockReturnValue(true);renderSidebar();expect(screen.getByText("Workspace")).toBeDefined();expect(screen.getByText("Recent chats")).toBeDefined();});+ it.each([+ [false, false],+ [false, true],+ [true, false],+ [true, true],+ ])(+ "shows Workspace only for available destinations (Experts %s, Files %s)",+ (experts, files) => {+ useGetFlagMock.mockImplementation((flag) =>+ flag === Flag.HIRE_EXPERTS+ ? experts+ : flag === Flag.ARTIFACTS_PAGE+ ? files+ : false,+ );+ renderSidebar();+ expect(!!screen.queryByText("Workspace")).toBe(experts || files);+ expect(!!screen.queryByRole("link", { name: /files/i })).toBe(files);+ expect(screen.getByText("Recent chats")).toBeDefined();+ },+ );+it("marks the active link based on the current pathname", () => {// global next/navigation mock resolves usePathname() to "/marketplace"renderSidebar();diff --git a/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/__tests__/expert-groups.test.tsx b/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/__tests__/expert-groups.test.tsxindex 2a9d3478b1..0cb83d4189 100644--- a/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/__tests__/expert-groups.test.tsx+++ b/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/__tests__/expert-groups.test.tsx@@ -198,13 +198,11 @@ describe("RecentChats — expert groups", () => {const expertGroup = await screen.findByRole("button", {name: "Expert chats",});- expect(- expertGroup.querySelector('img[data-testid="notion-avatar-image"]'),- ).not.toBe(null);+ expect(expertGroup.querySelector('[role="img"]')).not.toBe(null);expect(await screen.findByText("expert-ghost chat 1")).toBeDefined();});- it("colours a generated sidebar avatar with the expert's owner token", async () => {+ it("uses a neutral fallback when no appearance is saved", async () => {const novaExpert: Expert = {...mariaExpert,id: "expert-nova",@@ -222,16 +220,9 @@ describe("RecentChats — expert groups", () => {const expertGroup = await screen.findByRole("button", {name: "Nova chats",});- const avatar = expertGroup.querySelector(- 'img[data-testid="notion-avatar-image"]',- );- expect(avatar?.getAttribute("width")).toBe("32");- expect(avatar?.getAttribute("height")).toBe("32");- expect(avatar?.classList.contains("border")).toBe(true);- expect(avatar?.classList.contains("border-zinc-400")).toBe(true);- expect(avatar?.getAttribute("data-avatar")).toMatch(- /\.violet\.svg\?v=\d+$/,- );+ const avatar = expertGroup.querySelector('[role="img"]');+ expect(avatar?.getAttribute("aria-label")).toBe("Nova, AI Expert");+ expect(expertGroup.querySelector("[data-avatar]")).toBeNull();});it("keeps the group-level and list-level Load more buttons distinct", async () => {diff --git a/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/components/ExpertChatGroup/ExpertChatGroup.tsx b/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/components/ExpertChatGroup/ExpertChatGroup.tsxindex f42de2d363..254e70882a 100644--- a/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/components/ExpertChatGroup/ExpertChatGroup.tsx+++ b/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/components/ExpertChatGroup/ExpertChatGroup.tsx@@ -74,17 +74,18 @@ export function ExpertChatGroup({className="flex min-w-0 flex-1 items-center gap-2 rounded-md px-2 py-1 text-left text-sm font-medium text-zinc-900">{isAutopilot ? (- <AutopilotAvatar size={32} />+ <AutopilotAvatar size={32} transparent />) : (<ExpertAvatarname={label}avatarUrl={avatarUrl}color={color}size={32}- className="border border-zinc-400"+ className="border-0"/>)}<ExpertIdentityDetails+ isOtto={isAutopilot}name={label}role={role}size="compact"diff --git a/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/AutopilotAvatar.stories.tsx b/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/AutopilotAvatar.stories.tsxindex b6f7a2f1b0..b704ab1f4a 100644--- a/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/AutopilotAvatar.stories.tsx+++ b/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/AutopilotAvatar.stories.tsx@@ -13,6 +13,10 @@ type Story = StoryObj<typeof meta>;export const Default: Story = {};+export const Transparent: Story = {+ args: { size: 120, transparent: true },+};+export const Sizes: Story = {render: function SizesStory() {return (diff --git a/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/AutopilotAvatar.test.tsx b/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/AutopilotAvatar.test.tsxnew file mode 100644index 0000000000..5f0f8f1ac6--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/AutopilotAvatar.test.tsx@@ -0,0 +1,26 @@+import { render, screen } from "@testing-library/react";+import { expect, test } from "vitest";+import { AutopilotAvatar } from "./AutopilotAvatar";++test("switches between packaged and transparent Otto at the requested size", () => {+ const { rerender } = render(<AutopilotAvatar size={80} />);+ expect(screen.getByRole("img").getAttribute("src")).toBe(+ "/autogpt-characters/v1.1/otto/neutral/96.webp",+ );++ rerender(<AutopilotAvatar size={160} transparent />);+ const image = screen.getByRole("img", {+ name: "Otto, your personal Head of AI",+ });+ expect(decodeURIComponent(image.getAttribute("src") ?? "")).toContain(+ "/experts/transparent/otto.webp",+ );+ expect(image.getAttribute("width")).toBe("160");+ expect(image.getAttribute("height")).toBe("160");+ expect(image.getAttribute("sizes")).toBe("160px");++ rerender(<AutopilotAvatar />);+ expect(screen.getByRole("img").getAttribute("src")).toBe(+ "/autogpt-characters/v1.1/otto/neutral/24.webp",+ );+});diff --git a/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/AutopilotAvatar.tsx b/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/AutopilotAvatar.tsxindex 3c6de208ca..76d9593f64 100644--- a/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/AutopilotAvatar.tsx+++ b/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/AutopilotAvatar.tsx@@ -1,39 +1,42 @@-import {- Avatar,- AvatarFallback,- AvatarImage,-} from "@/components/atoms/Avatar/Avatar";+import { ExpertAvatar } from "@/components/molecules/ExpertAvatar/ExpertAvatar";import { cn } from "@/lib/utils";+import Image from "next/image";import {- AUTOPILOT_AVATAR_BG_CLASS,AUTOPILOT_AVATAR_URL,AUTOPILOT_NAME,+ AUTOPILOT_TRANSPARENT_AVATAR_URL,} from "./helpers";interface Props {size?: number;+ transparent?: boolean;className?: string;}-/** Otto's face at any pixel size, on the cyan disc with the outline every- * expert avatar wears. */-export function AutopilotAvatar({ size = 24, className }: Props) {- return (- <Avatar- style={{ width: size, height: size }}- className={cn(- "shrink-0 border border-stone-500",- AUTOPILOT_AVATAR_BG_CLASS,- className,- )}- >- <AvatarImage- src={AUTOPILOT_AVATAR_URL}- alt={AUTOPILOT_NAME}+export function AutopilotAvatar({+ size = 24,+ transparent = false,+ className,+}: Props) {+ if (transparent) {+ return (+ <Image+ src={AUTOPILOT_TRANSPARENT_AVATAR_URL}+ alt={`${AUTOPILOT_NAME}, your personal Head of AI`}width={size}height={size}+ sizes={`${size}px`}+ className={cn("shrink-0 object-contain", className)}/>- <AvatarFallback>{AUTOPILOT_NAME}</AvatarFallback>- </Avatar>+ );+ }++ return (+ <ExpertAvatar+ name={AUTOPILOT_NAME}+ avatarUrl={AUTOPILOT_AVATAR_URL}+ size={size}+ className={className}+ />);}diff --git a/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/helpers.ts b/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/helpers.tsindex 1fcf277abb..2e6fbc5625 100644--- a/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/helpers.ts+++ b/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/helpers.ts@@ -1,15 +1,19 @@export const AUTOPILOT_NAME = "Otto";-export const AUTOPILOT_AVATAR_URL = "/experts/otto.svg";+export const AUTOPILOT_AVATAR_URL =+ "/autogpt-characters/v1.1/otto/neutral/128.webp";-export const AUTOPILOT_AVATAR_BG_CLASS = "bg-cyan-100";+export const AUTOPILOT_TRANSPARENT_AVATAR_URL =+ "/experts/transparent/otto.webp";++export const AUTOPILOT_AVATAR_BG_CLASS = "bg-violet-50";export const AUTOPILOT_COVER_URL = "/experts/covers/otto-cover-3.png";export const AUTOPILOT_COVER_COLOR = "cyan-300";-/** Light and mid cyan, for effects drawn around Otto — the voice aura's+/** Light and mid lavender, for effects drawn around Otto — the voice aura's* comets and the dots that collapse into him. */-export const AUTOPILOT_AURA_COLORS: [string, string] = ["#a5f3fc", "#22d3ee"];+export const AUTOPILOT_AURA_COLORS: [string, string] = ["#ddd6fe", "#a78bfa"];-export const AUTOPILOT_DOT_COLOR = "#22d3ee";+export const AUTOPILOT_DOT_COLOR = "#a78bfa";diff --git a/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/ExpertAvatar.test.tsx b/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/ExpertAvatar.test.tsxnew file mode 100644index 0000000000..60cab4661e--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/ExpertAvatar.test.tsx@@ -0,0 +1,53 @@+import { fireEvent, render, screen } from "@testing-library/react";+import { describe, expect, test } from "vitest";+import { ExpertAvatar } from "./ExpertAvatar";++describe("ExpertAvatar saved appearance", () => {+ test("uses the saved clay identity after a rename and color change", () => {+ const avatarUrl = "/autogpt-characters/v1.1/expert-maria/neutral/128.webp";+ const { rerender } = render(+ <ExpertAvatar name="Maria" avatarUrl={avatarUrl} size={32} />,+ );+ const image = screen.getByRole("img");+ expect(image.getAttribute("src")).toBe(+ "/autogpt-characters/v1.1/expert-maria/neutral/32.webp",+ );+ rerender(+ <ExpertAvatar+ name="My editor"+ avatarUrl={avatarUrl}+ color="green-300"+ size={32}+ />,+ );+ expect(screen.getByRole("img").getAttribute("src")).toBe(+ image.getAttribute("src"),+ );+ });++ test("falls back to PNG then initials without borrowing another identity", () => {+ render(+ <ExpertAvatar+ name="My editor"+ avatarUrl="/autogpt-characters/v1.1/expert-maria/neutral/128.webp"+ size={32}+ />,+ );+ fireEvent.error(screen.getByRole("img"));+ expect(screen.getByRole("img").getAttribute("src")).toBe(+ "/autogpt-characters/v1.1/expert-maria/neutral/32.png",+ );+ fireEvent.error(screen.getByRole("img"));+ expect(screen.getByRole("img").textContent).toBe("MY");+ });++ test("does not replace a custom avatar based on its owner's name", () => {+ const { container } = render(+ <ExpertAvatar+ name="Maria"+ avatarUrl="https://example.com/my-image.png"+ />,+ );+ expect(container.querySelector('[src*="autogpt-characters"]')).toBeNull();+ });+});diff --git a/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/ExpertAvatar.tsx b/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/ExpertAvatar.tsxindex 4a867fd8b0..2b7778c7ad 100644--- a/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/ExpertAvatar.tsx+++ b/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/ExpertAvatar.tsx@@ -9,6 +9,8 @@ import type { AvatarStatus } from "@/components/molecules/NotionAvatar/status";import { expertNotionConfig } from "@/components/molecules/NotionAvatar/helpers";import { NotionAvatarImage } from "@/components/molecules/NotionAvatar/NotionAvatarImage";import { cn } from "@/lib/utils";+import { getManagedAvatar } from "./helpers";+import { ManagedExpertImage } from "./components/ManagedExpertImage";interface Props {name: string | null;@@ -19,12 +21,6 @@ interface Props {className?: string;}-/**- * Expert avatar shared by the copilot home surfaces (briefing card, team- * strip, needs-attention list). Uploaded pictures render as-is; everything- * else gets the generated Notion-style face — as a flat image unless there- * is something to animate.- */export function ExpertAvatar({name,avatarUrl,@@ -34,10 +30,27 @@ export function ExpertAvatar({className,}: Props) {const style = { width: size, height: size };+ const managed = getManagedAvatar(avatarUrl, size);- if (!name) {+ if (managed) {+ return (+ <ManagedExpertImage+ key={`${managed.base}:${size}`}+ name={name ?? "Expert"}+ base={managed.base}+ pixels={managed.pixels}+ size={size}+ isOtto={managed.assetID === "otto"}+ className={className}+ />+ );+ }++ if (!name || !avatarUrl) {return (<div+ role="img"+ aria-label={name ? `${name}, AI Expert` : "AI Expert"}style={style}className={cn("flex shrink-0 items-center justify-center rounded-full bg-zinc-100",diff --git a/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/components/ManagedExpertImage.tsx b/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/components/ManagedExpertImage.tsxnew file mode 100644index 0000000000..4704d38372--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/components/ManagedExpertImage.tsx@@ -0,0 +1,66 @@+"use client";++import Image from "next/image";+import { useState } from "react";+import { cn } from "@/lib/utils";++interface Props {+ name: string;+ base: string;+ pixels: number;+ size: number;+ isOtto: boolean;+ className?: string;+}++export function ManagedExpertImage({+ name,+ base,+ pixels,+ size,+ isOtto,+ className,+}: Props) {+ const [format, setFormat] = useState<"webp" | "png" | null>("webp");+ const label = isOtto+ ? "Otto, your personal Head of AI"+ : `${name}, AI Expert`;+ const classes = cn(+ "inline-flex shrink-0 overflow-hidden rounded-xl",+ className,+ );++ if (!format) {+ return (+ <span+ role="img"+ aria-label={label}+ style={{ width: size, height: size }}+ className={cn(+ classes,+ "items-center justify-center bg-muted text-foreground",+ )}+ >+ {name.trim().slice(0, 2).toUpperCase() || "AI"}+ </span>+ );+ }++ return (+ <picture className={classes} style={{ width: size, height: size }}>+ <source+ type={`image/${format}`}+ srcSet={`${base}/${pixels}.${format} 1x, ${base}/${pixels * 2}.${format} 2x`}+ />+ <Image+ src={`${base}/${pixels}.${format}`}+ alt={label}+ width={size}+ height={size}+ unoptimized+ className="h-full w-full object-contain"+ onError={() => setFormat(format === "webp" ? "png" : null)}+ />+ </picture>+ );+}diff --git a/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/helpers.ts b/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/helpers.tsnew file mode 100644index 0000000000..b674397d74--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/helpers.ts@@ -0,0 +1,19 @@+import manifest from "../../../../public/autogpt-characters/manifest.json";++export function getManagedAvatar(avatarUrl: string | null, size: number) {+ for (const [assetID, identity] of Object.entries(manifest.identities)) {+ if (+ !Object.values(identity.files).some(+ (file) => `/${file.path.replace(/^public\//, "")}` === avatarUrl,+ )+ )+ continue;+ const pixels = manifest.logicalSizes.find((value) => value >= size) ?? 512;+ return {+ assetID,+ base: `${manifest.baseUrl}/${assetID}/neutral`,+ pixels,+ };+ }+ return null;+}diff --git a/autogpt_platform/frontend/src/components/molecules/ExpertIdentityDetails/ExpertIdentityDetails.test.tsx b/autogpt_platform/frontend/src/components/molecules/ExpertIdentityDetails/ExpertIdentityDetails.test.tsxindex a08974999f..154bd135d4 100644--- a/autogpt_platform/frontend/src/components/molecules/ExpertIdentityDetails/ExpertIdentityDetails.test.tsx+++ b/autogpt_platform/frontend/src/components/molecules/ExpertIdentityDetails/ExpertIdentityDetails.test.tsx@@ -14,9 +14,9 @@ describe("ExpertIdentityDetails", () => {/>,);- const area = screen.getByText("Social media");+ const area = screen.getByText("Social Media Manager");const chip = area.parentElement;- expect(screen.getAllByText("Social media")).toHaveLength(1);+ expect(screen.getAllByText("Social Media Manager")).toHaveLength(1);expect(chip?.classList.contains("bg-zinc-50")).toBe(true);expect(chip?.classList.contains("rounded-full")).toBe(true);expect(chip?.querySelector("svg")).not.toBeNull();@@ -60,8 +60,61 @@ describe("ExpertIdentityDetails", () => {/>,);expect(- screen.getByText("Social media").classList.contains("leading-4"),+ screen.getByText("Social Media Manager").classList.contains("leading-4"),).toBe(true);expect(container.querySelector("svg")).toBeNull();});});++test("does not grant Otto's identity exception from a specialist title", () => {+ render(<ExpertIdentityDetails name="My Expert" role="Head of AI" />);+ expect(screen.getByText("AI Expert")).toBeDefined();+ expect(screen.queryByText("Your personal Head of AI")).toBeNull();+});++test.each(["compact", "card", "page"] as const)(+ "discloses AI for an Expert without a role or title in %s size",+ (size) => {+ render(+ <ExpertIdentityDetails+ name="My Expert"+ role={null}+ jobTitle={null}+ size={size}+ />,+ );+ expect(screen.getByText("AI Expert")).toBeDefined();+ expect(screen.queryByText("Your personal Head of AI")).toBeNull();+ },+);++test("keeps Otto's disclosure without a role or title", () => {+ render(<ExpertIdentityDetails name="Otto" isOtto />);+ expect(screen.getByText("Your personal Head of AI")).toBeDefined();+ expect(screen.queryByText("AI Expert")).toBeNull();+});++test("shows only name and role for a compact specialist", () => {+ render(+ <ExpertIdentityDetails name="Mina" jobTitle="Bookkeeper" size="compact" />,+ );+ expect(screen.getByText("Mina")).toBeDefined();+ expect(screen.getByText("Bookkeeper")).toBeDefined();+ expect(screen.queryByText("AI Expert")).toBeNull();+});++test.each(["compact", "card", "page"] as const)(+ "avoids repeating Otto's role in %s size",+ (size) => {+ render(+ <ExpertIdentityDetails+ name="Otto"+ isOtto+ role="Head of AI"+ size={size}+ />,+ );+ expect(screen.getByText("Head of AI")).toBeDefined();+ expect(screen.queryByText("Your personal Head of AI")).toBeNull();+ },+);diff --git a/autogpt_platform/frontend/src/components/molecules/ExpertIdentityDetails/ExpertIdentityDetails.tsx b/autogpt_platform/frontend/src/components/molecules/ExpertIdentityDetails/ExpertIdentityDetails.tsxindex ad750a46d7..fcfc5296dd 100644--- a/autogpt_platform/frontend/src/components/molecules/ExpertIdentityDetails/ExpertIdentityDetails.tsx+++ b/autogpt_platform/frontend/src/components/molecules/ExpertIdentityDetails/ExpertIdentityDetails.tsx@@ -6,6 +6,7 @@ import { ExpertAreaChip } from "./components/ExpertAreaChip";interface Props {name: string;+ isOtto?: boolean;role?: string | null;jobTitle?: string | null;size?: "compact" | "card" | "page";@@ -15,6 +16,7 @@ interface Props {export function ExpertIdentityDetails({name,+ isOtto = false,role,jobTitle,size = "card",@@ -48,6 +50,11 @@ export function ExpertIdentityDetails({</Text>{nameAccessory}</Container>+ {!area || (!isOtto && !compact) ? (+ <Text as="span" variant="small" tone="muted">+ {isOtto ? "Your personal Head of AI" : "AI Expert"}+ </Text>+ ) : null}{!compact && area ? (<ExpertAreaChip role={role ?? ""} label={area} />) : area ? (diff --git a/autogpt_platform/frontend/src/components/molecules/RunStatusBadge/helpers.ts b/autogpt_platform/frontend/src/components/molecules/RunStatusBadge/helpers.tsnew file mode 100644index 0000000000..0e7749181d--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/RunStatusBadge/helpers.ts@@ -0,0 +1,19 @@+const GUIDANCE: Record<string, string> = {+ COMPLETED: "Execution finished. Open the output to review the result.",+ FAILED:+ "Execution failed. Open run details to inspect the cause before retrying.",+ RUNNING: "Execution is in progress. Open run details to follow progress.",+ QUEUED: "Execution is waiting to start. Open run details to check progress.",+ REVIEW:+ "Execution is waiting for a decision. Review the request before approving or rejecting it.",+ TERMINATED: "Execution stopped. Open run details to inspect where it ended.",+ INCOMPLETE:+ "Execution has not completed. Open run details to inspect what remains.",+};++export function getRunStatusGuidance(status: string): string {+ return (+ GUIDANCE[status.toUpperCase()] ??+ "No status details available. Open run details for more information."+ );+}diff --git a/autogpt_platform/frontend/src/lib/__tests__/direct-upload.test.ts b/autogpt_platform/frontend/src/lib/__tests__/direct-upload.test.tsindex ad161f3474..370e01bbb3 100644--- a/autogpt_platform/frontend/src/lib/__tests__/direct-upload.test.ts+++ b/autogpt_platform/frontend/src/lib/__tests__/direct-upload.test.ts@@ -69,6 +69,18 @@ describe("getFileSizeError", () => {});describe("uploadSubmissionMediaDirect", () => {+ it("requests review for Expert appearance uploads", async () => {+ const fetchMock = mockFetchOnce({+ ok: true,+ status: 200,+ json: () => "https://cdn.test/approved.png",+ });+ await uploadSubmissionMediaDirect(makeFile(10), "expert-avatar");+ expect(fetchMock.mock.calls[0]?.[0]).toBe(+ "http://backend.test/api/store/submissions/media?purpose=expert-avatar",+ );+ });+it("bypasses the proxy and hits the backend directly", async () => {const fetchMock = mockFetchOnce({ok: true,diff --git a/autogpt_platform/frontend/src/lib/autogpt-server-api/__tests__/helpers.test.ts b/autogpt_platform/frontend/src/lib/autogpt-server-api/__tests__/helpers.test.tsindex dcaa0a7bf8..f1622dbd28 100644--- a/autogpt_platform/frontend/src/lib/autogpt-server-api/__tests__/helpers.test.ts+++ b/autogpt_platform/frontend/src/lib/autogpt-server-api/__tests__/helpers.test.ts@@ -1,4 +1,4 @@-import { describe, expect, it, vi } from "vitest";+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";vi.mock("@/services/environment", () => ({environment: {@@ -8,7 +8,12 @@ vi.mock("@/services/environment", () => ({},}));-import { buildUrlWithQuery, createRequestHeaders } from "../helpers";+import {+ buildUrlWithQuery,+ createRequestHeaders,+ makeAuthenticatedFileUpload,+} from "../helpers";+import { environment } from "@/services/environment";import {API_KEY_HEADER_NAME,IMPERSONATION_HEADER_NAME,@@ -181,7 +186,7 @@ describe("createRequestHeaders — impersonation and API-key forwarding", () =>it("forwards the API key header alongside sentry headers", () => {const request = makeRequest({- [API_KEY_HEADER_NAME]: "api-key-value",+ [API_KEY_HEADER_NAME]: "api-key-value", // pragma: allowlist secretbaggage: "sentry-environment=local",});@@ -196,3 +201,94 @@ describe("createRequestHeaders — impersonation and API-key forwarding", () =>expect(headers["baggage"]).toBe("sentry-environment=local");});});++describe("makeAuthenticatedFileUpload", () => {+ beforeEach(() => {+ vi.mocked(environment.isClientSide).mockReturnValue(true);+ });++ afterEach(() => {+ vi.unstubAllGlobals();+ vi.mocked(environment.isClientSide).mockReturnValue(false);+ });++ it.each([+ [413, "Appearance images must be 5 MB or smaller."],+ [400, "Choose a PNG, JPEG or WebP image."],+ [+ 422,+ "This image wasn't approved for an Expert appearance. Choose another image.",+ ],+ [503, "Image storage is unavailable. Please try again later."],+ ])(+ "preserves actionable backend details for HTTP %i",+ async (status, detail) => {+ vi.stubGlobal(+ "fetch",+ vi.fn().mockResolvedValue(Response.json({ detail }, { status })),+ );++ await expect(+ makeAuthenticatedFileUpload("/upload", new FormData()),+ ).rejects.toMatchObject({+ name: "ApiError",+ message: detail,+ status,+ response: { detail },+ });+ },+ );++ it("keeps the general upload limit for a bodyless 413", async () => {+ vi.stubGlobal(+ "fetch",+ vi+ .fn()+ .mockResolvedValue(+ new Response(null, { status: 413, statusText: "Payload Too Large" }),+ ),+ );++ await expect(+ makeAuthenticatedFileUpload("/upload", new FormData()),+ ).rejects.toMatchObject({+ message: "File is too large — max size is 256MB",+ status: 413,+ });+ });++ it("provides recovery guidance when the error has no body or status text", async () => {+ vi.stubGlobal(+ "fetch",+ vi.fn().mockResolvedValue(new Response(null, { status: 502 })),+ );++ await expect(+ makeAuthenticatedFileUpload("/upload", new FormData()),+ ).rejects.toMatchObject({+ message: "Request failed (HTTP 502). Please try again.",+ status: 502,+ response: null,+ });+ });++ it("falls back to HTTP status text for a non-JSON error", async () => {+ vi.stubGlobal(+ "fetch",+ vi.fn().mockResolvedValue(+ new Response("unavailable", {+ status: 502,+ statusText: "Bad Gateway",+ }),+ ),+ );++ await expect(+ makeAuthenticatedFileUpload("/upload", new FormData()),+ ).rejects.toMatchObject({+ message: "Bad Gateway",+ status: 502,+ response: null,+ });+ });+});diff --git a/autogpt_platform/frontend/src/lib/autogpt-server-api/helpers.ts b/autogpt_platform/frontend/src/lib/autogpt-server-api/helpers.tsindex 4a2dd357e1..23ed9aaab1 100644--- a/autogpt_platform/frontend/src/lib/autogpt-server-api/helpers.ts+++ b/autogpt_platform/frontend/src/lib/autogpt-server-api/helpers.ts@@ -244,10 +244,11 @@ export function serializeRequestBody(}export async function parseApiError(response: Response): Promise<string> {- // Handle 413 Payload Too Large with user-friendly message- if (response.status === 413) {- return "File is too large — max size is 256MB";- }+ const fallbackMessage =+ response.status === 413+ ? "File is too large — max size is 256MB"+ : response.statusText ||+ `Request failed (HTTP ${response.status}). Please try again.`;try {const errorData = await response.clone().json();@@ -267,7 +268,7 @@ export async function parseApiError(response: Response): Promise<string> {if (typeof errorData.detail === "object" && errorData.detail !== null) {if (errorData.detail.message) return errorData.detail.message;- return response.statusText; // Fallback to status text if no message+ return fallbackMessage; // Fallback to status text if no message}// Check for file size error from backend@@ -280,9 +281,9 @@ export async function parseApiError(response: Response): Promise<string> {return `File is too large — max size is ${maxSize}MB`;}- return errorData.detail || errorData.error || response.statusText;+ return errorData.detail || errorData.error || fallbackMessage;} catch {- return response.statusText;+ return fallbackMessage;}}@@ -423,7 +424,7 @@ export async function makeAuthenticatedFileUpload(if (!response.ok) {// Handle authentication errors gracefully for file uploads too- const errorMessage = `Error uploading file: ${response.statusText}`;+ const errorMessage = await parseApiError(response);// Try to parse error responselet responseData = null;diff --git a/autogpt_platform/frontend/src/lib/direct-upload.ts b/autogpt_platform/frontend/src/lib/direct-upload.tsindex e616a6267e..fe15f566fc 100644--- a/autogpt_platform/frontend/src/lib/direct-upload.ts+++ b/autogpt_platform/frontend/src/lib/direct-upload.ts@@ -143,10 +143,14 @@ export async function uploadFileDirect(* Uploads store submission media (agent thumbnails, profile avatars) directly* to the backend. Returns the public URL of the stored media.*/-export async function uploadSubmissionMediaDirect(file: File): Promise<string> {+export async function uploadSubmissionMediaDirect(+ file: File,+ purpose: "submission" | "expert-avatar" = "submission",+): Promise<string> {const res = await postFileToBackend({path: "/api/store/submissions/media",file,+ searchParams: purpose === "expert-avatar" ? { purpose } : undefined,});if (!res.ok) throw new Error(await readUploadError(res));// The endpoint returns the URL as a JSON string.diff --git a/autogpt_platform/frontend/src/services/experts/expert-role-label.test.ts b/autogpt_platform/frontend/src/services/experts/expert-role-label.test.tsindex 3ca64b1285..dab1ee7b08 100644--- a/autogpt_platform/frontend/src/services/experts/expert-role-label.test.ts+++ b/autogpt_platform/frontend/src/services/experts/expert-role-label.test.ts@@ -4,14 +4,14 @@ import { getExpertRoleLabel } from "./expert-role-label";describe("getExpertRoleLabel", () => {test("shortens long roster roles", () => {expect(getExpertRoleLabel("Social & Content Repurposing")).toBe(- "Social media",+ "Social Media Manager",);expect(getExpertRoleLabel("Market & Competitor Intelligence")).toBe(- "Market intelligence",+ "Market Research Analyst",);});test("keeps other roles unchanged", () => {- expect(getExpertRoleLabel("Email & Lifecycle")).toBe("Email & Lifecycle");+ expect(getExpertRoleLabel("My custom role")).toBe("My custom role");});});diff --git a/autogpt_platform/frontend/src/services/experts/expert-role-label.ts b/autogpt_platform/frontend/src/services/experts/expert-role-label.tsindex d80a7a6c08..0420870817 100644--- a/autogpt_platform/frontend/src/services/experts/expert-role-label.ts+++ b/autogpt_platform/frontend/src/services/experts/expert-role-label.ts@@ -1,7 +1,20 @@const ROLE_LABELS: Record<string, string> = {- "Social & Content Repurposing": "Social media",- "Social Media": "Social media",- "Market & Competitor Intelligence": "Market intelligence",+ "SEO & Content": "SEO Content Manager",+ "Social & Content Repurposing": "Social Media Manager",+ "Market & Competitor Intelligence": "Market Research Analyst",+ "Email & Lifecycle": "Email Marketing Manager",+ "Finance, Invoicing & Bookkeeping": "Bookkeeper",+ "Finance, Fundraising & Investor Relations": "Investor Relations Manager",+ "Research, Data & KPI Analysis": "Data Analyst",+ Sales: "Sales Development Rep",+ "Dependency & Security Hygiene": "Application Security Engineer",+ "Customer Success & Retention": "Customer Success Manager",+ "Deal Desk & Proposal Support": "Deal Desk Manager",+ Ops: "Executive Assistant",+ "Recruiting & Hiring": "Recruiter",+ "Vendor & Procurement": "Procurement Specialist",+ "Contracts (Non-Advisory)": "Contract Manager",+ "Social Media": "Social Media Manager",};export function getExpertRoleLabel(role: string): string {diff --git a/autogpt_platform/frontend/src/services/onboarding/brain-dump-analytics.ts b/autogpt_platform/frontend/src/services/onboarding/brain-dump-analytics.tsindex fdcf2cce15..e5edec4f53 100644--- a/autogpt_platform/frontend/src/services/onboarding/brain-dump-analytics.ts+++ b/autogpt_platform/frontend/src/services/onboarding/brain-dump-analytics.ts@@ -45,7 +45,7 @@ type BrainDumpEvent =| "intro_followup_sent"| "later_dump_completed"// The team Otto proposed on the greeting page: one event per card- // shown, then the doors out of it — hire, raise your own, talk it+ // shown, then the doors out of it — hire, create your own, talk it// through, or skip straight to the builder.| "expert_recommended"| "expert_recommendation_clicked"diff --git a/docs/platform/releases/clay-rock-v1.md b/docs/platform/releases/clay-rock-v1.mdnew file mode 100644index 0000000000..6c7a84dab9--- /dev/null+++ b/docs/platform/releases/clay-rock-v1.md@@ -0,0 +1,56 @@+# Clay & Rock V1++Repository baseline: `45275cbb0bb36aa9aadfd2688de94daab3a8456e` (public master inspected 23 September 2026).++Retargeted to `dev` at `bdb8806affd46e79d412163f94b903615cf677d9`. That branch expands the roster to 32 Experts; its additional roles and saved template cohorts need a follow-up copy/artwork review. Catalog defaults use the approved specialist artwork for Maria and Mina. The onboarding illustration also uses supplied transparent artwork for seven specialists.++## What changes++- Approved v1.1 neutral Otto, Maria and Mina artwork, shared across the product. All 72 image exports retain the source bytes; artwork uses contain sizing, density variants, PNG fallback and an accessible text fallback. No new body motion or expression assets.+- Template defaults and new hires receive the reviewed Maria/Mina appearance and corrected managed biographies. Existing hires keep their stored appearance and identity. Selection uses saved URLs, never a person's display name, job title, category or task state.+- Compact identities show names and functional roles without a repeated tagline; detailed specialist identities retain AI Expert disclosure. Includes Create an Expert wording and Appearance upload labels. Otto remains the personal Head of AI. Existing route names and tool identifiers remain compatible.+- Shared generation guidance for new Expert charters, onboarding recommendations and Expert chat: no seniority, human career, tenure or credential claims, and no blanket promises to replace people. This is prompt guidance, not proof that every model response will comply.+- Home shows the supplied status detail and next step. Expert work shows textual run guidance; detailed run badges use the same labels. Approval explanations can wrap instead of being visually clipped. Run enums and approval decisions are unchanged.+- Files navigation follows the Files page flag. Onboarding email source says Otto and links to `/copilot`; workflow, billing and unsubscribe destinations retain their purpose. Shared notification artwork uses versioned Otto PNGs.+- Expert appearance uploads accept PNG/JPEG/WebP up to 5 MB, retain file-signature validation and malware scanning, and receive fresh filenames. Creation and appearance updates no longer require AutoMod approval or Redis receipts. Updates retain authenticated ownership checks. Upload errors preserve saved appearances and creation drafts. Marketplace publication moderation is outside this change.+- Onboarding uses eight spaced nodes with transparent artwork and name-only labels. Transparent 512-pixel WebP assets total 1.11 MiB, down from 9.59 MiB of supplied PNGs. Otto supports explicit size and transparency choices; team cards and headers use the original circular artwork. Emails use a 320-pixel transparent PNG over their existing colored bands.++## Release dependencies and safe rollout++1. Ship the versioned public image files before, or together with, backend defaults and email templates. Older image paths remain available. Do not purge old assets referenced by existing users or emails.+2. Appearance uploads use the existing media storage and malware scanner. No AutoMod or approval-receipt configuration is required for them; existing marketplace moderation is unchanged.+3. No database migration or roster reseed is needed to show updated catalog defaults. The projection only replaces recorded old defaults on template rows; new hires persist the projected values. Existing hires are deliberately not rewritten by reads.+4. Do not run the roster seed as a cosmetic migration: it also synchronizes routines, preloads and other behavior. Saved avatars are excluded from reseed backfills, including unchanged old defaults. Its other presentation backfills read batches of 100 hires, compare each field with the previous template and guard each write against concurrent edits. Identity rescoping retains the existing recognized-default gate. Rescope retries use recorded pre-rescope presentation defaults when the template has already advanced, so interrupted runs resume without leaving legacy hires behind. Unknown legacy baselines still leave the hire unchanged rather than guessing which fields the owner edited. Database-backed migration tests still need the isolated integration stack.+5. Hire Experts, onboarding and Files remain separate feature cohorts. This change does not enable flags. Verify each intended release cohort before rollout.+6. Onboarding tour delivery is managed through MailerLite. Updating these repository templates does not update a live MailerLite campaign. Its source and published copy need a separate owner review.++No agent-run local browser tests or production data changes were made. The user manually reviewed onboarding, team, sidebar and chat pages. Only the local marketplace template catalog was populated for previewing; workflows were not seeded. Local DOM tests do not establish production availability. Production/development deployment parity and real email-client rendering remain release checks.++## V2, after review++- Approve artwork for the remaining roster Experts (30 after the merge from `dev`, up from 13 in the original audit); retain their existing assets for V1.+- Replace the legacy custom appearance picker and generator with the reviewed mineral library and its constraints. V1 does not claim that legacy Notion artwork meets Clay & Rock.+- Implement reviewed facial expressions while keeping the body still, with text, reason and next action remaining independently accessible.+- Add the broader appearance generation workflow, ownership/version metadata where needed, and cooldowns after product approval.+- Complete marketing/CMS and MailerLite artwork and copy work in their actual source systems.+- Consider a separately reviewed, reversible migration for untouched older hires; do not replace user-authored names, avatars, instructions or history.++## Validation record++The workspace `.context/` logs contain implementation checks. Current coverage includes saved appearance stability and fallbacks, template projection, conditional backfill, upload validation and scanning, avatar API compatibility, Files gating, creation flows and email destinations. Live credentials, schedules, permissions and billing were not exercised or changed.++The historical runs below predate the removal of appearance moderation; their moderation-specific tests were removed with that feature.++Completed local checks:++- Frontend formatting, lint and TypeScript: passed (existing lint warnings remain).+- Full frontend suite: 7,515 initially passed; the 14 failures were investigated and fixed. Final affected-suite run: all 321 tests across 22 files passed, including every initially failing file.+- Backend: 219 tests passed across presentation/backfill, moderation, avatar routes, media storage, notification rendering, onboarding recommendations and Expert context. Route tests used the existing API auth fixtures with a local test-user fixture; no database was started.+- Backend formatting/lint excluding the global type pass: passed. Type checking of every changed backend source file: zero errors.+- The repository-wide backend type pass reports four errors in untouched files: an optional signing-key type in `autogpt_libs/auth/jwt_utils_test.py:74`, and missing `playwright.sync_api` imports in three `test/fixtures/skills/webapp-testing/examples/` scripts. No Playwright/browser dependency was installed or run to resolve those examples.+- React Doctor: no reported issues in its changed-file scan (92/100).+- All 72 approved character image exports match the supplied pack byte for byte. `git diff --check` passed.++PR packaging keeps two original 1024-pixel PNG exports (Maria and Mina, each under 1 MB) through exact-path exceptions to the 500 KB added-file check. The manifest is excluded from the entropy scanner because its reviewed SHA-256 image checksums are public integrity metadata. Other files retain both checks, and the separate gitleaks scan remains enabled.++Review follow-up checks: 276 tool-schema checks, 120 Expert-tool/context tests, 104 avatar-route/moderation tests, 33 media/moderation tests, 6 presentation tests and 44 renderer tests passed. The full frontend CI suite passed on the initial PR; review fixes add flag-cohort, empty-title disclosure, create-upload query and error-recovery checks. React Doctor's latest scan reports one maintainability warning in the existing ThreadHeader component (84/100), with no security or correctness finding. Live deployment checks above remain outstanding.