/** * LearningBridge — Connects pipeline outcomes to the LearningHistory flywheel * * Creates LearningEntry records from pipeline outcomes so the trust manager * can track agent performance and promote trust levels over time. */ import type { LearningEntry } from '../types.js'; import type { LearningHistory } from '../knowledge-graph/learning-history.js'; import type { PipelineState } from './types.js'; export declare class LearningBridge { private learningHistory; constructor(learningHistory: LearningHistory); /** * Record the outcome of a complete pipeline run. * * Creates LearningEntry records for: * - Each push-back decision (accepted/rejected/modified at the gate) * - Code reviewer iterations (improvement patterns) * - Quality gate pass/fail * - Overall pipeline completion */ recordPipelineOutcome(state: PipelineState): void; /** Record push-back gate decisions */ private recordGateDecisions; /** Record code review iteration outcomes */ private recordReviewOutcome; /** Record quality gate pass/fail */ private recordQualityGateOutcome; /** Record overall pipeline result */ private recordPipelineCompletion; /** * Get learning insights relevant to a component being built. * Queries LearningHistory for entries tagged with 'pipeline'. */ getRelevantLearnings(componentName: string): LearningEntry[]; } //# sourceMappingURL=learning-bridge.d.ts.map