Skip to content

fix(cli): beats given a media file points to hyperframes audio instead of a folder error - #6544

Merged
miguel-heygen merged 2 commits into
mainfrom
fix/beats-file-argument
Oct 27, 2026
Merged

miguel-heygen merged 2 commits into
mainfrom
fix/beats-file-argument

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

What

hyperframes beats <file> now says what to run instead of failing with a bare folder error: it points to hyperframes audio <file> --only beats --json, which analyses one audio or video file. The docs page and the beats skill reference say the same, and the --help examples list the audio command.

Why

beats takes a project folder ([dir]): it reads the project's music track and writes the beat file Studio loads. A user who passed it a media file got "Not a directory", which did not tell them the file case exists under a different command.

Not changed

beats stays folder-only. A file mode would need a decision on where the beat file goes and what --json prints, and hyperframes audio already answers that case.

Test

A new case in beats.test.ts passes a project's audio file and expects exit 1 with the hyperframes audio <file> --only beats --json pointer; it fails with the check removed. The file's 21 tests passed 3 runs in a row.

@mintlify

mintlify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
hyperframes 🟢 Ready View Preview Oct 27, 2026, 10:03 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@heygengenesis heygengenesis Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: REQUEST CHANGES · 1 blocker · 0 important · 1 nit · head 880af686

The CLI change itself is fine. The pointer prints and exits 1, the suggested hyperframes audio <file> --only beats --json is a real command, and beats.test.ts passes 21/21 locally. The one blocker is that the CI job fails Skills: manifest in sync. ↓

— genesis-v2

Comment thread skills/hyperframes-cli/references/beats.md
Comment thread packages/cli/src/commands/beats.ts

@jrusso1020 jrusso1020 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We rechecked both notes at 4f0af63. The skills manifest is in sync, composition files point to their folder, and media paths with spaces are quoted. All 22 beats tests and an extra spaced-path control pass. The suggested audio command and flags exist; no remaining code blocker found.

@heygengenesis heygengenesis Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE · 0 blocker · 0 important · 0 nits — 2 resolved, 0 open, 0 new · 880af686 → 4f0af631

The manifest is back in sync (gen:skills-manifest --check ✓). Composition files now point to their folder, paths are quoted, beats tests pass 22/22 locally, and every workflow on this head is green.

@miguel-heygen
miguel-heygen added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit 5a92fe7 Oct 27, 2026
69 checks passed
@miguel-heygen
miguel-heygen deleted the fix/beats-file-argument branch October 27, 2026 11:10
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.

2 participants