data-cap
    Preparing search index...

    Interface GetEvidenceModelResult

    The result of getEvidenceModel.

    interface GetEvidenceModelResult {
        evidence: EvidenceModel;
        missReason: string | undefined;
        source: "hit" | "miss";
    }
    Index
    evidence: EvidenceModel

    The Evidence Model -- read from the cached artifact on a hit, freshly computed on a miss. Identical in shape either way.

    missReason: string | undefined

    Set only when source === "miss" -- why the cache wasn't trusted, for a caller that wants to log it. Never a silent fallback.

    source: "hit" | "miss"

    "hit" -- the persisted artifact's fingerprint matched current source; read from disk, no recompute. "miss" -- a real computeDataArtifacts() call ran.