Skip to content

feat(avatar): goblin Avatar Species and split side hair (#1210) - #1229

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

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

Conversation

@DoodleBears

@DoodleBears DoodleBears commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This is the first tracer bullet of #1209, following ADR-0148. A Human can make their pixel Avatar a goblin, style the left and right side hair separately, and give each side its own color. The goblin keeps head turns and the speaking mouth in Window Companions.

  • BotPixel. @botharness/pixel-avatar 0.3.0 (BotHarness/BotPixel#9, released) adds asset version 2 recipes:

    • species, rightSideHair and optional leftSideHairColor / rightSideHairColor;
    • goblin ears and tusks;
    • a version-discriminated recipe type.

    Version 1 recipes and seeded faces render byte-identically.

  • Core. Core moves to 0.3.0 and re-exports the species API. The PersonaBot owning module's existing validation, canonicalisation and snapshot path accept version 2 unchanged, because validation lives in the package.

  • Editor. The Avatar editor gains:

    • a Species tab;
    • Left side hair and Right side hair tabs;
    • per-side hair colors with a Follow hair color reset;
    • species-specific skin swatches.

    Random covers both species. Editing a species or a single side upgrades the recipe to version 2. Older Clients then show the saved snapshot, per ADR-0118.

  • Locale. New zh/en strings. The English label for the human species is "Person", because "Human" is an internal term.

Evidence

These were captured on an isolated DSH instance running this branch. See docs/assets/pr/1210-goblin-species.

Full flow. Edit to goblin, split the side hair and color one side, save, then the Window Companion speaks. The speech is simulated, as described below.

full flow

Species: human → goblin keeps the saved hair and outfit Left and right side hair colors
goblin species split hair colors

Window Companion speaking, simulated. A test script drives the companion's real closed, half-open and open mouth layers at text pace. No model reply is involved. The close-up is scaled ×4 with CSS for the recording only.

goblin speaking

companion close-up

The same recording as video: goblin-species-flow.mp4.

Verification

  • pnpm lint, pnpm format:check and pnpm typecheck pass.

  • New and updated tests pass:

    • The editor saves a goblin with split, separately colored side hair. The saved recipe passes isIllustratedAvatarRecipe, and resetting a side color removes it.
    • Core derives a version 2 goblin snapshot and rejects an unknown species. A human version 2 recipe renders identically to its version 1 source.
    • "Unknown version" fixtures move from assetVersion: 2 to 999, now that version 2 is valid.
  • Full pnpm test: 3372 passed, 4 failed, 9 skipped (5 files failed). I re-checked each failing file:

    • locale-terms: caused by this PR, fixed in e4e4050.
    • source-policy, changelog-public-surfaces, bot-contact-discovery: they pass when re-run alone, so they look load-sensitive under the full parallel run.
    • client-observer: fails to bundle node:sqlite under this sandbox's Node 22 with or without this PR's changes. The repo pins Node 24.

    CI here is the authority.

  • After merging main (the Release Ledger conflicts kept both sides), typecheck and the 44 avatar, registry and locale tests pass again.

  • Not done: a live DM reply. Turns on the sandboxed Host ended without a reply, even though the model provider answered direct requests. The speaking evidence above is simulated, as agreed with the Human.

Closes #1210 · Refs #1209 · Agent-Task: claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8 · claim

🤖 Generated with Claude Code

https://claude.ai/code/session_01MozvQ2eMvqX1MzSqm9G2o8

claude added 4 commits October 8, 2026 16:57
The illustrated Avatar editor gains a Species tab, left and right side
hair categories, per-side hair colors with a follow-hair-color reset,
and species-specific skin swatches; random covers both species. The
core facade re-exports the pixel-avatar 0.3.0 species API. Tests cover
saving a goblin with split, separately colored side hair and deriving
its snapshot; unknown-version fixtures move to assetVersion 999 now
that version 2 is valid.

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

Issue: #1210
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: #1210
Agent-Task: claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MozvQ2eMvqX1MzSqm9G2o8
Moves core to the published @botharness/pixel-avatar 0.3.0, allows it
in the release-age exclusions, drops the editor's code comments per the
source policy, and adds the #1210 evidence: editor stills, a simulated
speaking close-up and the full editing flow.

Issue: #1210
Agent-Task: claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MozvQ2eMvqX1MzSqm9G2o8
Human is an internal term kept out of English UI copy.

Issue: #1210
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 16 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: aae2f11e-b6fa-40e4-bb86-4905303da688
📥 Commits

Reviewing files that changed from the base of the PR and between a7b8524 and 08f6a10.

⛔ Files ignored due to path filters (4)
  • docs/assets/pr/1210-goblin-species/goblin-speaking.gif is excluded by !**/*.gif
  • docs/assets/pr/1210-goblin-species/goblin-species-flow.gif is excluded by !**/*.gif
  • docs/assets/pr/1210-goblin-species/goblin-species-flow.mp4 is excluded by !**/*.mp4
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (14)
  • CHANGELOG.md
  • CHANGELOG.zh.md
  • docs/assets/pr/1210-goblin-species/README.md
  • docs/assets/pr/1210-goblin-species/companion-speaking-en-light.webp
  • docs/assets/pr/1210-goblin-species/editor-goblin-en-light.webp
  • docs/assets/pr/1210-goblin-species/editor-split-hair-colors-en-light.webp
  • packages/client/src/client/avatar-appearance-editor.tsx
  • packages/client/src/client/locale.ts
  • packages/client/test/avatar-appearance-editor.test.ts
  • packages/core/package.json
  • packages/core/src/bots/avatar-appearance.ts
  • packages/core/test/avatar-artwork.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.

claude added 3 commits October 8, 2026 17:31
…gv7xu2

# Conflicts:
#	CHANGELOG.md
#	CHANGELOG.zh.md
…gv7xu2

# Conflicts:
#	CHANGELOG.md
#	CHANGELOG.zh.md
Issue: #1210
Agent-Task: claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MozvQ2eMvqX1MzSqm9G2o8

Copy link
Copy Markdown
Contributor Author

CI on db65c12 failed on one test only: packages/core/test/human-dm-steer.test.ts › "folds many short pending Human DM messages up to the character budget" hit its 15 s timeout. The other 3,400 tests passed.

I don't think this failure is caused by this PR:

  • The PR doesn't change Human DM steering or any messaging code. The diff covers the Avatar editor, the pixel-avatar dependency, locale strings and evidence assets.
  • The same test passed in CI on this PR's earlier head fa8d5a8.
  • It passes 3/3 locally on this head.

No fix exists for it yet. I've re-run the failed job once and will report back if it fails again.


Generated by Claude Code

…gv7xu2

# Conflicts:
#	CHANGELOG.md
#	CHANGELOG.zh.md
@DoodleBears
DoodleBears merged commit 1f25d38 into main Oct 8, 2026
2 checks passed
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 Species 1: goblin and split colored side hair

2 participants