agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
9 lines (8 loc) • 561 B
TypeScript
import type { ClaimBinding, ClaimBindingRule, EvidenceSnapshot } from './types.js';
/**
* The model supplies only result/value/rule. Snapshot lineage, rule registry
* and intendedScope are runtime/app inputs. A bound pair is not a verdict.
* JSON-restored snapshots must originate from the caller's verified recording;
* this module validates shape and associations, not signatures or ownership.
*/
export declare function bindClaim(rawClaim: unknown, snapshot: EvidenceSnapshot, rules: readonly ClaimBindingRule[], intendedScope?: unknown): ClaimBinding;