Skip to content

feat(avatar): elves, dwarves, orcs, talking flowers and full-domain seeded faces - #1235

Merged
DoodleBears merged 6 commits into
mainfrom
claude/festive-gauss-gv7xu2
Oct 8, 2026
Merged

DoodleBears merged 6 commits into
mainfrom
claude/festive-gauss-gv7xu2

Conversation

@DoodleBears

@DoodleBears DoodleBears commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Closes #1212, closes #1213, closes #1214. Part of spec #1209 (ADR-0148). This PR uses @botharness/pixel-avatar 0.4.0 (BotHarness/BotPixel#10).

Medieval species and parts (#1212)

  • The editor offers elf, dwarf and orc.
  • A Beard category (none, short, full, braided) appears for every species except flower.
  • New outfits: armor, robe, tunic, cloak. New headwear: helmet and hood.
  • Choosing any of these upgrades the recipe to asset version 2. Older recipes still save and render unchanged.

Talking flower (#1213)

  • The flower species has Petals (trumpet bell by default, daisy, sunflower, tulip, sakura) and Base (leaves or pot).
  • Its face is two bead eyes plus the speaking mouth.

Hidden but kept

  • Some saved choices aren't drawn by the current species or headwear: hair under a helmet or hood; a flower's hair, outfit, beard, eyes, brows, nose, cheeks and glasses; a dwarf's nose.
  • Their categories show a note that the choice is kept and returns when you switch back. hiddenChoices from BotPixel decides which.

Full-domain seed (#1214)

  • PersonaBotRegistry.create now stamps avatarSeed: 2. A Bot with that stamp and no saved Avatar gets a face seeded from its name across every species, beard, outfit and flower part.
  • Bots without the stamp keep their human-only v1 face everywhere: Client avatars, the editor's starting recipe, the shared .botharness/bot.json descriptor, the Window Companion, session owners and the Activity Center.
  • The record validator accepts only avatarSeed: 2. Bridge DTOs and Client parsers carry it through.
  • The Create Bot dialog previews the v2 seed.

Evidence

I captured this on an isolated DSH instance built from this branch. The speech is simulated: a test script drives the companion's own mouth layers, and no model reply was involved. Details: docs/assets/pr/1212-medieval-flower-species.

Seeded preview: "Bramble" is a bearded dwarf New Bots "Basil" and "Nova" are flowers; "Tulip", created by a build without the seed version, keeps its v1 face
seed-bramble`` created-basil``
Helmet hides hair; bangs kept with a note Dwarf speaking: the beard leaves the mouth visible
helmet-hidden-note`` dwarf-speaking``
Flower: bead eyes, trumpet bell, pot Flower speaking as a Window Companion
flower-hidden-note`` flower-speaking``

Full flow:

Video: species-flow.mp4

Verification

  • pnpm typecheck, pnpm lint, pnpm format and node scripts/check-release-ledger.mjs all pass.
  • Full vitest run: 3456 passed. client-observer.test.ts fails to bundle node:sqlite in this container; it fails the same way on a clean tree.
  • New and changed tests:
    • editor: dresses a dwarf, keeps hidden hair, grows a flower; a v2-seeded Bot opens and saves its v2 face, and its avatar differs from the v1 seed;
    • registry: create persists avatarSeed: 2; the record validator rejects other values;
    • descriptor sync: new Bots publish the v2 face, and a record without the stamp still publishes the v1 face;
    • bridge: parseBotSummary keeps only avatarSeed: 2; listBots, getBot, createBot, updateBot and sessionOwner expose it.

Agent-Task: claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8

🤖 Generated with Claude Code

https://claude.ai/code/session_01MozvQ2eMvqX1MzSqm9G2o8

claude added 6 commits October 8, 2026 18:20
The Avatar editor offers elf, dwarf, orc and flower species, a beard
tab, armor/robe/tunic/cloak outfits, helmet/hood headwear, and a
flower's petals and base. Tabs for choices the current species or
headwear keeps but does not show display a note instead of discarding
them; petals and base appear only for a flower, beards for everyone
else. Random covers every species, beards and flower parts.

Requires @botharness/pixel-avatar 0.4.0 (dependency bump follows its
release).

Issue: #1212
Issue: #1213
Agent-Task: claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MozvQ2eMvqX1MzSqm9G2o8
A PersonaBot created from now on records avatarSeed 2 and its unedited
Avatar is seeded from the full version 2 domain: any species, beards,
medieval outfits and flower parts. Bots without the stamp keep their
original human-only face everywhere: Client avatars, the editor's starting
recipe, the Window Companion, session owners, Activity Center and the
shared descriptor.

Issue: #1214
Agent-Task: claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MozvQ2eMvqX1MzSqm9G2o8
Issue: #1212
Agent-Task: claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MozvQ2eMvqX1MzSqm9G2o8
Issue: #1212
Agent-Task: claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MozvQ2eMvqX1MzSqm9G2o8
…gv7xu2

# Conflicts:
#	CHANGELOG.md
#	CHANGELOG.zh.md
Issue: #1212
Agent-Task: claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MozvQ2eMvqX1MzSqm9G2o8
@coderabbitai

coderabbitai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 20 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0905c484-1ff9-452b-8db1-ff87193e5626
📥 Commits

Reviewing files that changed from the base of the PR and between 271e056 and 4f79bd5.

⛔ Files ignored due to path filters (3)
  • docs/assets/pr/1212-medieval-flower-species/species-flow.gif is excluded by !**/*.gif
  • docs/assets/pr/1212-medieval-flower-species/species-flow.mp4 is excluded by !**/*.mp4
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (45)
  • CHANGELOG.md
  • CHANGELOG.zh.md
  • docs/assets/pr/1212-medieval-flower-species/README.md
  • docs/assets/pr/1212-medieval-flower-species/created-basil-en-light.webp
  • docs/assets/pr/1212-medieval-flower-species/dwarf-speaking-en-light.webp
  • docs/assets/pr/1212-medieval-flower-species/flower-hidden-note-en-light.webp
  • docs/assets/pr/1212-medieval-flower-species/flower-speaking-en-light.webp
  • docs/assets/pr/1212-medieval-flower-species/helmet-hidden-note-en-light.webp
  • docs/assets/pr/1212-medieval-flower-species/seed-bramble-en-light.webp
  • packages/client/src/client/activity-center-view.tsx
  • packages/client/src/client/avatar-appearance-editor.tsx
  • packages/client/src/client/avatar.tsx
  • packages/client/src/client/bot-main.tsx
  • packages/client/src/client/bot-sidebar.tsx
  • packages/client/src/client/bridge.ts
  • packages/client/src/client/channel-delivery-receipt.tsx
  • packages/client/src/client/channel-message-body.tsx
  • packages/client/src/client/group-member-controls.tsx
  • packages/client/src/client/hidden-channels.tsx
  • packages/client/src/client/human-inbox-assignment.tsx
  • packages/client/src/client/human-inbox-controls.tsx
  • packages/client/src/client/human-inbox-reply.tsx
  • packages/client/src/client/locale.ts
  • packages/client/src/client/persona-bot-create.tsx
  • packages/client/src/client/personabot-profile.tsx
  • packages/client/src/client/profile-header.tsx
  • packages/client/src/client/session-return-action.tsx
  • packages/client/src/client/store.ts
  • packages/client/src/client/styles.ts
  • packages/client/src/client/window-companion-view.tsx
  • packages/client/src/client/window-companion.ts
  • packages/client/test/avatar-appearance-editor.test.ts
  • packages/client/test/bridge.test.ts
  • packages/core/package.json
  • packages/core/src/bots/avatar-appearance.ts
  • packages/core/src/bots/bot-descriptor-sync.ts
  • packages/core/src/bots/persona-bot.ts
  • packages/core/src/bots/registry.ts
  • packages/core/src/bridge/methods.ts
  • packages/core/src/companions/feed.ts
  • packages/core/src/plugin.ts
  • packages/core/test/bot-descriptor-sync.test.ts
  • packages/core/test/bridge-methods.test.ts
  • packages/core/test/registry.test.ts
  • pnpm-workspace.yaml
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

Avatar random: full-domain seed for new Bots Avatar Species 4: talking flower Avatar Species 2: elf, dwarf, orc, beards and medieval outfits

2 participants