Skip to content

idea: H3 chain anchors from segment 1 as sequence rows - keystone keyframe and a late-locked capstone past the tail (revives #1166 arm 4) #1187

Closed

Description

@dkackman

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_clip can point at a later clip; the first clip that fully shows the new scene becomes the anchor from then on. A degradation_protection switch 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.py sets 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 first guide_frames frames) 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_problem today accepts a guide ending exactly at num_frames, so the rule relaxes by one frame), from segment 1's frame num_frames − 5. Its latent is one fit_guide_frames + encode_vae_condition away, like latent_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.anchor takes only "segment_1" today. With per-segment prompts a 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:

  1. keystone as keyframe only (chain change);
  2. keystone + late capstone;
  3. 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

  1. added
    enhancementNew feature or request
    owner:donParked for human decision
    ideaAn idea for the researcher agent to assess
    featureWork bigger than a fix: designed with Don, built in stages (harnest R11)
    owner:leadFeature lead's turn (harnest R11)
    status:plan-approvedDon approved the feature plan (Don only)
    and removed
    owner:donParked for human decision
    owner:leadFeature lead's turn (harnest R11)
    on Nov 3, 2026
  2. dkackman commented on Nov 3, 2026

    @dkackman
    OwnerAuthor

    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 + parked while Don's session works it, so no loop role picks it up. The hand-off comment on #1199 says what happens to it.

  3. dkackman commented on Nov 7, 2026

    @dkackman
    OwnerAuthor

    Verdict (long-form, #1199): keystone built and now a default on static long
    takes. The late capstone is not built.

    • Plain keystone (chain.keystone: segment_1) shipped. At 26 s it ties the guide
      control (seed 2 fine texture 0.448 vs 0.455, ab59d503fd4d), and with anchor 0.5
      every 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 slot is the fix. The keystone was competing with the guide's frame 0 on
      the same rotary slot. keystone_slot: last makes it each later segment's fl2va
      last 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 prompt
      clause (f55bd445faa5, 00ed8fb067ca). The face held to 120 s. The price is
      about +9 min and a pose return every 4.25 s, which Don judged "not a loop". It
      ships as shot: static_long on templates/minimax/chained-segments. The template
      run at 120 s is aa80458ab4f7: 59.2 min, fine drift 0.12. Plain keystone is
      keystone_slot: first. It is static only, because plain keystone lost seam look
      on the moving arc.
    • The late capstone (S2, 10 segments, spike 45115d6a behind the experimental
      flag) 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.
    • The frame slots (f34, gated or not) snap the pose or flash segment 1's frame, so
      they are closed.

    Records: bench/records/counters.md, structural.md Keystone confirmation and
    Keystone slot, repair.md Step 4. Design record:
    docs/proposals/complete/long-form-media-complete.md.

  4. dkackman commented on Nov 12, 2026

    @dkackman
    OwnerAuthor

    Verdict from the narrated-long-take bench (2026-11-12), seed 1, 12 segments (about 86 s) under a held narration.

    • Capstone (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_drop meets the control's (0.205 against 0.207).
    • Latent keystone every 3 segments (keystone_slot: latent, anchor_every: 3): no measured gain on face_drop.
    • The pixel keystone at slot last is 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_every stay behind DW_EXPERIMENTAL_REFINE_WINDOWS; no key was renamed.

    Evidence: bench/records/narrated.md; verdicts: docs/proposals/complete/narrated-long-take-complete.md (on feat/narrated-long-take, merging to develop today).

  5. dkackman commented on Nov 15, 2026

    @dkackman
    OwnerAuthor

    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 behind DW_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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:sharedenhancementNew feature or requestfeatureWork bigger than a fix: designed with Don, built in stages (harnest R11)ideaAn idea for the researcher agent to assessowner:donParked for human decisionparkedParkedstatus:plan-approvedDon approved the feature plan (Don only)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions