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.
This commit is contained in:
zenord
2026-10-12 22:55:20 +08:00
parent 9ea5eb31c1
commit 7d8ea95f07
22 changed files with 677 additions and 155 deletions
+11
View File
@@ -44,6 +44,7 @@ for name in ('CallScreen','EngineeringPreviewScreen'):
assert text(avatar).count('AvatarPortrait(')==1
no_calls(avatar,['Text','AvatarDiagnostics','ExpressionControls','Button','TextButton'])
assert 'AvatarDiagnostics(pack,video)' in text(settings)
assert 'PermissionSettings(' in text(settings)
assert 'settingsOpen' not in text(fn)
if name=='CallScreen':
for expected in ('正在连接','重试连接','permissionMessage','onAuthorizeMic','onMute','onCamera','ExpressionControls','请求表达','onReport'):
@@ -59,5 +60,15 @@ activity=(ROOT/'app/src/main/java/com/gorios/lanvoice/MainActivity.kt').read_tex
offline=activity[activity.index('if (offlineAvatarPreview) {'):activity.index('audioOutput = AudioOutputGate')]
assert 'EngineeringPreviewScreen' in offline and 'return' in offline
for forbidden in ('VoiceSession(', 'ExpressionController(', 'permission.launch(', '.dial('): assert forbidden not in offline
assert 'conversationEnabled=false,automaticPermissions=false' in offline
assert 'isLaidOut' in activity and 'isAttachedToWindow' in activity
for method,next_method in (('authorizeMicrophone','authorizeCamera'),('authorizeCamera','retryConnection')):
body=activity[activity.index('private fun '+method):activity.index('private fun '+next_method)]
assert 'ConnectionStatus.CONNECTED' not in body,'Manual consent must not depend on HELLO'
assert 'granted(Manifest.permission.' in body and 'openSettings()' in body
assert 'entry.permissionPending!=permission' in activity
permissions=text(block('fun PermissionSettings'))
for label in ('已授权','未授权','申请麦克风权限','申请摄像头权限','系统权限设置'):
assert label in permissions
assert '本版仅修复界面;嘴层沿用 runtime03,变形问题尚未修复' in source
print('PASS: clean home has persistent avatar + one 48dp safe-inset gear; normal/offline text and controls are sheet-only; sheet state never keys renderer/session; offline construction bypasses sensors/network. Source contracts only; real-device probe pending.')