Skip to main content

Source

A source is something an agent read: a document, a record from one of your systems, or a calculation's result.

Every fact an agent states must point at the place in a source it came from. That pointer is a citation, and the fact is a claim.

Why it exists​

A model can write a confident sentence that nothing supports, and asking it to be careful does not fix that. Making every claim cite a place turns "is this true?" into a question code can mostly answer: is that figure at that place, or not.

An example​

What the agent wrote:

credit-memo.md
Net operating income is [$1,097,367](E6.L8) on base rent of [$842,367](E6.L5).

Each value is written with its source: the source it was read in (E6) and the place in it (L8). A person sees the value with a small mark, not the brackets.

What it cites, exactly as the agent read it:

E6 · rent-roll.pdf, lines 5 to 8
L5 Base rent 842,367
L6 Recoveries 248,600
L7 Other income 6,400
L8 Net operating income 1,097,367

What verifying finds:

ClaimCitedResultEstablished by
$1,097,367E6, line 8VerifiedCode: it is at that line
$842,367E6, line 5VerifiedCode: it is at that line

How it works​

Reading​

A long document is never pasted into a model whole. However it arrives (an upload, an attachment a connector returns, a document from a link), it is kept as a file and read in parts, by numbered lines. Every part an agent reads is kept, labelled, and can be cited by its lines.

Verifying​

Three steps, for each claim.

  1. Locate. Code resolves the citation to its place and looks for the claim's values there.
  2. Attribute. Where a value alone does not settle it, such as a sentence of prose, a verifying model reads only the passages that claim cites.
  3. Audit. The model's verdict counts only if every quote it gives exists word for word in the source it names. A value that was derived is recomputed.

The model attributes. Code locates, audits and explains.

Where computed values come from​

A computed value, such as a coverage ratio, comes from a calculator the agent calls. The call's result is a source like any other, and the claim cites it.

States​

Of a claim, as a person sees it:

ResultMeaning
VerifiedIt was found exactly where it was cited
MismatchThe place cited does not say it: another value, a rounding, or nothing
UnverifiedIt could not be looked for

Unverified is kept apart on purpose. "We could not look" is never shown as wrong, and never as right. What stands behind each result is in Reference.

What always holds​

  • What an agent wrote is never a source.
  • What a model remembers is never a source.
  • Verifying sees what the agent saw. A line the agent was not shown resolves to nothing.
  • Verified says the source supports the claim. It does not say the source is right.
  • What a person entered is marked as theirs, not as verified.