Skip to content

feat(ci): route @claude tasks via Haiku, provision env on demand#493

Draft
adibarra wants to merge 9 commits into
masterfrom
chore/claude-workflow-router
Draft

feat(ci): route @claude tasks via Haiku, provision env on demand#493
adibarra wants to merge 9 commits into
masterfrom
chore/claude-workflow-router

Conversation

@adibarra

@adibarra adibarra commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Note

Medium Risk
Changes core automation for every @claude and auto-PR review run; mis-routing or workflow bugs could skip browser/tests or run the wrong job, but impact is limited to CI/agent behavior, not production app code.

Overview
Adds a route job that classifies @claude triggers (explicit keywords or Haiku) into profile / browser / dev_server, then gates implement vs review. Non-UI work skips Playwright, Cypress, and the dev server unless the router says otherwise.

Implement now uses a shared .github/claude/implement-prompt.md with profile-specific rules (ui, code, docs, question) and dynamic MCP wiring (Playwright vs Chrome). Review is expanded: checks out the PR merge ref, starts the app, wires Playwright MCP, and follows .github/claude/review-prompt.md for runtime checks plus the static review. Models are centralized via CLAUDE_MODEL / CLAUDE_ROUTER_MODEL; implement and review share a claude-<issue/PR> concurrency group. AGENTS.md documents the new flow and overrides (@claude frontend, general, etc.).

Reviewed by Cursor Bugbot for commit 68a84ec. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
inferencemax-app Ready Ready Preview, Comment Jun 24, 2026 7:15am

Request Review

Comment thread .github/workflows/claude.yml
Comment thread .github/workflows/claude.yml Outdated
…ow-router

# Conflicts:
#	.github/workflows/claude.yml
Comment thread .github/workflows/claude.yml
Comment thread .github/workflows/claude.yml Dismissed
Comment thread .github/workflows/claude.yml Dismissed
Comment thread .github/workflows/claude.yml Dismissed
Comment thread .github/workflows/claude.yml Fixed
Comment thread .github/workflows/claude.yml Outdated
… add route permissions + persist-credentials:false

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 98898f3. Configure here.

Comment thread .github/workflows/claude.yml Outdated
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