Feature request for product/service
Cursor IDE
Describe the request
Please make it easier to run once-per-conversation follow-ups scoped to files the agent actually edited in this chat, without approximating via git diff HEAD or hand-rolled afterFileEdit bookkeeping.
Problem
stopfires per agent turn, not when the whole conversation/task is done.stopstdin hasconversation_id/generation_id, but no list of files edited this turn / this conversation.sessionEndis fire-and-forget and cannot returnfollowup_message, so we cannot prompt the agent at true conversation end.
Workarounds are fragile: dirty-tree git diffs mix in unrelated chats; afterFileEdit ledgers can miss batch edits.
Request
- Add edit-scope fields to
stop(and ideallysessionEnd) input, e.g.edited_files_this_generationandedited_files_this_conversation. - Allow
sessionEnd(or a newconversationStop) to returnfollowup_messagewhile the chat can still continue. - (Nice to have) Document once-per-conversation follow-ups vs per-turn
stop+loop_limit.
Use case
Large monorepo with many design docs: after a feature is done, ask once to sync docs for files this conversation changed — not every turn, not every uncommitted file.
Related
- Community workaround: [Guide] Thin Self-Review Hooks for Cursor | The Model Is the Auditor (Windows + Linux)
- Why ledger is unreliable: afterFileEdit hook not firing reliably, missing events on batch edits and mid-session
- Also see Cursor Hooks docs (
stop/sessionEnd/afterFileEdit).
Operating System (if it applies)
MacOS