UNPKG

@samiyev/guardian

Version:

Research-backed code quality guardian for AI-assisted development. Detects hardcodes, secrets, circular deps, framework leaks, entity exposure, and 9 architecture violations. Enforces Clean Architecture/DDD principles. Works with GitHub Copilot, Cursor, W

27 lines 1.47 kB
import { SourceFile } from "../../../domain/entities/SourceFile"; import { DependencyGraph } from "../../../domain/entities/DependencyGraph"; import type { AggregateBoundaryViolation, AnalyzeProjectResponse, AnemicModelViolation, ArchitectureViolation, CircularDependencyViolation, DependencyDirectionViolation, EntityExposureViolation, FrameworkLeakViolation, HardcodeViolation, NamingConventionViolation, RepositoryPatternViolation, SecretViolation } from "../AnalyzeProject"; export interface AggregationRequest { sourceFiles: SourceFile[]; dependencyGraph: DependencyGraph; totalFunctions: number; violations: ArchitectureViolation[]; hardcodeViolations: HardcodeViolation[]; circularDependencyViolations: CircularDependencyViolation[]; namingViolations: NamingConventionViolation[]; frameworkLeakViolations: FrameworkLeakViolation[]; entityExposureViolations: EntityExposureViolation[]; dependencyDirectionViolations: DependencyDirectionViolation[]; repositoryPatternViolations: RepositoryPatternViolation[]; aggregateBoundaryViolations: AggregateBoundaryViolation[]; secretViolations: SecretViolation[]; anemicModelViolations: AnemicModelViolation[]; } /** * Pipeline step responsible for building final response DTO */ export declare class AggregateResults { execute(request: AggregationRequest): AnalyzeProjectResponse; private calculateMetrics; } //# sourceMappingURL=AggregateResults.d.ts.map