Skip to content

Custom Parts 1c: draw every other part slot starting from the built-in style #1240

Closed

Description

@DoodleBears

Parent

Part of #1209. Requested on 2026-10-08: besides hair, every part can take a Custom Part, and drawing starts from the built-in style.

What to build

A Human draws their own outfit, accessory, beard, glasses, nose, cheeks, flower petals or flower base the same way as hair in #1238. They open the slot, start from the built-in style they wear (or a blank canvas), save the result to the Part Library and wear it in that slot. Colors stay appearance-slot references with tones, so recoloring keeps working.

Acceptance criteria

  • BotPixel defines Custom Part slots, each with a canvas, anchor and layer rule matching the built-in part it replaces:
    • outfit and flowerBase on the body layer;
    • accessory in front and back layers around hair;
    • beard, glasses, nose and cheeks on the face layer;
    • petals behind the face.
  • Face-layer slots never cover the speech mouth area or the eyes' blink and gaze cells, so blink and closed/half-open/open speech keep working. Eyes, brows and mouth stay authored rig parts (ADR-0148): they need blink and speech frames, and drawn versions of them are out of scope.
  • Each slot can start from the built-in style flattened for the current recipe, using the flattening from Custom Parts 1b: draw hair pieces starting from the built-in style #1238. Shirt-, skin- and hair-colored pixels become color-slot cells with their tones.
  • Drawn parts follow the slot's turn rules and the species/headwear hiding rules (hiddenChoices). A worn part keeps the built-in choice saved underneath.
  • The editor offers "Draw / edit this piece" in each of these categories. The Part Library filters by slot.
  • Older Clients fall back to the snapshot, and existing golden output is unchanged.
  • Tests cover each slot's bounds, flattening and an identical round-trip for an unchanged part, the mouth and eye keep-out on face-layer slots, turns and hiding.

Blocked by

Activity

  1. added
    ready-for-agentFully specified, ready for an AFK agent
    area:ui-uxInteraction and visual experience; may accompany a code-layer area
    feature:avatarPersonaBot avatar media and activity frame
    area:fullstackEnd-to-end Host and Client implementation
    scope:tracerHuman-testable implementation slice
    on Oct 8, 2026
  2. DoodleBears commented on Oct 8, 2026

    @DoodleBears
    ContributorAuthor

    Claiming this tracer bullet. The BotPixel half is up as BotHarness/BotPixel#15 (replacement slots, flattening to an identical copy, mouth keep-out, hiding). The editor half follows once #1238 merges.

    Agent-Task: claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8


    Generated by Claude Code

  3. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 8, 2026
  4. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 8, 2026
  5. DoodleBears commented on Oct 8, 2026

    @DoodleBears
    ContributorAuthor

    Outcome: implemented in #1243 (merged as 5efae37) on top of @botharness/pixel-avatar 0.7.0 (BotHarness/BotPixel#15).

    • What's in it: outfit, accessory, beard, glasses, nose, cheeks, petals and flower base each offer Draw or edit this piece. Editing starts from the worn built-in style, and an unchanged copy renders identically.
    • Evidence: in docs/assets/pr/1240-drawn-parts/. CodeRabbit had no actionable comments and CI is green.
    • Waiting for human QA: the visual acceptance in the running app.

    The claim is released.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:fullstackEnd-to-end Host and Client implementationarea:ui-uxInteraction and visual experience; may accompany a code-layer areafeature:avatarPersonaBot avatar media and activity frameready-for-agentFully specified, ready for an AFK agentscope:tracerHuman-testable implementation slice

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions