Repository navigation
feat(avatar): goblin Avatar Species and split side hair (#1210) - #1229
Conversation
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
|
Warning Review limit reachedYou'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. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
⛔ Files ignored due to path filters (4)
📒 Files selected for processing (14)
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. Comment |
…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
|
CI on I don't think this failure is caused by this PR:
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
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-avatar0.3.0 (BotHarness/BotPixel#9, released) adds asset version 2 recipes:species,rightSideHairand optionalleftSideHairColor/rightSideHairColor;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:
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.
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.
The same recording as video: goblin-species-flow.mp4.
Verification
pnpm lint,pnpm format:checkandpnpm typecheckpass.New and updated tests pass:
isIllustratedAvatarRecipe, and resetting a side color removes it.assetVersion: 2to999, 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 bundlenode:sqliteunder 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