maint: remove the mid-scene guide

Not used on H3, not used on LTX any more. Two widgets, the append method, the
Editor's continuity controls for it, and the auto-enable that turned it on for
every multi-scene carry chain.

JoyAI memory and carried i2v guides keep the guide-attention machinery they
share with it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
digital-garbage
2026-08-27 14:32:20 +03:00
co-authored by Claude Opus 5
parent aebc286042
commit 7537ec0bef
10 changed files with 12 additions and 158 deletions
-10
View File
@@ -643,16 +643,6 @@ def test_holding_the_reference_outranks_continuing_from_the_last_shot():
assert float(_pins(out)[0]["latent"].max()) == 5.0
def test_mid_scene_guide_declines_on_h3_instead_of_damaging_the_latent(capsys):
"""H3's packed layout places a pin at the first or last frame, nowhere between."""
node = h3_node(frame_count=124)
chunk = av_latent(video_t=37)
before = chunk["samples"].unbind()[0].shape
out_chunk, positive, _neg, tail = node._append_mid_scene_guide(
chunk, av_latent(video_t=37), [[torch.zeros(1, 8, 16), {}]], None, LTXVAE(), 1.0)
assert out_chunk["samples"].unbind()[0].shape == before
assert tail == 0 and _pins(positive) == []
assert "pins only the first" in capsys.readouterr().out
# ── pins vs a resolution-changing second pass ────────────────────────────────
-1
View File
@@ -480,7 +480,6 @@ def test_overlap_diagnostics_report_latent_blend_zone():
{"index": 2, "text": "hero runs", "encode_text": "hero runs", "mechanisms": ["latent_overlap(16px)"]},
],
carry_i2v_guides=True,
mid_scene_guide=False,
embed_guidance=True,
embed_guidance_strength=0.15,
embed_guidance_source="absolute",