Prepare pinned partial emotion bundle gate and safe candidate packaging

This commit is contained in:
zenord
2026-10-13 03:22:55 +08:00
parent 515d106da7
commit fcc55b8370
6 changed files with 504 additions and 30 deletions
+54 -2
View File
@@ -84,8 +84,8 @@ Asset-owner update: P1 free amplitude previews completed in its own
`.runtime/avatar-imports/a01-expression-action-v1/p1-amplitude-01/`; Pi selected1.1
source pixels for candidate production based on fixed comparisons. Dynamic visual
review remains pending. Nearest-level/opacity1/zero-bypass rendering stays intact.
Latest coordinator batch ledger snapshot: **8 submitted**, known video fee **$1.14**,
3 image fees unknown (supersedes earlier snapshots, not an all-time total).
Latest coordinator batch ledger snapshot: **11 submitted** (3 image edits +8 videos),
known video fee **$1.44**, image fees unknown (supersedes earlier snapshots, not an all-time total).
sad001 idle rejected for visible opening/strong expression; sad00249-frame revision
also rejected for opening around1–1.7s. Targeted sad003 is in its own frame gate. Happy own mouth uses1.1 sourcepx and actual97
source PTS; dynamic12s review pending. First real frame0-to-frame0 entry bridge
@@ -186,3 +186,55 @@ N×5 checks and15 invalid graph/cache cases also pass. Local gateway98 tests:
97 passed/1 existing Silero artifact skip.40 offline EGL/GLES goldens passed.
Application and Android instrumentation Kotlin compilation passed; instrumentation
execution and real device capture/GPU/perception were not run.
Partial-emotion release preparation (baseline515d106, no APK build/import):
`scripts/package-avatar-emotion.py` defaults to a read-only full bundle gate. It
checks per-runtime full decode/PTS/own N×5 patches, referenced file SHA/bytes,
actual silent bridge decode, combined cache and production Kotlin index admission.
Only runtime-referenced files enter APK; preview inventory is checked but excluded.
`actions:[]` is required by this P4a packer and never advertises dance. Import/publish
requires an externally supplied exact Pi pin; it cannot replace unknown destination
bytes. Publication picks max existing APK code+1 (minimum17), preserves code16,
verifies package/min26/target34/arm64, certificate, every bundled asset byte,
compiled index pin and HTTP APK/checksum bytes. Dance publication needs its later
real-audio gate; this script does not claim that gate is implemented.
Candidate-only machine check command:
`python3 scripts/package-avatar-emotion.py --manifest <index>/manifest.json --sha256 <candidate-sha> --output logs/action-emotion/partial-pack/<new-dir>`.
After Pi's exact pin, add `--pi-pin <same-sha> --publish`; no empty-pack build runs.
14 packaging regressions passed: a real silent runtime plus synthetic neutral-only
index invokes actual production parser; no pin, bad digest/PTS/inventory, unsafe
path/symlink, source drift, unknown destination, exclusive/idempotent import and
version increments are checked. Nine JVM entries and UI source contracts passed
again for the extended index harness and five new HELLO no/unknown/valid action
capability cases. Android/gateway/GLES source is unchanged from515d106; their
previous compile/97-pass1-skip/40-golden evidence is retained, not redundantly rerun.
sad003 standalone schema2 SHA
`6da7a3e431db28a7021eb1638fc8fecbabe5526bc9c49f7a9fcebe07009454b4`
passed read-only runtime Gate1:49 actual PTS,245 own patches,2.041667s,856,680 RGBA
bytes. Three original runtime textures total4,046,460 bytes; limits remain8MB/runtime
and32MB/index. This is a cache calculation, not physical OOME/GPU validation.
New candidate index exists at
`.runtime/avatar-imports/a01-expression-action-v1/p4a-combined-01/manifest.json`,
read-only machine-passed SHA
`000d04ea2137748e42a762e170a739c0ea5648fe14703d4980c2cc5811bc5008`.
It includes3 own runtimes97/97/49,4 actual bidirectional bridges and3 native loops;
1,226 referenced files verified,19 preview inventory files excluded from runtime.
The integrated runtime manifest SHAs differ from the standalone exports due to
metadata; exact bodies/patches were independently rechecked without owner writes.
Production parser reports danceAvailable=false, actions empty and4,046,460 RGBA.
Pi approved P4a technical candidate production, not final naturalness or this index
publication pin. The index currently lists expression exits[0,last], whereas the
latest coordinator cursor says expressionlast only; all actual return bridges use
last. These unused0 declarations need coordinator/asset metadata reconciliation
before final pin, not image regeneration. Expression exit waits up to its body
loop plus bridge are separate from mouth response; no expression≤1s claim.
Ignored evidence: `logs/action-emotion/partial-pack/{packaging-tests.json,
p4a-combined-01-gate/}`, `logs/action-emotion/media-wiring/sad-v2-gate.json`.
No asset import/activation, APK build/publication, gateway deployment/restart,
new live probe or paid call. Code16 rollback remains intact. Handoff marker:
**PARTIAL_EMOTION_PACKER_READY_INDEX_MACHINE_PASSED_AWAIT_EXACT_PI_PIN**.