MarketAlly.AIPlugin.Extensions/Test.Learning/appsettings.json

138 lines
4.8 KiB
JSON
Executable File

{
"Learning": {
"Git": {
"BranchPrefix": "revolutionary-ai",
"FailedBranchPrefix": "failed-revolutionary",
"CommitterName": "Revolutionary AI Development Assistant",
"CommitterEmail": "ai@revolutionary.system",
"AutoMerge": false,
"RequireCleanWorkingDirectory": true,
"MaxBranchRetentionDays": 30,
"AutoCleanup": true
},
"Security": {
"AllowedFileExtensions": [".cs", ".csproj", ".sln", ".json", ".md", ".yml", ".yaml", ".xml", ".config"],
"ForbiddenDirectories": ["bin", "obj", ".vs", ".git", "node_modules", "packages", ".nuget"],
"EnablePathValidation": true,
"EnableInputSanitization": true,
"MaxFileSizeBytes": 52428800,
"MaxFilesPerSession": 2000,
"EnableAdvancedSecurityScanning": true,
"SecurityScanDepth": 3,
"EnableVulnerabilityDetection": true,
"EnableComplianceChecks": true
},
"AI": {
"EnableSemanticSearch": true,
"EnableEmbeddings": true,
"MaxSearchResults": 25,
"MinSimilarityScore": 0.65,
"MaxContextTokens": 12000,
"EnableContextPreparation": true,
"EnableDependencyTracking": true,
"EnableChangeImpactAnalysis": true,
"MaxContextDepth": 5,
"PreferredPatterns": ["SOLID", "DDD", "Clean Architecture", "Microservices"],
"EnableHistoricalContext": true,
"EnablePredictiveAnalysis": true,
"EnablePatternLearning": true,
"ContextFusionEnabled": true
},
"Performance": {
"MaxConcurrentOperations": 8,
"BatchSize": 25,
"EnableCaching": true,
"CacheExpirationMinutes": 120,
"RetryAttempts": 5,
"RetryDelayMilliseconds": 500,
"EnableProgressReporting": true,
"ProgressReportingIntervalSeconds": 3,
"EnablePerformanceAnalysis": true,
"EnableBottleneckDetection": true,
"MemoryOptimization": true
},
"DevOps": {
"EnablePipelineOptimization": true,
"SupportedPlatforms": ["GitHub Actions", "Azure DevOps", "GitLab CI", "Jenkins"],
"EnableCostAnalysis": true,
"EnableParallelizationAnalysis": true,
"EnableDockerOptimization": true,
"EnableResourceUtilizationAnalysis": true
},
"Architecture": {
"EnableDependencyAnalysis": true,
"EnableCircularDependencyDetection": true,
"EnableSOLIDPrinciplesValidation": true,
"EnableTechnicalDebtAnalysis": true,
"EnableArchitecturePatternValidation": true,
"SupportedPatterns": ["Clean Architecture", "Hexagonal", "Onion", "Layered", "Microservices"]
},
"Context": {
"EnableUnifiedStorage": true,
"EnableEncryption": true,
"EnableStreamingProcessing": true,
"EnableThreadSafeAccess": true,
"StorageCompressionEnabled": true,
"SearchIndexingEnabled": true,
"ContextRetentionDays": 90
},
"Enterprise": {
"EnableTeamCollaboration": true,
"EnableComplianceReporting": true,
"EnableAuditLogging": true,
"EnableRoleBasedAccess": true,
"EnableScalabilityAnalysis": true,
"MaxConcurrentUsers": 500,
"EnableSLAMonitoring": true
},
"Logging": {
"EnableStructuredLogging": true,
"EnableCorrelationIds": true,
"LogLevel": "Information",
"LogToFile": true,
"LogDirectory": "Logs",
"MaxLogFiles": 60,
"MaxLogFileSizeBytes": 209715200,
"EnableMetrics": true,
"EnableTracing": true,
"EnableTelemetry": true
},
"LearningModes": {
"Conservative": {
"Name": "Conservative",
"MaxIterations": 15,
"MaxAttemptsPerFile": 3,
"TimeoutMinutes": 45,
"AllowedApproaches": ["RenameVariable", "AddDocumentation", "FormatCode", "OptimizeImports"],
"RiskThreshold": 0.1,
"MinConfidenceScore": 0.7
},
"Moderate": {
"Name": "Moderate",
"MaxIterations": 35,
"MaxAttemptsPerFile": 4,
"TimeoutMinutes": 90,
"AllowedApproaches": ["RenameVariable", "ExtractMethod", "AddDocumentation", "SimplifyExpression", "FormatCode", "OptimizeImports", "RefactorComplexConditions"],
"RiskThreshold": 0.3,
"MinConfidenceScore": 0.6
},
"Aggressive": {
"Name": "Aggressive",
"MaxIterations": 75,
"MaxAttemptsPerFile": 6,
"TimeoutMinutes": 180,
"AllowedApproaches": ["ExtractMethod", "RenameVariable", "ReduceCoupling", "AddDocumentation", "SimplifyExpression", "FormatCode", "ExtractInterface", "OptimizeImports", "RefactorComplexConditions", "ArchitectureRefactoring"],
"RiskThreshold": 0.5,
"MinConfidenceScore": 0.5
}
}
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information",
"MarketAlly.AIPlugin": "Debug"
}
}
}