[Bug] Incorrect line number references in file analysis output

Status Open
Reported on v2.1.287
Maintainer reply None cached
Activity 0 comments · opened Oct 2, 2026

Bug Description
The per-file line references output by Sonnet 5.5, most notably when reviewing PRs, are completely off. The line numbers typically vastly exceed the corresponding files' lengths (in lines)

Sample output with obfuscated file name:

2. Warning — src/lib/foo/bar.ts:4109 — Role names are unverified against the live API

where the file actually is only 99 lines.

Environment Info

  • Platform: linux
  • Terminal: konsole
  • Version: 2.1.287
  • Feedback ID: 87cd3a67-4a2b-45ce-83c3-9605f9c4059e

View original on GitHub ↗