Hey, thanks for the report. This is an interesting issue. It looks like the commit message generator is analyzing all changes in the file, not just the staged part.
Could you clarify a few details?
Are you using git add -p for partial staging, or the Source Control UI in Cursor?
Can you share an example of what message was generated vs what you expected?
Did you try reproducing it with a simple test file (for example, change 2 lines and stage only 1)?
If you can confirm the repro steps, I’ll pass it to the team to investigate.