Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / CitationExcerptUnit

Interface: CitationExcerptUnit

Defined in: packages/core/src/orchestrator/citation-audit.ts:79

The bounded logical unit resolver v2 excerpts (RV4208).

Properties

PropertyTypeDescriptionDefined in
extended?truePresent when the JUDGE-side extended cap resolved this unit (RV4707): the default cap clipped it, and the row was re-resolved at CITATION_UNIT_JUDGE_EXTENSION_FACTOR times the bounds so the judge reads the support the clip used to hide. Stamped by the orchestrator's row mapping, never by the pure resolver; a unit carrying BOTH flags still clips at the extended cap.packages/core/src/orchestrator/citation-audit.ts:102
linesnumberLines the excerpt carries.packages/core/src/orchestrator/citation-audit.ts:91
truncated?truePresent when the line or char caps clipped the unit.packages/core/src/orchestrator/citation-audit.ts:93
type| "section" | "list-item" | "table-row" | "comment-declaration" | "paragraph"'section' a heading plus its body to the next heading; 'list-item' a list marker plus its continuation lines (a comment-internal list item counts, judged on its prefix-stripped text, RV4401); 'table-row' a table row with its header pair when adjacent, or a header anchor with the body it names; 'comment-declaration' a code comment block plus the declaration it documents; 'paragraph' a blank-line-delimited run, the default.packages/core/src/orchestrator/citation-audit.ts:89