Skip to content

fix(cli): update dev command for consolidated studio#8

Closed
miguel-heygen wants to merge 1 commit intofeat/studio-consolidatefrom
fix/cli-dev-command
Closed

fix(cli): update dev command for consolidated studio#8
miguel-heygen wants to merge 1 commit intofeat/studio-consolidatefrom
fix/cli-dev-command

Conversation

@miguel-heygen
Copy link
Copy Markdown
Collaborator

@miguel-heygen miguel-heygen commented Mar 21, 2026

What

Consolidates the studio architecture from separate backend/frontend packages into a single unified studio package.

Why

This simplifies the development workflow by eliminating the need to run multiple concurrent processes and reduces complexity in the build system.

How

  • Removed separate studio-backend and studio-frontend script commands from root package.json
  • Updated CLI build scripts to reference the consolidated ../studio directory instead of ../studio/frontend
  • Modified dev command to use a single Vite dev server with API plugin instead of running concurrent backend/frontend processes
  • Updated project symlinking to point to the new studio data directory structure
  • Temporarily disabled embedded mode functionality pending migration to the new architecture

Test plan

  • Unit tests added/updated
  • Manual testing performed
  • Documentation updated (if applicable)

- hyperframes dev: use pnpm exec vite for the new studio package
- Symlink projects into studio/data/projects
- Clean embedded mode stub (not yet available for published CLI)
- Remove internal-only scripts from root package.json
- Strip archive/producer-internal/ngrok references
Copy link
Copy Markdown
Collaborator Author

miguel-heygen commented Mar 21, 2026

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.

@miguel-heygen miguel-heygen deleted the fix/cli-dev-command branch April 6, 2026 23:25
miguel-heygen added a commit that referenced this pull request Apr 7, 2026
## Summary

Adds critical rendering constraints to the `hyperframes` skill discovered from eval analysis of 27 agent-generated compositions. These guardrails prevent agents from producing compositions that technically work but render poorly.

## What it fixes

| Rule Added | Eval Prompts Affected | Issue |
| --- | --- | --- |
| Ban `repeat: -1` | #20 loading-spinner (2.0/5) | Infinite timeline broke capture engine |
| Ban async timeline construction | #16 particle-logo (2.6/5) | Timeline empty at capture time |
| Min font size 16px (labels), 20px (body) | #7, #8, #13, #14, #15, #19 | Illegible text after encoding |
| Ban full-screen dark linear gradients | #3, #5, #10, #14 | H.264 color banding |
| `<link>` fonts over CSS `@import` | #7, #24 | Font loading race conditions |

## Changes

- **Rules section**: Added `repeat: -1` ban, async timeline ban, items 8-9 to "Never do" list
- **Typography section**: Expanded font size guidance with specific minimums per text role (headlines, body, labels)
- **New "Backgrounds and Color" section**: Guidance on avoiding gradient banding
- **Output Checklist**: 5 new items covering all new constraints

## Test plan

- [ ] Run eval with updated skill and compare avg quality scores
- [x] Skill renders correctly in `/hyperframes` invocation
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