{
    "version": "1.0.0",
    "lastUpdated": "2025-12-22",
    "categories": {
        "redundant_function_descriptions": {
            "description": "Comments that repeat what the function name already states",
            "patterns": [
                "// This function calculates the sum",
                "// The following function returns",
                "// This method does the following",
                "// Function to calculate",
                "// Helper function for",
                "// Utility function that",
                "// This function will",
                "// This method will",
                "// This function performs",
                "// This method performs",
                "// Get the [something] value",
                "// Set the [something] value",
                "// Calculate the [something]",
                "// Check if [something]",
                "// Validate the [something]"
            ],
            "removalStrategy": "replace_with_concise",
            "contextHint": "obvious_functionality",
            "replacements": {
                "This function calculates the sum": "// Calculate sum efficiently",
                "Get the [something] value": "// Access [something]",
                "Set the [something] value": "// Update [something]",
                "Helper function for": "// Implementation of [action]",
                "This function performs": "// Executes [action]"
            }
        },
        "self_evident_comments": {
            "description": "Comments that explain what is already obvious from code",
            "patterns": [
                "// The following code",
                "// Here we are",
                "// This is where we",
                "// Now we will",
                "// At this point",
                "// This section contains",
                "// Below is the code for",
                "// The code below shows",
                "// This implementation uses",
                "// In the example provided",
                "// As you can see from the code",
                "// This variable holds",
                "// This array contains",
                "// This object represents",
                "// This loop iterates over",
                "// This condition checks if"
            ],
            "removalStrategy": "conditional",
            "contextHint": "obvious_explanation",
            "condition": "remove_when_no_additional_context",
            "preserveWhen": [
                "explains architectural decision",
                "explains performance optimization",
                "explains security consideration",
                "explains non-obvious behavior",
                "explains complex algorithm choice"
            ]
        },
        "todo_and_markers": {
            "description": "Important development markers that should never be removed",
            "patterns": [
                "TODO:",
                "FIXME:",
                "HACK:",
                "NOTE:",
                "WARNING:",
                "XXX:",
                "BUG:",
                "PERF:",
                "REVIEW:",
                "// TODO:",
                "// FIXME:",
                "// HACK:",
                "// NOTE:",
                "// WARNING:",
                "// XXX:",
                "// BUG:",
                "// PERF:",
                "// REVIEW:"
            ],
            "removalStrategy": "preserve",
            "contextHint": "development_marker"
        },
        "license_and_authors": {
            "description": "Copyright and attribution information",
            "patterns": [
                "// Copyright",
                "// (c)",
                "// Licensed under",
                "// Author:",
                "// Created by",
                "// Modified by"
            ],
            "removalStrategy": "preserve",
            "contextHint": "legal_attribution"
        },
        "excessive_detail": {
            "description": "Overly detailed explanations of simple operations",
            "patterns": [
                "// Declare a variable to store the result",
                "// Initialize the counter variable",
                "// Loop through each element",
                "// Return the calculated value",
                "// Check if the condition is true",
                "// Set the property to the new value"
            ],
            "removalStrategy": "conditional",
            "contextHint": "obvious_implementation",
            "condition": "remove_when_operation_is_standard"
        }
    },
    "qualityGuidelines": {
        "preserve": [
            "Error handling rationale",
            "Performance optimizations explanations",
            "Security considerations",
            "Complex algorithm explanations",
            "Architectural decisions",
            "Edge case handling",
            "Non-obvious business logic",
            "External dependencies rationale"
        ],
        "remove": [
            "Restating variable names in comments",
            "Explaining language syntax",
            "Repeating function signatures",
            "Describing obvious loops or conditions",
            "Self-evident variable declarations"
        ]
    },
    "metadata": {
        "totalPatterns": 37,
        "categoriesWithPreservation": 2,
        "categoriesWithConditionalRemoval": 2,
        "categoriesWithCompleteRemoval": 1,
        "lastReviewDate": "2025-12-22"
    }
}
