Skip to content

Avatar: freshness and lifecycle across both families #756

Closed

Description

@DoodleBears

Parent

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

What to build

When activity synchronization is lost, a Human can distinguish the last observed Avatar activity from fresh execution and sees an explicit synchronization limitation. Both families stop misleading continuous motion and resume from a valid new baseline after recovery. Shared motion preference, visibility and disposal govern all instances consistently.

Acceptance criteria

  • Coordinate one presentation-freshness contract with the existing activity-live consumer and expose it consistently to small/large Avatar Bindings; freshness does not create another execution or attention authority.
  • Disconnect during actual work/approval retains last-known facts as stale observations, discloses unavailable synchronization and stops misleading decorative loops. Do not fabricate idle/success/error or newly live attention while disconnected.
  • Reconnect/Host restart accepts current generation/revision, rejects old responses and clears historical approval as the owning contract requires. Fresh work/attention resumes accurately.
  • Runtime system/full/reduce changes apply to both families. Hidden/offscreen instances stop sampling; visibility return acquires a truthful baseline where required, and unmount/mode exit releases animations/observers/subscriptions.
  • Repeated mounting, scrolling, hiding and recovery remain bounded with multiple same-Bot instances. Basic lifecycle discipline remains required in earlier tickets; this ticket delivers coordinated freshness and cross-family recovery behavior.
  • Automated snapshot/live-stream recovery and observable renderer lifecycle regression complement browser measurements. Real isolated DSH demonstrates disconnect → explicit stale presentation → recovery, both sizes/themes, with real work and approval.

Blocked by

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:tracerHuman-testable implementation slice
    on Oct 3, 2026
  3. DoodleBears commented on Oct 5, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

    • Agent: Claude Code
    • Task: claude-code/local/eecf5b6c-6238-4faa-9399-32f875aae502
    • State: done — merged after Human acceptance (PR feat(avatar): show stale activity when live sync drops #856).
    • Delivered: one freshness fact (activitySync) owned by the activity-live consumer; stale sidebar notice; both families hold the last observed state without motion; greyed, paused indicators; fresh baseline on reconnect/restart without fabricated states.
    • Validation: verify CI passed; local full suite (2,468) and build passed; real DSH stop/restart evidence in the PR.
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:tracerHuman-testable implementation slice

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions