Skip to content

idea: a drift counter for moving shots (a regular reset that does not pin the pose) #1225

Closed

Description

@dkackman

Every counter benched loses on a moving camera (S2 arc), including the anchor at every
strength, plain keystone, the late capstone and latent carry. The take still blows its
sky to white and re-invents the scene by its last segment (41 s). The static fix
(keystone_slot: last) works by pinning each segment's end to segment 1's frame, so it
cannot serve a camera move. Plain keystone's reset is irregular, and the frame slots
snap the pose. Want: a reset that comes every segment without pinning the pose or
framing, benched on S2 against shot: moving. Until then the playbook cuts moving shots
at about 30 s. Records: bench/records/counters.md, repair.md Step 4,
structural.md Keystone slot. Related: #1200 (classifying moves as static or moving).

Found by the long-form bench (#1199), filed by model claude-opus-5-5 via provider anthropic.

Activity

  1. added
    ideaAn idea for the researcher agent to assess
    owner:leadFeature lead's turn (harnest R11)
    on Nov 7, 2026
  2. dkackman commented on Nov 7, 2026

    @dkackman
    OwnerAuthor

    Plan by model claude-opus-5-5 via provider anthropic (design session). Verdict: defer. The Q1 [spend] override is a bounded dark spike.

    Sweep (at develop f25446b4)

    • Where a counter lives. Chain keys are read in dw/pipeline_processors/chain_config.py:154-213 (_read_experiments), refused in h3_rules.py (chain_keystone_problem :633, chain_anchor_problem :729) and chain_rules.py (capstone :156, latent carry :202, keystone slot :272). Segment-1 material is captured in chain.py:575-588 (_from_segment_1) and injected in chain.py:649-687 (_segment_arguments). A new counter changes all three places.
    • Every segment-1 feed on a guide chain either pins the pose or is global.
      • Keystone, slot last, the frame slots and the capstone are all frame conditions: the keyframe, last_image, or a guide at a frame (chain_continuity.py:172-180, chain_rules.py:440-451). That is why they pin the pose.
      • The anchor is a global per-channel statistics match after the loop (h3_anchor_stats.py:27-53, docs/ARCHITECTURE.md:122). It doesn't pin the pose, and it lost S2 seam look at every strength. Its docstring at h3_anchor_stats.py:17 is stale (it says there is no strength knob).
      • look_hold is a pixel correction (chain_look.py:144-206). It was cut on guide, and it holds the camera back on last_frame.
    • A reference-only feed (an identity/look picture with no frame position) doesn't exist on a guide chain. references routes to ref2va, which refuses guides, guide_noise and latent_anchor (pipeline_h3.py:171-174, 214, 252-255; h3_rules.py:764). Building one means lifting those refusals, a larger change than any counter so far.
    • The flag pattern to reuse. DW_EXPERIMENTAL_REFINE_WINDOWS (h3_rules.py:220-225), with an experimental_* key refused without it (chain_rules.py:169-175, 226-230). There is a gap: dw/guides.py:401-485 never calls chain_capstone_problem, so validate_workflow passes a dark key that the run then refuses (Q2).
    • The template. workflows/templates/minimax/chained-segments.json:77-94: the shot: moving preset is guide only, and the chain block (:252-269) passes anchor, anchor_strength, keystone and keystone_slot only. Its tests are tests/test_shot_presets.py and its fixture.
    • The bench. bench/workflows/s2-arc.json:18-35, 184-199 exposes anchor, keystone, capstone and latent_carry. A new key needs a variable and chain wiring there before an arm (bench/driver.py:30-62) can drive it.
    • Docs that state the current rule. plugins/dw/skills/long-form/SKILL.md:86-104 (cut moving shots at about 30 s; an unclear move counts as moving, idea: extend the cinematography skill's measured camera moves (about 12 more on H3 and LTX-2.5) and classify each as static or moving #1200); references/levers.md:27-32, 86-94, 111-114, 133-143 (moving has no counter; keystone is never for moving; capstone doesn't win); docs/proposals/long-form-media.md:144-145, 252-253, 282.
    • MCP/REST/schema. No tool description names chain keys. The chain block is in dw/workflow_schema.json:332, and experimental_capstone (:402-416) is the model for a dark entry.

    Demand

    Verdict: defer

    • Value. The gain is Don's, and only on a moving camera move held past about 30 s as one unbroken take. The playbook's answer today, a cut at about 30 s, is how most cinema handles a long move anyway. A cut plus the next segment re-keyed from a fresh keyframe resets the drift completely, and it costs nothing new. Nothing in the record shows a piece that needed the take to stay unbroken.
    • Build cost. No candidate is known to work, so this is research before it is a feature. One dark spike of one or two mechanisms costs about $4-6 to build, plus about 75-110 min of lem for S2 at two seeds (about 18 min an arm, controls reused from capstone-controls.json). The record says the likeliest outcome is another "no win" row in levers.md.
    • Inertia. It is small while the key stays dark: an experimental_* chain key, its refusal, a bench variable. If it ever won, a shot: moving preset value would change a default every long-form agent sees (default, plus tests and skill rows).
    • Reversibility. It reverses while dark. Once it is a preset, taking it back is a default change.
    • Cheaper alternatives.
      1. Do nothing (the recommendation). The playbook's 30 s cut stands, and S2's numbers already show where the drift starts.
      2. A note-only change: have long-form/SKILL.md say how a cut on a move is staged (end segment N on a beat, open N+1 from a fresh keyframe of the same framing), so the 30 s cut reads as a choice rather than a limit. This is one implementer fix, and only if Don wants it.
    • Overlap. idea: H3 one long render in overlapping windows (hybrid windows) - no chain, one soundtrack, segment-1 keystone and capstone in every window #1188 (hybrid windows, approved, parked) is the structural alternative: one render in windows rather than a chain. If it ever lands it changes the drift question for both static and moving shots, so this idea shouldn't spike ahead of it. idea: extend the cinematography skill's measured camera moves (about 12 more on H3 and LTX-2.5) and classify each as static or moving #1200 (classifying moves as static or moving) decides how often this case arises at all. idea: repair a bad H3 chain segment in place - re-render it with head and tail locked to its neighbours #1169 (in-place segment repair) is a different fix for the same symptom.

    What would bring it back:

    If Don overrides: the bounded spike (Q1)

    Both candidates are non-positional, so neither can pin the pose. Each is chosen against a specific failure in the record.

    • A. Sigma-gated anchor. The same segment-1 statistics match, applied inside the loop at the high-sigma steps only, rather than once after the loop. The model then re-harmonises the look before the seams are decided. The post-loop match is what lost S2 seam look. Touches h3_anchor_stats.py, h3_anchor.py, and the step hook the capstone gate already uses (h3_windows).
    • B. Banded anchor. The match per horizontal band (for example thirds), not over the whole frame. S2's failure is regional (the sky blows to white), and the global match dilutes it into the rest of the frame. A moving arc keeps the sky in the top band. Touches h3_anchor_stats.py only.

    The shape is one stage. Key experimental_anchor_mode: {gate_sigma?, bands?} stays dark behind DW_EXPERIMENTAL_REFINE_WINDOWS (chain_config.py, a chain_rules.py refusal, an entry at guides.py:401-485 so validate refuses it too, workflow_schema.json beside experimental_capstone). The stage also adds variable and chain wiring to bench/workflows/s2-arc.json, plus bench/arms/anchor-mode.json (A and B at seeds 1166 and 2). Unit tests on the tiny transformer: refused without the flag; gate 1.0 equal to the plain anchor; bands 1 equal to the global match; the gate changes the result. Deploy path is server, target:lem. Estimate is $4-6 to build, plus about 75 min of GPU and a bench session to read the results.

    Acceptance intent:

    • Without the flag, validate_workflow and run_workflow refuse experimental_anchor_mode, naming the flag.
    • With the flag, an S2 run at gate 1.0 / bands 1 reproduces the plain-anchor take.
    • The bench verdict goes in bench/records/counters.md: wins only if the arc completes by eye and seam look and fine texture beat ctl-guide-s2-* past the S2 floor. Anything less is a closed row in levers.md.

    No public surface ships. A preset change would be its own plan.

    Questions

    • Q1 [spend] Defer, or run the bounded spike above (about 75-110 min of lem plus a $4-6 build)? Default: defer. If otherwise, this becomes one dark stage as described, and the verdict comes back to you with numbers.
    • Q2 [none] Should the stale h3_anchor_stats.py:17 docstring and the guides.py validate gap for dark chain keys go onto chore: long-form deferred minors, the H3 part (lem) #1232 (long-form minors)? Default: yes, whatever Q1's answer.

    Decision for Don: defer a moving-shot drift counter (playbook keeps the 30 s cut), or run one bounded dark spike of two anchor variants on S2.
    Kind: spend Default: defer: park with the triggers above, no build, no GPU.
    If otherwise: one dark stage (experimental_anchor_mode, gated and banded anchor), about 75-110 min on lem, verdict back to you. Reversible: yes

    Reply in comments and hand back with owner:lead. Approve by adding status:plan-approved yourself. No agent may set it.

  3. added
    featureWork bigger than a fix: designed with Don, built in stages (harnest R11)
    owner:donParked for human decision
    status:plan-reviewA feature plan is posted and waiting for Don
    and removed
    ideaAn idea for the researcher agent to assess
    owner:leadFeature lead's turn (harnest R11)
    status:plan-reviewA feature plan is posted and waiting for Don
    on Nov 7, 2026
  4. dkackman commented on Nov 7, 2026

    @dkackman
    OwnerAuthor

    Don's ruling: defer (the plan's default). Parked with the plan's triggers, no build and no GPU time. The long-form playbook keeps cutting moving shots at about 30 s.

    — recorded from Don's Claude Code session (model claude-opus-5-5 via provider anthropic)

  5. dkackman commented on Nov 12, 2026

    @dkackman
    OwnerAuthor

    Built as the moving keystone, and measured (narrated-long-take, closed out 2026-11-12).

    • keystone_images on the chain, and shot: walk_keyframed + keyframes on templates/minimax/narrated-take: segment k ends on keyframe k, so the anchor moves with the shot and the pose is not pinned to segment 1.
    • 12 segments (about 86 s), two seeds: face_drop at most 0.041, against 0.21 for the plain guide chain, with the cleanest seams of any arm.
    • Its cost is one hand-built keyframe per segment. Closed-mouth keyframes drop lip sync at segment ends, and a keyframe whose face differs from the still is followed and accumulates.
    • A walk did not read at chest-up framing; a slow lateral camera arc did.
    • The keyframe-free variant, the static keystone (shot: standing), holds the face to 85 s on one seed, but the subject stands.

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

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

    featureWork bigger than a fix: designed with Don, built in stages (harnest R11)owner:donParked for human decisionparkedParkedtarget:lem

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions