Skip to main content

danglingCitations

@forge/monorepo


@forge/monorepo / backend/src / danglingCitations

Function: danglingCitations()

danglingCitations(parts): readonly CitationPart[]

Defined in: backend/src/citations/index.ts:229

A citation that grounds nothing.

Worth finding, because it is the shape a bug takes: a producer that emitted citations without wiring them to the claims they support leaves an answer that looks cited — markers in a list at the bottom — while no individual statement is traceable, which is the failure REQ-030 exists to prevent.

Parameters

parts

readonly MessagePart[]

Returns

readonly CitationPart[]