Skip to content

fix(web): cover studio auto-start; correct API docs - #1670

Merged
groupthinking merged 1 commit into
mainfrom
cursor/studio-autostart-docs-4940
Sep 8, 2026
Merged

fix(web): cover studio auto-start; correct API docs#1670
groupthinking merged 1 commit into
mainfrom
cursor/studio-autostart-docs-4940

Conversation

@groupthinking

@groupthinking groupthinking commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Canonical issue

Closes #1669

Outcome

Studio ?video= auto-start is one-shot (Strict Mode safe) with a behavioral test. API docs describe the end-to-end YouTube workflow instead of claiming Studio runs the REST catalog.

Follow-up to merged #1668 (Copilot review landed after that squash). This PR does not change Home vs Studio routing.

Scope

  • Included:
    • applyStudioQueryAutoStart: one start(canonicalWatchUrl) across a Strict Mode double-invoke and same-query rerender (auJzb1D-fag).
    • OneLoopStudio uses that helper for ?video= / ?url=.
    • /docs/api Try-it copy: YouTube workflow via /api/video/pack then /api/workflows/video-to-actions; both listed in the catalog.
  • Explicitly excluded:

Risk

Verification

Tied to head SHA 3e856d992d7da6c9ce1291a40cbc065cd8b2a9ce.

Production evidence

Preview Ready on this SHA: https://v0-uvai-git-cursor-studio-autostart-docs-4940-garv1.vercel.app (deployment https://vercel.com/garv1/v0-uvai/5ewRypQ6X1MMiyBozLarGWmGU4Kn). Preview is behind Vercel SSO. Production already has the #1668 Home/Studio split.

Agent handoff

  • One canonical issue is linked
  • No competing PR implements the same auto-start/docs change
  • Acceptance criteria are satisfied
  • Required checks pass on the current head (Trivy fix(ci): resync web lockfile blocking Trivy #1657)
  • Human decision is requested only for product, security, irreversible infrastructure, or production approval
Open in Web Open in Cursor 

Query ?video= starts processVideo once with the canonical watch URL,
including a Strict Mode double-invoke. API docs describe the YouTube
workflow (pack + video-to-actions), not the REST catalog.

Co-authored-by: Hayden <groupthinking@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 8, 2026 09:09
@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Sep 8, 2026 9:10am UTC

@github-actions github-actions Bot added documentation Improvements or additions to documentation javascript Pull requests that update javascript code tests labels Sep 8, 2026
@coderabbitai

coderabbitai Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 2cbda3c2-49ae-4bcc-9e3c-6146af5224de


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 3e856d9.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

Copilot AI 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.

🟢 Approved

The reviewed changes have regression coverage and no unresolved issues.

Pull request overview

Adds Strict Mode-safe Studio query auto-start behavior and corrects API workflow documentation.

Changes:

  • Deduplicates query-driven Studio analysis starts.
  • Adds regression coverage for valid and invalid queries.
  • Documents the Video Pack → video-to-actions workflow.
File summaries
File Description
apps/web/src/lib/studio-handoff.ts Adds the one-shot auto-start helper.
apps/web/src/lib/__tests__/studio-handoff.test.ts Tests deduplication and invalid input.
apps/web/src/lib/__tests__/home-sell-surface.test.ts Verifies Studio and documentation integration.
apps/web/src/components/OneLoopStudio.tsx Uses the helper for query handoffs.
apps/web/src/app/docs/api/page.tsx Lists and explains the workflow endpoints.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

⚠️ Repository reconciliation: this PR does not reference exactly one canonical issue.

Please add a Closes #<issue> reference in the PR description so it can be tracked against the delivery plan.

See governance: #898

@groupthinking
groupthinking merged commit 5f199ca into main Sep 8, 2026
29 of 30 checks passed
@groupthinking
groupthinking deleted the cursor/studio-autostart-docs-4940 branch September 8, 2026 14:15
@linear-code

linear-code Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

GRV-493

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation javascript Pull requests that update javascript code tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make Home sell page and route Studio to /studio workbench

3 participants