Wire legal idle variants and validate dance media offline

This commit is contained in:
zenord
2026-10-13 05:33:27 +08:00
parent 04d73b4361
commit a113bd4bb3
8 changed files with 283 additions and 11 deletions
+29
View File
@@ -361,3 +361,32 @@ 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).
### Idle/dance source preflight (2026-10-13; code17 APK unchanged)
Clean remote-matched baseline `04d73b4361a2de503534eee036d2157914e64fe6`.
Actual ConversationMediaDriver now schedules neutral variants only after a full
neutral cycle, through own-mouth entry/return edges and fallback, avoiding consecutive
variant repeats. TALK/new expression/action cancels idle selection; retained happy/sad
does not become neutral at speech end. Current code17 contains no new idle rows and
its published APK/pin remain unchanged. No in-production P4b/P5 output was touched.
Read-only full-index checking now accepts two dance rows and measures actual video
N/PTS/fps/duration, presented AAC end excluding encoder padding, finite nonempty PCM,
RMS/peak and file inventory before production Kotlin admission. Synthetic color+sine
fixtures prove path/mismatch rejection, not real dance/music quality. Dance import/
publication remains explicitly separate from this check and requires gateway capability
admission plus a new exact Pi pin; no live capability was enabled by checking fixtures.
Fresh9 JVM/UI entry points,22 packaging checks,71 media cases (56 actual view callbacks
plus15 boundary cases),289 bridge assertions and19 idle driver assertions passed.
Gateway archive98:97 pass/1 existing excluded Silero artifact skip. Application and
instrumentation Kotlin compilation passed; the first compile omitted the action-candidate
flag and failed configuration, then the corrected command passed. No new APK assembled.
Original e73f index passed complete decode/hash/cache and actual production-parser gate
again at5,804,040 RGBA bytes.200 unchanged GLES goldens retained with shader/harness
hashes matched. Evidence: `logs/action-emotion/idle-dance-preflight-01/`.
Paid calls/cost0; no model probes, gateway deployment/restart/provider/TTS change.
Physical device, real music listening/full-speed dance review and naturalness remain
not_run/not_certified. Handoff: **IDLE_DANCE_SOURCE_PREFLIGHT_READY_FOR_NEW_INDEX_SHA**.
+19
View File
@@ -152,3 +152,22 @@ runtime RGBA counts sum under32MB; each runtime remains bounded8MB/N720.
The new p4a-combined-02 index, all runtime references and files inventory require a
new exact Pi pin; old000d04ea…5008 is only the old silent-bridge candidate pin.
Offline processing does not require new AI/body generation or paid calls.
P4b/P5 integration preflight (2026-10-13; no new asset schema):
- Idle variants are additional neutral/visualIntensity0 conversationPackages rows,
each with own runtimeManifest, loopEdge and real fallback↔variant edges. Live
variant entry/return bridges need their own mouthRuntimeManifest too. Idle
selection occurs after a completed neutral cycle, returns through fallback and
avoids consecutive repeats where two variants exist. Active TALK, queued model
expression and action have priority; happy/sad expression is retained when speech
ends. No random phase cuts, fixed TTS delay or new model tag is introduced.
- The read-only package-avatar-emotion.py gate now accepts actions:[] or the two
dance rows. It checks actual video N/PTS/fps/duration, exactly video+AAC without
attached cover, presented audioEndUs (excluding AAC encoder padding), full decode,
nonempty finite PCM/RMS/peak and inventory/body/patch bytes before Kotlin admission.
Reports keep dance_available:false until independent exact pin/capability release.
Dance import/publication is separately blocked pending gateway capability admission;
read-only checking is available now without activating or rewriting owner assets.
- All source/target frames bind the silent delivered body SHA/PTS, not an immutable
master with audio/cover. Count241 and approximate10s are not substitutes for
independently measured video duration, final video PTS and presented audio end.