feat(executor): add Cursor CLI as a full-parity task executor - #696
Merged
Conversation
Cursor Agent (`agent` / `cursor-agent`) now sits alongside grok, claude, and the other backends: session resume via --resume, dangerous mode via --force (CURSOR_DANGEROUS_ARGS), per-task --model, worktree-local MCP, and the write-guard through .cursor/hooks.json. Do not pass Cursor's own --worktree flag; TaskYou already isolates each task. --approve-mcps is always set so the taskyou MCP server is not blocked on a TUI prompt.
Owner
Author
QA evidenceVHS screenshots of the real New-task form — Cursor is a first-class executorType-to-select CLI —
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Adds Cursor Agent CLI (
agent/cursor-agent) as a first-class TaskYou executor at grok-level parity.WORKTREE_TASK_ID,WORKTREE_PATH, …)--resume <chat-id>; chats discovered under~/.cursor/chats/<md5(cwd)>/<id>/--force(overridable withCURSOR_DANGEROUS_ARGS); Cursor has no Claude-style--permission-mode--model(multi-vendor prefixes:gpt-,composer-,claude-,grok-, …)--approve-mcps; mergety mcp-server --task-idinto<worktree>/.cursor/mcp.json<worktree>/.cursor/hooks.json(preToolUse+beforeShellExecution)--worktreeflag — TaskYou already isolates each taskTest plan
go test ./internal/db/ ./internal/executor/ ./cmd/task/ ./internal/ui/ ./internal/pipeline/ ./internal/web/golangci-lint runon changed Go packages-e cursor(Cursor CLI installed) and confirm it launches in tmux--resumeis used--forceappears.cursor/mcp.jsoncontains the taskyou MCP server and.cursor/hooks.jsonwiresworktree-guard --format cursor