OptionalartifactsGenerated artifacts.
Optionalfixtures?: { path: string; patterns: string[] }[]Fixture files written.
Optionalrules?: { path: string; ruleIds: string[] }[]Rule files written.
OptionalconfidenceConfidence analysis summary.
Average confidence of all patterns.
Patterns with confidence 0.8 or more.
Patterns with confidence below 0.6.
Patterns with confidence from 0.6 to below 0.8.
Patterns aligned with the style profile.
OptionalgeneratedGenerated rules (if generateRules=true).
true when the rule aligns with the style profile.
Confidence of the rule.
Output folder (ruleOutputPath, default ./learned-rules).
Why the rule was generated.
Generated rule id.
OptionallearningLearning evolution tracking.
OptionalconfidenceImprovement?: numberConfidence gain reported by the knowledge base.
Earlier patterns no longer found.
true when the knowledge base had no earlier scan.
Patterns not seen in earlier scans.
Stability of the patterns compared with earlier scans.
Rate of pattern change between scans.
OptionalstyleShift?: { confidence: number; from: string; to: string }Change of the style profile since the earlier scan.
Confidence of the shift.
Earlier style.
Current style.
Discovered patterns.
OptionalalignsWithStyle?: booleantrue when the pattern matches the detected style profile.
Pattern category.
Estimated complexity.
Optionalconfidence?: numberConfidence score (0 to 1).
OptionalconfidenceExplanation?: stringWhy the confidence has its value.
What the pattern is.
OptionaldominancePercentage?: numberOccurrences per analyzed file, in percent.
Example occurrences.
Pattern id.
Pattern name.
Number of occurrences.
OptionalscanCount?: numberNumber of scans that saw the pattern.
OptionalstyleAlignment?: numberDegree of alignment with the style profile (0 to 1).
OptionalsuggestedRule?: { detection: string; ruleId: string; severity: string }Analysis rule suggested for the pattern.
How the rule would detect the pattern.
Suggested rule id.
Suggested severity.
Optionaltrending?: "rising" | "stable" | "declining"Trend across scans.
Pattern statistics.
Patterns per category.
Patterns per complexity.
Duration in milliseconds.
Number of analyzed files.
Number of patterns found.
OptionalstyleDetected style profile for the codebase.
Detected architecture style.
Preferred change detection strategy.
Confidence of the profile.
Preferred dependency injection style.
Usage share of constructor injection and inject().
Share of constructor injection.
Share of inject().
Most frequent patterns.
Standalone components, NgModules or both.
Class name suffixes and their counts.
Preferred state primitive: BehaviorSubject, signal or both.
Usage share of BehaviorSubject and signal.
Share of BehaviorSubject.
Share of signal.
Detected state management library.
Human-readable summary for LLM consumption.
OptionalvalidationValidation results.
Number of validated patterns.
Quality problems found.
Pattern discovery result.