Add Liam waiting poses with capture and playback fences

This commit is contained in:
zenord
2026-10-15 01:51:00 +08:00
parent 72e68a4166
commit 654630dea5
28 changed files with 1102 additions and 43 deletions
+21
View File
@@ -233,3 +233,24 @@ omitted; if supplied they must both match levels[4]. All five levels/own-body/N/
shape/hash/cache checks remain mandatory. This path admits local media only, never
network dance capability. Current exact revision and restoration instructions:
`docs/BLACK_TULLE_CORRECT03_INTEGRATION.md`. Source pack bytes stay immutable.
## Optional local waiting poses (Liam code40)
The additive `waiting` object is now supported for a trusted selected bundle only:
`schemaVersion:1`, `idlePackageId`, `talkPackageId`, `microphoneAllowed:false`,
`ttsAllowed:false`, `mouthAllowed:false`, and 1–8 unique `poses`. Each pose has
`kind:waiting_pose`, `mouthAllowed:false`, source/return package=the idle fallback,
source/return frame0 with their exact indexed PTS, anchors A, and an exact hashed
silent H264 clip with actual N/PTS/shape/FPS/duration. No audioEndUs or
mouthRuntimeManifest is allowed. Every clip must appear in files with actual SHA/bytes.
The receiver probes the actual streams; a metadata hasAudio=false flag alone is insufficient.
These are local waiting behaviors, distinct from the two registered server music dances.
The production session must await actual recorder-stop ACK before playback, prohibit
capture/TTS/mouth overlays through decoder release and actual restored idle evidence,
and fence late turns/callbacks. TALK prepares the dedicated talk package before
AudioTrack enqueue and closes the mouth on real drain. This contract is not the
transparent-expression-patch semantics where TTS continues. See
[code40 implementation and evidence](LIAM_CODE40_WAITING_POSES.md). New silent server
commands such as arbitrary turn-around still require their own protocol/authorization work;
local pose admission does not add them to the gateway allowlist.