You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
idea: H3 skill rules from WanGP field notes (lip-sync without <d>, end-frame discard, soft keyframes, FL2VA soundtrack) - verify on lem #985
Source: the H3 guidance text in upstream WanGP (models/minimax_h3/minimax_h3_handler.py, v18.21). These are their field observations, not MiniMax's. Each one needs a lem check before it goes into plugins/dw/skills/minimax-h3 (mind the skill's byte cap).
Claims to check:
Lip-sync to a supplied soundtrack: don't write the spoken words in <d>...</d>. Given a written line, H3 voices its own dialogue and the mouth stops following the soundtrack. Instead, name the character, ask for "speaking with natural lip movements synchronized", and keep the speaker's action to speaking: smiles, gestures and nods compete with the mouth. Compare with our Ref2VA hold_audio route (H3: test Ref2VA [keyframe completion + audio reuse] as a locked-frame shot that also lip-syncs to a song #852).
Chained windows that jump to an end image: a window can snap onto an end image its action didn't reach. Generating the end image after about 5 discarded tail frames on every window but the last hides the snap. Check against our chained/continuity templates.
Softer keyframes:input_video_strength of about 0.5 eases into end images and injected frames with an approximate frame; 0.6 and above acts like 1.
FL2VA with a soundtrack: WanGP accepts an audio track on FL2VA (audio_prompt_typeA), while our skill says FL2VA takes no audio. They probably hold the audio latent clean. If that's right, a locked first frame lip-synced to a song might not need the Ref2VA route.
Each claim that holds up becomes a skill line plus, where relevant, a template default. A claim that doesn't hold up gets a note here and is dropped.
Plan v2: H3 rules from WanGP's field notes: probe claims 1 and 4 on lem, drop 2, defer 3
Feature lead: claude-opus-5-5 via anthropic. Design session, 2026-10-24, read against develop @ 68ae280. v2 (decompose session, 2026-10-25, claude-opus-5-5 via anthropic) folds in Don's approval of v1: Q1–Q5 at their defaults, plus his pinned-configuration addition to stage A.
Verdict: build smaller
Value. The users who gain are Don's music and episode work and the Claude sessions that drive it.
Don's workspaces include three lip-synced music pieces (russian-anthem, soviet-anthem, shedding-skin-quartet) and two dialogue series (known-issues, two-minds).
Build cost. About $8 of sessions plus about 90 GPU minutes on lem (Q1). Stage A is a probe session of about $5; stage B is about $3 of plugin text.
Inertia. Low for what this plan keeps: skill and reference text, and possibly one sentence in the h3_context_ir enhancer's system prompt. It adds no MCP, REST or syntax surface and no new concept.
Claim 2 would have added a chain option and claim 3 an engine argument. Both are cut, which is where the inertia would have been.
Reversibility. Full. Prose can be taken back without a breaking-change.
No engine work. Our templates already prompt in prose, but staging.md, the templates README and the enhancer still tell authors to write lyrics in <d>.
2. Discard ~5 tail frames before a window's end image
Drop
dw's chains have no per-window end image, so the snap can't happen in them. More below.
3. input_video_strength ≈ 0.5
Defer (Q2)
It can't be set from a workflow: diffusers hard-codes keyframe_noise_aug = 0.999. Reaching it is engine work, and the WanGP-to-diffusers mapping is unknown.
4. FL2VA with a held soundtrack
Probe (A), then correct SKILL.md:31 (B)
It's already legal (hold_audio on fl2va), but it has never been rendered for lip-sync.
Claim 2, the record.
In a dw chain, last_frame carries a segment's real last frame (chain.py:81) as the next segment's first frame. guide carries its last 22 or 39 frames as a frame-0 guide, and last_segment carries its tail as a video reference.
No window is pinned to an end image, and trimming is head-only (trim_frames, chain.py:670).
What would reopen it: a chain that pins per-segment end images (keyframed windows), or a field report of a snap at a dw chain seam.
Claim 3, the record.
The only lever is diffusers' MiniMaxH3ModularPipeline.keyframe_noise_aug (0.999, modular_pipeline.py:287-295). dw copies it at h3_hold_steps.py:331, and it is pinned in tests/test_h3_refine.py:44 and tests/test_h3_guides.py:453.
Whether WanGP's input_video_strength is that value, its complement or something else is unverified.
What would reopen it: a field report of hard snaps into a first-and-last-frame end image or a guide, or diffusers exposing the property.
Proposed follow-up (Don decides): none. The sweep found no surface that earns nothing.
Sweep: what dw has today
1. Lip-sync without <d>
Templates already prompt in prose, with no <d>:music-video.json:43,51,59,67, chain-matched-to-audio.json:27 and chain-matched-and-aligned.json:28-29. No template change is needed.
workflows/templates/minimax/README.md:194-198 says the same.
dw/workflows/h3_context_ir.json:7, the enhancer, puts all spoken and sung words in <d> and has no rule for a held or reused track.
The hold route:hold_audio, at dw/pipeline_processors/h3_hold.py and h3_hold_steps.py:157-245.
The current rule: SKILL.md:117-120 and docs/WORKFLOW_GUIDE.md:1740-1791.
2. dw chains have no per-window end image. A step-level last_image would be the same in every segment. The only end-image uses are single-shot (first-and-last-frame.json:186 and last-frame-only.json:182).
3. No frame-conditioning strength is exposed anywhere in dw (searched: input_video_strength, image_strength, condition_strength, keyframe_strength). refine_strength is a re-denoise sigma, not this.
4. Nothing enforces "FL2VA takes no audio" (SKILL.md:31).
hold_audio on fl2va is legal (dw/hold_audio.py:9-11, h3_rules.py:18,27,37,77, tests/test_h3_hold_audio.py:56), and so is a guide with "audio": true (WORKFLOW_GUIDE.md:1795-1855).
The sentence is pinned by skill_body at tests/test_plugin_skills.py:480, so it must stay in SKILL.md and that test changes with it.
Size: SKILL.md is 11,761 B against a SKILL_SIZE_LIMIT of 12,288 (tests/test_plugin_skills.py:22), about 527 B of headroom. Detail goes in references/ (skill_text reads those too).
Problem and non-goals
Problem: the skill and the enhancer state lip-sync rules that WanGP's field notes contradict, and SKILL.md:31 states something about FL2VA that nobody has tested.
Non-goals:
no chain option for tail discard (claim 2);
no conditioning-strength argument (claim 3);
no new template;
no change to hold_audio;
no two-singer rule change (Q4).
Stages
A. Probes for claims 1 and 4 (audit doc)
Builds: lem runs in a new workspace qa-h3-wangp-probes, using H3 turbo at 960x544, 124 frames, seeds 1001 and 2002 per arm. The write-up goes to docs/proposals/audits/2026-10-h3-wangp-probes.md.
Pinned configuration (Don, at approval). Every job in both probes runs the same model configuration: weights_dtype int8, and the turbo LoRA in one fixed state (on or off), chosen before the first job. Each job's note and the audit doc state both. A lip-sync verdict must not secretly be a verdict on quantization: in idea: H3 audio refinement pass - lock the video latent, renoise audio at 0.5, 6 steps #984 Don heard a digitized voice on int4 + turbo (sci0fi job 65267b93fd22) that int8 base did not produce (ed3bd2e105ec). With hold_audio the output audio is the held track, but mouth motion may still differ.
P1, lip-sync without <d>. Each shot has one person in frame, a Ref2VA portrait plus the <Audio 1> track, and the track held with hold_audio.
Arm a: the words in <d>.
Arm b: no <d>. The character is named, the prompt asks for "speaking/singing with natural lip movements synchronized", and the action is limited to speaking.
Each arm runs on two tracks: a sung slice and a spoken line (Q5).
Every cited job exists in qa-h3-wangp-probes and finished. Its note names its arm, its weights_dtype and its turbo-LoRA state, and its get_job_workflow shows the arm's prompt (with or without <d>), the task type and hold_audio.
Every cited job has the same weights_dtype (int8) and the same turbo-LoRA state, and the audit doc states that configuration.
The audit doc is on develop and states the same verdicts.
A probe not run is listed as not run, with the reason.
B. Skill, references and enhancer: confirmed rules only (blocked by A)
Claim 1 confirmed:
SKILL.md gains one line at :117-120 pointing to references/dialogue.md, where the rule's detail goes. It is about 150 B against the 527 B headroom.
templates/minimax/README.md:194-198 is reworded for one person in frame.
h3_context_ir.json:7 gains a rule: when audio is reused or held for lip-sync, its words don't go in <d> (Q3).
Refuted: a one-line note in dialogue.md that it was tested and refuted.
Claim 4: SKILL.md:31-34 is rewritten either way, because "takes no audio" is false as stated.
Confirmed: FL2VA plus hold_audio is the locked-frame lip-sync route. It keeps the pixels, and Ref2VA becomes the fallback.
Either way, tests/test_plugin_skills.py:472-500 is updated to pin the new sentence.
Tests owed: the pins above, with SKILL.md still under the cap. Docs owed: the skill, references/dialogue.md and the templates README. If P4 confirms, also WORKFLOW_GUIDE.md:1740 gets one line.
Deploy: plugin-only, unless the enhancer changes. That is a packaged builtin, so it needs a server deploy and restart. Estimate: about $3.
Acceptance intent:
If the enhancer changed: templates/minimax/enhance-prompt-with-image, given an idea that asks for a character to sing along to a held or reused track, returns a prompt with no <d> block of lyrics. Given an ordinary T2VA dialogue idea, it still writes <d> lines. That shows the rule is scoped.
Every other change is plugin text with no MCP surface, so the tester verifies it by reading the files at develop: the SKILL.md line, dialogue.md and the README match A's verdicts, and no refuted claim appears as a rule. Don approved this with v1.
Order and dependencies
A, then B. Neither stage is blocked by another feature, and neither touches #984.
Changing the enhancer prompt could drift other enhancements. B's acceptance checks that a T2VA dialogue idea still gets its <d> lines.
The byte cap. If both claims confirm and the lines don't fit, B moves the detail of SKILL.md:31-34 into references/cuts.md and keeps only the pinned sentence in SKILL.md.
Decisions (Don, approving v1, 2026-10-25)
Q1: about 90 GPU minutes on lem for stage A: approved.
Q2: claim 3: deferred, with the reopen triggers above. No engine keyframe_noise_aug idea is filed.
Q3: if P1 confirms, stage B changes the h3_context_ir enhancer prompt: yes.
Q4:staging.md:10-12's two-singer <d> rule: left alone; the new rule is scoped to one person in frame.
Q5: P1 includes a spoken-line track as well as a sung one: yes.
Addition to stage A: the pinned probe configuration above (int8, one turbo-LoRA state, stated per job and in the audit doc).
Don: approved, plan v1, with Q1–Q5 at their defaults (90 GPU min on lem; claim 3 deferred; the enhancer changes if claim 1 is confirmed; the two-singer rule is left alone; P1 includes a spoken track).
One addition to stage A: pin the probe configuration and keep it the same across every arm. State weights_dtype (int8) and whether the turbo LoRA is on in each job's note and in the audit doc. The reason is #984: Don heard a digitized voice on int4 + turbo (sci0fi job 65267b93fd22) that int8 base didn't produce (ed3bd2e105ec). With hold_audio the output audio is the held track, so voice quality isn't at stake here, but mouth motion might be. A lip-sync verdict must not secretly be a verdict on quantization.
(recorded by claude-opus-5-5 via anthropic in Don's session)
M-F159: all cited jobs run one configuration: int8 and a single turbo-LoRA state across P1 and P4. The notes and the record say the same.
M-F160: a CPU measure_sync on each held output against its track reproduces the record's figure within 0.05 s, with the lag inside ±0.1 s. P4a's frame 0 keeps the input picture's pixels.
M-F161: the h3 enhancer keeps a held or reused track's words out of <d>. The ideas are held sung, held spoken and reused fl2va, three runs each, plus one enhance-prompt-with-image run with seed 42. This case applies only if P1 is confirmed; otherwise it records not applicable.
M-F162: the scoping check. Ordinary T2VA dialogue, a single speaker and a generated song (no supplied track) still get <d> lines. Nine runs, whatever P1's verdict.
M-F163: the dw:minimax-h3 skill text, by verdict. "FL2VA takes no audio" is gone. The FL2VA + hold_audio sentence matches P4. The claim-1 pointer and rule in references/dialogue.md match P1, as rule, refuted note or nothing. The staging.md two-singer rule stays (Q4). No rule for claim 2 or claim 3.
M-F164: the served docs. The get_guide("workflows") hold_audio passage and the template descriptions agree with the verdicts. validate_workflow of fl2va with hold_audio is clean.
Notes (none of them block a stage):
The audit doc (docs/proposals/audits/…) and workflows/templates/minimax/README.md aren't served over MCP, so no tester case can observe them. Their agreement with the record is a docs-review item. M-F158 and M-F164 say so.
enhance_prompt takes no seed, so M-F161/M-F162 use three runs per idea and require every run to pass, rather than pinning a seed.
enhance-prompt-with-image defaults to weights_dtype{int4} and also renders an I2VA clip, so M-F161's single run of it spends GPU time.
960x544, 124 frames, seeds 1001 and 2002, hold_audio on every shot.
Audit doc:docs/proposals/audits/2026-10-h3-wangp-probes.md on develop @ 31ab159.
Verdicts: claim 1 refuted; claim 4 confirmed.
Arm
Verdict
Jobs (s1001, s2002)
measure_sync (lag / conf)
Observation
P1a sung, words in <d> (broken)
claim 1 refuted
3d9a4e7377fa, 6d7f6faf8e60
0.0 / 0.175 ⚠
Mouth shut at 0.2 s and 1.1 s, open at 2.45, 2.8 and 3.3 s, "o" at 4.6 s. Identical to P1b; no desync, identity held.
P1b sung, no <d>
(followed)
d2384deebb50, f27b7a7af223
0.0 / 0.175 ⚠
Same pattern at the same instants.
P1a spoken, words in <d> (broken)
claim 1 refuted
c029d63a15e8, c0763cc81d6b
0.0 / 0.756
Open at 0.3 s and 2.4 s, shut through the silent tail (3.5 s, 4.6 s). Identical to P1b.
P1b spoken, no <d>
(followed)
8451e9fd9289, e0790f00b4c2
0.0 / 0.756
Same.
P4a FL2VA, first frame + hold_audio
claim 4 confirmed
52195bad071b, f4fe60dcca4d
0.0 / 0.175 ⚠
Frame 0 is the picture pixel for pixel. The mouth follows the held song with the same pattern as the audio-referenced Ref2VA shots, on both seeds. Denoise 49.7 s.
P4b Ref2VA [keyframe completion + audio reuse]
(comparison)
422f22a7df71, 8e42ec21cf9a
0.0 / 0.175 ⚠
It lip-syncs, but frame 0 keeps only the framing (arms hang, shot wider), as in #852. Denoise about 233 s.
Every transcript matches its source, as it must under the hold. measure_sync and the transcripts measure audio against audio, so the mouth frames decided each verdict.
Not run: none.
⚠ measure_sync anomaly.
On the sung track, reference_seconds is 118.751 against a 5.17 s previous_result:slice. The reference appears to resolve to the whole song.
The spoken track reports 2.499 s.
So the sung confidence figure (0.175, sync_low_confidence) is unreliable. It is recorded as a possible bug for a follow-up issue and doesn't affect a verdict.
Deviations:
Spoken slice rate: the slice was labelled 48000 Hz, but the file is 44100 Hz, so it plays about 8.8% fast. Both arms got the same input.
OOM reruns: three P4 jobs were SIGKILLed by host-RAM OOM when two workers ran at once. After clear_memory, each was rerun alone. The failed jobs are superseded:
Failed
Rerun
db506b4f1049
f4fe60dcca4d
11eb727cd72d
422f22a7df71
3c097799d825
8e42ec21cf9a
P4 prompt: written in arm b style, because P1 had no winner.
For stage B:
Claim 1 refuted: add the one-line note to dialogue.md.
Claim 4 confirmed:
FL2VA plus hold_audio becomes the locked-frame lip-sync route, which keeps the pixels, with Ref2VA keyframe as the fallback.
Stage A (#988) results, updated. This replaces #985 (comment). Only the sung sync figures changed.
The record is docs/proposals/audits/2026-10-h3-wangp-probes.md on develop @ 05e2f4d.
Configuration: int8, turbo LoRA on, as in the first post.
Arm
Audio
Shots
lag (s)
confidence
Source
P1a sung
la-vela
2
0.0
0.979
re-measure 85fb684df2ef
P1b sung
la-vela
2
0.0
0.979
re-measure 85fb684df2ef
P1a spoken
hal-voice
2
0.0
0.756
in-job sync
P1b spoken
hal-voice
2
0.0
0.756
in-job sync
P4a FL2VA
la-vela
2
0.0
0.979
re-measure 85fb684df2ef
P4b Ref2VA keyframe
la-vela
2
0.0
0.979
re-measure 85fb684df2ef
Why the sung figures changed (#990): the sung slice step wrote the whole song (118.751 s) instead of the 5.17 s shot length. Its in-job sync therefore compared each shot against the full song and read 0.17.
The shots themselves were unaffected. Both of the model's audio inputs crop to the shot length:
hold_audio: dw/pipeline_processors/h3_hold_steps.py:219 and :236;
the Ref2VA audio reference: diffusers minimax_h3/before_encoder.py:370, using max_duration = num_frames / fps.
So no shot was re-generated. Job 85fb684df2ef ran on cpu and did no generation. It applied the fixed slice, then ran measure_sync once per original job. All 8 sung shots read lag 0.0 and confidence 0.979, with a 5.1667 s reference.
Design record:docs/proposals/complete/h3-wangp-field-notes-complete.md, with the entry in docs/proposals/todo.md under Shipped. Commit 0a33609, merged to develop @ 92966da. Docs only, no deploy. The record lists what was dropped (claim 2) and deferred (claim 3), with their reopen triggers. It also names two loose ends that aren't filed: the enhancer extends a supplied lyric, and the shots are numbered oddly. Cost is left out because the stages recorded no usage: figures.
No user-facing doc was left stale: claim 1 was refuted, so the templates README's <d> advice stands (Q4).
verify: run every case whose source: names one of this feature's stages (#988, #989), and close the parent if they all pass.
Verified by tester claude-opus-5-5 via anthropic, against lem on develop @ 92966da. I ran every case whose source: names #988 or #989 (M-F158–M-F164, regression-suite-model-specific.md). All of them pass.
M-F158, pass. All 12 probe jobs exist and succeeded, and every note is complete. Caveat: I sampled one realized workflow per arm type with get_job_workflow, not all 12, because each one is large. Each sample matched its arm.
M-F159, pass. Every job is int8 with turbo on and the right LoRA weight for its task (fl2va or ref2va). The record states that configuration.
M-F160, pass.
I re-measured sync on cpu (measure_sync, job 41eed363c98b). Lag was 0.0 s on all 12 shots, matching the record.
Confidence was 0.979 on the sung and P4 shots. On the spoken shots I measured 0.999, where the record says 0.756. This is only an observation: the lag agrees and the criteria are met.
P4a frame 0 against the input still: SSIM 0.973, PSNR about 33.7, so the pixels are kept.
P4b frame 0: SSIM 0.775, PSNR 14.1, so only the framing is kept.
M-F162, pass. I ran enhance_prompt three times on each of three ideas (jobs 48375963cf0c, c2a5df1feccf, fa60940fe234, 4a9791c68aba, 903ef549fcbc, a7afcb751e0b, 8904f4969ad5, 95f640b9b06e, a2846ab10102). All nine outputs keep the quoted words inside <d>…</d>:
"It was the cache." / "It is always the cache."
"The storm is coming in tonight."
"Oh the rain won't stop…"
The three runs of each idea were byte-identical. All nine outputs are deleted.
No "FL2VA takes no audio" anywhere. I checked the guide section, the skill files, and the descriptions of templates/minimax/image-to-video. For music-video I fetched only its variables (variables_only), which have no such wording; I did not read its description. music-video's hold_audio defaults to previous_result:slice.
validate_workflow(name="templates/minimax/image-to-video", arguments={image, hold_audio, seed:1001}), workspace regression-model-specific. This returns Unknown variable 'hold_audio'. That is expected: the template declares no such variable, and both the guide and the skill say to add the argument.
Inline copy with the argument added. Following M-F074's precedent, I validated a copy of the template with "hold_audio": "variable:hold_audio" on the fl2va step and a hold_audio variable, using the same arguments (asset:qa-cast/priya-portrait.jpg, asset:qa-cast/priya-voice.wav, seed 1001). It returned valid: true. The only warnings are the inherited VRAM and cost projections from chained-segments. There is no warning about audio on FL2VA. Estimate: 12.4 min (basis: inherited).
The README isn't served, so it is out of my reach.
Activity
dkackman commentedon Oct 25, 2026
Plan v2: H3 rules from WanGP's field notes: probe claims 1 and 4 on lem, drop 2, defer 3
Feature lead:
claude-opus-5-5viaanthropic. Design session, 2026-10-24, read againstdevelop@ 68ae280. v2 (decompose session, 2026-10-25,claude-opus-5-5viaanthropic) folds in Don's approval of v1: Q1–Q5 at their defaults, plus his pinned-configuration addition to stage A.Verdict: build smaller
russian-anthem,soviet-anthem,shedding-skin-quartet) and two dialogue series (known-issues,two-minds).h3_context_irenhancer's system prompt. It adds no MCP, REST or syntax surface and no new concept.breaking-change.<d>staging.md, the templates README and the enhancer still tell authors to write lyrics in<d>.input_video_strength≈ 0.5keyframe_noise_aug = 0.999. Reaching it is engine work, and the WanGP-to-diffusers mapping is unknown.hold_audioon fl2va), but it has never been rendered for lip-sync.Claim 2, the record.
last_framecarries a segment's real last frame (chain.py:81) as the next segment's first frame.guidecarries its last 22 or 39 frames as a frame-0 guide, andlast_segmentcarries its tail as a video reference.trim_frames,chain.py:670).Claim 3, the record.
MiniMaxH3ModularPipeline.keyframe_noise_aug(0.999,modular_pipeline.py:287-295). dw copies it ath3_hold_steps.py:331, and it is pinned intests/test_h3_refine.py:44andtests/test_h3_guides.py:453.input_video_strengthis that value, its complement or something else is unverified.Proposed follow-up (Don decides): none. The sweep found no surface that earns nothing.
Sweep: what dw has today
1. Lip-sync without
<d><d>:music-video.json:43,51,59,67,chain-matched-to-audio.json:27andchain-matched-and-aligned.json:28-29. No template change is needed.plugins/dw/skills/minimax-h3/references/staging.md:10-12says to spell the sung line in<d>. It does so to pick which of two singers lip-syncs (Skill notes from a 24-shot H3 musical: props vs actions, landmark direction, two-person lip-sync target, crowd age, reference leak, native 1344x768; Music3 ignores per-section singers #484).workflows/templates/minimax/README.md:194-198says the same.dw/workflows/h3_context_ir.json:7, the enhancer, puts all spoken and sung words in<d>and has no rule for a held or reused track.hold_audio, atdw/pipeline_processors/h3_hold.pyandh3_hold_steps.py:157-245.docs/WORKFLOW_GUIDE.md:1740-1791.2. dw chains have no per-window end image. A step-level
last_imagewould be the same in every segment. The only end-image uses are single-shot (first-and-last-frame.json:186andlast-frame-only.json:182).3. No frame-conditioning strength is exposed anywhere in dw (searched:
input_video_strength,image_strength,condition_strength,keyframe_strength).refine_strengthis a re-denoise sigma, not this.4. Nothing enforces "FL2VA takes no audio" (SKILL.md:31).
hold_audioon fl2va is legal (dw/hold_audio.py:9-11,h3_rules.py:18,27,37,77,tests/test_h3_hold_audio.py:56), and so is a guide with"audio": true(WORKFLOW_GUIDE.md:1795-1855).skill_bodyattests/test_plugin_skills.py:480, so it must stay in SKILL.md and that test changes with it.Size: SKILL.md is 11,761 B against a
SKILL_SIZE_LIMITof 12,288 (tests/test_plugin_skills.py:22), about 527 B of headroom. Detail goes inreferences/(skill_textreads those too).Problem and non-goals
hold_audio;Stages
A. Probes for claims 1 and 4 (audit doc)
qa-h3-wangp-probes, using H3 turbo at 960x544, 124 frames, seeds 1001 and 2002 per arm. The write-up goes todocs/proposals/audits/2026-10-h3-wangp-probes.md.weights_dtypeint8, and the turbo LoRA in one fixed state (on or off), chosen before the first job. Each job'snoteand the audit doc state both. A lip-sync verdict must not secretly be a verdict on quantization: in idea: H3 audio refinement pass - lock the video latent, renoise audio at 0.5, 6 steps #984 Don heard a digitized voice on int4 + turbo (sci0fijob65267b93fd22) that int8 base did not produce (ed3bd2e105ec). Withhold_audiothe output audio is the held track, but mouth motion may still differ.<d>. Each shot has one person in frame, a Ref2VA portrait plus the<Audio 1>track, and the track held withhold_audio.<d>.<d>. The character is named, the prompt asks for "speaking/singing with natural lip movements synchronized", and the action is limited to speaking.templates/minimax/image-to-video's fl2va with a first frame plushold_audio. Arm b: H3: test Ref2VA [keyframe completion + audio reuse] as a locked-frame shot that also lip-syncs to a song #852's Ref2VA[keyframe completion + audio reuse]route with the same picture and slice. That is 4 jobs. P4's prompt follows P1's winning arm if P1 has finished; otherwise it uses arm b.measure_syncof the output audio against the source;templates/check-scriptor a transcription, to tell whether H3 voiced its own words;get_output_framesat the vocal onsets, for whether the mouth opens on them;measure_syncfigure and what was observed.qa-h3-wangp-probesand finished. Itsnotenames its arm, itsweights_dtypeand its turbo-LoRA state, and itsget_job_workflowshows the arm's prompt (with or without<d>), the task type andhold_audio.weights_dtype(int8) and the same turbo-LoRA state, and the audit doc states that configuration.developand states the same verdicts.B. Skill, references and enhancer: confirmed rules only (blocked by A)
references/dialogue.md, where the rule's detail goes. It is about 150 B against the 527 B headroom.templates/minimax/README.md:194-198is reworded for one person in frame.h3_context_ir.json:7gains a rule: when audio is reused or held for lip-sync, its words don't go in<d>(Q3).dialogue.mdthat it was tested and refuted.hold_audiois the locked-frame lip-sync route. It keeps the pixels, and Ref2VA becomes the fallback.hold_audioruns but doesn't lip-sync (idea: H3 skill rules from WanGP field notes (lip-sync without <d>, end-frame discard, soft keyframes, FL2VA soundtrack) - verify on lem #985), so use Ref2VA.tests/test_plugin_skills.py:472-500is updated to pin the new sentence.references/dialogue.mdand the templates README. If P4 confirms, alsoWORKFLOW_GUIDE.md:1740gets one line.templates/minimax/enhance-prompt-with-image, given an idea that asks for a character to sing along to a held or reused track, returns a prompt with no<d>block of lyrics. Given an ordinary T2VA dialogue idea, it still writes<d>lines. That shows the rule is scoped.develop: the SKILL.md line,dialogue.mdand the README match A's verdicts, and no refuted claim appears as a rule. Don approved this with v1.Order and dependencies
A, then B. Neither stage is blocked by another feature, and neither touches #984.
Risks
<d>lines.references/cuts.mdand keeps only the pinned sentence in SKILL.md.Decisions (Don, approving v1, 2026-10-25)
keyframe_noise_augidea is filed.h3_context_irenhancer prompt: yes.staging.md:10-12's two-singer<d>rule: left alone; the new rule is scoped to one person in frame.dkackman commentedon Oct 25, 2026
Don: approved, plan v1, with Q1–Q5 at their defaults (90 GPU min on lem; claim 3 deferred; the enhancer changes if claim 1 is confirmed; the two-singer rule is left alone; P1 includes a spoken track).
One addition to stage A: pin the probe configuration and keep it the same across every arm. State
weights_dtype(int8) and whether the turbo LoRA is on in each job's note and in the audit doc. The reason is #984: Don heard a digitized voice on int4 + turbo (sci0fijob65267b93fd22) that int8 base didn't produce (ed3bd2e105ec). Withhold_audiothe output audio is the held track, so voice quality isn't at stake here, but mouth motion might be. A lip-sync verdict must not secretly be a verdict on quantization.(recorded by claude-opus-5-5 via anthropic in Don's session)
7 remaining items
dkackman commentedon Oct 25, 2026
Spec for #985's plan v2. All cases are in
regression-suite-model-specific.mdand each carriespending: #<stage>.#988, stage A (P1 and P4 probes + record):
qa-h3-wangp-probesand succeeded, with seeds 1001/2002. Its note names the arm, dtype and turbo state, andget_job_workflowshows the arm's prompt (<d>present or absent), task type,hold_audio, 960×544 and 124 frames.measure_syncon each held output against its track reproduces the record's figure within 0.05 s, with the lag inside ±0.1 s. P4a's frame 0 keeps the input picture's pixels.#989, stage B (skill, references, enhancer):
h3enhancer keeps a held or reused track's words out of<d>. The ideas are held sung, held spoken and reused fl2va, three runs each, plus oneenhance-prompt-with-imagerun with seed 42. This case applies only if P1 is confirmed; otherwise it records not applicable.<d>lines. Nine runs, whatever P1's verdict.dw:minimax-h3skill text, by verdict. "FL2VA takes no audio" is gone. The FL2VA +hold_audiosentence matches P4. The claim-1 pointer and rule inreferences/dialogue.mdmatch P1, as rule, refuted note or nothing. The staging.md two-singer rule stays (Q4). No rule for claim 2 or claim 3.get_guide("workflows")hold_audio passage and the template descriptions agree with the verdicts.validate_workflowof fl2va withhold_audiois clean.Notes (none of them block a stage):
docs/proposals/audits/…) andworkflows/templates/minimax/README.mdaren't served over MCP, so no tester case can observe them. Their agreement with the record is adocs-reviewitem. M-F158 and M-F164 say so.enhance_prompttakes no seed, so M-F161/M-F162 use three runs per idea and require every run to pass, rather than pinning a seed.enhance-prompt-with-imagedefaults toweights_dtype{int4}and also renders an I2VA clip, so M-F161's single run of it spends GPU time.— tester, claude-opus-5-5 via anthropic
dkackman commentedon Oct 25, 2026
Stage A (#988) results: WanGP claims 1 and 4
Feature lead:
claude-opus-5-5viaanthropic, build session, 2026-10-25. lem, develop @ b80dec7. Workspaceqa-h3-wangp-probes.Configuration (every cited job):
weights_dtypeint8, turbo LoRA on.minimax_h3_ref2v_turbo_8step_v1.0_768p_bf16, 9 steps, shift 12/3.minimax_h3_fl2v_turbo_4step_v1.2_768p_bf16, 5 steps, shift 6.hold_audioon every shot.Audit doc:
docs/proposals/audits/2026-10-h3-wangp-probes.mdondevelop@ 31ab159.Verdicts: claim 1 refuted; claim 4 confirmed.
measure_sync(lag / conf)<d>(broken)<d><d>(broken)<d>hold_audio[keyframe completion + audio reuse]Every transcript matches its source, as it must under the hold.
measure_syncand the transcripts measure audio against audio, so the mouth frames decided each verdict.Not run: none.
⚠
measure_syncanomaly.reference_secondsis 118.751 against a 5.17 sprevious_result:slice. The reference appears to resolve to the whole song.sync_low_confidence) is unreliable. It is recorded as a possible bug for a follow-up issue and doesn't affect a verdict.Deviations:
Spoken slice rate: the slice was labelled 48000 Hz, but the file is 44100 Hz, so it plays about 8.8% fast. Both arms got the same input.
OOM reruns: three P4 jobs were SIGKILLed by host-RAM OOM when two workers ran at once. After
clear_memory, each was rerun alone. The failed jobs are superseded:P4 prompt: written in arm b style, because P1 had no winner.
For stage B:
dialogue.md.hold_audiobecomes the locked-frame lip-sync route, which keeps the pixels, with Ref2VA keyframe as the fallback.WORKFLOW_GUIDE.md:1740line.dkackman commentedon Oct 25, 2026
Stage A (#988) results, updated. This replaces #985 (comment). Only the sung sync figures changed.
The record is
docs/proposals/audits/2026-10-h3-wangp-probes.mdon develop @ 05e2f4d.Configuration: int8, turbo LoRA on, as in the first post.
syncsyncWhy the sung figures changed (#990): the sung
slicestep wrote the whole song (118.751 s) instead of the 5.17 s shot length. Its in-jobsynctherefore compared each shot against the full song and read 0.17.hold_audio:dw/pipeline_processors/h3_hold_steps.py:219and:236;minimax_h3/before_encoder.py:370, usingmax_duration = num_frames / fps.measure_synconce per original job. All 8 sung shots read lag 0.0 and confidence 0.979, with a 5.1667 s reference.Verdicts (unchanged): claim 1 refuted, claim 4 confirmed.
Deviations:
syncresults are superseded by 85fb684df2ef.Not run: none.
— lead agent, claude-opus-5-5 via anthropic
Merge docs/985-closeout: #985 design record
dkackman commentedon Oct 25, 2026
Close-out: design record filed, over to the tester for the final check
Feature lead:
claude-opus-5-5viaanthropic, close-out session, 2026-10-25.Closed:
hold_audiois the locked-frame lip-sync route, and theh3enhancer writes<d>blocks again. One bounce (M-F162: the enhancer had stopped writing<d>).Design record:
docs/proposals/complete/h3-wangp-field-notes-complete.md, with the entry indocs/proposals/todo.mdunder Shipped. Commit 0a33609, merged todevelop@ 92966da. Docs only, no deploy. The record lists what was dropped (claim 2) and deferred (claim 3), with their reopen triggers. It also names two loose ends that aren't filed: the enhancer extends a supplied lyric, and the shots are numbered oddly. Cost is left out because the stages recorded nousage:figures.No user-facing doc was left stale: claim 1 was refuted, so the templates README's
<d>advice stands (Q4).verify: run every case whose
source:names one of this feature's stages (#988, #989), and close the parent if they all pass.dkackman commentedon Oct 25, 2026
Verified by tester claude-opus-5-5 via anthropic, against lem on develop @ 92966da. I ran every case whose
source:names #988 or #989 (M-F158–M-F164,regression-suite-model-specific.md). All of them pass.#988 — the probe record
get_job_workflow, not all 12, because each one is large. Each sample matched its arm.measure_sync, job 41eed363c98b). Lag was 0.0 s on all 12 shots, matching the record.#989 — served text
M-F161, not applicable, counted as a pass. P1 (the WanGP claim about leaving words out of
<d>) was refuted, so no<d>rule should change. No skill or guide text carries one.references/dialogue.mdlists the claim under "Probed and not a rule" and cites idea: H3 skill rules from WanGP field notes (lip-sync without <d>, end-frame discard, soft keyframes, FL2VA soundtrack) - verify on lem #985.M-F162, pass. I ran
enhance_promptthree times on each of three ideas (jobs 48375963cf0c, c2a5df1feccf, fa60940fe234, 4a9791c68aba, 903ef549fcbc, a7afcb751e0b, 8904f4969ad5, 95f640b9b06e, a2846ab10102). All nine outputs keep the quoted words inside<d>…</d>:The three runs of each idea were byte-identical. All nine outputs are deleted.
M-F163, pass.
M-F164, pass.
get_guide("workflows", section="H3: generating to a held soundtrack")now says: "Onfl2va, hold is the locked-frame lip-sync route (idea: H3 skill rules from WanGP field notes (lip-sync without <d>, end-frame discard, soft keyframes, FL2VA soundtrack) - verify on lem #985: …frame 0 kept the picture's pixels and the mouth followed the song…)". Theminimax-h3SKILL.md has the matching "A locked frame that lip-syncs to a song" bullet.templates/minimax/image-to-video. Formusic-videoI fetched only its variables (variables_only), which have no such wording; I did not read its description.music-video'shold_audiodefaults toprevious_result:slice.validate_workflow(name="templates/minimax/image-to-video", arguments={image, hold_audio, seed:1001}), workspaceregression-model-specific. This returnsUnknown variable 'hold_audio'. That is expected: the template declares no such variable, and both the guide and the skill say to add the argument."hold_audio": "variable:hold_audio"on the fl2va step and ahold_audiovariable, using the same arguments (asset:qa-cast/priya-portrait.jpg,asset:qa-cast/priya-voice.wav, seed 1001). It returnedvalid: true. The only warnings are the inherited VRAM and cost projections fromchained-segments. There is no warning about audio on FL2VA. Estimate: 12.4 min (basis: inherited).Closing as verified.