Skip to content

Avatar: mixed-family runtime and performance acceptance #757

Closed

Description

@DoodleBears

Parent

Coordination hub: #750, a native sub-issue of #748. Source specification: #748; accepted design: ADR-0118.

What to build

A Human can use the complete first-release Avatar feature with mixed illustrated/abstract PersonaBots across the sidebar and enlarged views within measured browser resource budgets. Complete the integrated runtime/visual acceptance and any narrowly necessary rendering improvements without changing truthful work/attention or reducing the agreed family/editing/transition/fallback scope.

Acceptance criteria

  • Measure the complete supported feature at exact revision/browser/device with 1/8/32 visible active Avatars as initial gradients, then the realistic supported limit. Include mixed families, legal geometry extrema, rapid transitions, scrolling, same-Bot multi-instance, hidden/reduce, disconnect and recovery.
  • Record frame timing, memory, retained lifecycle resources, SVG node/asset cost and bundle/gzip increment. Establish numerical acceptance budgets from the measurements before claiming performance acceptance; the initial counts are not a predeclared supported limit or already passing benchmark.
  • Where needed, bound render/sampling/asset work through the existing owning/bridge/Client paths and simplify decoration or offscreen work while preserving current status and the accepted complete first-release feature set. No new library is assumed.
  • Verify both families' small-avatar recognition and enlarged expression separately in light/dark themes, including rich geometry, short abstract transitions and retained appearances under missing versions.
  • Run the complete actual DSH path: edit/Save/Cancel → fresh owning read → same appearance across Bindings → real work plus native approval → resolution/cancellation → reload/disconnect/reconnect/Host restart. Retain revisioned evidence and focused automated regressions for any resulting fixes.
  • Confirm controlled recipe round trips, malformed-input rejection, current image/default compatibility and absence of per-frame RPC/Session history/appearance writes. Do not claim Bot activity: Orchestrator and Assignment aggregation #123's undelivered attention/waiting axes, Group activity: live facepile, safe summaries and details #124 Group expansion, Live2D or full sharing/backup as complete.
  • Human accepts the full first-release behavior against Spec: editable SVG Avatars with two families and truthful activity #748. Completing only the first family does not satisfy this ticket or the source specification.

Blocked by

The listed direct dependencies transitively include the first-family and abstract-family tracers; no redundant blocking edges are needed.

Activity

  1. added this to the v1.1 milestone on Oct 3, 2026
  2. added
    enhancementNew feature or request
    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:validationInstalled or end-to-end verification gate
    on Oct 3, 2026
  3. DoodleBears commented on Oct 5, 2026

    @DoodleBears
    ContributorAuthor

    Delivered in #861 (a75271f). Pixel-morph changes shipped as @botharness/pixel-morph 0.2.0 via BotHarness/BotPixel#3.

    Outcome. Every morph on screen now shares one requestAnimationFrame loop, following the morphicons model. The changes:

    • Pixel tool transitions step at 20 fps and draw one <path> per colour.
    • Line morphs share their own single loop.
    • Avatars scrolled out of view stay still across updates.

    On an M3 with Chrome 154 at a stress cadence (every Avatar changes tool every 0.7 s):

    Scenario Before After
    32 mixed 796 ms/s main thread, about 1,300 rAF/s 192 ms/s, 122 rAF/s, p95 16.7 ms
    32 pixel only 20 fps 60 fps
    64 / 128 mixed 30 fps / 15 fps 60 fps
    32 mixed, 4× CPU throttle 12 fps 60 fps
    256-row sidebar, scrolling p95 100 ms p95 16.8 ms

    Budgets, the harness, raw numbers, the light/dark recognition sheet at 18–96 px, and the real-DSH run record are in docs/evidence/issue-757/.

    The budgets assume a supported limit of 32 active Avatars visible together and 256 mounted.

    The real-DSH path passed on the final build:

    • edit, Cancel and Save, then a fresh read
    • the same appearance across sidebar, header, Profile and editor
    • real work plus native approval, through resolution
    • reload, disconnect (stale) and Host restart
    • an exact round trip of a detailed recipe, with nine malformed inputs rejected
    • pixel, line and retained-unsupported Bots active together

    No per-frame RPC was seen, and no appearance or Session writes happened while animating.

    Human accepted on 2026-10-05.

    Not claimed (per this issue): #123's attention/waiting axes, #124 Group expansion, Live2D, and full sharing/backup.

    Follow-ups noticed, not fixed here:

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 areaenhancementNew feature or requestfeature:avatarPersonaBot avatar media and activity frameready-for-agentFully specified, ready for an AFK agentscope:validationInstalled or end-to-end verification gate

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions