From 04d73b4361a2de503534eee036d2157914e64fe6 Mon Sep 17 00:00:00 2001 From: zenord Date: Tue, 13 Oct 2026 04:59:15 +0800 Subject: [PATCH] Deliver pinned partial emotion candidate code17 --- app/build.gradle | 2 +- docs/ACTION_EMOTION_STAGE_070.md | 52 +++++++++++++++++++ .../pi-candidate-admission.json | 32 ++++++++++++ scripts/package-avatar-emotion.py | 6 +-- 4 files changed, 88 insertions(+), 4 deletions(-) create mode 100644 manifests/a01-expression-action-v1/pi-candidate-admission.json diff --git a/app/build.gradle b/app/build.gradle index 5096c63..54a349b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -88,7 +88,7 @@ android { buildFeatures { compose true; buildConfig true } buildTypes { debug { - if (emotionManifestSha) versionNameSuffix '-emotion-stage-dev' + if (emotionManifestSha) versionNameSuffix '-emotion-dev' else if (avatarActionCandidate) versionNameSuffix '-stage-dev' else if (avatarMouthCandidate) versionNameSuffix '-mouth-dev' else if (avatarUiCandidate) versionNameSuffix '-ui-dev' diff --git a/docs/ACTION_EMOTION_STAGE_070.md b/docs/ACTION_EMOTION_STAGE_070.md index 5157b80..d1ae642 100644 --- a/docs/ACTION_EMOTION_STAGE_070.md +++ b/docs/ACTION_EMOTION_STAGE_070.md @@ -309,3 +309,55 @@ not a claim about later P4b/P5 production. No recovery exporter/checker remains running. Owner resumed independent P4b/P5; recovery directory remains isolated. Handoff: **BRIDGE_TALK_CODE_AND_FREE_INDEX_READY_AWAIT_NEW_EXACT_COORD_PIN**. + +### Pinned partial-expression APK delivery (2026-10-13) + +Construction baseline `a53600db92863fee86e729d592182d9a666eedba`, clean and remote +matched. Coord independently downloaded the recovery tar, verified exact index +SHA/all1773 file hashes/bytes, decoded four25-frame bridge PTS/body SHA bindings, +verified all25×5 patch hashes and inspected the stated TALK/body junction and +five-level frames together with prior P4a checks. Coord explicitly authorized +`e73f336123bf5e2dec2d82b97eb22cc632a4ee75bcf7f4bd0052b1ff42d95cd7` +for this asset/calling-path candidate. This supersedes the preceding wait marker. +Scope is recorded outside unchanged asset metadata in +`manifests/a01-expression-action-v1/pi-candidate-admission.json`; asset pending/ +publishApproval:false remains unchanged, not renamed into naturalness approval. + +Old1226-file code-owned import was completely hash-checked, then backed up to +`.runtime/avatar-backups/code16-p4a-import-before-e73f-code17/`; unknown files, +symlinks or drift would reject replacement. New1734 runtime files (index included) +were verified/imported. All original owner/P4a01 files are unchanged. Code16 APK +is preserved byte-for-byte. No idle/dance output was read or modified. + +Delivered Android **0.7.0-emotion-dev / code17**, same debug certificate +`b9608336bc1ed1de3269bb4594f9fe718daaa5439511c5187aa385d2b799dcf1`, +arm64-v8a only, min26/target34. APK: +`http://192.168.31.124:8080/lan-voice-v070-emotion-candidate-code17-arm64-debug.apk` +SHA256 `15ea8c73bb22f10edb641c4efbfc4592f8092b0962dd3b98d34ebf6075a72463`; +checksum at the same URL plus `.sha256`. Signature verification, badging, compiled +exact index pin, all1734 new asset SHA bytes, unchanged old APK asset bytes, +uncompressed media and HTTP APK/checksum bytes passed. No device installer ran. + +Neutral/slight happy/slight sad and four own-mouth bridges are enabled in this +APK's real multi-pack calling path, including different97/49/25 body counts. +Intensity2 remains model2 with slight visual1; angry uses whole neutral fallback. +Current own mouth continues while an expression queues, and bridge/target own +frame layers share TALK phase without pausing TTS. Live entry rejects only edges +without an own mouth; all four admitted edges have one. Main stays avatar+gear, +permissions early/manual, offline preview sensor/network-free. actions:[]; +no dance is advertised. Cache5,804,040 RGBA bytes,8MB/runtime and32MB total bounds. + +Fresh9 JVM/UI regressions and17 packaging safety tests passed; actual pinned +production index/parser and66 media cases/289 bridge assertions passed. Fresh +canonical gateway archive98:97 passed/1 excluded Silero artifact skip. Retained +200 offline GLES goldens match unchanged renderer source and exact now-imported +body/patch bytes; they were not redundantly rerun. Application+instrumentation +Kotlin compiled in the actual APK build. Device execution, physical GPU/mic, +real-time human full-video review and cognitive≤1s remain not_run/not certified. +Expression safe-exit waits can still approach4.042s neutral/happy or2.042s sad, +plus1.042s bridge; no audio delay or expression≤1s claim. Rights unknown. + +Gateway0.8/Qwen/TTS/provider parameters are unchanged; no deploy/restart/model +request, no paid generation/probe. This is a partial-expression candidate, +not the idle/dance delivery. P4b/P5 remain under the independent asset owner. +Evidence: `logs/action-emotion/code17/pinned-release/` (ignored, not Git). diff --git a/manifests/a01-expression-action-v1/pi-candidate-admission.json b/manifests/a01-expression-action-v1/pi-candidate-admission.json new file mode 100644 index 0000000..ab6eea5 --- /dev/null +++ b/manifests/a01-expression-action-v1/pi-candidate-admission.json @@ -0,0 +1,32 @@ +{ + "schemaVersion": 1, + "indexSha256": "e73f336123bf5e2dec2d82b97eb22cc632a4ee75bcf7f4bd0052b1ff42d95cd7", + "sourceDirectory": "code-recovery-bridge-mouth-01", + "approvalScope": "partial asset and calling-path candidate APK", + "reviewAuthority": "coord/Pi explicit instruction in this session", + "independentChecks": [ + "manifest SHA", + "1773 indexed file hashes/bytes", + "four bridges actual25 PTS/body SHA/patchFormat binding", + "every25x5 bridge patch hash", + "neutral-happy and neutral-sad TALK junction frames", + "happy-neutral full-body junction frames", + "sad-neutral25-frame five levels", + "prior three-body/four-bridge P4a sequence frames" + ], + "dynamicHumanRealSpeedReview": "not_run", + "perceivedResponseSLA": "not_run", + "physicalAndroidDevice": "not_run", + "comprehensiveNaturalness": "not_certified", + "publishApprovalInAssetManifestUnchanged": false, + "conversationExpressions": [ + "neutral", + "slight happy", + "slight sad" + ], + "actions": [], + "mouthAmplitudeSourcePx": 1.1, + "combinedRgbaBytes": 5804040, + "targetVersionName": "0.7.0-emotion-dev", + "minimumTargetVersionCode": 17 +} diff --git a/scripts/package-avatar-emotion.py b/scripts/package-avatar-emotion.py index 06d2854..02e06ca 100644 --- a/scripts/package-avatar-emotion.py +++ b/scripts/package-avatar-emotion.py @@ -206,7 +206,7 @@ def tested_source(): evidence=json.loads((ROOT/'logs/action-emotion/bridge-talk/delivery.json').read_text()) require(evidence['gateway_passed']==97 and evidence['gateway_skipped']==1 and evidence['offline_gles_goldens']==40,'gateway/GLES evidence') for name,digest in evidence['source_hashes'].items(): - if name.startswith('app/'): require(file_sha(ROOT/name)==digest,'media evidence drift: '+name) + if name.startswith('app/src/'): require(file_sha(ROOT/name)==digest,'media evidence drift: '+name) def packaging_tests_current(): @@ -226,7 +226,7 @@ def publish(report,output,requested): '-PavatarNatural=true','-PavatarMouthCandidate=true','-PnaturalManifestSha='+LEGACY_PIN, '-PemotionManifestSha='+report['manifest_sha256'],'-PactionVersionCode='+str(version)],check=True,cwd=ROOT) built=ROOT/'app/build/outputs/apk/debug/app-debug.apk';badge=badging(built) - for text in ("name='com.gorios.lanvoice'",f"versionCode='{version}'","versionName='0.7.0-emotion-stage-dev'","sdkVersion:'26'","targetSdkVersion:'34'"): + for text in ("name='com.gorios.lanvoice'",f"versionCode='{version}'","versionName='0.7.0-emotion-dev'","sdkVersion:'26'","targetSdkVersion:'34'"): require(text in badge,'APK metadata: '+text) require(re.search(r'^native-code: (.+)$',badge,re.M)[1].strip()=="'arm64-v8a'",'APK ABI') cert=subprocess.check_output([str(TOOLS/'apksigner'),'verify','--verbose','--print-certs',str(built)],text=True) @@ -251,7 +251,7 @@ def publish(report,output,requested): with opener.open(url,timeout=30) as response: require(response.status==200 and sha(response.read())==digest,'HTTP APK bytes mismatch') with opener.open(url+'.sha256',timeout=15) as response: require(response.status==200 and response.read()==checksum,'HTTP checksum mismatch') require(file_sha(ROLLBACK)==ROLLBACK_SHA,'rollback modified') - delivery={'status':'partial_emotion_candidate','version_code':version,'url':url,'sha256':digest, + delivery={'status':'partial_emotion_candidate','version_name':'0.7.0-emotion-dev','version_code':version,'url':url,'sha256':digest, 'certificate_sha256':CERT,'manifest_sha256':report['manifest_sha256'],'dance_available':False,'action_count':0, 'http_bytes_verified':True,'device':'not_run','naturalness':'not_certified','paid_calls':0,'gateway_deployed':False} (output/'delivery.json').write_text(json.dumps(delivery,indent=2)+'\n')