Files
baji-vc/docs/AVATAR_ACTION_EMOTION_FULL_CANDIDATE.md
T

4.5 KiB
Raw Blame History

Full action/emotion debug candidate — 2026-10-13

Pi explicitly admitted exact index 987e125a7d7a2cde99121b5f5246c82f4dbe36c4899d3d49eaffd1a68bafb887 from .runtime/avatar-imports/a01-expression-action-v1/code-recovery-full-index-04. Approval covers independently hashed files and inspected face/fullbody/junction frames, not comprehensive realtime naturalness, music listening, rights, device/GPU or <=1s SLA. The immutable exact index is archived as docs/avatar-manifests/a01-code-recovery-full-index-04.json. The owner's production summary remains data-only outside Git.

Implemented: five continuous own-mouth bodies N97/97/49/97/97, eight25-frame own-mouth one-shot bridges, thirteen legal edges, two241-frame H264/AAC dance assets. Each own runtime binds actual body SHA/PTS/N and5 mouth levels at1.1 sourcepx; mouth state curves have independent6/12-frame clocks. TALK keeps phase through bridge/target; ACTION disables mouth. Late/stale callbacks are fenced; bounded three playback slots and32MB total RGBA admission remain enforced. Actual combined patch RGBA is10,911,120 bytes. Idle variants are actually scheduled after2–3 completed neutral cycles, using legal bridges and avoiding consecutive variants; voice/model expression/action has priority. Dance choices prefer a different variant3:1 without forced exact alternation. Seven model labels are preserved; happy/sad intensity2 uses slightly visual intensity1, unsupported angry falls back as a whole package. Camera cues are independent, sharing off. Main screen remains full avatar+gear; permissions remain first-foreground/manual.

Full production admission/import passed:5065 indexed hash/bytes checks,3222 runtime referenced files imported,1844 review/backups excluded from APK. Original03 source and code17 import are preserved. Reproduce the deterministic recovery using scripts/repair-idle-state-clock.py against source SHA 3a6d43cc9bf810077c55652b1fb7876cb0b3b2767ae5cbcc93fe5e9e19825781 into a new independent output. Only two idle state frameCount/PTS were repaired; root refs/inventory rehashed. No image/audio/video pixels were changed. Never reuse another candidate's stale SHA.

Gateway0.8 retains Qwen3.8-27b/thinking=false/json_schema/Asia-Shanghai per-request single-system clock. Public gateway/reviewed_action_packs.json admits only the exact full pin with asset_01/02 minimum video bounds10042ms. Old code17/unknown pins negotiate no dance; HELLO cannot add packs. Canonical hash/busy/private-env/unit fences and backup passed; only lan-voice-gateway.service restarted. Model/ASR/TTS/VAD services and private provider/TTS settings were preserved. The archive model-free suite passed97 tests with one existing Silero-model skip (98 total), nine JVM/UI suites passed,28 packaging tests, 200 actual asset software-EGL golden cases,56 actual-view callback cases,289 bridge TALK assertions,27 idle driver assertions and17 five-body/full-action graph assertions passed. Application/instrumentation build and HTTP packaging evidence will be appended below.

Action path requires pre-reply single-TTS drain → server ticket → actual capture stop confirmation → legal source A → music/video with mouth off → native music end, final video PTS, release and restored return A → completed → independent after turn/single-TTS drain. Completion min-duration guards do not prove real playback. Repeated/late/owner/TTL/newturn/ background/settings-cancel/disconnect are fenced; no extra LLM or fixed after sentence. During ACTION no captured PCM backlog/ASR or voice barge-in is allowed. After expression is exposed only in its own after turn. Public probe media/record/drain confirmations are explicitly simulated; actual ASR/Qwen/TTS service calls are distinguished from fixtures.

Known boundary: neutral/happy exit wait up to4.042s, sad up to2.042s plus1.042s bridge. Early prepare is speculative preload; final valid expression is authoritative. Audio does not wait for body/bridge; bridge-own mouth continues TALK. No <=1s expression claim. Dance effective audioEnd10s, decoded AAC padding tail10.005333s, video10.041667s; actual player completion/release controls recovery, never a10s metadata timer. True device/GPU/mic-stop/music-tail/listening/perception certification is not_run; no device install is authorized or performed. Music ASR auxiliary nonempty length4 for both task audios cannot attribute background words to the actor. Commercial rights unknown. Asset owner reports21 submitted calls/known video $4.16; image and two rate-attempt fees unknown. This repair/code/build/probe stage made0 paid AI/media-generation calls.