Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
fix(skill): reconcile SFX drift tolerance to ±0.1s across script + prose
ukimsanov3542a79b3aeb
diff --git a/skills/website-to-hyperframes/references/step-5-build.md b/skills/website-to-hyperframes/references/step-5-build.mdindex 5bcb94a6a4..c723bf5a48 100644--- a/skills/website-to-hyperframes/references/step-5-build.md+++ b/skills/website-to-hyperframes/references/step-5-build.md@@ -455,7 +455,7 @@ For each SFX entry:3. Add beat-local + global start: `3.5 + 1.2 = 4.7s`.4. Write `data-start="4.7"` in index.html.-**Forbidden:** writing `data-start="<approximate visual moment>"` by reading the storyboard and estimating by eye. The evidence block above MUST quote both the storyboard SFX line and the index.html `data-start` line — and confirm they match within ±0.05s. A 1-second drift is not a rounding error; it's a build failure.+**Forbidden:** writing `data-start="<approximate visual moment>"` by reading the storyboard and estimating by eye. The evidence block above MUST quote both the storyboard SFX line and the index.html `data-start` line — and confirm they match within ±0.1s (≈3 frames at 30fps; same tolerance `w2h-verify.mjs` enforces and `step-6-validate.md` uses for playback verification). A 1-second drift is not a rounding error; it's a build failure.### Surface recurring sub-agent workarounds to the userdiff --git a/skills/website-to-hyperframes/scripts/w2h-verify.mjs b/skills/website-to-hyperframes/scripts/w2h-verify.mjsindex 26ce8eefdc..a67dcd1b03 100644--- a/skills/website-to-hyperframes/scripts/w2h-verify.mjs+++ b/skills/website-to-hyperframes/scripts/w2h-verify.mjs@@ -26,7 +26,7 @@ const PROJECT_DIR = resolve(process.argv[2] || ".");// Thresholds — change here, not by interpretation.const HEADLINE_MIN_PX = 80; // 80px floor for primary headline at 1920×1080const TIMELINE_COVERAGE_MIN = 0.7; // max GSAP event position must reach ≥70% of beat duration-const SFX_DRIFT_TOLERANCE_S = 0.5;+const SFX_DRIFT_TOLERANCE_S = 0.1; // 3 frames at 30fps; matches step-5 evidence rule + step-6 playback floorconst BEAT_DURATION_DRIFT_TOLERANCE_S = 0.5;const SHADER_NAMES = [