Skip to content

Fix youtube-ctx timestamp units - #14

Merged
devhims merged 1 commit into
mainfrom
fix/youtube-ctx-timestamp-units
Aug 19, 2026
Merged

Fix youtube-ctx timestamp units#14
devhims merged 1 commit into
mainfrom
fix/youtube-ctx-timestamp-units

Conversation

@devhims

@devhims devhims commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • add --timestamps-ms for storyboard-derived millisecond values while preserving --timestamps for seconds
  • require callers to select exactly one timestamp unit
  • identify the offending timestamp and video duration in range errors
  • update the youtube-ctx visual workflow and rebuild the bundled executable
  • add regression coverage for both unit paths and validation failures

Why

The storyboard index and its tile formula expose milliseconds, while the exact-frame CLI accepted seconds. The skill reference did not make that boundary explicit, so agents could pass storyboard millisecond values to --timestamps and have them interpreted as seconds.

Impact

Storyboard-derived values now have a unit-explicit path with no rescaling. Existing seconds-based callers remain compatible, and invalid calls provide enough information to correct the unit instead of retrying speculatively.

Validation

  • npm run verify in packages/youtube-skills (30 passed, 2 skipped)
  • TypeScript typecheck
  • generated bundle consistency check
  • youtube-ctx skill validation

@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
video2ctx-web Ready Ready Preview Aug 19, 2026 12:18pm

@devhims
devhims marked this pull request as ready for review August 19, 2026 12:14
@devhims
devhims force-pushed the fix/youtube-ctx-timestamp-units branch from 04726b7 to f5ac086 Compare August 19, 2026 12:18
@devhims
devhims merged commit 714fec3 into main Aug 19, 2026
7 checks passed
@devhims
devhims deleted the fix/youtube-ctx-timestamp-units branch August 19, 2026 12:22
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