Skip to content

AI support copilot Phase 2: gated artisan changes over SSH#3579

Merged
bernardhanna merged 2 commits into
masterfrom
dev
Jun 23, 2026
Merged

AI support copilot Phase 2: gated artisan changes over SSH#3579
bernardhanna merged 2 commits into
masterfrom
dev

Conversation

@bernardhanna

Copy link
Copy Markdown
Collaborator

No description provided.

bernardhanna and others added 2 commits June 23, 2026 10:16
Integrates Cursor AI into the support bot, replacing deterministic-only triage
and adding an autonomous frontend fix path.

- AI triage via the Cursor headless CLI (agent -p --output-format json), with
  the existing keyword rules kept as automatic fallback (TriageProvider +
  CursorCliTriageProvider; TriageAgentService merges AI over heuristic).
- New code_change action: a Cursor Cloud Agent implements a frontend fix on a
  branch and opens a PR into dev, threaded through the existing dry-run ->
  APPROVE -> execute -> completion-email pipeline. Nothing deploys automatically.
- Gated dev -> live release PR (pr_only) via GitHub API; never auto-merges.
- support:ai:setup-check, support:ai:poll-agents, support:ai:promote-dev-to-live
  commands; poll scheduled every minute when enabled.
- config/support_ai.php + .env.example keys; migration adds cursor_agent_id,
  cursor_agent_status, cursor_pr_url, live_promotion_pr_url to support_cases.
- Docs: docs/support-copilot-ai.md; unit tests for the Cloud Agents client.

All gated behind SUPPORT_AI_ENABLED (default false); writes still require an
emailed APPROVE while SUPPORT_GMAIL_DRY_RUN=true.

Co-authored-by: Cursor <cursoragent@cursor.com>
AI support copilot Phase 1: AI triage + frontend code PRs
@bernardhanna bernardhanna merged commit cebf9e0 into master Jun 23, 2026
1 check failed
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