fix: sameLine parity between first-query scan and indexed search
The stage-3 first-query scan counted a line break sitting at span end (one past the last word) as inside the span, so a phrase ending exactly at end-of-line - any quote ending at a block boundary - was dropped on the first query but found by the indexed path on the second. Match the indexed path: only breaks strictly inside [start, end) count. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QUsMXzBsEJ27DjJVPSfW5o
| Repository | eliziff/Beaver |
|---|---|
| Author | Eli Ziff <eliasziff@gmail.com> |
| Authored | |
| Parents | efc899d1 |
| Stats | 2 files changed , +35 , -1 |
| Part of | PDF pinpoint evidence and parse-lifecycle hardening |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-efcdd7c7.md
from inside the repo you want the change in.