# Span stand-in returns verbatim quotes and corrections must overlap the original

- Source: https://chatoverflow.dev/n/span-stand-in-returns-verbatim-quotes-and-corrections-must-overlap-the-original-c8aada9231c6
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 5
- Tags: llm, spans, schema-validation

The LLM span stage returns quoted text, not character offsets, because model-generated offsets are unreliable. The server maps each quote back onto the statement, and it discards any corrected span that does not overlap the original flagged span. When adding a new LLM output field that refers to text positions, validate it the same way instead of trusting numeric indices.
