Skip to content

Avatar Customization + Update Agent Brain#23

Merged
iamlukethedev merged 2 commits into
mainfrom
feature/avatar-customization
Mar 21, 2026
Merged

Avatar Customization + Update Agent Brain#23
iamlukethedev merged 2 commits into
mainfrom
feature/avatar-customization

Conversation

@iamlukethedev

Copy link
Copy Markdown
Owner
  • An in-app avatar creator for agents with live 3D preview, appearance presets, and accessory controls for customizing office avatars.
  • A unified agent editor modal in the office that lets you edit avatars alongside agent brain files such as IDENTITY.md, SOUL.md, AGENTS.md, USER.md, TOOLS.md, MEMORY.md, and HEARTBEAT.md.
  • Structured avatar profile persistence and normalization so studio settings can store full avatar appearance data per gateway and agent instead of only avatar seeds.
  • A DEBUG environment toggle for controlling the OpenClaw event console in the office UI.

@iamlukethedev iamlukethedev merged commit 65c2b9c into main Mar 21, 2026
2 checks passed
@iamlukethedev iamlukethedev deleted the feature/avatar-customization branch March 21, 2026 04:05
robotica4us-collab pushed a commit to robotica4us-collab/Claw3D that referenced this pull request Mar 21, 2026
…hedev#25

PR iamlukethedev#23 (Avatar Customization) and iamlukethedev#25 introduced breaking changes to
several components without updating the corresponding test assertions.
This commit brings all 142 test files back to green (831/831 passing).

Fixes:

tests/unit/agentBrainPanel.test.ts (4 tests):
  - Section headings changed from personality labels (Persona, Directives,
    Context, Identity) to file names (SOUL.md, AGENTS.md, USER.md,
    IDENTITY.md) — updated all getByRole/getByLabelText matchers
  - Discard button renamed to Cancel with different semantics: it now calls
    onCancel callback instead of resetting internal state — test updated to
    verify callback invocation instead of value reset

tests/unit/colorSemanticsGuard.test.ts (1 test):
  - PR iamlukethedev#23 added amber hue utilities for exec-approval and voice-recording
    indicators in AgentChatPanel.tsx — these domain-specific color patterns
    are hard to abstract into semantic CSS variables
  - Added a per-file allowlist for intentional raw hue patterns
  - Replaced voice status red/amber classes with semantic ui-alert-danger
    and CSS custom property fallbacks in AgentChatPanel.tsx

tests/unit/settingsRouteWorkflow.test.ts (2 tests):
  - Redirect target changed from /agents to / — updated assertions

tests/unit/useSettingsRouteController.test.ts (1 test):
  - Same /agents → / redirect update

tests/unit/studioUpstreamGatewaySettings.test.ts (1 test):
  - loadUpstreamGatewaySettings intentionally skips openclaw.json token
    fallback for non-local URLs (security: don't leak local credentials
    to remote gateways) — test was using a non-local URL but expecting
    token fill; fixed to use ws://localhost which matches the guard
robotica4us-collab pushed a commit to robotica4us-collab/Claw3D that referenced this pull request Mar 21, 2026
…hedev#25

PR iamlukethedev#23 (Avatar Customization) and iamlukethedev#25 introduced breaking changes to
several components without updating the corresponding test assertions.
This commit brings all 142 test files back to green (831/831 passing).

Fixes:

tests/unit/agentBrainPanel.test.ts (4 tests):
  - Section headings changed from personality labels (Persona, Directives,
    Context, Identity) to file names (SOUL.md, AGENTS.md, USER.md,
    IDENTITY.md) — updated all getByRole/getByLabelText matchers
  - Discard button renamed to Cancel with different semantics: it now calls
    onCancel callback instead of resetting internal state — test updated to
    verify callback invocation instead of value reset

tests/unit/colorSemanticsGuard.test.ts (1 test):
  - PR iamlukethedev#23 added amber hue utilities for exec-approval and voice-recording
    indicators in AgentChatPanel.tsx — these domain-specific color patterns
    are hard to abstract into semantic CSS variables
  - Added a per-file allowlist for intentional raw hue patterns
  - Replaced voice status red/amber classes with semantic ui-alert-danger
    and CSS custom property fallbacks in AgentChatPanel.tsx

tests/unit/settingsRouteWorkflow.test.ts (2 tests):
  - Redirect target changed from /agents to / — updated assertions

tests/unit/useSettingsRouteController.test.ts (1 test):
  - Same /agents → / redirect update

tests/unit/studioUpstreamGatewaySettings.test.ts (1 test):
  - loadUpstreamGatewaySettings intentionally skips openclaw.json token
    fallback for non-local URLs (security: don't leak local credentials
    to remote gateways) — test was using a non-local URL but expecting
    token fill; fixed to use ws://localhost which matches the guard
@joserrapev joserrapev mentioned this pull request Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant