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
fix(review): finding locations containing '+' lose their path and line numbers #498
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
A finding whose location path contains + loses the rest of its path and its line numbers. canonicalize_finding_location (src/devops_cli/ai/review_schema.py) matches paths with the character class [a-zA-Z0-9_\-./\\]. A path outside that class falls through to the "embedded location" fallback, which keeps only the first path-like fragment.
Reproduction
devops review path .data/reviews/corpora/playbooks+core+security+crypto-1/files --all (a synthetic defect corpus, #415). Every finding on those files was saved with the location .data/reviews/corpora/playbooks: no file name and no lines. So devops review findings, patching and devops review corpus score could not tell which file a finding was about.
Root cause
The same class is used by the m_loc, m_target and m_embedded patterns. + is legal in file names, and so are @ (for example node_modules/@types/...), ~ and %.
Acceptance criteria
Locations whose paths contain +, @, ~ or % keep their full path and line range.
Regression tests cover each character, including a location with a line range.
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
Activity
feat(review): synthetic defect corpora and recall scoring for reviews (…
test(review): regression harness keeps real defects reported and fals…
fix(review): finding locations keep paths with +, @, ~ or % (#529)
dan-petty commentedon Sep 24, 2026
Closed by #529, merged into
release/v0.2.23.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.feat(release): v0.2.23 (#681)