AEGIS Enforcement Engine

Nothing Ships Without
QA-DC Verification

QA-DC is the quality enforcement layer inside AEGIS. Every code change, configuration, and deployment is validated against organizational standards, security requirements, and compliance controls before it reaches production.

6
Check Categories
100%
Automated
3
Outcome Tiers
0
Manual Gaps

The Gate Between Code and Production

QA-DC sits inside the 8-step AEGIS pipeline. It is the mandatory quality gate — no code bypasses it.

Plan → Architect → Build → ┌──────────────────────────────────────┐
                           │           QA-DC GATE                  │
                           │                                      │
                           │  1. Code Quality    ─── Standards    │
                           │  2. Complexity      ─── Cyclomatic   │
                           │  3. Complexity      ─── Cognitive    │
                           │  4. Tests           ─── Coverage     │
                           │  5. Security        ─── SAST/SCA     │
                           │  6. Documentation   ─── Completeness │
                           │                                      │
                           │  Output: Quality Score + Verdict     │
                           └──────────────────────────────────────┘
                                        │
                           ┌────────────┼────────────┐
                           │            │            │
                      [PASS]       [WARNING]     [FAIL]
                      Continue     Review         Block
                                       │            │
                                  ┌─────┴─────┐  Stop
                                  │           │
                              Reviewed   Rejected
                              Continue   Return

→ Validate → Secure → Approve → Deploy

Six Categories. One Verdict.

Each check produces a score. Scores roll up into an overall Quality Score that determines deployment eligibility.

Code Quality Validation
Standards & Best Practices
Evaluates every code change against organizational coding standards, language-specific best practices, and regulatory requirements. Checks naming conventions, code organization, separation of concerns, and maintainability indicators.
NamingOrganizationSoCReadability
QualitativeScore: 0-100
Cyclomatic Complexity
Path Branching Measurement
Counts independent execution paths through code. Higher = more branching, harder to test, more bugs. Thresholds enforced automatically with tiered responses.
Control FlowBranchingTestability
ThresholdWarning 10 / Error 20 / Block 30
Cognitive Complexity
Human Readability Measurement
Measures difficulty for a human to understand the code. Penalizes deep nesting, control flow disruptions, and interleaved logic. Maps directly to maintenance cost and technical debt.
NestingReadabilityTech Debt
ScoringLower = better
Test Coverage
Automated Quality Evidence
Statement, branch, and path coverage metrics. Minimum thresholds enforced per project. Identifies untested logic, tracks coverage trends over time, and flags regression risks.
StatementBranchPathRegression
CoverageMin threshold: per project
Security Scanning
SAST / SCA / Secrets
Static Application Security Testing, Software Composition Analysis, and secret detection. Critical and high-severity vulnerabilities automatically block production deployment. Integrates with ZEROT zero-trust layer.
SASTSCASecret DetectionAuto-Block
BlockerCritical = Deploy Block
Documentation Check
Completeness Validation
Validates API documentation, Architecture Decision Records (ADRs), change logs, and release notes. Ensures required documentation exists per engineering standard before deployment.
API DocsADRsChangelogsRelease Notes
CompletenessRequired: Yes/No

QA-DC Maps to International Standards

Every QA-DC check category maps to one or more international compliance standards. This is how compliance becomes a byproduct of engineering.

QA-DC CategoryISO 27001SOC 2NISTEU AI Act
Code QualityA.8.28 Secure CodingCC6.1 Logical AccessSSDF PW.1Art. 9 Risk Mgmt
Cyclomatic ComplexityA.8.25 SDLCPI1.1 Processing IntegritySSDF PW.2Art. 9(3) Design Controls
Cognitive ComplexityA.8.25 SDLCPI1.1 Processing IntegritySSDF PW.2Art. 13 Transparency
Test CoverageA.8.29 Security TestingPI1.3 Processing IntegritySSDF PV.1Art. 15 Accuracy
Security ScanningA.8.29 Security TestingCC6.1 SecuritySSDF PW.5 + PW.8Art. 9 Risk Mgmt
DocumentationA.8.18 Use of Priv UtilitiesCC2.1 CommunicationSSDF PO.3Art. 11 Technical Docs

Three Possible Outcomes

QA-DC produces a verdict for every engineering operation. The verdict determines whether code proceeds to the next pipeline stage.

PASS
APPROVED
All checks passed. Quality score meets or exceeds thresholds. Code is cleared for next pipeline stage: Validate.
Auto-ContinueScore LoggedEvidence Generated
PASSNext: Validate
WARNING
REVIEW
Some checks produced warnings. Non-blocking issues flagged. Requires human review before proceeding. May still deploy if reviewer approves.
Human ReviewIssue ListExpedited Path
REVIEWNext: Review
FAIL
BLOCKED
Blocking issues found. Critical security vulnerabilities, quality threshold violations, or missing required documentation. Code is returned to developer.
Deploy BlockedIssues ListedMandatory Fix
BLOCKNext: Return

Not a Linter. Not a Scanner. A Governance Gate.

Tool TypeScopeEnforcementAudit TrailCompliance Mapping
Linters / FormattersCode styleAdvisoryNoneNone
SAST / DAST ScannersSecurity onlyPartialReportPartial
CI/CD PipelinesBuild + DeployConfigurableLogsNone
Manual QAFunctionalAd-hocNotesNone
QA-DCFull stack + complianceMandatory gateLKWWV hash-chainISO/SOC/NIST mapped

Ready to See QA-DC in Action?

QA-DC is part of the AEGIS platform. Request a deployment to experience enforcement-grade engineering quality.