Angular Modernizer
    Preparing search index...

    MCP tool for reviewing collected feedback and extracting insights for AI learning. Reads feedback from the user's project (<projectRoot>/.claude-feedback).

    Pattern Analysis:

    • Success patterns: ≥3 occurrences, ≥80% success rate
    • Failure patterns: ≥2 occurrences
    • Quality trends: Identify degraded quality transformations
    • Outlier detection: Exclude anomalous feedback from learning
    • Analysis insights: kind 'analysis' records grouped by tool and category. They use their own completeness score (tool, claimed, actual, evidence) and never go through the duration/confidence outlier rules.

    Location Support:

    • 'both' (default): the project, plus the platform store when ANGULAR_MODERNIZER_PLATFORM_ROOT is set
    • Automatic session deduplication by sessionId

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    annotations: ToolAnnotations = ...

    Behavior hints for clients (MCP 2025-03-26); hints, not guarantees.

    description: string = ...

    Human-readable description of what the tool does.

    name: string = 'review-feedback'

    Unique tool name.

    title: string = 'Review Feedback'

    Display name for clients (MCP 2025-06-18).

    Methods

    • Execute review-feedback tool to analyze collected transformation feedback

      This method loads feedback sessions from configured storage locations (project, platform, or both), filters and aggregates the feedback, detects patterns (success/failure/quality), excludes outliers, and returns actionable insights for AI learning and improvement.

      Parameters

      • args: Record<string, unknown>

        Tool input arguments conforming to ReviewFeedbackInput interface

        • sessionId

          Optional specific session ID to analyze (default: all sessions)

        • category

          Optional filter by rule category (e.g., 'standalone', 'solid')

        • since

          Optional ISO 8601 date filter for recent feedback

        • analysisType

          Type of analysis: 'success-patterns', 'failure-patterns', 'quality-trends', or 'all'

        • minConfidence

          Minimum confidence threshold 0.0-1.0 (default: 0.7)

        • minCompleteness

          Minimum completeness threshold 0-100 (default: 70)

        • source

          Storage location strategy: 'project', 'platform', or 'both' (default: 'both')

      Returns Promise<ReviewFeedbackOutput>

      ReviewFeedbackOutput containing:

      • sessions: Number of sessions analyzed
      • transformations: Number of valid transformations analyzed (after filtering)
      • successRate: Overall success rate (0.0-1.0)
      • sourcesRead: Array of directory paths where sessions were read from
      • insights: Array of FeedbackInsight objects with detected patterns sorted by confidence
      • qualityWarnings: Array of QualityWarning objects for data quality issues

      Error if feedback storage initialization fails or critical errors occur

      // Analyze all sessions from both locations
      const result = await tool.execute({
      analysisType: 'all',
      minConfidence: 0.8,
      minCompleteness: 80
      });

      // Analyze recent standalone migrations
      const result = await tool.execute({
      analysisType: 'success-patterns',
      category: 'standalone',
      since: '2025-12-01T00:00:00Z',
      source: 'project'
      });
      • Automatically excludes outlier feedback detected by OutlierDetector
      • Deduplicates sessions when reading from multiple locations
      • Pattern detection thresholds: success (≥3 occurrences, ≥80% success), failure (≥2 occurrences)
      • The platform store is read only when ANGULAR_MODERNIZER_PLATFORM_ROOT is set
      • Insights are sorted by confidence in descending order