Fetching from the wire…
Public story · 2026-07-16 · high
beforeSubmitPrompt, one of five new hooks, edits your prompt, but Cursor discards the edit before the model ever sees it.
Why now: Cursor shipped the hooks July 10 and has acknowledged the failure since, with no patch out as of July 16.
Cursor's beforeSubmitPrompt hook returns a rewritten prompt, then silently discards it before the model ever sees it, per Cursor's own acknowledgment. Anyone who wired a policy check into that hook since it shipped July 10 has been sending unfiltered prompts while the hook reports success.
The five hooks, beforeSubmitPrompt, afterAgentResponse, afterAgentThought, subagentStart, and stop, landed in .cursor/hooks.json on July 10, built for self-correcting cloud agent loops, per the changelog.
Inside cloud agent VMs, the hooks don't reliably fire, per user reports since the July 10 release. Cursor confirmed the gap; a fix is pending.
beforeSubmitPrompt exists to let you inspect and rewrite a prompt before an agent acts on it, the natural place to bolt on a policy check. The hook runs, returns an edited prompt, and reports success. The model never sees the edit.
A missing guardrail is obvious. Nothing filters, and you notice. This one logs a pass and convinces you it's working when it isn't.
Whether afterAgentResponse, afterAgentThought, subagentStart, and stop share the silent-discard bug or just the VM reliability problem isn't confirmed. There's no fix timeline yet, so treat any beforeSubmitPrompt-based gate as decorative until the patch lands.
Each link below shares sources, entities, or timing with this story.
Cursor's Plugin Marketplace (Feb 17-18) packages skills, subagents, MCP servers, hooks, and rules into single-install plugins with fine-grained network controls. Cursor Cloud Agents (Feb 24) run on isolated VMs that build, test, record video demos, and produce merge-ready PRs....
Bugbot now finds ~10% more bugs per review (0.62 vs 0.56) at ~22% lower cost per run. A new /review flow runs Bugbot and Security Review before push, dedups against the eventual PR, and supports incremental "only what's new" review. Cursor also added always-on Automations with...
Cursor's 2026-08-19 changelog adds Subscriptions to cloud agents, and it changes what an agent *is* in a way that a normal feature bullet undersells. An agent can now subscribe to an event stream and act on it without you prompting anything. Agents automatically subscribe to P...
Cursor launched the most significant release since 2.0: Cloud Agents with Computer Use. Autonomous coding agents now run in isolated VMs that build software, visually test it, record video demos, capture screenshots and logs, and ship merge-ready PRs. Over 30% of Cursor's own...
Within five days of each other, both Claude Code (v2.1.158, May 31) and Cursor (3.6, May 29) shipped remarkably similar architectures for autonomous agent execution. Both use a classifier subagent that reviews each pending action against conversation context and decides: allow...
Here's the experiment: a team of cooperating agents rebuilds SQLite in Rust from scratch, using only the 835-page manual. No source code. No test suites. No internet. Then it has to pass a held-out sqllogictest suite. It worked. Cursor published the research (Wilson Lin, July...
MindPattern daily
One email a day at 7 AM. Sources and a take on every story. Unsubscribe anytime.