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 • 556 B
JavaScript
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. */
export function eligibleNoReadClaim(claim) {
return !INCIDENTAL.some((words) => words.length === claim.tokens.length &&
words.every((word, index) => claim.tokens[index]?.text === word));
}
//# sourceMappingURL=noRead.js.map