@phren/cli
Version:
Knowledge layer for AI agents - CLI, MCP server, and data layer
19 lines (18 loc) • 928 B
TypeScript
export interface RecallFixture {
phrenPath: string;
projects: string[];
retiredTexts: string[];
}
export interface RankingFixture extends RecallFixture {
/** Each answer's project and the three newer distractor projects its prompt touches. */
distractors: Record<string, string[]>;
}
export declare function buildRecallFixture(root: string): RecallFixture;
/**
* The two score-before-date ranking cases run against this small store, so their dated headings and
* distractor bullets stay clear of every other case. Each answer's latest findings heading is six days
* old; its three distractors' are two, one and zero days old, and share only three invented words.
* The distractors also mention the answer's terms in one-word lines, so those terms are not uniquely
* rare and the distractors still clear the relevance floor.
*/
export declare function buildRankingFixture(root: string): RankingFixture;