Files
baji-vc/docs/AVATAR_ENGINEERING_061.md
T
zenord 9ea5eb31c1 feat: deliver clean avatar home in 0.6.2 UI debug candidate
Keep the avatar mounted while all connection, permission, privacy and diagnostic controls live in a settings sheet. Save the tested continuous-body renderer, safe transition driver and foreground HELLO/permission workflow from this session. Pin runtime03 for the code14 UI-only candidate; mouth deformation remains unresolved. Add source UI contracts, an optional sensor-free device probe, exact asset import and candidate packaging checks. Portrait binaries and diagnostics remain private and untracked.
2026-10-12 22:19:56 +08:00

45 lines
4.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 0.6.1-dev / code12 内部工程候选
本包仅验证真实 MediaCodec 短片解码、五节点调度、TextureView PTS、前台生命周期和自动连接权限 UX。界面显著标注“工程候选:自然度待验”。不是最终自然度产品,也不认证 ≤1s 感知响应;肖像商用权利仍未核实。
## 素材与技术准入
只使用 a01-neutral-graph-v1 controlled-01 原始 manifest,SHA256:
`e6b6e9a6e555cafb3ca7e0878600c23c4d76f13fb15d98d5f0cd8e5b192a3a09`。
原 manifest `safeTransitions.reviewStatus=pending`、`approvedEdges=[]`、`safeExits=[]`、`publishApproval=false` 保持不变。生产 allowlist 仍为空。只有显式 `-PavatarEngineering=true` 的 debug 构建可走 `TECHNICAL_DEBUG` 范围;release 永远关闭此入口。技术字段不能满足生产图的审核范围。
五段实际离线视频:idle/talk1/talk2 各 12 帧、500ms;opening/end-talk 各 6 帧、250ms,24fps、480×848、H264 Main3.1、yuv420p、无音轨。入口只 frame0;出口只 manifest 指定的 frame11/frame5,CFR PTS 对应 458.333/208.333ms。独立编码边不 pixel identical;端点授权是工程实验准入,不是安全视觉验收。
图为 idle A→A、opening A→B、talk1/talk2 B→B、end-talk B→A(closing 别名)。保留三 self-loop、八必需转换和 opening→end-talk 反转边;缺边拒绝。窗口错过、目标未 ready、解码异常都不能强行切换。音频不等待视频;实际 PCM 播放头只提交 mouth 意图。口部感知证据不从 authored alpha 伪造,因此 mouth activity / closed-stable 延后诊断保持未知。
controlled-01 是 A/B 局部嘴层加最多约 0.6px/0.15px 合成身体形变,无眨眼;可能机械、照片感、肤色唇影接缝或 ghost。900ms 只是素材参数预算,不含设备解码、实际显示或用户感知。natural-02 不在本包。
## 复现
私密二进制只放 ignored `.runtime`、`app/src/main/assets/avatar`、`artifacts`,不提交 Git。
```sh
python3 scripts/package-avatar-engineering.py --import-only
./scripts/check-avatar-regressions.sh
/home/ubuntu/miniconda3/envs/gori-speech/bin/python gateway/scripts/check-archive.py --vad-model /home/ubuntu/miniconda3/envs/gori-speech/lib/python3.12/site-packages/silero_vad/data/silero_vad.onnx > logs/avatar-safe-061/gateway-tests.txt 2>&1
python3 scripts/package-avatar-engineering.py
```
导入逐项核原 manifest/静态 A/五 MP4 哈希,检查 CFR PTS、帧数及完整解码。打包入口拒绝覆盖已有工程 APK,验证 min26/target34/arm64、同 051/052/060 debug 证书、APK 内素材字节与未压缩 MP4、HTTP APK/sidecar 字节。最终 v061 文件不使用,旧 060/052/051 保留;无提交推送、无后端变更或重启。
## 协调 Windows ADB 离线验收
安装保留数据,不加 `-g`,不清数据。先停止旧 Activity,再带 extra 启动新 Activity:
```sh
adb -s 0123456789ABCDEF install -r lan-voice-v061-engineering-arm64-debug.apk
adb -s 0123456789ABCDEF shell am force-stop com.gorios.lanvoice
adb -s 0123456789ABCDEF shell am start -W -n com.gorios.lanvoice/.MainActivity --ez avatar_offline_preview true
```
离线入口在创建 VoiceSession/音频焦点/相机控制器之前返回;不连接后端,不申请权限,不录音、不分析相机。使用真实播放器,每20s循环合成 idle/talk/stop/100ms反转/resume/abort-new-generation/drained 意图;也可手动 Idle/Talk/Abort/Trace。合成意图不是 PCM 测量。后台释放、前台重新预备 neutral 入口;横屏/平板白底 Fit 不拉伸裁头脚。应检查首帧、末帧转换、loop、黑帧、decoder fallback、后台恢复及设备资源限制;不采集用户视频/脸/音频。
**正常桌面启动有不同效果:** 自动连接,真实 HELLO 后申请 MIC/CAMERA;如果已授权且实际前台,会直接开启语音和相机分析。face-cue 分享仍独立默认关闭。首次设备验收请使用上面的离线命令;本 agent 不安装、不启动设备传感器。
JVM 使用真实 driver/codec 控制代码加确定性 Android doubles,不证明硬件解码能力或系统权限弹窗行为。硬件 PTS/双 decoder、首帧及长期资源、感知自然度、嘴活动/闭嘴 ≤1s、摄像头算法均待设备独立验收。