hyperframes icon indicating copy to clipboard operation
hyperframes copied to clipboard

docs: clip window is inclusive in data-attributes.md but [start, start+duration) in router Contract 1

Open JuankCadavid opened this issue 1 month ago • 3 comments

Version: hyperframes 0.8.188 (project-scoped skills installed via npx skills add heygen-com/hyperframes).

The skill docs describe the clip time window two different ways:

  • data-attributes.md describes the clip window as inclusive of its end (start … start + duration).
  • The hyperframes router, Contract 1, defines it as half-open: [start, start+duration).

At the boundary frame t = start + duration, these two descriptions disagree about whether the clip is visible. Agents that follow one document over the other write different timing checks. We found this while reviewing a 64 s composition with adjacent clips.

Expected: a single definition. Half-open matches Contract 1 and avoids double-visible frames at cuts, so data-attributes.md should be aligned to it, with a note on the boundary frame.

JuankCadavid avatar Oct 23 '26 14:10 JuankCadavid

Hi! I'd like to work on this. I'll update data-attributes.md to describe the clip window as half-open [start, start+duration), matching router Contract 1, and add a short note on the boundary frame. Could you please assign it to me?

Mittalnew avatar Oct 23 '26 16:10 Mittalnew

Thanks for checking the docs this closely. On current main the skills give one definition: a clip shows over [start, start + duration) and is hidden at exactly start + duration. You can see it in skills/hyperframes/SKILL.md (Contract 1) and in skills/hyperframes/references/format.md, and the runtime uses the same half-open check.

data-attributes.md was removed in 0.8.185, when the skills were reorganized. Its last version also described the window as half-open, so I think the copy you have installed is older. Running npx skills add heygen-com/hyperframes again (or npx hyperframes skills update) should replace it.

If a freshly installed skill still describes the end as inclusive anywhere, please post the file and line and we'll fix it. Otherwise this looks resolved.

@Mittalnew, thanks for offering to help. As far as I can tell there's nothing left to change for this one.

miguel-heygen avatar Oct 24 '26 18:10 miguel-heygen

Thanks for flagging this. On current main there's one definition: a clip shows over [start, start + duration) (Contract 1 in skills/hyperframes/SKILL.md and references/format.md), and data-attributes.md was removed when the skills were reorganized in 0.8.185. Running npx hyperframes skills update replaces the older copy. Closing as resolved. If a freshly installed skill still says the end is inclusive, please reopen with the file and line.

jrusso1020 avatar Oct 25 '26 23:10 jrusso1020