Files
baji-vc/docs/AVATAR_UX_NEXT.md
T
zenord 7d8ea95f07 feat: add aperture mouth candidate and early foreground permissions
Route runtime04 curve values to five source-frame lip geometries with level0 body bypass and spatial opacity1 for all other levels. Preserve the continuous decoded body clock and clean home. Request normal permissions after foreground host layout independently of network; support offline manual consent without capture or connection. Add strict 97x5 parsing, renderer and permission regressions, offline EGL shader pixel goldens and exact debug-candidate packaging. Naturalness, visible talk, device colors and perceived response remain pending.
2026-10-12 22:55:20 +08:00

5.1 KiB

Current avatar UX — clean home and 0.6.2 mouth candidate

The user has resumed complete implementation, self-validation and final APK production. This supersedes both the released0.6.0 dial/hangup design and the intervening development pause. Final motion activation still requires coordinator review of actual material/edges and an exact manifest hash; no repeated per-step user permission is required. Current implementation, limitations and release gate: AVATAR_SAFE_061.md. Material owner interface: AVATAR_NEUTRAL_GRAPH_INTERFACE.md.

Foreground conversation

Code15 supersedes the code13/code14 permission timing: first RESUMED entry after host layout requests MIC/CAMERA sequentially without waiting for health/WS/HELLO. Foreground connection attempts still wait for real HELLO before MIC capture/upload. Granted wanted camera may analyze in foreground independently of network. Explicit permission/settings actions also work without network; offline preview only requests on explicit settings actions and never collects after grant. Denied camera permits audio; denied MIC starts no capture and exposes authorization/settings. Persist asked/denied/mute/camera-off preferences; no repeated automatic permission prompts.

CONNECTING / AWAITING_PERMISSION / ACTIVE / ERROR are the page states. Transport retry is finite (three attempts,1s/3s backoff), stops on busy and leaves visible manual Retry. It never requests duplicate LLM generation. No dial/hangup, fake ringing, real-person acceptance claim, account or router UI. Users close/background the app to exit.

PAUSE stops sensors/audio/video and clears face/sharing. Pending system permission can also cause STOP: retain only continuation and a bounded30s fenced socket, never sensors. Genuine STOP disconnects WS; DESTROY releases. Callbacks arriving while paused cannot start capture. A remembered microphone mute applies before starting capture. Explicit camera settings action retains enable intent on return; denied/user-off camera stays off without such an action. Face-cue sharing is separate, default off and cleared on camera-off/disconnect/background. No images transmitted.

Screen

White full canvas with Fit media and white system bars; preserve complete body/head/feet, no stretching or centerCrop. Home contains only the avatar and one bottom-right48dp settings gear with safe insets. All connection/error states, recording/camera controls, permissions, emotions, diagnostics, candidate warnings and offline controls are inside a scrollable settings sheet. Closing it restores the clean home without restarting player/session. System privacy indicators/dialogs remain visible. Requested current/previous seven-state reply tags stay real; selected neutral asset/fallback stays separate. Details include face presence/cue, AEC and explicit diagnostic report action. No camera model/threshold/TTL or10Hz processing change; face acceptance remains separate.

Title falls back to 声伴; no private persona data is embedded. No server display-name field is currently consumed. Layout, fonts and OEM/system permission behavior still require physical screen acceptance.

Materials and continuity

Current accepted pose is natural crossed arms, original reference SHA25636a078ad9e1d2929612e9baa2af524bda90dafceddc4515dd448fc08121d7dd2. Standing-v2 face revision is lineage, not the latest arms-down animation pose. Cleanup remains unconfirmed and is not the new graph baseline. Static reference approval/test use is separate from rights/commercial use and every animation edge/loop review.

The only target motion pack is a01-neutral-graph-v1: idle A-A, opening A-B, talk1 B-B, talk2 B-B, end-talk B-A. All required junctions and three self-loops must be reviewed. Failed prior seated/arms-down/arms wide-mouth/raw loops remain archived; never substitute them to ship a video version. Motion graph allowlist is currently empty.

PCM actual playback-head activity supplies latest mouth intent only. Reviewed source windows and a paused prepared/latching target gate actual reveals. The real codec/driver implementation is tested with Android API doubles; hardware/device acceptance remains pending. Audio never waits for picture. ≤1s mouth activity/closed-stable response needs actual reviewed frame events and full-route measurement, not merely a switch-start timer.

Release boundary

Retained UI-only candidate is0.6.2-ui-dev/code14 with unchanged runtime03 mouth. Current0.6.2-mouth-dev/code15 uses coordinator-admitted runtime04 five aperture levels for device validation; final mouth deformation/naturalness is not certified. See AVATAR_MOUTH_062.md. See AVATAR_UI_062.md for exact reproduction and test boundaries. Code12/code13 and retained0.6.0/code11 APK stay byte-identical. Current checks and staged material blockers are recorded in AVATAR_SAFE_061.md and ignored logs/avatar-safe-061/. Final material hash, signature/badging/HTTP checks, commit/push and coordinator Windows USB installation follow actual graph review. No automatic device sensors/install or backend/provider/model/TTS change is performed by this agent.