agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
14 lines (13 loc) • 464 B
TypeScript
import type { TrustBoundaryFact } from './types.js';
export type Projection = {
readonly status: 'ignored';
} | {
readonly status: 'invalid';
} | {
readonly status: 'oversized';
} | {
readonly status: 'fact';
readonly fact: TrustBoundaryFact;
};
/** Single own-data whitelist admission boundary. Never copies/enumerates the source. */
export declare function projectTrustBoundary(event: unknown, reserve: () => number | undefined): Projection;