agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
13 lines (12 loc) • 815 B
TypeScript
import type { ClaimBindingRule, EvidenceSnapshot } from './types.js';
export declare function bindingRuleOf(raw: unknown): ClaimBindingRule;
/** Closed coverage admission shared by receipts and saved verification rows. */
export declare function validateCoverage(raw: unknown): void;
/** Validate a detached saved snapshot without evaluating or reconstructing evidence. */
export declare function readEvidenceSnapshot(raw: unknown): EvidenceSnapshot;
/**
* Append a singleton admitted at the SAME snapshot root depth. Reuse only
* owner-proven immutable history; unknown inputs still pass the strict reader.
* The carrier owner separately checks reservation/lineage/ordinal coherence.
*/
export declare function appendEvidenceSnapshot(snapshot: EvidenceSnapshot, singleton: EvidenceSnapshot): EvidenceSnapshot;