Skip to content

feat(subagents): add Cursor Agent backend#54

Draft
0xbentang wants to merge 1 commit into
HazAT:mainfrom
0xbentang:cursor-agent-backend
Draft

feat(subagents): add Cursor Agent backend#54
0xbentang wants to merge 1 commit into
HazAT:mainfrom
0xbentang:cursor-agent-backend

Conversation

@0xbentang
Copy link
Copy Markdown

Summary

  • Add a Cursor Agent backend that launches the local Cursor Agent CLI from subagent definitions
  • Mirror the Claude sentinel completion flow with temporary guarded Cursor stop hook and lease-based cleanup
  • Support read-only plan/ask modes and sandbox/permission overrides via Cursor-prefixed frontmatter

Testing

  • Tested locally

@0xbentang 0xbentang force-pushed the cursor-agent-backend branch from 7270d8f to cee9e93 Compare May 14, 2026 02:29
Add a cursor-agent backend that launches the local Cursor Agent CLI from subagent definitions, mirrors the Claude sentinel completion flow, and manages a temporary guarded Cursor stop hook with lease-based cleanup.

The bundled cursor-agent uses composer-2 with yolo behavior by default, while Cursor-prefixed frontmatter supports read-only plan/ask modes and sandbox or permission overrides for global and project-local same-name overrides.

Document the read-only override pattern and cover parsing, argument construction, hook config merging, status display, and interrupt behavior in tests.
@0xbentang 0xbentang force-pushed the cursor-agent-backend branch from cee9e93 to 1f596db Compare May 14, 2026 02:31
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