# 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 and instrumentation Kotlin compile, APK metadata/signature and HTTP byte verification also passed; instrumentation execution remains not_run. 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. ## Published delivery - APK: `http://192.168.31.124:8080/lan-voice-v070-action-emotion-code18-arm64-debug.apk` - SHA256: `ea6ca77c2e4cc995c3ca2c097e71beef092cfcba1f452b18f255bd341e5f8723` - Checksum: same URL + `.sha256`; HTTP bytes independently matched. - Version0.7.0/code18; arm64-v8a only; min26/target34. - Same debug certificate `b9608336bc1ed1de3269bb4594f9fe718daaa5439511c5187aa385d2b799dcf1`. - Built source milestone `f0620ddd65206742b0095a3ef51ab1013581c0ba` (final follow-up is delivery/archive metadata only). - Two dances are enabled for the exact approved full pin only. Old code17/code16/code15 APKs retained; code17 import backed up at `.runtime/avatar-backups/code17-before-full18`. Final approved-pack public probe passed5 Qwen requests,3 TTS requests (one public input synthesis plus pre/after generators),1 ASR. The action chain itself used1 LLM,1 pre-TTS, 1 after-TTS, independent turns2→3. All5 finish_reason=stop with160 tokens and valid fields; negation/quotation/legacy-unavailable stayed none. The second dance sample generated a different after text. Early prepare817.82ms vs complete reply2904.77ms, final headers consistent. Old/unknown/absent HELLO capability all unavailable. Mock music duration10042ms and simulated recording/drain/return confirmations are protocol evidence, not true media playback or AudioRecord proof. Nonempty PCM and actual service events were measured; no user history/audio/face data or raw public model text was saved. After history appeared only after its drain; duplicate/premature completion and action PCM did not trigger replay/ second ASR. Live sources/private env/unit/PID remained unchanged throughout the probe. Evidence (ignored, numeric/task-metadata only): `logs/action-emotion/code18/pinned-release/{bundle-gate,delivery}.json`, `logs/action-emotion/full-release/{checks,final-delivery}.json`, `logs/action-emotion/full-approved-calling-path-01/probe.json`, `logs/voice-investigation/gateway-emotion-deploy.json`. Packer's own delivery gateway_deployed=false means that packer performs no deploy; final-delivery.json combines the separately verified actual gateway deployment. The live canonical deployment baseline in gateway/SOURCE_MANIFEST.json includes the reviewed public registry; rollback unit/env/source backup is private on61. Rebuild after regenerating identical approved recovery and completing current checks: ```bash python3 scripts/package-avatar-emotion.py \ --manifest .runtime/avatar-imports/a01-expression-action-v1/code-recovery-full-index-04/manifest.json \ --sha256 987e125a7d7a2cde99121b5f5246c82f4dbe36c4899d3d49eaffd1a68bafb887 \ --pi-pin 987e125a7d7a2cde99121b5f5246c82f4dbe36c4899d3d49eaffd1a68bafb887 \ --action-registry gateway/reviewed_action_packs.json --output logs/action-emotion/ --publish ``` It chooses a fresh version code above existing APKs; never overwrite code18. Existing import replacement requires previous report/pin and a fresh external backup, as documented by the packer CLI. No media binary is stored in Git. Device installation/listening/full realtime perception are not part of the admitted completion of this debug integration.