Skip to content

Give the scorer bounded repository evidence#114

Merged
morgaesis merged 1 commit into
mainfrom
codex/scorer-evidence-closure
Jul 21, 2026
Merged

Give the scorer bounded repository evidence#114
morgaesis merged 1 commit into
mainfrom
codex/scorer-evidence-closure

Give scorer bounded related evidence

9aff8de
Select commit
Loading
Failed to load commit list.
postil-dev / postil/review succeeded Jul 21, 2026 in 1m 35s

0 error, 1 warn, 0 info

info 1 new advisory finding

Review details

Annotations

Check warning on line 923 in src/review.rs

See this annotation in the file changed.

@postil-dev postil-dev / postil/review

Scorer input path no longer sanitized before query construction

The old code at line 917 applied prompt::sanitize_scorer_input(&finding.path) when constructing scorer inputs; that call was deleted in this diff. The new code at line 923 builds the query directly from finding.path, finding.title, and finding.body with no visible sanitization. Finding fields originate from LLM output and are untrusted; dropping sanitization could let control characters or malformed content reach the scorer query. Confirm whether sanitization was relocated or is now absent, and if absent, re-apply sanitize_scorer_input to each field before formatting the query.