Vibe Coding
Cursor 3.11's Five New Cloud-Agent Hooks Ship Broken: beforeSubmitPrompt Modifications Are Silently Stripped
Cursor 3.11 (July 10, 2026) added beforeSubmitPrompt, afterAgentResponse, afterAgentThought, subagentStart, and stop to `.cursor/hooks.json`, pitched for building self-correcting cloud agent loops. Community bug reports since release say the hooks do not reliably fire in cloud agent VMs, and that beforeSubmitPrompt returns a modified prompt which is then silently discarded before reaching the model. Cursor has acknowledged both; a patch is pending. The silent-strip failure is the dangerous one — your guardrail appears to run and changes nothing.
↳ Follow the thread