Composer touched five files; Accept All was the wrong move

One task, one file accepted, git proves the rollback.

Cursor Composer can rewrite several files in one turn. Hitting Accept All on that batch is the fast way to lose track of what changed. A reversible multi-file run is one narrow task, a git status snapshot beforehand, and Accept on a single file before you touch the rest. To line up the review queue with someone else, open an rtcroom space and park the file list and diffs on one canvas.

The query is Cursor Composer multi-file edit. Help still documents Cmd+I / Ctrl+I for the agent panel, file search with @src/…, and Restore Checkpoint to roll files back while keeping messages. Composer UI labels (Accept, Accept All, Reject) follow your installed Cursor version — this article does not invent shortcuts beyond what Help lists. rtcroom does not install Cursor.

git checkpointScoped promptAccept one file

Why Accept All fights multi-file review

Multi-file mode is the point: you describe a feature and Cursor proposes diffs across imports, components, and tests. The risk is not “AI edits” — it is landing five unrelated hunks at once. Official guidance on Agent edits treats the diff as the source of truth; community threads on Composer describe Accept All as applying every pending file in the session. That is fine when you already read every tab. It is painful when one file secretly rewrote a public API.

  1. 1

    Checkpoint the repo

    File > Open Folder on the project you mean to change. Run git status. Commit work in progress or git stash push -m "before-composer" so a bad batch has a one-command escape (git checkout -- . or git stash pop only after you inspect). The explorer should show only paths you expect before the prompt.

  2. 2

    Scope the Composer turn

    Open the panel with Cmd+I (Mac) or Ctrl+I (Windows / Linux). Attach context with @src/auth/login.ts and siblings — do not rely on a vague “fix login” across the whole tree. One turn, one outcome: e.g. “Add email validation to LoginForm; only touch LoginForm.tsx and its test.” Mention files you must not edit. Switch to Agent mode if you need terminal runs; stay in review mode for the first multi-file pass.

  3. 3

    Review file by file, not Accept All

    When Composer finishes, walk the file list. Open the first path, read the diff, click Accept or Reject for that file only. Run git diff --stat — one file should move at a time. Skip Accept All until the stat matches your mental checklist. If a hunk is wrong, reject that file and re-prompt with tighter @ references.

  4. 4

    Rollback without losing the thread

    If the turn already wrote too much, hover an earlier user message and choose Restore Checkpoint (Help: files revert, chat stays). Then return to file-by-file accept. For a single bad file after partial accept, git checkout -- path/to/file restores from your checkpoint commit. Stop the run with Stop if Composer keeps touching paths outside your list.

git status
git stash push -m "before-composer"   # or commit WIP
Cmd+I  (Ctrl+I)
@src/components/LoginForm.tsx @src/.../LoginForm.test.tsx
Add email validation; do not change routing.
# Accept LoginForm.tsx only → git diff --stat
# Reject or fix the test file before accepting it
01

Accept All is a bulk apply

Forum posts about Composer describe Accept All as merging every pending suggestion in the session. Use it only after every file tab was read — not as the default first click.

02

Not the same problem as Ask mode

Ask mode leaves the repo empty because it cannot edit. Here the repo does change; the failure mode is unreviewed multi-file writes.

03

git is the second checkpoint

Restore Checkpoint handles Cursor’s file snapshot. Git handles what you already accepted onto disk — keep both layers in mind.

ControlWhat it doesWhen to use
Accept (one file)Applies that file’s diffDefault — after reading the tab
Accept AllApplies every pending fileOnly when every tab is already reviewed
RejectDrops that file’s proposalWrong file or scope creep
Restore CheckpointReverts files to a prior turnAfter a bad batch, chat intact

When you review together, keep the file list on one page

Paths, git diff --stat, and “accept order” belong on a canvas, not repeated in chat. See whiteboard basics, same-page canvas, and Cline’s approve-first write for a similar disk-first checklist.

Still wondering?

I already clicked Accept All — now what?

If you made a git commit or stash before the run, reset or checkout from that anchor. If not, try Restore Checkpoint on the message before the prompt, then git diff to see what remains on disk.

Does Composer always wait for Accept?

Settings and modes differ. Agent mode may apply edits as it works; Composer sessions still show review controls in current docs. When in doubt, watch git status after each file.

Does rtcroom run Composer for me?

No. rtcroom is a browser canvas for alignment. Composer runs locally in Cursor.

Create a free space