Command line output that is captured as “tool result” is limited, probably to 1000 lines?
This bites me when I tell Cursor to review a commit with a large diff. I give agent the commit SHA. It calls command line git show <commit-sha>
, which ends up being truncated (the beginning of the output is lost).
Workaround: I can run git show myself and dump it to my_large_commit.diff
, and then add it to the agent cursor, but this is more cumbersome and I need to remember about this gotcha.