Here Lies Trouble · Production document

Download original Markdown Review this document

Full document from the current working state. References marked “local archive” remain in the production working files.

Here Lies Trouble — stage 4 production details

Recorded: 2026-10-26, America/Los_Angeles. Project: Here Lies Trouble / Runyon Canyon Mullholand Drive. Status: CANONICAL FOURTH DRAFT FROZEN; OPTION B; COMPLETE SPEECH MEASURED; OPENING USER-APPROVED; 103-SECOND ALLOCATION COMPLETE; TERRAIN ACCEPTED; RECIPROCAL GAZE UNFINISHED; 40 CREDITS REMAIN. User-approved format: animated cultural conversation.

Follow-up gaze correction: the user said "terrain looks good but where are the gazes?" A targeted audit of all nine planned exchanges found zero confirmed, clearly readable reciprocal looks. This does not mean there is no head motion: the opening unicorn turns partly toward the camera, and the dog looks up/back around 62–65 seconds without a clear returned look. Earlier descriptions of "approximate gaze" were too generous. Treat the gaze requirement as not met, while preserving the accepted terrain. See the cue-by-cue audit player (local archive) and assessment. The audit changed no video, audio or transcript and spent no credits. Before further production spending, a separate canary must demonstrate one readable paired exchange with explicit target-facing head/eye poses. That candidate method is not yet validated.

Next round: the user requested Stage 5 speaking mouth movement and noticeable gaze, with a Seedance 2 retry targeted for November 1, 2026. Section 12 records the implementation plan, prepared six-second dialogue sample, acceptance gate and credit forecast. A fresh balance check still shows 40 credits; no November 1 refill has been verified. No Stage 5 video has been submitted or paid for.

Current delivery: 103-second Stage 4 video and local review player. Eight successful tasks produced 1:43 at native 1080×1920 / 24 fps / 2,472 frames, with four voices, exact draft-four captions and the approved parrots, hummingbird and bee. 6,180 credits used, zero refunded, 40 remaining; no purchases or paid creative rerolls. This is the longest whole-second sequence the original 6,220-credit pool funds at this tier.

The delivery covers complete turns 1–9 / 295 caption words / 31 cues. The last recognized word ends at 102.16 seconds, before the 103-second picture boundary. All 191 turns and the complete 52:35.375 audio master remain intact. The remaining 50:52.375 of episode picture is unfunded. Final MP4 SHA-256: e6e4a01909e458c5b477d6c0fdd48e50f03876ec7277d0a572bb314d4d89c629. The validation record separates technical checks, assistant frame inspection and pending human listening/review. Gaze timing, small markings, shot joins and geographic detail retain the limitations recorded below.

Approved opening review: six-second Stage 4 opening with draft-four speech and captions. Task sd2_m6BEGXwBGz7j completed at native 1080×1920 / 24 fps: 360 credits used, zero refunded, 5,860 remaining at the canary checkpoint. Review MP4 SHA-256: dc5ea058cb17bca3fd831d2d0ce6430fd590700a1b6490f121bf7374ad74477e. The provider original has 145 frames; the review preserves frames 0–143 and the final original frame 144 is saved for continuation.

The initial inspection interpreted the head motion around 2.5–4.5 seconds as a unicorn/dog exchange. Targeted reinspection finds a partly camera-facing unicorn turn and an upward dog look; mutual target-directed gaze is not established. Preserve the original visual-review.json as the historical assessment, and use the follow-up gaze audit for current acceptance. The user subsequently said "approve, continue". This approval is saved in v3/continuation-approval.json, bound to the reviewed MP4 and production identity. The opening gate is satisfied; do not request it again. All saved jobs are now complete; no further submission fits the remaining balance. Job statuses and cumulative charges are in v3/render-progress.json, refreshed by submission, collection and the renderer's status command. An unchanged status check preserves the checkpoint timestamp and hash.

This document is the stage-4 operating reference. It records the user's decisions, exact inputs, current tools, remaining work, and verification requirements so a new session or model can resume without conversation memory. Later explicit user instructions take precedence. Preserve dated receipts and reviewed media when updating this document.

Read alongside the production configuration, full production breakdown and budget, Netflix and emerging-format review, updated production-fit assessment, stage-3 baseline details, and stage-3 exit checkpoint. The stage-3 document remains the authority for the accepted original pixels, original prompts, voices, and prior provider receipts. This stage-4 document supersedes its pending animal-casting and next-provider decisions as described below.

1. Decisions already made

2. Four speakers, animals, and voices

Transcript label Animal Current Kokoro stock voice Voice family
SPEAKER 1 Unicorn af_bella American female
SPEAKER 2 Dog am_echo American male
SPEAKER 3 Albatross af_nicole American female
SPEAKER 4 Cat af_heart American female

The user accepted the albatross for speaker 3 after the unicorn/dog example, leaving the cat for speaker 4. These four voice IDs are the existing coherent-us-precise comparison voices. Keep this mapping stable across text, synthesis, captions, gaze cues, and clip boundaries. Do not infer speakers from gender, sentence content, or animal positions.

Kokoro-82M runs locally at speed 1.0, CPU evaluation, eight threads, seed 20260809, native 24 kHz mono PCM-24. The existing phoneme overrides are Runyon → ɹˈʌnjən and were → wˈɜɹ; canonical spelling is preserved. Model and voice-file hashes are recorded in the stage-3 details and each new speech-cache record. The four-voice stock selection is the working baseline; visual acceptance of stage 3 was not a separate vocal review.

3. Transcript handoff and preservation

Canonical source: here-lies-trouble.20261026.fourth-draft.txt. Preserve the user's exact filename. SHA-256: 889c2fdd91008e7acd998a7ed1ab94c4a0a20e71c5cba06ec37070e47001f4f6. It contains 46,859 bytes, 191 turns, 8,107 dialogue whitespace words, 297 chunks and exactly four speakers. There is no SPEAKER 5, UNKNOWN SPEAKER or standalone B. No words were edited during this assessment.

Current run: outputs/here-lies-trouble/stage-4-20261026-option-b-v3/. source.txt preserves exact UTF-8/BOM/CRLF bytes and plan.json contains the lossless ledger and configuration at freezing. All 297 speech chunks are synthesized and the full PCM timeline measures 3,155.375 seconds (52:35.375). Complete word-fidelity/listening review and full caption alignment remain pending. production.json records execution decisions; do not change the frozen plan to update runtime status.

The first frozen draft used hash 54ee64e5f84e92a4af92a5a90df206d4e2d985f5b9be80659dfcfeaf9d70f352. The live file subsequently changed Yayt! to Yay! and the final line ending. The current source incorporates that change without agent edits. The stage-4-20261026-forth-draft, stage-4-20261026-option-b, and stage-4-20261026-option-b-v2 source plans are superseded; keep their receipts and location research, but resume production only from v3.

The historical rehearsal input is here-lies-trouble.20261024.third-draft.txt (local archive), SHA-256 576ddf1f071aa1b43f1dc3ef17a3078915ce9754aae81046d7301f0fee17a02f. It has 191 turns, 7,950 dialogue tokens, and four speakers. Those counts describe the third draft; they are not constraints on the user's fourth draft. The 26 uncertain recognition spans are in the grammar-edit record (local archive). The user's fourth-draft editing is responsible for the next text revision; preparation does not rewrite either draft.

For every new production source, preserve the exact UTF-8 bytes, including line endings, punctuation, preamble, and speaker labels. The spoken chunks cover every dialogue character through contiguous source offsets. Labels and title/directions remain explicitly retained metadata. Reject unknown, extra, malformed, or empty speaker turns. Do not silently assign a fifth voice or drop a difficult passage. A changed source requires a new run directory; unchanged speech chunks can reuse the shared cache.

4. Credit budget and the two alternatives

A read-only balance request at 2026-10-26T17:30:57.982579+00:00, confirmed again immediately before submission at 2026-10-26T18:16:13.717082+00:00, returned:

Balance item Observed value
Total personal credits 6,220
Subscription credits within that total 4,200
Subscription expiry 2026-11-13 00:00 UTC
Other credits within that total 2,020

The observation is saved in balance-check-20261026T173057Z.json (local archive) and providers/seedance/job-001/balance-before.json in the current run. The expiry corresponds to November 12 at 16:00 Pacific. Recheck the balance before submitting; other account usage can reduce it. The saved original Stage 4 ceiling was 6,220 credits; that allocation is now complete, with 40 remaining. It is not the next-round balance. Use section 12 for the later balance observation and Stage 5 forecast, and reconcile any future grant separately from this completed allocation.

Stage 3 charged 900 credits per 15 seconds at pro / standard / 1080p, or 60 credits/second. The provider API supports 4–15-second clips and returns actual credits used. Its sample charges are illustrative. Stage 4 job sd2_m6BEGXwBGz7j returned an actual 360-credit charge for six seconds, confirming this rate for the opening.

At that rate, the completed production allocation is 6 + six × 15 + 7 = 103 seconds, costing 6,180 credits in eight jobs. The accepted opening is the first six seconds of that sequence. Forty credits remain below the minimum usable amount. Do not purchase credits or reduce resolution solely to consume that remainder. Recalculate remaining affordable work after each receipt and any confirmed refund; a paid creative retake consumes the same finite pool.

Paid completed footage discarded Maximum retained sequence from the original pool
None 103 seconds
One 15-second retake 88 seconds
Two 15-second retakes 73 seconds

These figures reserve paid creative retakes, not fully refunded technical failures. The provider terms, section 5 state that platform-error failures receive automatic credit refunds. A completed clip with unsuitable gaze or identity remains a paid generation; do not assume a quality refund. The task API reports credits_used and credits_refunded. Reconcile their difference against a fresh balance; do not spend a refund before it is confirmed. Retry polling/downloads of the same task after transport trouble. Recover an uncertain POST only with the original body/key inside the documented 24-hour window (the runner conservatively stops at 23 hours), never with a fresh key.

Plan Opening picture New seconds Total available picture Estimated new credit use
A — reuse and extend Existing accepted 30 seconds 103 133 (2:13) 6,180
B — selected restart New Point 0 composition; original frame is style/cast reference 103 103 (1:43) 6,180

These are alternative uses of one balance, not two funded batches. A records the earlier reuse option; B now supersedes it. Both calculations use fourth-draft audio and captions. These credits cover a short section of the episode, not the complete roughly hour-long conversation. Do not imply that repeating 103 seconds of walking footage throughout the whole episode has been approved. Any broader repetition/editing treatment requires its own concrete review.

The first production clip covers 0–6 seconds, inside the chosen plan's budget. Six seconds ends in the actual pause after "reason–", avoiding a mid-word preview boundary at five seconds. The full dialogue remains intact. Unicorn-to-dog gaze is directed at 0.50–3.30 seconds. The seeded wildlife schedule begins after this clip; do not crowd an animal into the opening simply to demonstrate every feature. Review the actual video and obtain the user's approval before continuing. That approval has now been recorded as "approve, continue"; preserve the approved six-second media.

The full synthesized draft measures 52:35.375, before optional cards. At that duration, 50% paid extra generation estimates $3,996 additional cash after the original 6,220-credit pool; a clean first pass is $2,578.90. The earlier 49–63-minute word-rate scenarios remain sensitivity estimates. See the complete assumptions and scenarios. These are estimates before tax; no new purchase or provider switch is authorized.

5. Exact reusable picture and starting frames

Baseline directory: outputs/here-lies-trouble/stage-3-20261025/.

Input Path under the baseline directory SHA-256 / disposition
A's reusable silent opening review/seedance-30s-silent.mp4 ab14dda295780f3a0613f35c9ce593ec922b83c560a944aeff36fae358d46b78
Historical accepted captioned opening review/seedance-30s-captioned.mp4 63e96d3bc4f4063c9c3a178ca5889df0cede4b6e90de7e3f53bc831d06966144; preserve as evidence
Original style/cast keyframe inputs/runyon-keyframe.png 69bac64a0ac720dac06ea964f102a6fe5ded0a71cbb461674c9dda5604bf0777; style/cast reference for the new B image
A's continuation frame providers/seedance/segment-02/last-frame.png Last decoded provider frame; verify against the saved provider original and handoff inventory
Native final-frame URL/receipt providers/seedance/segment-02/result.json Provider URL is a transport convenience; retain local image bytes

The new B input is v3/inputs/point-0-keyframe.png (local archive), SHA-256 9b4b4b124769f4dcb42a73eabd5268a850fdf87a93020b8c50d5b601ac151c80. Built-in image generation used the original cast/style image and the saved Point 0 map layout; exact instructions are in point-0-prompt.txt (local archive). The road above the entrance, gate, descending path and dry slopes are an illustrated geographic approximation. Exact signage is waived.

Fal storage returned HTTP 403: account locked because its balance is exhausted. No top-up was made. The image alone was staged on the existing situationshipin.space provider-input host, commit a3be4c4867b4831c959143e9f569d7b78a2d3b24; a commit-pinned raw GitHub URL was downloaded and matched byte-for-byte before submission. The transcript and audio were not uploaded. Preserve inputs/opening-upload.json and inputs/upload-error.json. Later continuation uses Seedance's native last-frame URL after its image is compared to the decoded final frame.

The original clips contain 361 frames; the accepted opening assembles frames 0–359 from each 15-second segment. Continuation from provider frame 360 is the established one-frame seam method. Verify that seam for a new extension. Provider JPEG last-frame images can differ from the decoded PNG; retain dimensions, hashes, and the visual-comparison evidence rather than claiming byte identity. Replace an expired input URL using verified image bytes and record the new transport receipt.

Both plans retain native 1080×1920 at 24 fps, the four established animal identities, the paper/ink illustration, restrained neon accents, and the Runyon setting. Preserve the three ground animals' walking and the albatross's accepted low-flight/hop behavior as the group travels together. A's original 30 seconds retains its original character motion; the approved local wildlife treatment can be composited there. B permits coordinated character gaze and wildlife from its first frame.

Mapped path and terrain

The route reference follows a continuous working path south from Point 0 along Runyon Canyon Road: OSM ways 36049622 and 182313579, approximately 2.25 km, with eight anchors and 24 USGS elevation samples on and beside the path. Centre samples descend from about 369 m to 188 m. This route was selected from map continuity; the user did not supply a separate loop itinerary.

For each shot, record route start/end distance, heading, terrain anchor and reference-image hash. Advance consistently along that path using the measured audio timeline. Derive background bends and broad slopes from these references. Do not use generic canyon backgrounds merely because they resemble Runyon. The map/profile preview (local archive) shows the current reference coverage. Samples constrain broad terrain, not a surveyed skyline or exact vegetation. Keep OSM attribution and USGS source receipts. The requested close fit does not require sign lettering, a detailed terrain mesh or copying Street View imagery.

6. Conversational motion specification

Gaze is staged from speaker turns, with soft transitions and pauses:

  1. Eyes lead a modest head turn toward the addressee; the torso and feet continue the walk. The unicorn may look slightly down toward the dog, and the dog slightly up toward the unicorn.
  2. The listener returns the look after about 0.25 seconds. Blend the turn over roughly 0.6 seconds, hold briefly, then ease back to the path.
  3. Add an occasional small listener nod, ear response, or head tilt. A spoken syllable is not a trigger for a body bounce or a head movement.
  4. At a turn handoff, attention shifts naturally to the next speaker. Long speeches include intervals of looking ahead; avoid sustained staring, repeated synchronized nods, or an attentive pose on every word.

Working limits: at least 2.5 seconds between gaze onsets, around 1.2 seconds of gaze hold, and at most three primary interaction cues in a 15-second clip. These are staging targets, not measurements guaranteed by the model. The initial addressee inference is the previous different speaker, or the next different speaker for the opening. Review that inference where the text clearly addresses the group or another person.

There is no established exact lip synchronization in the current method. Speech is synthesized separately. Evaluate gaze and listening first; do not introduce exaggerated mouth animation as an accidental substitute. This describes the frozen Stage 4 method. Stage 5 explicitly adds speaking mouth animation under section 12; do not carry this omission into its new prompt or change historical Stage 4 requests.

7. Incidental animals and tracking

Allow one wildlife event at a time. An event is one small visitor or one small distant flock. Use seeded variation for repeatable timing and paths; the proposed production seed is 20261026. Leave approximately 20–35 quiet seconds after each 3–5-second event. Do not force every species into each clip or into the limited first batch.

Visitor Motion and placement
Small bird Distant lateral/diagonal crossing, a few wingbeats, then exit
Butterfly Small irregular drift near vegetation; gentle wing flutter
Hummingbird Quick approach, short hover, then a clean dart away
Bumblebee Small bobbing approach and brief hover near flowers
Ladybug Rare tiny flyby; a landing/crawl only when a specific leaf can be kept aligned with scene motion
Green parrots Three to five small distant birds in loose formation; green bodies with red facial markings, using the user's SF conure/hybrid reference

Keep these visitors visually small and consistent with the illustrated paper/ink world. Protect the four main faces and the lower 20% caption area. A listener may briefly track a visitor with eyes and a small head turn for roughly a second, then return attention to the conversation. The active speaker/addressee interaction has priority. Avoid all four characters following the same visitor or having the camera chase it. No wildlife sound effects or additional speaking voices are specified.

The local previews establish the approved wildlife treatment. Two implementation paths remain available:

8. Prompt contract for the first new clip

Reuse the complete stage-3 motion/style specification and its character identity descriptions, with the Stage 4 location and wildlife changes below. Its old blanket "no new animals" constraint is superseded only for the six explicitly allowed background visitor types. Preserve exactly four principal characters traveling together. Replace that blanket constraint in the actual submitted prompt with: "Exactly four principal traveling characters; only the scheduled small background visitor or flock may enter. Preserve all four principal identities." Do not leave contradictory animal-count instructions in a request.

Replace the old generic "toward the road ridge" direction with the shot's actual mapped path heading and slope. Use a new Point 0 reference for the opening; the original image remains the visual style/cast reference, not evidence of that entrance's geometry. Keep the accepted illustration language while the terrain follows the route.

Append a short shot-specific action block generated from measured speech, for example, when the unicorn and dog are the actual pair in that window:

Keep the same four main characters moving together, with natural weight
and limb cycles for the ground animals and the albatross's established
low-flight/hop behavior. Their conversation has restrained listening gestures.
At [clip-local time], the unicorn gently turns its eyes and head toward
the dog, looking slightly downward. The dog returns the look, looking
slightly upward, then gives one small nod. Both continue walking and
ease their attention back toward the trail. Other characters remain
quietly attentive; do not synchronize all their head movements.

At [clip-local time], one small [approved visitor] briefly passes through
the [background region] along [path]. It is a subtle incidental visitor.
One non-speaking listener may briefly follow it with its eyes and a small
head turn, then return to the conversation. Keep the visitor clear of
faces and the lower caption area. No new principal characters, no swarm,
no camera pursuit, no typography, no speech, no music or generated audio.

Replace bracketed fields from the chosen clip plan. Do not submit literal placeholders, conflicting visitor counts, the entire wildlife catalog, or a transcript-based timing guess. Keep at most one optional wildlife event in the first evaluation clip and check its scale before increasing complexity. Record the exact submitted prompt, seed, image, duration, request hash, and provider response.

9. Local preparation tools and reproducible commands

The stage-4 tool has local-only commands: prepare, speech, timeline, and credit-plan. It has no provider submission command. The accepted stage-3 runner remains unchanged and bounded to the historical canary; do not repurpose its existing run folder or delete its submission records to create new jobs.

Current preparation artifacts are under outputs/here-lies-trouble/stage-3-prep-20261026/ (called PREP here). The directory name is historical; these are stage-4 preparations.

The third draft has been rehearsed through source preparation: all 191 turns, 296 speech chunks, exact byte reconstruction. A separate four-turn fixture uses only the original 67 opening words for a real local voice smoke test. It is not a replacement production transcript.

The fourth draft is ready and its source ledger is already prepared. These commands resume the current immutable run; a changed source or configuration requires a new versioned directory:

cd /home/bkoz/src/izzi
python3 scripts/hlt-stage4.py prepare \
  --source outputs/transcription-enrichment/here-lies-trouble/here-lies-trouble.20261026.fourth-draft.txt \
  --run outputs/here-lies-trouble/stage-4-20261026-option-b-v3

build/private/voice-audition/runtime/venv/bin/python scripts/hlt-stage4.py speech \
  --run outputs/here-lies-trouble/stage-4-20261026-option-b-v3

build/private/voice-audition/runtime/venv/bin/python scripts/hlt-stage4.py timeline \
  --run outputs/here-lies-trouble/stage-4-20261026-option-b-v3

python3 scripts/hlt-stage4.py credit-plan \
  --balance outputs/here-lies-trouble/stage-3-prep-20261026/seedance-balance.json \
  --timeline outputs/here-lies-trouble/stage-4-20261026-option-b-v3/timeline.json \
  --output outputs/here-lies-trouble/stage-4-20261026-option-b-v3/credit-plans.json

Refresh the balance observation before using that last command for a paid run. The current capacity-only plan has no measured timing and cannot be used as a gaze schedule. prepare rejects changed source/settings in an existing directory and rejects a live canonical file whose hash differs from the designation. speech runs offline and caches by exact text, voice, pronunciation settings, model/voice hashes, and runtime package versions. It rejects oversized phoneme chunks before the installed Kokoro code can truncate them. Interruptions can resume through the same command and intact cache.

timeline requires complete speech for that frozen source. It concatenates all speech in order without time compression and measures PCM frames; it exports turn/chunk timing and a dry WAV. This is not yet final word-aligned captioning or a normalized delivery master. Complete listening and ASR checks, exact-text caption alignment, and two-pass loudness normalization before final assembly, following the stage-3 targets.

The wildlife study renderer creates three local 30-second studies and a comparison viewer:

python3 scripts/hlt-stage4-wildlife-preview.py \
  --output outputs/here-lies-trouble/stage-3-prep-20261026/wildlife

The viewer (local archive) compares the original with birds/butterflies, hummingbirds/bees, and ladybugs/parrots. Its two diagnostic events at 4–9 and 19–24 seconds are denser than the proposed production spacing. It preserves the original audio/captions solely for visual comparison. Character gaze is unchanged in these local studies. The user directly approved their wildlife treatment on 2026-10-26 with "high approve". The dated approval and exact preview hashes are saved in the wildlife approval record. The new six-second opening was rendered with gaze instructions and approved for continuation. The later targeted gaze audit marks the requested reciprocal effect as unfinished; opening approval is not evidence that the effect was achieved throughout the sequence.

Current production execution and restart

The bounded renderer is separate from the frozen source/speech tool and historical stage-3 runner. Its allocation is complete in v3/production.json: 103 seconds, eight jobs, 6,220-credit ceiling, and an opening approval gate satisfied before job 2. Inspect saved requests and receipts before any provider operation; never delete a receipt to rerender.

Job Episode interval Task Credits Observed balance after collection
1 0–6 s sd2_m6BEGXwBGz7j 360 5,860
2 6–21 s sd2_VmZEvb1O6E0Q 900 4,960
3 21–36 s sd2_dQWzaPvq1EX9 900 4,060
4 36–51 s sd2_me7EZpemk5Gp 900 3,160
5 51–66 s sd2_dBbEweAqm5ea 900 2,260
6 66–81 s sd2_neAxLZDpWz4B 900 1,360
7 81–96 s sd2_40yEMVWJ0zrk 900 460
8 96–103 s sd2_BqG5A8glVzwX 420 40

Every task completed, with zero refunds. The final credit ledger reconciles all receipts against the final account observation. Provider originals include one extra frame per shot; the delivery retains the requested number of frames and keeps each original/final frame separately.

python3 scripts/hlt-stage4-render.py \
  --run outputs/here-lies-trouble/stage-4-20261026-option-b-v3 status

# Recovery only if an existing task's local media is missing; no new paid POST.
python3 scripts/hlt-stage4-render.py \
  --run outputs/here-lies-trouble/stage-4-20261026-option-b-v3 collect --job 8

Open the existing delivery for review. Do not rebuild the approved single opening: its assembler refuses after approval. The full-sequence assembly commands below are recovery instructions, not a reason to replace the finished files or reset their review records.

submit --job 1 also returns the saved task without submitting again when its receipt exists. submit --job 2 and later refuse to run without continuation-approval.json, bound to the actual review MP4 hash and the frozen production identity. That record now exists with the user's actual "approve, continue" message; do not run approve again or replace it. Submit and collect subsequent jobs one at a time; inspect continuity and charges before the next submission. There is no automatic batch loop or purchase operation.

Job 6 returned a completed video with last_frame_url: null. The next submission stopped before creating a paid request. Its decoded final PNG is the fallback continuation input, hosted through the established project asset repository. Only the generated image is published; no transcript or credentials accompany it. The renderer's host-frame --job 6 --url URL command downloads the already hosted image, requires byte equality with the saved final PNG, and records last-frame-upload.json. A mismatch leaves no valid transport receipt. Preserve that receipt and the host commit; do not rerender a successful shot merely because its provider image URL is missing. Native provider frames remain preferred when available. The provider API reference requires public HTTPS media inputs; it does not document a direct image-upload or base64 input for this endpoint (checked again during recovery). The verified fallback is at project-host commit 30863cd3c8d9e77becb148446af469b45c426637; its PNG SHA-256 is 0a800b4fd6d5f65eb1681c6ef973d513b46fbaa641e5dc0d5bea3d315d1fa114. The publication review initially rejected the destination as unverified, then accepted the same operation after connected-account ownership and the existing opening-image workflow were verified. The recovery receipt records that sequence; it incurred no generation charge.

Every POST has a persisted request, intent, idempotency key and credit estimate. A file lock prevents competing local submissions. Fresh balance and cumulative net charges must both fit the original ceiling. A changed charge rate, changed source/image/timeline, missing charge receipt, failed preceding shot or uncertain older POST stops continuation for reconciliation. The first six seconds are approved production footage; the subsequent 97 seconds are complete and inspected. Forty credits remain unusable at the selected tier. The entire 103-second sequence has not yet received separate user review; do not silently extend the opening approval's scope.

The complete normalized dialogue-master.wav is 48 kHz stereo PCM-24, 52:35.375, measured at −16.15 LUFS / −4.42 dBTP. Its receipt records the new full-episode two-pass measurement, rather than reusing stage-3 normalization values. Opening captions use unchanged canonical text with local Whisper word timing; source spans and punctuation are checked before assembly. Full-episode word fidelity and caption alignment remain pending. The first review is a 0–6-second excerpt of this master; no source words are removed from the complete episode.

Run the spend/restart tests with python3 tests/hlt-stage4-render.py (eleven tests) alongside the nine source-preparation tests and four finishing tests in tests/hlt-stage4-finish.py. Local review assembly additionally checks source-span caption equality, provider hashes, full-audio duration/loudness, native 1080×1920 and 24 fps: 144 opening frames and 2,472 complete-sequence frames. All 24 tests passed. The final video also decoded fully without errors. Its 4,944,000 decoded mono audio samples correlate 0.999966 with the aligned master excerpt after AAC encoding; this verifies continuity, not human listening quality. The local player links and JavaScript syntax passed their checks.

Funded-sequence assembly

The local finishing tool preserves the approved opening and stitches only the requested frames of each completed provider original. It verifies that the last recognized word ends before the funded boundary. At 103 seconds this covers complete turns 1–9; the last recognized word ends at 102.16 seconds. The complete source and 52:35.375 audio master remain intact for the remaining episode.

python3 scripts/hlt-stage4-finish.py \
  --run outputs/here-lies-trouble/stage-4-20261026-option-b-v3 prepare

# Run after every allocated job has been collected and inspected.
python3 scripts/hlt-stage4-finish.py \
  --run outputs/here-lies-trouble/stage-4-20261026-option-b-v3 assemble

# Resumable, offline, full-episode recognition diagnostic; does not edit audio/text.
build/private/whisper-venv/bin/python scripts/hlt-stage4-speech-check.py \
  --run outputs/here-lies-trouble/stage-4-20261026-option-b-v3 --threads 4

The unchanged canonical words supply 31 caption cues. The opening four cues remain exactly as approved. ASR spelling differences are preserved in the diagnostic, with local interpolation for timing; no recognizer words replace source text. Full word-fidelity and naturalness require listening review.

The full offline check has completed all 297 chunks, with no empty recognitions and all four speaker assignments represented. Case/punctuation normalization yields 8,134 lexical reference words and 151 recognition edits (1.856% disagreement). This count differs from the 8,107 whitespace-token source count because tokenization differs. Names, acronyms and numerals are not silently normalized away. Preserve full-word-check.json and full-speech-diagnostic-summary.json; recognizer disagreement is a listening flag, not proof of a synthesis error. The complete audio/source are unchanged.

The approved vector wildlife designs use one global frame clock: five green/red parrots at 11.252–14.269 seconds, a hummingbird at 39.589–43.272, and a bumblebee at 78.229–83.212. The bee crosses the 81-second cut without restarting its path, wing phase or fade. All visits stay in the upper/middle image; inspect their clearance on actual footage. Other approved types remain later in the full-episode schedule. No extra generation is charged for these overlays.

From job 3, the directing prompt uses the saved OSM heading and distance interval. The entrance connector turns toward the southbound service road, then southeast. This constrains broad illustrated staging, not exact camera geometry. Carryover gaze and wildlife cues settle across cuts instead of starting a duplicate reaction. Exact prompt and terrain direction are saved with each new request; previously submitted requests remain unchanged.

Observed continuation limits

The four animals remain recognizable in the sampled continuation frames, with walking and the albatross's low flight. Gaze and listener response are not reliably demonstrated; prompt timestamps do not establish execution or lip sync. The follow-up nine-cue audit supersedes the earlier, overly broad "approximate gaze" assessment. The unicorn's horn darkens in some views despite explicit chartreuse-color reinforcement. Retaining that variation preserves the longest sequence within the approved credit pool; no paid creative rerolls were made.

Job 3 introduced painted centerlines on the entrance road. This was a generated interpretation, not evidence from the map. From job 4, the prompt directed the entrance roadway behind the group as it moved onto the pale, unstriped access path. That transition is visible by the middle of job 4. Illustrated vegetation and structures are not verified geographic detail. A new background gate appears late in job 7 and persists into job 8; its placement is not established by the map reference. The route constrains broad path progression and terrain; the resulting images are not a surveyed reconstruction of Runyon Canyon.

Provider final-frame transport is checked against the saved decoded frame. The next generated first frame can nevertheless reconstruct texture and pose. Keep those two checks distinct: a verified input transfer does not guarantee a pixel-identical join. Each job's technical-review.json records the join metric, and join.png supports direct comparison. Retain the originals, sampled frames and observations rather than claiming seamless continuity from a successful API response.

10. Submission, assembly, and review requirements

Use a new stage-4 run ID and job directory for every intended new clip. Save submission intent and request before a paid POST, then the returned task ID immediately. Use a unique idempotency key; a missing receipt after an uncertain submission requires reconciliation before another POST. The API documentation describes 24-hour same-key/body deduplication. Local records remain necessary beyond that interval. Repeated polling or a download failure is not a new render.

The next-round budget authorizes existing credits; it does not authorize automatic top-ups, a second full A/B batch, or unbounded rerolls. Stop submitting when the next legal-duration clip cannot fit the remaining balance. Compare actual charges and refunds against both the local ledger and a fresh balance, particularly after the first new clip.

Before accepting that first new clip, check:

  1. All four hero identities, anatomy, style, and walking motion remain stable; the albatross remains a distinct main character, not a flock member.
  2. The intended speaker and listener look at each other, with restrained gestures and no incorrect speaker/animal substitutions.
  3. Wildlife is small, infrequent, readable, and spatially coherent; a listener's reaction is brief and does not derail the conversation.
  4. Output is genuinely native 1080×1920 at 24 fps, and its usable frames cover the requested duration without clipping audio.
  5. The assigned terrain, path bend and travel direction match the route reference; the clip does not teleport the group or reverse its progress.
  6. The seam from the preceding picture is acceptable. Maintain continuous fourth-draft speech across video boundaries; a picture cut must not cut a word or omit a source span.

Record actual visual observations and media hashes. A prompt, seed, or successful provider status is not evidence that gaze or wildlife behavior was achieved. If the first clip fails, document the issue and update the remaining credit plan before further generation.

11. Restart, upgrades, and remaining work

Verified preparation results on 2026-10-26:

The readiness record (local archive) holds historical rehearsal hashes and measured results. Current handoff state is in stage-4-state.json and the v3 readiness record (local archive).

On restart: read this file and the configuration, inspect git status, locate the saved source snapshot/ledger, verify hashes, and inspect actual job receipts before any provider command. The shared repository contains other ongoing work; scope this task's edits and commits to Here Lies Trouble.

After all eight saved jobs are collected, this allocation is complete. Do not delete receipts, repeat submissions, or extend production.json in place. A future funded extension of this Stage 4 sequence needs a new manifest starting at episode time 103 seconds, referencing the same source/audio and job 8's saved final frame. Verify local media hashes before using any provider URL; download URLs may expire. Forty remaining credits cannot fund the minimum four-second job at the selected 60-credit/second rate. New purchases are not authorized by this completed allocation.

For runtime/model upgrades, preserve the old environment and compare a fixed four-turn sample before changing a production voice. Changed model weights, stock voices, package versions, phoneme handling, timing, or prompts must produce new manifests/cache identities and review evidence. Do not overwrite accepted historical media or retroactively change its hashes. Configuration and exact request records are the durable contract; the agent/model's memory is not required.

Readiness checks are in tests/hlt-stage4.py: lossless Unicode/CRLF handling, speaker validation, source freezing, affordable clip allocation, A/B budget isolation, gaze targets, repeatable wildlife spacing, and cache invalidation. Run with:

python3 tests/hlt-stage4.py

Remaining production work: implement and review the Stage 5 combined mouth/gaze canary described in section 12; resolve full-audio listening/word-fidelity flags; align captions for the rest of the episode; decide how to fund or illustrate its remaining 50:52.375; and copy the checksummed local evidence to separate durable archive storage. The current credit allocation, draft-4 fit review and full production estimate are complete. The full audio is synthesized and measured, while the rest of the episode's picture and perceptual audio acceptance remain outstanding. Retaining these eight shots gives 212 full-episode first-pass jobs (204 still needed), with the same 3,156 generated seconds and dollar estimates; see the updated measured cost inputs.

Network-needs sources now live in resources.rizal/screenwriting/. The May 2026 PDF and Andor script moved unchanged. No verified newer public consolidated needs document was found; the refresh record keeps newer public programming evidence separate from the historical 18-house rubric. Preserve this ignored source directory in the archive too.

outputs/ and build/ remain Git-ignored. They contain the accepted media, new caches, frozen transcripts, local studies, and models. The tracked documents/configuration/scripts alone do not recreate accepted pixels. Preserve their local files and a checksum inventory across restarts, and copy the artifact bundle to durable storage as a separate archive step.

12. Stage 5: speaking mouths, readable gaze and November 1

Requested on October 26, 2026. Target retry date: November 1, 2026, America/Los_Angeles, subject to sufficient credits. This is a preparation and review plan, not an automatic scheduled submission. No purchase has been authorized. The Stage 4 allocation is complete; its approval and 6,220-credit ceiling must not be reused as a Stage 5 spending allocation.

What changes and what must be built

Keep the complete fourth draft, all four stock voices, existing master audio, accepted illustrated terrain and approved wildlife treatment. Stage 5 must make the speaking animal visibly speak and the two intended animals visibly look at each other. Generic head motion, a look toward the camera, or a provider status of completed does not pass this requirement.

The main extra work is reusable facial animation and its timing:

  1. Four animal-specific face controls. Prepare rest/open mouth shapes and explicit forward/partner-facing head and eye poses. Use a restrained jaw/lip movement for the unicorn, dog and cat, and a hinged beak for the albatross. Preserve their markings and anatomy. Track these controls to the walking heads with masks for occlusion; simply drawing a moving mouth over an untracked face will slide. This rig and tracking are not built yet.
  2. Speech-driven timing. Read the frozen speaker/chunk timeline and animate only the current speaker's mouth from its actual audio. Start with smoothed speech activity and syllabic energy, including closures during pauses. If closer articulation is needed, align phonemes to the cached speech and map them to a small set of mouth shapes. Speech-timed opening/closing is the initial target; it is not a claim of exact phoneme-level lip synchronization. Listeners' mouths rest during silence.
  3. Readable paired poses. Stage the active pair so both faces remain visible and large enough to read at normal viewing size. Use a clear partner-facing head turn, with eyes leading where the drawing supports it. A starting design target is roughly 20–35 degrees of head rotation, a 0.4–0.6-second transition, a returned look about 0.25 seconds later, and a 1.5-second mutual hold before attention returns to the path. These are proposed controls to test, not measured Seedance behavior. Keep the walk gentle and avoid wildlife reactions during the first proof.
  4. A new Stage 5 runner and manifest. Store exact source/audio/pose hashes, per-speaker mouth intervals, gaze targets, prompts, input mode, quoted rate, task ID, charges, review evidence and approval. Reuse the existing submission ledger, fresh-balance checks and duplicate-request protection. Do not modify the Stage 4 frozen manifests or historical prompts. Remove the old blanket mouth-motion restriction from the new prompt and replace it with explicit active-speaker animation and listener rest instructions.

The preferred reliable path is Seedance for the terrain/body motion, then controlled mouth and head/eye animation locally. It requires actual face assets and tracking, but lets timing corrections happen without paying to regenerate the terrain. Existing Stage 4 footage is also usable as a local facial-animation test plate; this does not make it an accepted Stage 5 performance. A pose-guided Seedance render can be compared, but stronger wording alone is not a validated remedy for the nine failed gaze cues.

Seedance 2 capability boundary, checked October 26

ByteDance documents audio, image and video references for the underlying Seedance 2.0 model. The existing account is on the separate seedance2ai.io service. Its current Seedance 2 API contract documents start/end images and image/video references, but no standalone reference-audio parameter. generate_audio controls output sound; it is not an input for the existing Kokoro performance. The same document lists audio references under Seedance 2.5, a separate endpoint; do not silently change models.

For the requested Seedance 2 retry, use the documented image or video reference route with explicit face poses. A short locally animated motion reference could demonstrate the intended gaze and mouth movement. Whether this provider also uses a reference video's embedded audio for exact timing is unverified. Do not assume that wrapping the WAV in an MP4 solves lip sync, or that video-reference pricing matches image-to-video. Recheck support and cost on the retry date. Keep the original master as delivery audio; generated speech is not a replacement for the four voices.

First canary and the continuation gate

A six-second audio reference is prepared locally: canary dialogue WAV (local archive), with exact provenance in canary-preparation.json (local archive). There is no Stage 5 visual preview yet; pose assets, tracking and the new runner remain to be implemented.

Use complete turn 8, SPEAKER 3 / albatross / af_nicole: “No, we saw it here at Mark Taper in LA.” The dog listens and returns the albatross's look; the other two animals remain quiet. The sample copies episode 70.290–74.465 seconds from the frozen master unchanged and adds 0.500 seconds of leading silence and 1.325 seconds of trailing silence. The copied 200,400 stereo PCM frames are byte-identical to the source. No spoken words are cut, rewritten or resynthesized. This is a separate performance study, not a replacement opening or a shortened episode. Use the corresponding mapped route position for its background.

Suggested six-second staging: start the albatross's head turn at 0.25 seconds, the dog's response 0.25 seconds later, blend each over about 0.5 seconds, hold mutual attention for 1.5 seconds and return to the path by 5.0 seconds. The beak follows the actual speech within 0.500–4.675 seconds, including any internal pauses. No wildlife overlay in this first proof; restore the approved quiet wildlife schedule after the facial method passes.

Acceptance requires all of the following:

Passing an albatross test does not validate the other three mouth designs. After approval and a fresh budget check, a 12-second handoff test at episode 62.700–74.700 contains both complete turns 7 and 8: dog speaks, then albatross speaks. It tests mouth ownership switching and reciprocal attention without cutting either turn. Also validate the unicorn and cat on complete short excerpts before scaling to all four voices. These later tests are not submitted or included in the first-canary allowance.

An eventual Stage 5 episode must apply the accepted facial treatment from episode time zero, including the first 103 seconds. It may use the saved terrain/body-motion plates with local face corrections, or new shots where tracking cannot preserve the drawing. Starting new terrain footage at 103 seconds is only a Stage 4 extension; it would leave the opening's failed gaze untouched. Choose the production approach after the canary passes.

Credit forecast for November 1

A fresh authenticated read at 2026-10-27 01:33:21 UTC / October 26, 18:33 Pacific returned 40 total credits, zero subscription credits, and a null subscription expiry. See the saved balance receipt (local archive). The zero balance in the subscription bucket does not establish whether the subscription is active, cancelled or due to renew.

The pre-Stage-3 observation recorded 6,000 subscription credits; after Stage 3 it held 4,200, with expiry November 13 at 00:00 UTC / November 12 at 16:00 Pacific. Those credits have since been spent. The provider billing terms tie monthly credits to the billing period and say annual-plan credits are distributed monthly. They do not establish a universal first-of-month reset. Expiry is evidence of the earlier period boundary, not proof of an active renewal or the next grant amount. The public balance API does not return the plan, next charge, renewal status or next allocation.

November 1 scenario Available credits Implication at the observed 60 credits/second
Base case: no intervening spend, expiry, purchase, grant or refund 40 No new render at the selected tier
Six-second first canary requirement 360 320 more credits needed than the current balance
Smallest allowed four-second test 240 200 more credits needed; less time to read the exchange
Conditional future 6,000-credit grant, plus the unchanged 40 6,040 100 whole generated seconds total; a six-second canary leaves 94 seconds and 40 credits

The last row is a scenario, not a verified November 1 entitlement. The current Pro listing advertises 6,000 credits/month, consistent with the earlier observed bucket, but it does not identify this account's actual renewal terms. If that allocation continues on the earlier period boundary, the next one would be around November 12 Pacific / November 13 UTC, not November 1. Confirm the account's billing record before relying on that inference. The 40-credit remainder's individual expiry is also not exposed by the balance response.

The six-second 360-credit and twelve-second 720-credit figures use the measured Stage 4 pro / standard / 1080p image-to-video rate. They are planning estimates, not quotes for a video-reference request or guarantees of unchanged November pricing. Local facial animation adds no Seedance credits. A completed generation that misses the performance still costs credits; do not budget for a creative-quality refund.

On November 1, verify the new balance, confirmed allocation and exact request price before spending. If only 40 remain, continue the local animation study and defer the Seedance submission. Do not buy credits, change model/tier or exhaust a newly replenished pool automatically. The first combined mouth/gaze video must pass review before another full run.