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): guide citations with the submitted evidence ranges #109
A provider can return valid Structured Output and still cite an unsubmitted path or line. For example, a Markdown packet can contain src/example.ts:42 even though the only submitted file is packet.md. A single out-of-range finding causes Rebut to return invalid_output with ungrounded_finding in both output formats.
Scope
Give OpenAI and Anthropic the actual citation paths and line spans derived from the validator's evidence. Explain how to cite a Markdown packet and how to report missing evidence.
Keep the additional provider input bounded and include its size in the existing reservation calculation.
Keep grounding checks, bundle hashes, and both public output contracts. Document how callers can preserve original coordinates.
Acceptance criteria
Synthetic fixtures distinguish an embedded source coordinate from a submitted coordinate on both providers and output formats.
File excerpts, new-side diff spans, gaps, and the hint size limit are covered by tests. Existing invalid citations remain rejected.
Typecheck, build, tests, package smoke, and independent review pass before the Draft PR.
Activity