Granular Line-Level Tracking for AI-Generated Code in AI Code Tracking APIs

Feature request for product/service

Cursor IDE

Describe the request

  • Provide granular tracking of AI-generated code at the line level within AI Code Tracking APIs
  • Possible implementations include a list of line hashes or other unique identifiers for each AI-generated line
  • Enable precise identification of AI-written lines in pull requests
  • Improve auditability, transparency, and collaboration between human and AI contributions

This is much needed.

Check out git-ai GitHub - acunniffe/git-ai: Track the AI-generated code in your repo

now that cursor added hooks in 1.7 it works really well for tracking AI code that lands in the main branch.