Skip to content

docs: align infinite-repeat guidance with bounded repeat: -1 lint - #3795

Open
jbernard077 wants to merge 1 commit into
heygen-com:mainfrom
jbernard077:docs/bounded-infinite-repeat
Open

docs: align infinite-repeat guidance with bounded repeat: -1 lint#3795
jbernard077 wants to merge 1 commit into
heygen-com:mainfrom
jbernard077:docs/bounded-infinite-repeat

Conversation

@jbernard077

Copy link
Copy Markdown
Contributor

Supersedes #2794, which was closed as stale and cannot be reopened. Same branch, single signed commit, rebased onto current main on 2026-09-08. Both items from the earlier review are addressed: manifest regenerated, and skills/embedded-captions/modes/standard/_anatomy.md updated to the bounded form.

What

Updates the skill docs and design guides to match the lint behavior shipped in v0.7.71 (#2763): gsap_infinite_repeat now demotes to a warning when the composition root declares a finite data-duration — deterministic seeking and export clip to that explicit window. Without a finite composition duration it remains a hard error (the timeline can report an unbounded length and render planning fails).

Eleven files still taught the old absolute ban ("never repeat: -1"). This PR updates each one-liner to state the bounded allowance, and keeps the Math.max(0, Math.floor(duration / cycle) - 1) formula for the case that still needs it: loops that must end before the composition does.

Files

  • skills/hyperframes-core/SKILL.md + references/determinism-rules.md — the canonical contract; determinism-rules now spells out both severities
  • skills/hyperframes-animation/SKILL.md, adapters/gsap.md, adapters/gsap-timeline-and-labels.md, rules-index.md — restatements of the core rule
  • skills/figma/SKILL.md, skills/talking-head-recut/SKILL.md, skills/remotion-to-hyperframes/references/limitations.md — workflow-level restatements
  • docs/guides/claude-design-hyperframes.md, docs/guides/claude-design-send-to-hyperframes.md — determinism table rows + render checklists

Intentionally untouched: skills/hyperframes-animation/rules/ambient-glow-bloom.md — its shimmer must stop before the composition ends (killed at resolve), which is exactly the case where a computed finite count is still the right guidance.

Verified against

Behavior confirmed on a minimal composition (two repeat: -1 tweens, root data-duration="4"): 0.7.67 fails with the gsap_infinite_repeat error; 0.7.71 passes check with the warning and renders 120 frames clipped to the 4s window.

Docs-only change — no code touched.

🤖 Generated with Claude Code

Since v0.7.71 (heygen-com#2763), gsap_infinite_repeat demotes to a warning when the
root declares a finite data-duration: deterministic seeking and export clip
to that explicit window. Without one it remains a hard error (unbounded
timeline duration breaks render planning).

Update every doc site that still teaches the old absolute ban — the core
determinism contract, the animation adapter notes, and the design-guide
tables/checklists — to state the bounded allowance and keep the finite-count
formula for loops that must end before the composition does.

skills/hyperframes-animation/rules/ambient-glow-bloom.md is intentionally
untouched: its shimmer must stop before the composition ends, which is
exactly the case where a computed finite count is still required.
@jbernard077
jbernard077 force-pushed the docs/bounded-infinite-repeat branch from 4822e3a to 79228e3 Compare September 9, 2026 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant