Skip to lesson
Exit
Support Comms, Docs & Automation1 / 3

1 min lesson

Minimize the repro before you file

Connect "A clean three-step repro tells the engineer where to put the breakpoint" to the decision you would make.

Step 1 of 3

Minimize the repro before you file

A 40-step reproduction with the user's whole monorepo is noise. Strip it to the smallest reliable case: the fewest steps, a tiny sample repo, one model, defaults everywhere you can. A clean three-step repro tells the engineer where to put the breakpoint.

Learn more

Full explanation

A minimized, copy-pasteable repro beats a paragraph of prose

A minimized, copy-pasteable repro beats a paragraph of prose
Title: Agent "Apply" silently no-ops on files with CRLF line endings (1.2.3, Windows)

Env:
  Cursor 1.2.3 (build 24f1a)
  Windows 11 23H2
  Model: default agent model
  Privacy Mode: ON
  Repo: fresh, single file, no .cursorignore

Repro (from clean state):
  1. New folder, add main.py saved with CRLF line endings
  2. Ask agent: "add a docstring to the top function"
  3. Agent shows a diff and clicks Apply

Expected: docstring written to main.py
Actual:   Apply reports success, file is unchanged on disk

Logs: see attached cursor-logs.txt (search "apply: 0 hunks written")
Impact: P1 for Windows users on CRLF repos - silent data-loss-shaped
        bug (user believes edit landed). ~6 tickets this week, no workaround.
Learn more

Optional practice

Practice: Minimize the repro before you file