/** * PR Remember Handler * * Saves notes about PRs to memory with appropriate tags. * Enables learning capture from PR reviews. * * @see .dev/features/github-pr.md for full specification */ import type { IGithubClient } from '../../../domain/interfaces/dal/IGithubClient'; import type { IMemoryWriter } from '../../../domain/interfaces/IMemoryService'; /** * Options for PR remember operation. */ export interface IPrRememberOptions { /** Repository in owner/repo format. Uses current repo if not provided. */ readonly repo?: string; /** PR number. */ readonly prNumber: number; /** Note to save about the PR. */ readonly note: string; } /** * Result from PrRememberHandler. */ export interface IPrRememberResult { readonly success: boolean; readonly message: string; /** PR details. */ readonly pr?: { readonly number: number; readonly repo: string; readonly title: string; }; /** Fact that was saved. */ readonly fact?: string; /** Tags applied to the fact. */ readonly tags?: readonly string[]; } /** * Handler for saving PR notes to memory. */ export declare class PrRememberHandler { private readonly githubClient; private readonly memoryService; constructor(githubClient: IGithubClient, memoryService: IMemoryWriter); /** * Save a note about a PR to memory. * * Fetches PR details from GitHub and saves the note with * github:pr and github:pr: tags. */ execute(options: IPrRememberOptions): Promise; } //# sourceMappingURL=PrRememberHandler.d.ts.map