Skip to content

e2e cursor#577

Merged
squishykid merged 1 commit intomainfrom
rwr/e2e-cursor
Mar 3, 2026
Merged

e2e cursor#577
squishykid merged 1 commit intomainfrom
rwr/e2e-cursor

Conversation

@squishykid
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings March 2, 2026 14:21
@cursor
Copy link

cursor bot commented Mar 2, 2026

PR Summary

Medium Risk
Adds a new E2E agent that auto-registers when the agent binary is present, which can expand the default E2E matrix and introduce new tmux/prompt-matching and auth-related flake points. Changes are otherwise additive and limited to test tooling/docs.

Overview
Adds a new cursor-cli E2E agent that drives Cursor’s agent binary via an interactive tmux session (including workspace trust handling) to ensure full hook lifecycle events fire, and includes transient-error detection plus a CI guard requiring CURSOR_API_KEY.

Also adds a Cursor CLI integration one-pager (AGENT.md) documenting hook behavior differences between headless -p and interactive modes and transcript location, plus a scripts/test-cursor-cli-agent-integration.sh probe script that installs capture hooks into .cursor/hooks.json and collects hook payloads for debugging.

Written by Cursor Bugbot for commit cadb34a. Configure here.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds initial end-to-end (E2E) support and exploratory tooling for running Entire against the Cursor CLI (agent) and documenting observed hook/transcript behavior.

Changes:

  • Introduces an E2E agent implementation for Cursor CLI using tmux-based interactive mode.
  • Adds a probe script to install Cursor hooks and capture hook payloads to disk for manual/automated investigation.
  • Adds a Cursor CLI integration one-pager documenting hook semantics, transcript location/layout, and limitations.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
scripts/test-cursor-cli-agent-integration.sh New probe script that wires .cursor/hooks.json, captures stdin payloads per hook event, and prints collected JSON.
e2e/agents/cursor_cli.go New E2E agent adapter that runs Cursor CLI interactively via tmux and drives prompts based on a TUI prompt regex.
cmd/entire/cli/agent/cursor/AGENT.md New documentation summarizing Cursor CLI hook behavior and transcript layout expectations.

@squishykid squishykid force-pushed the rwr/e2e-cursor branch 2 times, most recently from fec8a88 to 231ccae Compare March 3, 2026 10:09
@squishykid
Copy link
Member Author

@squishykid squishykid marked this pull request as ready for review March 3, 2026 10:53
@squishykid squishykid requested a review from a team as a code owner March 3, 2026 10:53
@squishykid squishykid enabled auto-merge March 3, 2026 13:57
@squishykid squishykid merged commit 2161944 into main Mar 3, 2026
11 of 13 checks passed
@squishykid squishykid deleted the rwr/e2e-cursor branch March 3, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants