Files
baji-vc/scripts/check-avatar-regressions.sh
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

20 lines
1.5 KiB
Bash
Executable File

#!/bin/bash
# Production Kotlin with local deterministic media/transport doubles, no real capture.
set -euo pipefail
cd "$(dirname "$0")/.."
mkdir -p logs/avatar-safe-061
python3 scripts/check-reply-regressions.py > logs/avatar-safe-061/client-tests.txt 2>&1
./scripts/check-expression-rules.sh > logs/avatar-safe-061/expression-tests.txt 2>&1
python3 scripts/check-avatar-ui.py > logs/avatar-safe-061/ui-contract-tests.txt 2>&1
python3 - <<'PY'
from pathlib import Path
import hashlib,json
root=Path.cwd()
paths=list((root/'app/src/main/java').rglob('*.kt'))+list((root/'app/src/androidTest').rglob('*.kt'))+list((root/'tests').rglob('*.kt'))
paths += [root/p for p in ('app/build.gradle','scripts/check-reply-regressions.py','scripts/check-expression-rules.sh','scripts/check-avatar-regressions.sh','scripts/check-avatar-ui.py','scripts/import-avatar-graph.py','scripts/package-avatar-safe-release.sh','scripts/package-avatar-safe-release.py','scripts/package-avatar-engineering.py','scripts/package-avatar-natural.py','scripts/package-avatar-ui.py')]
result={'status':'passed','jvm_entry_points':9,'uiSourceContracts':'passed','uiDeviceInstrumentation':'not_run','real_device':'pending',
'hashes':{str(p.relative_to(root)):hashlib.sha256(p.read_bytes()).hexdigest() for p in sorted(paths)}}
(root/'logs/avatar-safe-061/client-tests.json').write_text(json.dumps(result,indent=2)+'\n')
print('PASS: nine JVM entry points, including avatar/native-head activity and call lifecycle; no real phone capture')
PY