When running a Cloud Agent that uses project-level or root-level Cursor hooks, the hooks are never executed. This appears specific to Cloud Agents: the same hooks work correctly when run in a local Cursor environment. As a result, background agents ignore the custom hooks defined in the repository or root and cannot perform the tasks that depend on those hooks.
Steps to Reproduce
Define a project-level or root-level Cursor hook that modifies or extends agent behavior.
Deploy a Cloud Agent (e.g., background agent on GitHub, Slack, Web, or Linear) that is expected to run those hooks.
Allow the agent to run. Observe that the defined hooks are never invoked, and any tasks dependent on them are skipped.
Verify that the same hooks run correctly when executing the agent locally to ensure the hooks themselves are not at fault.
Expected Behavior
Cloud Agents should honor and execute project-level and root-level Cursor hooks just as they do in a local environment. Custom hooks should run reliably in cloud deployments so that background agents behave consistently across environments.
Operating System
MacOS
Current Cursor Version (Menu β About Cursor β Copy)
For AI issues: add Request ID with privacy disabled
bc-26a7cc79-f585-4e4e-9896-59fce0e077a4
Additional Information
This issue appears related to a previous bug where Cloud Agents crashed after executing a few tool calls. In this case, there is no crash, but hooks are simply ignored.
The Cloud Agent was launched through both the web app and through the Cursor app. The bug seems to happen regardless of where the Cloud Agent was deployed from.
The last failure was 15h ago. Cursor does not show exact times. Hereβs an example session where the hooks did not run: bc-26a7cc79-f585-4e4e-9896-59fce0e077a4
Hook configuration below. It does indeed work locally:
Hey, thanks for the ping. The bug is confirmed and the team is investigating it. Unfortunately, thereβs no ETA yet. A temporary workaround is to run the Agent locally in Cursor.