reflect_comment
Deterministically validates a positioned comment by checking line alignment and code existence in the diff, returning keep or drop without LLM calls.
Instructions
Deterministic validation of a positioned comment. Returns keep or drop. Does not call LLM. Three checks: line_in_hunk, existing_code_found, existing_code_in_diff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| repo | No | Repo path, default: cwd | |
| content | Yes | ||
| diff_ref | No | Default HEAD; pass from get_review_targets | |
| end_line | Yes | From position_comment | |
| start_line | Yes | From position_comment | |
| existing_code | No | Code snippet the comment references |