Skip to content

Add Line Number Tracking for Inline GitHub PR Comments #145

Description

@GauravKarakoti
  • Description: The core blueprint mandates "granular inline GitHub comments with direct feedback". Currently, the Finding model stores fileLocation and codeSnippet, but lacks exact line number tracking. The Octokit API requires precise line numbers to post review comments directly on specific lines of code in a pull request diff.

  • Proposed Solution:

    • Update the Prisma schema for the Finding model to include lineStart Int? and lineEnd Int?.
    • Update the LLM extraction prompt in ArmorIQScanner to output the exact line numbers alongside the code snippet.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions