Repository navigation
Description
Revive #1166's cut arm 4 (sequence-level anchors from segment 1) in the form geiru now ships: a keystone at the head and a late-locked capstone past the tail, both from segment 1, both entering only after the first steps. The trigger plan v2 named for bringing arm 4 back has fired: the statistics anchor (arm 5) holds the static scene but fails the moving-camera arc (#1175, lightness snapping to segment 1 at seams, texture crawl by segment 10).
Source
roycho87/geiru_context_suite (formerly clown_context_suite, the node pack behind NerdNotes), clown_keyframe.py and README as of 2026-11-03. GPL-3.0, so only the concepts come across, never code. Credit roycho87 in docs/ATTRIBUTIONS.md if this ships; the context-hold it builds on is seitanism's, the drift measurements NikoDemon80's.
What it does there
- Keystone (front). Segment 1's latent 0 (its clean frame 0) is written into the shot's latent 0 and locked. After sampling the shot's real latent 0 (the held carry) is put back, so nothing from segment 1 reaches the output. It is a detail anchor only.
- Capstone (back). Segment 1's last single-frame latent (the one that opens its last 17-frame block, frame
num_frames − 5) is tacked onto the back of the sequence for each model call, as one extra locked latent past the shot's last latent, and cut off again after the call. Nothing in the shot is replaced and it is never decoded. This replaced an earlier version that wrote it into the shot's last slot. - Late Lock. Both enter only from
swap_step(default 4 of 8): the capstone is absent for the first steps; the keystone slot is held at full noise (present but unlocked) and locked only from that step. The stated reason: a capstone locked from step 0 pulled the pose back toward segment 1. Late entry lets the shot pick its own motion and pose first. This is their answer to NikoDemon80's objection that a segment-1 frame drags a moving shot back. - Re-source at a scene change.
source_clipcan point at a later clip; the first clip that fully shows the new scene becomes the anchor from then on. Adegradation_protectionswitch turns the whole set off around cuts, since a cut resets drift on its own. - Numbers (one 10-clip chain, measured about 20 frames from the end of clip 10, colour drift from clip 1): 6.4 with nothing, 3.9 with the keystone alone, 2.9 with keystone plus late capstone; over-sharpening fell too. That test used the earlier write-into-slot capstone. Keystone + capstone + context noise held a walk for 20 clips; a beach run still looked like clip 1 at clip 20 while the plain chain had fallen apart. On a locked-off static shot the texture holds but colour still darkens slowly.
How it could map onto dw
- Keystone, chain-only change. On a guide chain
chain.pysets each later segment's fl2va keyframe to the guide's first frame so the two agree. Setting it to segment 1's frame 0 instead needs no engine code: the keyframe is a condition row, and the target's prefix (the firstguide_framesframes) is trimmed off the deliverable anyway, so the disagreement never reaches the output, exactly as geiru's restore step. Whether the disagreement in the trimmed prefix disturbs the join is what the probe measures. This is the "hand-buildable" keystone plan v2 costed at $0 (Q3). - Capstone, new mechanism. A one-frame condition row timed just past the end of the render (
guide_end_problemtoday accepts a guide ending exactly atnum_frames, so the rule relaxes by one frame), from segment 1's framenum_frames − 5. Its latent is onefit_guide_frames+encode_vae_conditionaway, likelatent_anchor's. - Late lock, new mechanism, shared by both. Condition rows are built before the loop and present at every step. A step-gated row needs a loop block that adds the row to the packed sequence (or unmasks its attention) only from a sigma threshold: our 4-step default has to restate "step 4 of 8" as a sigma, as idea: H3 guide-chain drift - noise ramp on the held rows, and segment-1 anchors (keystone/capstone) #1166 already noted. This is the part above arm 5's cost; plan v2 put the capstone grammar at $8+.
- Re-source.
chain.anchortakes only"segment_1"today. With per-segmentpromptsa chain can change scene mid-take, and any segment-1 anchor (this one or the statistics one) then fights the new scene. Let the anchor name a later segment, or a list keyed by segment, with the rule "the first segment that fully shows the new scene, not the transition segment". - All of it off by default, as stages 1–2 are.
Suggested probe
Reuse probe-1166's controls on lem (arc A 755a95b35aea, static A as posted; same seeds, prompts, crops and measures as #1175). Arms, each with and without guide_noise 0.4, since that was the only arm that did not hurt the arc:
- keystone as keyframe only (chain change);
- keystone + late capstone;
- late capstone only.
Read the arc first: if the late capstone still snaps lightness or pulls the orbit back, the late entry did not answer the pose pull and the whole arm closes. Then static, where arm 5 already works and this has to beat it or compose with it.
Caveats
- Single runs in ComfyUI, walk and run scenes. geiru has not posted an arc; NerdNotes' arc test (capstone locked from step 0) ended clip 4 on clip 1's opening frame. Late entry is the proposed fix, unmeasured on an arc.
- Their held frames are masked target latents with a per-token mask; ours are condition rows. The keystone-as-keyframe mapping is clean, the capstone mapping is new grammar.
- The capstone's pull lands in the tail, which continuation drops, so geiru also reports it does not carry into the next segment on a static shot (the slow darkening). Arm 5 covers that; this does not replace it.
latent_anchor_strength(idea: H3 guide-chain drift - noise ramp on the held rows, and segment-1 anchors (keystone/capstone) #1166 Q5's follow-up) is the cheaper first answer to the same arc failure and should be read before this is built.
Related: #1190 (latent_anchor_strength, the cheaper first answer), #1191 (the pixel-domain set for last_frame chains), #1188 (hybrid windows, which reuses these anchors), #1166 (arms 2 and 5 shipped, arm 4 cut with this trigger), #1175 (the arc failure), #1150 (masked target latents would make the keystone a slot write, as geiru's), #1033, #1151.
Filed 2026-11-03 at Don's request, from a review of geiru_context_suite.
Activity
dkackman commentedon Nov 3, 2026
Folded into #1199 (Long-form media), whose design and plan Don approved on 2026-11-03. This idea gets a measured verdict on the shared long-take bench there, and is then either built or promoted to a default, or closed with its numbers. Held as
owner:don+parkedwhile Don's session works it, so no loop role picks it up. The hand-off comment on #1199 says what happens to it.feat(chain): #1187 - keystone: segment 1's frame 0 as every later key…
spike(h3): experimental late capstone for a chain (#1187, Task 14 Ste…
feat(chain): experimental keystone slot - move the keystone off the g…
bench: keystone-regular arms - the keystone's slot, and the guide's w…
bench: keystone slot round (refs #1187 #1188)
bench: keystone slot clip seam times (refs #1187 #1188)
bench: the driver splits moments across compare calls and clears a st…
bench: Don's list - keystone slot round and the pose-loop call (refs #…
bench: keystone slot confirm without the Picture 2 clause (refs #1187 #…
docs(bench): records carry Don's 2026-11-06 answers; Resolve check ex…
dkackman commentedon Nov 7, 2026
Verdict (long-form, #1199): keystone built and now a default on static long
takes. The late capstone is not built.
chain.keystone: segment_1) shipped. At 26 s it ties the guidecontrol (seed 2 fine texture 0.448 vs 0.455,
ab59d503fd4d), and with anchor 0.5every seam got worse. At two minutes it resets the burn at no wall cost, but as a
visible pop mid-segment at 39-111 s, and the crust grows back between resets
(
e4c7c19a99cd,4cae30688ed4,c4ec5a055464).the same rotary slot.
keystone_slot: lastmakes it each later segment's fl2valast image. It held the backdrop at 1.1-1.5x segment 1 for 120 s with no pop, on
seeds 1166 and 2 (
3232cabd16b1,94c5c0b219b3), and again without the promptclause (
f55bd445faa5,00ed8fb067ca). The face held to 120 s. The price isabout +9 min and a pose return every 4.25 s, which Don judged "not a loop". It
ships as
shot: static_longontemplates/minimax/chained-segments. The templaterun at 120 s is
aa80458ab4f7: 59.2 min, fine drift 0.12. Plain keystone iskeystone_slot: first. It is static only, because plain keystone lost seam lookon the moving arc.
45115d6abehind the experimentalflag) did not win. Gate 0.7 ties every measure. Gate 0.9 is worse past the floor
on one measure per seed (look max 4.52 vs 2.71, level max 35.9 vs 24.5 dB). It
is not built.
they are closed.
Records:
bench/records/counters.md,structural.mdKeystone confirmation andKeystone slot,
repair.mdStep 4. Design record:docs/proposals/complete/long-form-media-complete.md.dkackman commentedon Nov 12, 2026
Verdict from the narrated-long-take bench (2026-11-12), seed 1, 12 segments (about 86 s) under a held narration.
experimental_capstone: {enter_below_sigma: 0.7}) with latent carry: saturation stays flat (68 to 66, against 68 to 81 for the control), and the face stays natural to about 60 s rather than 30 s. It does not hold to 85 s:face_dropmeets the control's (0.205 against 0.207).keystone_slot: latent,anchor_every: 3): no measured gain onface_drop.lastis what held the face: static (segment 1's frame) to within 0.015, and moving (a keyframe per segment) to at most 0.041.The capstone and
anchor_everystay behindDW_EXPERIMENTAL_REFINE_WINDOWS; no key was renamed.Evidence:
bench/records/narrated.md; verdicts:docs/proposals/complete/narrated-long-take-complete.md(onfeat/narrated-long-take, merging to develop today).dkackman commentedon Nov 15, 2026
Closed (Don, 2026-11-15). The keystone shipped as
shot: static_long(keystone_slot: last). The late capstone lost in the long-form bench and again in the narrated bench, and it stays behindDW_EXPERIMENTAL_REFINE_WINDOWS. Records:counters.md,structural.md,narrated.md.— recorded by a lead session (claude-opus-5-5, anthropic) on Don's ruling, parked-queue sweep 2026-11-15.