You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Backlog capture: the tracker's line-anchored regexps miss CRLF bodies #296
Backlog capture (deliberately unlabeled). Operator, 2026-09-07, from the reviewer seat's round-two finding on PR #294.
The observation. Several record-reading regexps in internal/tracker end in $ under (?m), which in Go matches only before \n. A CRLF body — what GitHub's web editor produces when a human edits an issue or PR body — therefore defeats them: measured on #294's head, an LF task body yields the adoption [o/hub#193] and the same body with CRLF yields [], so task finish would silently close nothing. paragraphBreak has the identical blind spot, so the gate, Decision and verdict scans share it. Every body written by gh today is LF (0 of the last 100 here carry \r), but 4–11% of bodies in cli/cli, golang/go and microsoft/vscode do.
Shape proposed. Normalise \r\n → \n once at the package boundary (every Comment.Body and issue body read by the tracker), with a table test per scanner on a CRLF fixture; no regexp changes. Fails closed today, so any minor.
Source: reviewer round two on #294 (review 5126079592).
Adopted by#309 — this issue is delivered as that task, and gh codecrew task finish closes it when the task's pull request merges (SPEC §4). The PR needs no Closes line for it.
Activity
davison commentedon Sep 6, 2026
Adopted by #309 — this issue is delivered as that task, and
gh codecrew task finishcloses it when the task's pull request merges (SPEC §4). The PR needs noClosesline for it.test: each CRLF row is read straight into the scanner too, pinning bo…
test: each CRLF row is read straight into the scanner too, pinning bo…
test: each CRLF row is read straight into the scanner too, pinning bo…
radiusred-cody commentedon Sep 7, 2026
Closed by
gh codecrew task finish 309: adopted by #309 and delivered by #314, merged as 7610047.test: each CRLF row is read straight into the scanner too, pinning bo…