UNPKG

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 • 715 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.eligibleNoReadClaim = void 0; const INCIDENTAL = [['none'], ['no', 'action', 'is', 'needed'], ['tests', '0', 'failed']]; /** Whether a detected clause may note that no native read is recorded. * Compare the detector's normalized tokens; extra words and other clauses * remain eligible. This never declares a claim grounded or an entity resolved. */ function eligibleNoReadClaim(claim) { return !INCIDENTAL.some((words) => words.length === claim.tokens.length && words.every((word, index) => claim.tokens[index]?.text === word)); } exports.eligibleNoReadClaim = eligibleNoReadClaim; //# sourceMappingURL=noRead.js.map