{ "@context": "https://schema.org", "@type": "TechArticle", "headline": "How I Built This — GxP Governance Assessment Engine", "url": "https://www.maanasmylavarapu.com/how-i-built-this", "description": "The regulatory reasoning, architectural decisions, and methodological choices behind the GxP Governance Assessment Engine: deterministic decisioning over a model-assisted, human-reviewed knowledge base across 40 system types and 796 cited requirement templates.", "author": { "@type": "Person", "name": "Maanas Mylavarapu", "url": "https://www.linkedin.com/in/maanas-m-89290b1a0/" }, "about": { "@type": "SoftwareApplication", "name": "GxP Governance Assessment Engine", "applicationCategory": "BusinessApplication", "operatingSystem": "Web", "description": "Classifies GxP systems and generates audit-defensible validation governance output. Deterministic decisioning over a model-assisted, human-reviewed regulatory knowledge base; every decision traces to a cited requirement, grounded in 21 CFR Part 11, EU Annex 11, ICH Q10." }, "isPartOf": { "@type": "WebSite", "name": "Maanas Mylavarapu", "url": "https://www.maanasmylavarapu.com" } }

Architecture & Methodology

How the Governance Assessment Engine Was Built

The regulatory reasoning, architectural decisions, and methodological choices behind every component of the engine — documented for evaluators, collaborators, and the regulated industry professionals who need to understand what they’re trusting.

40 system types791 requirement templates7 GxP frameworks19-section adaptive validation plan

01 — The System Type Taxonomy

Why 40 System Types

The 40 system types were derived from first principles: what categories of regulated system exist, and what makes each one materially different from a validation governance standpoint?

The starting point was the regulatory framework landscape. Seven primary GxP frameworks define the regulated operational environment: FDA 21 CFR Part 11, EU Annex 11, ICH Q10, GCP, GLP, GDP, and GMP. Each framework implies different categories of system, different criticality profiles, and different validation requirements.

Within those frameworks, system types were differentiated by four factors:

1

What records the system creates, modifies, or transmits

Determines Part 11 / Annex 11 applicability and the audit trail requirement profile.

2

What process the system supports

Determines GMP, GCP, GLP, or GDP applicability and the criticality tier.

3

What the failure consequence is

Determines the proportional validation approach under CSA / GAMP 5 risk principles.

4

Where the primary risk surface sits

Vendor configuration vs. site-specific configuration changes the validation strategy structurally — not just in degree.

The result is 40 types — enough to distinguish materially different governance requirements, not so many that the taxonomy becomes unmaintainable. Examples of the distinctions that matter:

LIMS vs. eLaboratory Notebook

Both GLP-adjacent. Different criticality profiles and Part 11 applicability warrant separate types and separate template sets.

ERP vs. WMS

Both GMP/GDP. Part 11 exposure and qualification approach are structurally different despite operational overlap.

CTMS vs. EDC Platform

Both GCP. CTMS governs trial logistics; EDC governs data capture with direct regulatory submission implications.

MES vs. Process Historian

Both GMP manufacturing. MES governs execution; Historian governs data retention. Different Annex 11 section profiles.

02 — The 791 Templates

How They Were Derived

791 is not a round number for a reason. It is the current count of requirement statements that have been derived from specific regulatory provisions and mapped to one or more system types.

A template is not a best practice statement. It is a requirement with a traceable regulatory basis and an evidence base in the inspection history of the domain.

The derivation methodology for each template:

1

Read the primary regulatory text

The actual CFR section, Annex paragraph, or ICH guideline text — not a summary or secondary source.

2

Extract the testable obligation

Not the text itself, but the governance requirement the text creates. “Audit trails shall be computer-generated” → requirement for audit trail architecture, completeness, and review evidence.

3

Map to applicable system types

Determine which of the 40 types the obligation applies to and at what criticality weight.

4

Verify against inspection history

Cross-reference against published FDA Warning Letters, 483 observations, and EMA inspection findings in the same domain to confirm the requirement is actively enforced.

Example derivation paths:

21 CFR §11.10(e)

“Secure, computer-generated, time-stamped audit trails” → multiple templates covering audit trail configuration, completeness, and review evidence. Applied to all Part 11-applicable types.

EU Annex 11 §9

More specific than FDA equivalent — requires all GMP-relevant changes and deletions be captured → distinct template set for Annex 11 systems beyond the CFR baseline.

ICH Q10 Section 2.4

Change management obligations → process templates for change control integration, applied particularly to systems managing quality records across their lifecycle.

EU Annex 11 §11

Periodic evaluation requirement → lifecycle review templates that exist in Annex 11 systems but not in pure Part 11 systems — a structural difference between the two frameworks.

03 — The 19-Section Validation Plan

Why 19 Sections, and Why Adaptive

The 19 sections are not arbitrary. Each corresponds to a documentation category that FDA, EMA, or ICH guidance either explicitly requires or expects to see addressed in a validation package. The plan structure is not a template — it is derived from the regulatory obligation profile of each specific system type and assessment context.

SectionRegulatory basisStatus
1. System Overview & Intended UseRequired basis for all risk and validation decisionsAlways present
2. Regulatory Framework ApplicabilityEstablishes which frameworks govern this systemAlways present
3. System ClassificationGxP criticality, Part 11 applicability, GAMP categoryAlways present
4. Risk Assessment SummaryCSA / GAMP 5 proportional validation basisAlways present
5. Supplier AssessmentEU Annex 11 §4.3, ICH Q10 supplier qualificationAlways present
6. Installation QualificationFDA/EU infrastructure verification requirementsAlways present
7. Operational QualificationFunctional verification against user requirementsAlways present
8. Performance QualificationEnd-to-end process verificationAlways present
9. User Requirements SpecificationFormal intended system behavior documentationAlways present
10. Functional RequirementsTraceability to URSAlways present
11. Configuration VerificationSite-specific configuration validationAlways present
12. Data Migration AssessmentConditional: only when historical data is migratedConditional
13. Interface & Integration TestingConditional: only when system integrations existConditional
14. Security & Access Control21 CFR §11.10(d), Annex 11 §12Always present
15. Audit Trail Verification21 CFR §11.10(e), Annex 11 §9 — Part 11/Annex 11 onlyFramework-conditional
16. Backup & Recovery TestingEU Annex 11 §17, FDA data integrity expectationsAlways present
17. Training DocumentationAnnex 11 §2, 21 CFR §211.68 training requirementsAlways present
18. Periodic Review ProtocolAnnex 11 §11, ICH Q10 lifecycle managementAlways present
19. Validation Summary ReportCloses the validation record per FDA/EU expectationsAlways present

Sections 12, 13, and 15 are the adaptive sections. Section 12 generates only when data migration is part of the implementation scope. Section 13 generates only when the system has documented integrations. Section 15 generates only for systems assessed as Part 11 or Annex 11 applicable. This is what “adaptive” means — the plan reflects the actual obligation profile, not a generic template applied uniformly.

04 — Trust Scoring

What the Score Claims and What It Does Not

Trust scores represent the engine’s assessment of a system’s current governance posture relative to its regulatory obligation profile. The score is a deterministic Completeness & Criticality Index — not a calibrated statistical confidence, probability, or compliance determination. It is computed as a fixed function of open requirement findings by criticality (95 − critical_ratio×20 − major_ratio×8), bounded to a 60–95 base, with up to +3 for declared regulatory-framework coverage (hard ceiling 97). The same inputs always produce the same score. It is computed from four inputs:

Documentation completeness

Available system documentation relative to the required documentation set for its system type and framework profile.

Validation currency

Age of the most recent validation activity relative to applicable change control triggers and periodic review obligations.

Open required actions

Outstanding required actions from current or previous assessments that have not been addressed.

Framework alignment

Whether the system’s current validation approach addresses the specific frameworks applicable to its function — not frameworks in general.

WHAT A TRUST SCORE CLAIMS

  • A governance signal indicating where validation attention should be directed
  • A directionally correct, systematically derived posture indicator
  • A basis for prioritising remediation effort across a system portfolio

WHAT IT DOES NOT CLAIM

  • Not a regulatory finding or compliance determination
  • Not a reflection of actual system configuration or testing outcomes
  • Not an audit result or inspection readiness certificate
  • Not a guarantee of inspection success

05 — What Remains Manual

The Honest Accounting

Building this is also an exercise in knowing what not to automate. The engine does not claim to replace the following:

Qualified person judgment in a specific operating context

The engine provides a governance framework. A qualified validation professional applies it to the specific manufacturing process, product portfolio, and regulatory history of a particular organisation. That contextual judgment is irreplaceable.

Test execution and evidence generation

The engine generates test strategy guidance and required evidence specifications. It does not execute tests, observe system behaviour, or generate executed test records.

Regulatory interpretation in novel contexts

When a system type is genuinely novel — a first-generation AI decision support tool in a GMP environment, for example — the engine provides a framework but the specific regulatory interpretation requires expert engagement with the applicable framework authors.

The engine is designed to eliminate the cognitive overhead of routine governance assessment so that qualified professionals can focus their judgment where it genuinely matters. That is a different claim than automating professional judgment entirely.

06 — Next Step

Evaluate It Against Your Environment

The best way to assess whether the engine’s regulatory logic holds up is to run it against a system you know well — one where you already understand the validation requirements and can evaluate whether the output matches what your QA team would produce independently. That is what pilot access is for.