Skip to content

Window Companion: body-projected bubble anchors for the pixel bust #1177

Closed
1 of 1 issue completed
Closed

Description

@DoodleBears

Parent

Specification #1135; follow-up selected after the Coopanion comparison.

What to build

Keep a companion's message and request bubbles naturally attached to the current half-body character while it tilts, stretches, falls and settles. The owning Avatar exposes a stable head/top anchor; the wrapper projects it through the actual displayed pose and retains readable viewport bounds and multiple-companion avoidance. Borrow the geometric idea, not reference code or licensed assets.

Acceptance criteria

  • Idle, grab, reversing drag, fall, landing and walking use the actual character pose to place the bubble origin; it does not drift relative to the visible bust or jump on interrupted motion.
  • Message cards remain upright/readable while the origin follows the character. Stack/list reading, hover gap grace and toolbar access remain usable.
  • Viewport/resize limits and multi-Bot bubble avoidance may displace the card, while the relationship to its actual originating Bot stays clear; crowded layouts do not invent a Bot cap or hide requests.
  • Current image/unsupported-rig fallbacks use a documented stable box anchor, without inventing face parts or editing saved appearance; Activity symbol cover retains a meaningful anchor.
  • Reduced motion, keyboard moves, hidden/offscreen and disposal remain correct. No whole-SVG frame measurement loop or Host per-frame RPC is introduced.
  • Regression coverage plus matched real DSH screenshots and a short drag/tilt/stack recording in one PR.

Blocked by

None (can start immediately). #1173 is related motion work, not a functional blocker; coordinate shared view edits without inventing a dependency.

Activity

  1. added this to the v1.2 milestone on Oct 8, 2026
  2. 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
    on Oct 8, 2026
  3. DoodleBears commented on Oct 8, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

    • Agent: Codex
    • Task: codex/local/01a11734-bb09-7f01-9d45-adc0f5df6269 (not a DSH Session)
    • Issue scope: Window Companion: body-projected bubble anchors for the pixel bust #1177 body-projected bubble anchors for the existing pixel bust, preserving upright cards, fallbacks, bounds and independent playback.
    • Branch: codex/1177-companion-bubble-anchors
    • Started: 2026-10-08 08:31 UTC
    • State: active

    Confirmed scope and dependencies remain unchanged. #1173 is separately implemented in Draft PR #1180; it is related shared-view work, not a functional blocker. This issue will have its own PR and real visual acceptance remains required.

  4. added
    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

    #1177 partial runtime qualification — 2026-10-08

    Task codex/local/01a11734-bb09-7f01-9d45-adc0f5df6269. PR1183 remains draft/unmerged. Implementation37154dab; main92965cf1699a7b034b35286b40f1d64db1da2dec synchronized as final1ed6dcbd. No companion source/test changes during merge; additive bilingual ledger conflicts resolved.

    Two actual QA PersonaBots Ada and Grace were created through UI in isolated DSH RC1 on port31977. Actual model channel_send replies drove stack/list. Walking was paused through controls for stable targets. Identities/history/pins and paused walking remain in the isolated Profile; no mocked Host or DOM presentation mutation.

    Original Host40232 was intentionally stopped to compare clean original-parent89515335 against final1ed6dcbd on the SAME Profile and port. Baseline Host34988 was then intentionally stopped and final Host restored. Neither restart replayed historical message cards. Final diagnostics-final.json reports shell-ready; the last successful final console observation had no errors. Browser Runtime.evaluate/captureScreenshot still intermittently timeout, with unproven attribution.

    Matched idle captures before-idle-light/dark.png at89515335 and after-idle-light/dark.png at1ed6dcbd: Chinese, explicit1559×865, same Bots/history, paused walking. Tiny subpixel position differences remain after resizing. Eye inspection confirms after connectors identify both displaced cards. Idle status is baseline behavior here; quiet-idle is independent PR1180. Published #1183 (comment). All four images render at1559×865 in PR body. Original Follow-system theme restored via checked value1, viewport reset, DSH tasktab1574116278 and GitHub tasktab1574116281 closed; proof github-idle-pairs-proof.png.

    Earlier after evidence captured37154dab: stack, expanded reading, original light idle and drag000 with anchor-release.mp4, #1183 (comment). Local idle filenames subsequently overwritten by final pairs; original GitHub assets remain separate and correctly attributed. Video encodes14actual screenshots with elapsed intervals; not full-rate/audio/performance evidence. DOM trace records fall→land→rest, projected paths and upright cards. Both rigs have bh-illustrated-head. Transition frames after-reading-light.png and after-reading-dark.png excluded.

    Earlier tasktabs1574116265/6267 timed out and were closed; four message-listener errors preserved in console-observed.json/final-console-after.json, source unproven. Older Host diagnostics-read-failed was not evidence of readiness. Final rebuild/restart was for explicit baseline comparison/current-head validation, not a claimed browser-error fix. No proxy, driver, authentication or security changes. GitHub chooser name mismatch corrected from AX; comments verified via API before duplicate risk.

    Final Client134files961tests, types, formatting, lint, build and dual ledgers pass. Full final-head CI37771415153 succeeds (repository tests/build/generated outputs). Independent Standards/Spec reviews found0implementation defects. Idle pairs partially address the missing-pair finding; interactive pairs and edge runtime eyechecks remain. No local full-suite pass/full runtime acceptance claimed.

    Remaining: held/reverse/re-grab/walk, resize/crowding, keyboard/reduced-motion, image/unknown-rig/tool-cover eyechecks and matched interactive pairs. Performance1167 unmeasured; configured tools have no profiler/heap snapshot. Goal active.

  6. DoodleBears commented on Oct 8, 2026

    @DoodleBears
    ContributorAuthor

    Agent progress — real resize correction

    • Task: codex/local/01a11734-bb09-7f01-9d45-adc0f5df6269; existing claim remains active.
    • PR feat(client): anchor companion bubbles to the displayed bust #1183 now includes correction f9fad41a, integration with main 8940165f, and repository-hosted real recordings in evidence head 5c16fab9.
    • Actual drag/re-grab and resize revealed a single 588.694px origin mismatch. The mounted regression fails before correction and passes after point and bubble placement update together.
    • Corrected real DSH recording includes rest/drag/fall/land, 11 trusted pointer events, focused arrow keys and narrow/wide resize. All101 narrow-viewport samples were within0.012px; maximum across1,200 samples was0.710px. These50ms geometry observations are not performance measurements or proof about unsampled frames.
    • Client143files/1,010tests,9 focused regressions, typecheck, lint, format, ledgers and build pass. Both independent review axes found0 implementation defects. Current evidence-head CI is pending; earlier code-head CI was superseded by the evidence push, not reported as passed.
    • Both new600×700 screenshots were verified rendered in the actual public PR page. Continuous silent WebM files are linked for download, with exact revision and comparison limitations. Main adds center onboarding content, so the complete screens are not matched; settled screenshots do not show the transient defect.
    • Draft remains unmerged. Held/reversal, tool-cover, image-fallback, reduced-motion and broader reading-stack eye checks retain their partial status. No performance or whole-feature acceptance is claimed.
  7. DoodleBears commented on Oct 8, 2026

    @DoodleBears
    ContributorAuthor

    Agent progress — current-head CI

    Task codex/local/01a11734-bb09-7f01-9d45-adc0f5df6269 remains active. Complete CI37817289498 passed for exact evidence head 5c16fab9, including full repository tests, build and generated-output checks. PR #1183 now includes this result and verified-rendered screenshots. The previously listed remaining visual scenarios are unchanged; no merge or full visual acceptance is claimed.

  8. DoodleBears commented on Oct 8, 2026

    @DoodleBears
    ContributorAuthor

    Task: codex/local/01a11734-bb09-7f01-9d45-adc0f5df6269; existing claim6055909137 remains active.

    PR1183 now publishes three additional real DSH screenshots, continuous WebM and sanitized qualification for focused reading and settled reduced-motion release. Three new canonical Bot replies were verified. Initial Ada2/Grace1 becomes retained upright Ada2 after Grace expires. Walking was paused through native buttons; public focus enters reading before capture latency consumes TTL, followed by actual hover. Reduced native drag/release settles both companions at bottom865 in22observations with no message cards left. These samples do not prove the first release frame, reduced-message reading, moving-character hover or performance.

    Evidence-only head e282b90 retains runtime c946a74. Standards/Spec re-review against fetched latest main04da6093 finds0code defects; held/reversal, hover/grace, image/tool-cover, background and full latest-main runtime comparisons remain partial. Current CI37844661877 is in progress; no current-head pass claimed. GitHub-rendered repository images5/5 and three WebMlinks were checked; all owned test tabs/isolated browser closed. No merge or full acceptance claimed.

  9. DoodleBears commented on Oct 8, 2026

    @DoodleBears
    ContributorAuthor

    Agent work progress — latest-main fallback/tool qualification

    • Task: codex/local/01a11734-bb09-7f01-9d45-adc0f5df6269.
    • PR: feat(client): anchor companion bubbles to the displayed bust #1183; evidence commit 336199667f120f50fd93b72256c926842ea6fde3, media/docs only. Runtime d1dde91edc4fd01dab9cbaa12a43ed504be68434 integrates main 04da609342f31b613b4102aa716228f00cb3d171 with formal pixel-avatar0.6.0.
    • Real DSH images: native editor saves Grace's own seeded avatar; owning API uses identical PNG bytes for image fallback. New canonical DM, light/dark screenshots and continuous native drag/release recording. Owning reset restores original absent avatar/appearance/seed fields, independently checked against immutable original detail records.
    • Real DSH tool cover: Ada sends a new canonical explanation, then actual ask_user_question remains pending. Activity confirms native tool call. Light/dark bubble-to-head-region captures and continuous drag/release recording. Both setup/capture QA questions were submitted through the native Chat form and actual Bot continuations verified; no live QA request remains.
    • Five stationary/post-release phases ×25samples at80ms: connector-origin error0px in every connector-bearing sample. This is sampled geometry, not frame timing or unsampled-motion proof. Walking paused via native buttons; normal public focus retains real cards before capture latency consumes TTL. No synthetic replies/SSE/cards/activity/store injection.
    • Client143files/1,029tests, typecheck, lint/source policy, format, bilingual ledgers and build passed. Full CI37845666688 passed at runtime d1. Mandatory latest-main Standards/Spec reviews found0 new code defects. Media commit format check passed; its own CI37847542872 remains in progress at this update.
    • Actual public PR browser verification:9repository images rendered,5WebMlinks present. Console0JSerrors. All task-owned test pages and isolated browsers closed.
    • Draft/unmerged. Remaining: held/reversal, moving-hover/grace, background, reduced-motion message reading and fully matched baseline/runtime coverage. Quiet-idle/audio behavior is independent PR1180; Window Companion: measure frame and heap costs and agree performance budgets #1167 remains separate. No complete issue acceptance claimed.
  10. DoodleBears commented on Oct 9, 2026

    @DoodleBears
    ContributorAuthor

    Agent progress

    Task: codex/local/01a11734-bb09-7f01-9d45-adc0f5df6269 · State: active

  11. DoodleBears commented on Oct 13, 2026

    @DoodleBears
    ContributorAuthor

    Closing as completed per the owner's request after checking latest main (7bc0319).

    Any remaining hold/reverse-drag or moving-hover eye checks can be reopened as a focused bug if a defect turns up. Performance stays in #1167.


    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

    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDsarea:ui-uxInteraction and visual experience; may accompany a code-layer areafeature:avatarPersonaBot avatar media and activity frameready-for-agentFully specified, ready for an AFK agent

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions