Repair independent idle state clocks and validate full avatar index

This commit is contained in:
zenord
2026-10-13 06:58:39 +08:00
parent c4ddf8964f
commit 97f87e2409
5 changed files with 27226 additions and 0 deletions
+43
View File
@@ -465,3 +465,46 @@ no APK assembled or installed.200 GLES goldens and gateway97 pass/1 Silero skip
retained prior evidence, not rerun for this diagnostics-only milestone. Code17 APK,
exact pin and live0.8 Qwen/TTS/allowlist are unchanged.
Handoff: **REJECTION_FIELD_REPORT_READY_AWAIT_CANDIDATE02_EXACT_SHA**.
### Full index04 metadata recovery (2026-10-13; awaiting new Pi pin)
Clean remote-matched baseline `c4ddf8964f7235628c529531a9bd120ba57b0d95`.
Source candidate03 exact SHA `3a6d43cc9bf810077c55652b1fb7876cb0b3b2767ae5cbcc93fe5e9e19825781`
and all5061 source inventory files were verified before/after independent copying.
`scripts/repair-idle-state-clock.py` changed only the two idle runtime manifests'
ten states' frameCount/ptsUs, from body97 timing to authored12/6-frame24fps500/250ms
curves. Cause reported by owner: build_idle_ownmouth.py assigned body N/PTS to every
mouth state. Body/patch/movie/audio/alpha/anchors/review flags remain unchanged.
5059 original files have identical hashes; original index and both runtime metadata
backups plus exact diff/provenance remain in the ignored recovery payload.
New independent directory:
`.runtime/avatar-imports/a01-expression-action-v1/code-recovery-full-index-04/`.
Exact index SHA `987e125a7d7a2cde99121b5f5246c82f4dbe36c4899d3d49eaffd1a68bafb887`;
exact bytes archived in `docs/avatar-manifests/a01-code-recovery-full-index-04.json`.
Full production gate passed:5065 indexed files,5 own bodies97/97/49/97/97,
8 own25-frame×5-layer one-shot bridges,13 edges,2 H264+AAC dance clips241 frames.
All file hashes/bytes, full decode, PTS/duration/fps, PNG shape, body/patch/bridge
bindings and actual production Kotlin admission passed. RGBA10,911,120 bytes within
8MB/runtime/32MB combined.3222 runtime-referenced files enter later APK;1844 inventory
review/backup files are excluded. Body plus bridge PNG count3185. Dance video duration
10,041,667us, presented audio end10,000,000us, decoded AAC tail10,005,333us; finite
PCM480000 stereo frames each. Completion still waits actual player release+restored
A, not a10s timer. Existing driver actually schedules neutral idle via own-mouth
edges, avoids repeats, preserves TALK/model-expression/action priority; no playback
or gateway source change was needed. Current source fixtures confirm these paths.
Fresh9 JVM/UI entry points and27 packaging/diagnostic/recovery tests passed. Recovery
tests cover independent N/curve clocks, exact diff/source protection, unknown timing
rejection and deterministic repeat. Existing public service calling path evidence
retained, no further ASR/LLM/TTS or paid calls. No new model/config/deployment/restart.
Full gate: `logs/action-emotion/full-index04-production-01/bundle-gate.json`.
Review HTTP tar bytes/hash/sidecar verified:
`http://192.168.31.124:8080/avatar-full-index04-review-987e125a7d7a/code-recovery-full-index-04.tar.gz`
SHA `91798babafd4af624b71180c3d47df6964b4e70725c3d0641da5a9fc835a27f0`,121689786 bytes.
The same HTTP directory exposes manifest.json, machine-gate.json and repair-report.json.
No source pixels generated/changed; additionalAIcalls0/fees0. Code17 remains rollback;
no code18 APK or new capability until independent Pi exact pin. Naturalness, human
listening, actor-no-speech, device/GPU/cognitive≤1s remain un-certified/not_run;
role expression exit wait remains up to2–4s plus~1s bridge. Gateway0.8/Qwen/TTS/live
allowlist unchanged. Handoff: **FULL_INDEX_REPAIRED_PARSER_PASSED_AWAIT_PI_PIN**.
+10
View File
@@ -178,6 +178,16 @@ curve count/PTS comparisons additionally list all such mismatches, and both acti
stream layouts are inspected even if a runtime fails. At most128 rejection rows are
written. No rejection found is not a full decode/hash/cache admission; the existing
package-avatar-emotion.py full gate and external Pi pin remain mandatory.
Deterministic metadata recovery, authorized only in the code owner's independent directory:
`python3 scripts/repair-idle-state-clock.py --source-manifest <exact-source-index>/manifest.json --source-sha <exact-sha> --output <new-code-recovery-directory>`.
It verifies the entire source inventory, copies independently, and fixes only the
two idle runtime states' frameCount/ptsUs from their authored6/12-frame24fps alpha
curves. Body N/PTS, own patches, media, alpha, anchors and approval flags are unchanged.
Original metadata backups and the exact field diff are indexed as review-only files;
the production packer includes only runtime-referenced payload in any later APK.
The recovery grants no approval: run the full gate, review the new exact index SHA,
then configure capabilities/import through the separately approved release process.
- 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.
File diff suppressed because it is too large Load Diff