AspectedAspected
Receipt guide

How to read a receipt.

Every answer that goes through Aspected comes with a receipt: which documents the model was given, which it was not, and why. This page explains every line, how receipts are kept, and how to check them in your own tools, without Aspected.

The receipt records the retrieval step, which is part of how the AI system works: what went into the answer. It does not prove the answer is true. A wrong answer with a receipt points at the document to fix.

The slip, line by line

HeaderThe engine and its version, the index the answer came from, and the configuration version in force: which weights, policies, suspensions and answer rule produced it. The control room lists every version and what changed in it.
Asker · receipt idWho asked, from which department, and the receipt's id (AR-…). If the person's name was erased on request, it reads (erased); department and clearance stay.
A plain vector search would sendWhat a search on the text alone would have handed the model, for contrast. VOID against a line: Aspected did not send that document. On a read-only receipt (an assistant with its own search, such as Copilot) this place shows what that assistant actually cited.
Aspected asks forThe labels sent with the question: a published version, the authoritative source, the partner if the question names one, and recent as of the day it was asked. If the asker used other weights, they are printed here.
Sent to modelEach document the model got, with its distance (lower is closer). The first is split per aspect: content, lifecycle, source, partner and date. A label that matches costs 0.000. The lines plus scale adj. add up to Aspected's own distance.
⚑ flagsA policy in monitor mode that this document tripped: it was sent, and the control room raised a finding.
Withheld by policyHELD: Aspected chose the document, but a policy in block mode or a suspension (S-…) kept it from the model.
Decided byThe aspect that separated the document used from its closest rival, and between how many near-identical documents the choice was made.
Kept outThe most telling documents Aspected found but did not send, each with the aspect it lost on (✕ LOST ON …) and the reason, such as "older version: v2.0, superseded by v3.0".
Total · barcodeHow many documents went to the model out of how many were seen, the model and the time. The barcode is the receipt id; /r/<id> prints the stored receipt again, exactly as it was.

Incidents and overrides

A receipt never changes after it is printed. When something about an answer needs recording, it is added after it, in the same chain:

Keeping receipts

Reading the JSON

Each line of the journal export is one record. The fields an auditor needs:

id · kind · createdAR-… with kind answer, or EV-… with kind incident or override (then receipt names the answer it is about). Time with its UTC offset.
user · channelThe asker's department, role and clearance; the assistant and model, and whether the model runs outside the organisation (external).
config · engine · weightsThe configuration version and its hash; the index, its schema hash and each aspect's multiplier; the weights this answer used.
query.aspectsWhat Aspected asked for on each aspect.
used · withheld · not_usedThe documents sent, held back and kept out, each with its metadata as it was at the time, its distance per aspect and, for not_used, lost_on with the aspect and reason.
content_only · decisionWhat a plain vector search would have sent; which aspect decided and between which documents.
policies_in_forceEach policy's mode at that moment; the hits per document are in policy on each line.
seq · prev · hashThe record's place in the chain, the hash of the record before it, and its own hash.

Verifying the chain, without Aspected

Each record's hash is SHA-256 over the record without its hash, written as JSON with sorted keys and compact separators. The asker's name sits outside the hash, behind a salted commitment (user.name_commit), so a name can be erased without breaking the chain; while the name is there, it must match the commitment. This script checks a journal export:

import hashlib, json, sys

def body(rec):
    b = {k: v for k, v in rec.items() if k != "hash"}
    if "name_commit" in (rec.get("user") or {}):
        b.pop("asked_by", None); b.pop("erased", None)
        b["user"] = {k: v for k, v in rec["user"].items() if k not in ("name", "salt")}
    return json.dumps(b, sort_keys=True, ensure_ascii=False, separators=(",", ":")).encode()

lines = [json.loads(l) for l in open(sys.argv[1], encoding="utf-8")]
records, chain = lines[:-1], lines[-1]["chain"]
prev = chain["anchor"]
for r in records:
    assert r["prev"] == prev, f"the chain breaks before {r['id']}"
    assert hashlib.sha256(body(r)).hexdigest() == r["hash"], f"{r['id']} was changed"
    u = r.get("user") or {}
    if u.get("salt"):
        assert hashlib.sha256((u["salt"] + "|" + u["name"]).encode()).hexdigest() == u["name_commit"], f"name changed in {r['id']}"
    prev = r["hash"]
assert prev == chain["head"], "records are missing at the end"
print(f"{len(records)} records verified, head {prev[:16]}")

Run it as python verify.py aspected-journal.jsonl. A changed, removed or reordered record stops it at that record.

What a receipt does not say

References to the EU AI Act are indicative and describe what the receipt contributes to a deployer's or provider's own obligations. Check them against the legal text and with your counsel.