UNPKG

agentfootprint

Version:

The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.

21 lines (20 loc) • 1.22 kB
/** * Meanings for application-authored outer JSON context fields. String values * and the frozen record are immutable; they describe a convention, not a schema. * Nothing reads or injects these fields automatically. */ export declare const CONTEXT_FIELD_MEANINGS: Readonly<{ readonly objective: "Task goal, not a result or permission."; readonly completionRequirements: "Required conditions; not yet satisfied. Report gaps."; readonly scope: "Subject, population, filters, window, version and units bound claims."; readonly facts: "Sourced, scoped assertions, not universal truths; unknown is not zero."; readonly limitations: "Bound conclusions: absence is not healthy; no conflict is not complete."; readonly evidenceRefs: "Pointers, not evidence. Resolve with authorized access and current scope."; readonly nextSteps: "Proposals, not executed actions and not authorization."; readonly domainDefinitions: "Term and unit meanings, not observations."; }>; /** * Opt-in guidance for `.system(...)` or `defineSteering({ prompt: ... })`. * Does not parse JSON, resolve references, validate answers or enforce trust. */ export declare function contextContractForModel(): string;