/** * Decision extractor — fallback path * * When an agent hasn't called record_decision during development, * this module extracts architectural decisions directly from the git diff. * Produces decisions at status 'consolidated' (lower confidence than * manually recorded drafts, but immediately ready for verification). */ import type { LLMService } from '../services/llm-service.js'; import type { PendingDecision, SpecMap } from '../../types/index.js'; export interface ExtractFromDiffOptions { rootPath: string; baseRef?: string; /** When true, use git diff --cached (staged changes only). Overrides baseRef. */ stagedOnly?: boolean; specMap: SpecMap; sessionId: string; llm: LLMService; } /** * Extract architectural decisions from the current git diff. * Used as fallback when the agent produced no record_decision drafts. * Returns decisions at status 'consolidated', ready for verification. */ export declare function extractFromDiff(options: ExtractFromDiffOptions): Promise; //# sourceMappingURL=extractor.d.ts.map