Skip to content

Window Companion: opt-in text babble and spring-based drag tilt #1173

Closed

Description

@DoodleBears

Parent

Specification #1135.

What to build

Let a Human opt into quiet, text-paced companion babble in the existing global companion settings, and feel continuous angular inertia when dragging, reversing and releasing the current pixel bust. Default sound is off; preference is scoped to this Client/Profile. Keep real tool-call/Activity mapping, without new Agent vocabulary or model token use.

Human follow-up confirmed on 2026-10-09: also adapt Coopanion's interaction sounds—grab after the drag threshold, a short cooled-down squeak during fast dragging, whoosh on a fast release, and a soft impact on landing. Reuse the same default-off Profile sound switch and shared bounded audio owner. Keep clicks, cancellation and reduced-motion return silent; do not queue missed interaction sounds or turn them into Agent events. The setting label should describe all companion sounds, preserving existing saved preference compatibility.

Acceptance criteria

  • Sound setting survives reload and applies to all selected companions; enabling it never replays previously revealed text.
  • Newly revealed committed text drives short character-dependent synthesized syllables. Punctuation/whitespace remain silent; simultaneous Bots have bounded sound resources, no queued catch-up.
  • Actual drag/fast movement/release/ground contact produce the corresponding optional interaction sound; no sound on an ordinary navigation click, cancel, reduced-motion snap or each physics substep. A drag squeak has a bounded cooldown; landing reflects the actual impact and does not chatter through bounce settling.
  • Mute, background/offscreen, stale synchronization, archive and disposal silence the appropriate voices; unsupported/autoplay-blocked audio leaves messages working.
  • Drag tilt uses a damped second-order angular spring with bounded angle, the confirmed direction and continuous retargeting. Release preserves the confirmed floor alignment; reduced motion clears spring energy.
  • No TTS, microphone, 19-expression/named-action library, Agent gesture tools, bubble guides or segmented text/action timeline.
  • Focused regressions, repository checks, code review and actual DSH screenshots/short recording; explicitly distinguish audio capture from verified audible playback.

Blocked by

None (can start immediately). Existing #1143 code is merged; outstanding visual qualification is not a code 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: opt-in text babble and angular spring; preserve tool-call mapping without new Agent vocabulary
    • Branch: codex/1173-companion-babble-spring
    • Started: 2026-10-08 07:49 UTC
    • State: active
  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

    Agent work outcome

    • Task: codex/local/01a11734-bb09-7f01-9d45-adc0f5df6269
    • State: paused by Human steering to to-tickets before further implementation.
    • Branch: codex/1173-companion-babble-spring; partial work is retained in the isolated worktree, not committed/pushed and no PR exists.
    • Current checks: 15 of 16 focused tests pass; the existing drag-view assertion still expects immediate CSS rotation and needs to be updated for frame-driven spring rotation. Audio lifecycle coverage, remaining checks, review and real runtime evidence are not complete. No delivery success is claimed.
    • Scope retained: opt-in text babble, second-order drag tilt, existing tool-call mapping only. New companion request cards and body-projected bubble anchors will be proposed as separate tickets; no implementation expansion before ticket breakdown confirmation.
  6. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 8, 2026
  7. DoodleBears commented on Oct 8, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim — resumed

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

    @DoodleBears
    ContributorAuthor

    Agent work progress

    • Task: codex/local/01a11734-bb09-7f01-9d45-adc0f5df6269
    • State: active, awaiting runtime qualification
    • Draft PR: feat(client): polish companion sound, motion and message reading #1180, independent branch and implementation for Window Companion: opt-in text babble and spring-based drag tilt #1173.
    • Checks: all Client tests pass (129 files, 936 tests), including 21 focused companion tests; lint, format, typecheck and build pass. Standards/Spec review against latest main found no implementation findings.
    • Remaining: real matched DSH screenshots/recording and audible playback verification. Chrome loads the isolated shell but control/capture times out; in-app browser refuses the same loopback target. Test tabs have been closed. No visual/audio acceptance claimed.
    • Full suite attempted; a Windows Registry temporary-directory cleanup EPERM reproduces on a clean latest-main checkout. This does not count as a passing full suite; CI is running independently.
  10. 56 remaining items

  11. DoodleBears commented on Oct 9, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim — release-anchor prerequisite integration

    The current #1180 branch still uses independent setPoint/placeBubble commits and does not contain the correction. Existing media continues to describe its pinned historical revision; integrated runtime requires separate qualification. Performance collection waits for an idle machine.

  12. DoodleBears commented on Oct 9, 2026

    @DoodleBears
    ContributorAuthor

    Agent integration checkpoint

    Task: codex/local/01a11734-bb09-7f01-9d45-adc0f5df6269 · active under the existing goal.

    PR #1180 now contains head5cddec35, integrating the independent direct-motion anchor correction from #1248 / PR #1249. The mounted regression fails on the preceding branch with a300px first-release tether mismatch and passes immediately after integration. Release-time physics clock, cleared pointer ownership, bounded sound policy and independent reading are preserved. Two-axis review against freshest fixed main2e7fa378 reports0new implementation findings; merge-base1ef3b27b, without claiming integration of all newer main.

    Current Client tests:157files/1141tests pass. Typecheck, lint/source policy, bilingual ledgers, format and build pass. Full local Windows suite fails:79failed/372passed/6skipped files,405failed/3242passed/29skipped tests in601.24s. Output includes temporary-directory EPERM, directoryfsync and Windows-separator assertions; no all-failures root-cause claim. Current-head GitHub verify workflow is active but no5cd check run is observed yet; older green CI is historical.

    Both performance controls are rebuilt at5cd with identical owning Host hashes and only position-style/test-fixture differences; baseline12geometry tests pass. CPU after checks remains34/46/37%, so no profiling under the Human's wait-for-idle instruction. Old media retains its pinned sources; integrated real DSH screenshots/video, genuine background, remaining audio/fallback and strict performance gates are not accepted. Chrome Browser connector still explicitly unavailable; native URL-policy stop and failed navigation attempts are retained. PR remains draft/unmerged. Mouth #1254 remains mergeable and Human-accepted in its original formal recording; no new publication or merge.

  13. DoodleBears commented on Oct 9, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim — resumed native qualification and focus-scroll correction

    • Agent: Codex
    • Task: codex/local/01a11734-bb09-7f01-9d45-adc0f5df6269 (not a DSH Session)
    • Issue scope: qualify integrated feat(client): polish companion sound, motion and message reading #1180 in real DSH and correct the observed outer-stage focus scroll after keyboard bubble reading/resize. Keep bubble scrolling, sound and physics unchanged; no merge to main.
    • Branch: codex/1173-companion-babble-spring
    • State: active following Human resume

    Native 960×640 reproduction: physical y=0 and CSS bottom=0, but the focused stage has scrollTop=4.912px and the character bottom is635.088px. Other stages remain atscrollTop0. Performance collection remains deferred while machine load is high.

  14. DoodleBears commented on Oct 9, 2026

    @DoodleBears
    ContributorAuthor

    Resumed native qualification checkpoint

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

    PR #1180 now has evidence head0e122cca and production source1c0651ef. T3 browser control successfully reaches real DSH again. Native composer → model → channel_send proves new canonical DM playback; the54px text viewport follows the bottom without scrollbars and supports keyboard earlier/latest reading.

    The resumed test caught an additional real floor drift: hidden-overflow stage focus scrolling leaves scrollTop4.912px despite physical y/CSS bottom0. Stage clip overflow removes that scroll container, while bubble/request scrolling and portalled menus remain independent. Matched five-paused-Bot screenshots preserve the same Profile, positions, English/dark/960×640 CSS viewport and formal Avatar0.10.0. All after stages have scrollTop0/bottom640px, including after keyboard reading/resize;760×540 uses540.351px within1px device rounding. Three new images render in the actual GitHub PR page, with the actual fixed-size38.356s recording linked. The published video is an unchanged original with strict decode passed. Two resize-during-recording captures contained malformed H.264 frames and are preserved privately/excluded; resize is PNG/DOM-qualified.

    Checks:18focused tests and157Clientfiles/1141tests pass; typecheck, lint/source policy, format, bilingual ledgers and build pass. Standards/Spec review against fetched fixed main2e7fa378...0e122cc reports0new defects; merge-base1ef3b27b, without claiming all later main integrated. Current verify CI remains unobserved; prior full Windows-suite failures remain disclosed. An interrupted restart-era document's connection-lost/shell-timeout remains a failed attempt. Fresh shell-ready686ms is independently followed by pins/composer/message checks, not accepted as a recovery-budget result.

    Both matched performance controls are rebuilt at0e122cca with identical Host hashes and only positioning/test-fixture differences; baseline12geometry tests pass. Final CPU89/86/79% fails the quiet-machine precondition, so no new trace, GPU-saving or strict walking-budget claim. Genuine background, moving/dynamic scenarios and remaining fallback/performance gates stay open. PR remains draft/unmerged. The owned DSH test document has been navigated away; this tool exposes no tab-close operation, so the shared PR preview is hidden rather than claimed closed. Isolated QA Host remains available.

  15. DoodleBears commented on Oct 10, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome — accepted companion polish merged

    • Task: codex/local/01a11734-bb09-7f01-9d45-adc0f5df6269 (not a DSH Session).
    • State: handed-off for remaining qualification; implementation merged through PR feat(client): polish companion sound, motion and message reading #1180 after Human accepted the optimized real-DSH animation and explicitly authorized merge.
    • Current main integration preserves the already accepted motion source. Final Standards and Spec reviews find zero remaining issues after moving the direct-motion ledger correction to Unreleased and restoring released history. Local typecheck, lint/source policy, format, ledgers, build and 163 Client files / 1183 tests pass, with one file/test skipped. Complete final-head CI passes; squash commit is 88ced4d1.
    • The optimized real DSH instance was retained for Human testing. A separate 21.623s five-walker native T3 recording was presented in this task. This is animation evidence, not performance measurement.
    • Broader genuine-background / unsupported-audio fallback qualifications remain explicit follow-up scope, and Window Companion: measure frame and heap costs and agree performance budgets #1167 stays open for final Avatar0.10.1, concurrent output/reading, post-GC resource recovery and reconnect/browser-restart costs. The diagnostic-only walking comparison does not close those gates.
  16. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 10, 2026
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: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