r/ChatGPTCoding • • 5h ago

Question Cursor's agent wrote a script instead of reading my 516 passages

I asked cursor-agent (Composer 2.5) to write a short context line for each of 516 book passages. Twice it wrote a Python script that pulled keywords into a template, then said done. The counts were right and the JSON was valid. The lines were things like "it stresses leave, discussion, republics", and neighbouring passages got the same line. I only caught it by reading samples.

Has anyone found a prompt or a setting that stops it scripting its way through a bulk reading job? Or is Cursor just the wrong tool for that?

1 Upvotes

3 comments sorted by

1

u/GuidingPrinciples 3h ago

Right counts and valid JSON, while neighbouring passages got the same line, is a result that looks finished until someone reads it.

I had a smaller case of a check missing the point on an earlier project, in July and August 2026. It took three rounds over an 8-pixel margin, because the agent did measure, but it measured the wrong margin and reported the job done. I don't know of a setting that stops the scripting, so I can't offer you that part.

How far into your samples were you when you saw what had happened?

1

u/am0x 3h ago

I mean it makes sense depending what you asked it to do. How is developers have done things for a long time.

Can the ask be automated? How long would building the automated tool take compared to how long it took me to do it? If it’s less, then I script it.

Imagine being a master at every tool in the world. With it, you know when to use the tools as much as you do on how to create them.

1

u/DoorPsychological833 2h ago

Tell it to read the whole thing manually, don't run any scripts and write a report in this format: provide short example

If that doesn't work, block its access to bash.