Skip to content

feat(cli): add hyperframes validate command - #179

Merged
vanceingalls merged 0 commit into
vance/fix-studio-runtimefrom
vance/validate-command
Apr 2, 2026
Merged

vanceingalls merged 0 commit into
vance/fix-studio-runtimefrom
vance/validate-command

Conversation

@vanceingalls

@vanceingalls vanceingalls commented Apr 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • New hyperframes validate command loads a composition in headless Chrome and reports console errors, uncaught exceptions, and failed network requests for project assets
  • Bundles HTML with inlined runtime (no CDN dependency), starts minimal file server for assets
  • ~3s execution time — suitable as a blocking pre-preview step
  • JSON output mode (--json) for programmatic consumption
  • CLAUDE.md and compose skill updated to require lint + validate before opening the studio

Test plan

  • npx hyperframes validate on a clean composition → "No console errors"
  • npx hyperframes validate on a composition with a JS error → reports the error, exit code 1
  • npx hyperframes validate with a missing project asset → reports 404 with file path
  • npx hyperframes validate --json → structured JSON output

🤖 Generated with Claude Code

vanceingalls commented Apr 1, 2026 •

Copy link
Copy Markdown
Collaborator Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vanceingalls
vanceingalls force-pushed the vance/fix-studio-runtime branch from d57f116 to b464609 Compare April 1, 2026 22:05
@vanceingalls
vanceingalls force-pushed the vance/validate-command branch from 60b61a5 to a321571 Compare April 1, 2026 22:05
@vanceingalls
vanceingalls force-pushed the vance/fix-studio-runtime branch from b464609 to 45996c3 Compare April 2, 2026 05:30
@vanceingalls
vanceingalls force-pushed the vance/validate-command branch from a321571 to 2917f6a Compare April 2, 2026 05:30
@vanceingalls
vanceingalls merged commit fc99b40 into vance/fix-studio-runtime Apr 2, 2026
14 of 15 checks passed
@vanceingalls
vanceingalls force-pushed the vance/fix-studio-runtime branch from 45996c3 to fc99b40 Compare April 2, 2026 07:14
@vanceingalls
vanceingalls force-pushed the vance/validate-command branch from 2917f6a to fc99b40 Compare April 2, 2026 07:14
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