[codex] Allow public templates in dashboard terminal#461
[codex] Allow public templates in dashboard terminal#461matthewlouisbrockman wants to merge 1 commit into
Conversation
PR SummaryLow Risk Overview Adds Reviewed by Cursor Bugbot for commit bab3cf6. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
Closing and replacing this with the correctly named Linear-task branch: overly-restrictive-template-checks-on-dashboardtabterminal-eng-4352. |
What changed
owner/templatereferences through the dashboard terminal template preflight.Why
/sbx/new?template=owner/templateworked because it callsSandbox.create(template)directly. The dashboard terminal page rejected the same public template reference before launch because it only checked default templates and templates owned by the current team.This made public workshop links like
aiengineer-d56d/aiengineer-guideshow as unavailable in the terminal UI even though the SDK could create them.Validation
bunx vitest run tests/unit/dashboard-terminal.test.tsbunx biome check 'src/app/dashboard/[teamSlug]/terminal/page.tsx' src/features/dashboard/terminal/template.ts tests/unit/dashboard-terminal.test.ts