Rulvar API reference / @rulvar/core / CitationAuditRow
Interface: CitationAuditRow
Defined in: packages/core/src/orchestrator/citation-audit.ts:34
One sampled citation occurrence, before any verdict.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
anchor | string | The raw citation text as it appears in the sentence. | packages/core/src/orchestrator/citation-audit.ts:42 |
anchorOrdinal? | number | Which anchor of a compound sentence this row audits (RV4208, resolver v2 only): zero-based, in sentence order. Resolver v1 samples only a sentence's FIRST anchor, so the field is absent there and on every earlier row. | packages/core/src/orchestrator/citation-audit.ts:53 |
clause? | string | The claim clause NEAREST this row's anchor (RV4208, resolver v2 only): the sentence segment, split at clause boundaries, that contains the anchor. A compound sentence cites three files for three different claims; judging each anchor against the WHOLE sentence asks whether the lines entail claims they were never cited for. | packages/core/src/orchestrator/citation-audit.ts:62 |
endLine? | number | The range end when the citation is path:start-end. | packages/core/src/orchestrator/citation-audit.ts:46 |
excerpt? | string | The resolved lines, L<n>: <text> per line. Absent when the FIRST cited line does not resolve in the host snapshot, which is itself an unsupported verdict: a citation nothing resolves is not provenance (the citedValueValidator doctrine). | packages/core/src/orchestrator/citation-audit.ts:69 |
line | number | - | packages/core/src/orchestrator/citation-audit.ts:44 |
path | string | - | packages/core/src/orchestrator/citation-audit.ts:43 |
row | number | Zero-based row index, the judge's addressing. | packages/core/src/orchestrator/citation-audit.ts:36 |
section | string | The owning H2 marker, or '' for text above the first heading. | packages/core/src/orchestrator/citation-audit.ts:38 |
sentence | string | The citing sentence, verbatim. | packages/core/src/orchestrator/citation-audit.ts:40 |
unit? | CitationExcerptUnit | What resolver v2 excerpted (RV4208): the bounded logical unit's type, its line count, and whether the caps clipped it. Absent under resolver v1, whose window is fixed and self-describing. | packages/core/src/orchestrator/citation-audit.ts:75 |