DigiVal in under a minute
First the problem, then the answer. Software that is never proven on the real work, or that nobody owns by contract, is wasted money or a risk. DigiVal specifies, proves and releases every system along one V, then keeps it validated.
DigiVal. AI and automation multiply the software a business runs on: bought, built in-house, generated in an afternoon. Most of it is never proven on the real work: delivered, paid for, used, each struck out. Built in-house, with no control: no owner, no service level, no continuity. Every digital system: automated, secured, owned, validated. With DigiVal. The source of truth for every digital system: its development, validation and operation, its feedback and its evolution. Impact assessed, never guessed: patient safety, product quality, data integrity and regulatory compliance answered, Class A, approved by QA. Risk decides how hard it is tested: severity and occurrence give a High priority, so the test is scripted, with evidence and negative tests. Your AI builds and tests it. DigiVal proves it: the developer types /digival, five tests run and pass and write junit.xml, and automated run AR-012 records each as a pass, traced to every requirement, reviewed and e-signed. Signed means sealed. Change it, sign again: an approved requirement specification is edited, a crack runs through its seal, changed since approval. Every change, traced to its commit: the change log lists three changes, each with its version and its commit, closed by QA with an electronic signature and logged in the validation report. One tool to rule them all. DigiVal.
1 · From a request to a released system
Six stages. Each one ends with a person’s e-signature. After the release the record stays alive: reviews and changes flow back into the plan.
A system enters through a Dev Request and is registered together with its validation. QA approves the assessment that sets its impact class. You walk the V once for each part of the system, and the release is a signature. After that, periodic reviews and accepted changes and deviations join the CSV plan on their own. Nothing else puts work there.
2 · The GAMP 5 lifecycle
Validation is not a single event before go-live. GAMP 5 says every computerized system moves through four phases. In each one, you must be able to show the system is under control.
concept
the idea, business need and initial GxP risk assessment.
project
the concept becomes a functional, compliant system.
operation
in production, held compliant by change control, incidents and periodic review.
retirement
controlled decommissioning, data migration and record archiving.
3 · The V-model
The project phase is drawn as a V. Go down the left arm and write specifications, from business need to technical design. Build the system at the bottom. Then go up the right arm and verify each specification with the test that proves it. The pairs across the V are the point. Every specification needs a verification, and every verification traces back to a specification.
The V is not a fixed ritual. It grows with risk. Category 3 needs requirement verification. Category 5 adds the structural specification and unit-level module testing.
Navigating GAMP 5: the V-model infographic
If the diagram does not appear, your browser, an extension or the design’s sharing setting is blocking it. Open it in Canva instead.
Open in CanvaPhases owed
5 of 9 phases
Record the version and qualify the platform. Verification stops at the requirement specification. The layer itself is not functionally tested.
What gets signed
- Validation planonce per validation
- Risk assessmentonce per part
- Requirement specificationonce per part
- Requirements testing protocolonce per part
- Validation report (Word + PDF)at release
Phases owed
5 of 9 phases
Used as supplied, so there is nothing configured to specify. One specification (the RS) and one verification (Requirements Testing), black-box, against intended use.
What gets signed
- Validation planonce per validation
- Risk assessmentonce per part
- Requirement specificationonce per part
- Requirements testing protocolonce per part
- Validation report (Word + PDF)at release
Phases owed
7 of 9 phases
The requirement specification, then the configuration specification and its testing. No structural specification and no unit testing: you do not own the code, and you may rely on the supplier’s own functional testing.
What gets signed
- Validation planonce per validation
- Risk assessmentonce per part
- Requirement specificationonce per part
- Configuration specificationonce per part
- Functional & configuration testing protocolonce per part
- Requirements testing protocolonce per part
- Validation report (Word + PDF)at release
Phases owed
9 of 9 phases
The full V: requirement, configuration and structural specifications. Custom code needs a structural specification, a design review and unit testing, plus a supplier audit and source-code review.
What gets signed
- Validation planonce per validation
- Risk assessmentonce per part
- Requirement specificationonce per part
- Configuration specificationonce per part
- Structural specificationonce per part
- Unit testing protocolonce per part
- Functional & configuration testing protocolonce per part
- Requirements testing protocolonce per part
- Validation report (Word + PDF)at release
Phases owed
7 of 9 phases
No GAMP category assigned yet, so DigiVal assumes a configured (Category 4) path. Categorise the system to fix the extent of verification.
What gets signed
- Validation planonce per validation
- Risk assessmentonce per part
- Requirement specificationonce per part
- Configuration specificationonce per part
- Functional & configuration testing protocolonce per part
- Requirements testing protocolonce per part
- Validation report (Word + PDF)at release
4 · The specification side, level by level
The left arm is a chain of promises. Each one refines the one above it. The business says what it needs. The system says how it will meet that need. Only for custom code, the design says how it is built. Nothing on the right arm may lack a link back to something here. Nothing here should exist without a verification that proves it.
Planning
How much verification does this system need?
The validation plan sets the strategy before any work starts: scope, deliverables, responsibilities, acceptance criteria, and the classification that decides how much verification everything downstream needs.
What it has to contain
- Scope and boundaries: what is in, what is out, which interfaces and which environments are covered.
- The GxP impact class and the GAMP category, each with its justification. These two fix the extent of verification; everything else follows from them.
- Supplier assessment: what you will accept from the supplier and what you will verify yourself.
- The initial risk assessment, the list of deliverables, and who authors, reviews and approves each one.
- The acceptance criteria for release, and how deviations will be graded and handled.
A plan written after the testing is not a plan. Decide the category and the rigor first. That is the decision the rest of the file has to defend.
Verified by Validation Reporting & Release on the other arm of the V.
Requirement Specification
What does the business need, and what functions meet it?
What the system must do to meet the business process, written by the people who do the work, and why they need it, with the functions, workflows and calculations that meet each need. It is the basis of Requirements Testing, so every line has to be verifiable.
What it has to contain
- One requirement per statement, uniquely numbered, and testable as written.
- What the system must do, not how it will do it. The process, the data, the decisions taken and the records that must survive.
- The regulatory requirements stated explicitly as requirements: audit trail, access control, electronic signature, retention, accurate copies. Never left as an assumption.
- Interfaces, data volumes, expected availability, and what must happen when the system is unavailable.
- The functions that meet each need: screens, workflows, calculations, reports, notifications, and the data flow through them.
- The reason behind each requirement, so a reviewer can judge it and a tester knows what "working" means.
If you cannot describe the test, the requirement is not finished. “User-friendly” is not a requirement; “a trained operator records a batch result in under two minutes, with no free-text field for the result” is.
Verified by Requirements Testing & User Acceptance on the other arm of the V.
Configuration Specification
How is the product configured to meet the requirements?
How the product is set up to meet each requirement: every configuration setting applied to it, and which behaviour is the supplier’s standard functionality.
What it has to contain
- Every configuration setting that matters: user roles and privileges, master data, limits and alarm thresholds, numbering, the audit-trail setting, the backup schedule.
- The setting behind each RS function, so the configuration can be traced to the need it serves.
- Which behaviour is the supplier’s standard functionality (which you may accept after assessing them) and which is your configuration (which you must verify yourself).
- For Category 5, the settings of the platform the custom code runs on; the structural specification then describes the code itself.
At Category 4 the configuration is the part you own, so this document is the one your testing is written against. An undocumented setting cannot be verified, and someone will change it eventually.
Verified by Functional & Configuration Testing on the other arm of the V.
Structural / Unit Specification
How is the system structured? What are its modules?
How the system is built technically, so that the code can be reviewed and the units tested: architecture, data model, modules and program units, sometimes down to pseudo-code.
What it has to contain
- Architecture: servers, services, network, and the development, test and production environments.
- The database schema and data model: tables, fields, types, relationships, and the retention rules that apply to each.
- Software modules and program units, and the interfaces between them.
- Algorithms and calculations written out as formulas or pseudo-code, so a reviewer can check the logic rather than trust it.
- Coding standards, error handling and logging: what the code review will be measured against.
Only Category 5 needs this. If you are configuring a supplier’s product, you do not own the design and must not pretend to specify it.
Verified by Structural / Unit Testing on the other arm of the V.
System Build: Configuration & Coding
Build it against the approved specifications.
The system is configured or custom-coded against the approved requirement, configuration and structural specifications. This is the turn of the V: from here on, everything is verification.
What it has to contain
- The configuration is applied and then exported as a baseline, so it can be compared and re-verified after any later change.
- Code, macros and configuration exports go under version control, with the released version uniquely identified.
- Development, test and production are kept separate, and what moves between them is controlled.
- GAMP 5 (2nd edition) expects this to be iterative: test as you build, feed the findings back. The V-model documents stay the master record.
A configuration nobody exported is a configuration nobody can restore or compare. Take the baseline before the testing starts.
How far down do I have to go?
Who writes what
5 · GAMP 5 software categories
The category tells you how much of the software is specific to you, so how much you must verify yourself. The less standard the software, the deeper the validation.
Infrastructure Software
Established software tools and platforms (operating systems, databases, network tooling).
Record version; qualify the platform. No functional testing of the layer itself.
Non-Configured Software
Off-the-shelf software used as supplied, not configured to the business process (COTS, instruments).
Verification focuses on user requirements and intended use. Black-box testing.
Configured Software
Software configured to meet specific business needs (LIMS, ERP, MES, configured spreadsheets).
Validation focuses on the configured aspects and workflows. Supplier assessment expected.
Custom Software
Software specifically designed and coded for a business process, including macro-driven spreadsheets.
Most rigorous: supplier audit, source code review, unit testing, full design traceability.
What each category owes you
The category decides which specifications you write and which verifications prove them. The impact class (next section) decides how deeply each one is tested. It does not decide whether it exists.
| Category | VP | RS | CS | SS | UT | FCT | RT | VSR |
|---|---|---|---|---|---|---|---|---|
| Cat. 1 Infrastructure | — | — | — | — | ||||
| Cat. 3 Non-Configured | — | — | — | — | ||||
| Cat. 4 Configured | — | — | ||||||
| Cat. 5 Custom |
- Category 3: used as supplied. One specification (the RS) and one verification (Requirements Testing). It is black-box testing against the intended use.
- Category 4: configured. It stops at the functional / configuration specification and its testing. No structural specification and no unit testing, because you do not own the code. You may accept the supplier’s own functional testing once you have assessed the supplier.
- Category 5: custom code. The full V, plus a supplier audit and a source-code review.
Equipment follows the site protocol
A spreadsheet follows the site procedure
6 · The initial GxP impact assessment
Done early, in the concept phase before or alongside the RS, and answered against the business process rather than the software. It settles two questions: is this system regulated at all, and if it is, how much verification does it owe. Answering the first honestly is what stops a finance module being validated with the hours the batch-release system needed.
Four pillars are asked in order, and the first one to answer "yes" decides the class:
Safety or quality gives A. Records or the quality system gives B. Indirect support gives C. A no to everything is non-GxP. That needs a written reason and ends validation. The pillar that said yes must be justified in writing.
The questions behind each pillar:
Patient safety
Any yes → Class ACould a failure here reach a patient?
- Does it decide, record or release a batch: its disposition, its dosage, or its fitness for supply?
- Does it hold pharmacovigilance data: adverse events, complaints, or recalls?
- Does it control or monitor something whose failure could reach a patient before anyone noticed?
Product quality
Any yes → Class ACould a failure here reach the product?
- Does it control or monitor a Critical Process Parameter (CPP)?
- Does it determine, calculate or evaluate a Critical Quality Attribute (CQA)?
- Does it produce or hold the analytical or in-process results used to judge whether product is acceptable?
Data integrity & electronic records
Any yes → Class BDoes it hold the record itself?
- Does it create, modify, calculate, store or archive a record a regulation requires you to keep?
- Is it the raw or original record for a GxP activity, the copy an inspector would ask to see?
- Does a signature applied in it stand in place of a handwritten one (21 CFR 11 / Annex 11)?
Regulatory compliance & the quality system
Any yes → Class BDoes it run the quality system, or speak to an authority?
- Does it run a quality-system process: CAPA, change control, deviations, complaints or training?
- Does it produce data sent to an authority or a partner, or read during an inspection?
The process owner is accountable for the assessment. QA approves it independently. The approval is tied to the answers, so changing an answer withdraws it. The assessor is never the approver.
7 · Structure and depth: the category and the class together
The GAMP category and the impact class both scale the validation, but in different ways. The category sets the structure: which levels of specification and verification exist. The class sets the depth: how strictly, deeply and formally each level is done. The class never adds or removes a level of the V. The category never decides how hard a test is. The V above shows the structure each category needs. The table below shows the depth each class asks for.
| Class | Specification | Traceability | Testing | Evidence |
|---|---|---|---|---|
|
Class A
Maximal rigor |
Every specification the category owes, decomposed in full: each function and configuration item stated and testable. | Bidirectional: every GxP requirement traced to an assessed risk and to the tests that prove it. The release waits for both. | Formal scripted testing, steps and expected results approved in advance, wherever the risk is Medium or High or not yet assessed. | Objective evidence captured on every scripted test. |
|
Class B
Moderate rigor |
Every specification the category owes, at the level of the configured functions and the records they hold. | Every testable requirement traced to the tests that prove it. | Scripted wherever the risk is Medium (by sample among similar functions) or High, or not yet assessed. | Captured where a risk is High; elsewhere the approved script and its result are the record. |
|
Class C
Compensatory rigor |
High-level user requirements are enough; what the category owes need not be decomposed exhaustively. | Requirements traced to their tests; no requirement-to-risk linking required. | Unscripted assurance (exploratory, error-guessing or scenario testing with a summary record) unless a risk is High or the requirement is a data integrity control. Custom code is documented and reviewed, then verified unscripted. | A summary record of what was exercised and what happened; evidence only where a risk is High. |
Whatever the class, a second person who holds the QA review permission reviews every executed run. The risk priority (next section) then sets the testing requirement by requirement. Nobody chooses a validation’s rigor. It follows the system’s class and changes with it.
Why they are weighed together
If you use only one of them, you either test too much or leave a gap:
High impact, low category: Class A, Category 3
Low impact, high category: Class C, Category 5
8 · Risk assessment, Low / Medium / High
For each requirement, ask what is at stake and how likely the function behind it is to fail. You answer yes/no questions, not scores. Five questions give the severity. Four give the probability of occurrence. Together they give the risk level. Then ask how a failure would be noticed, the detectability. That turns the level into the risk priority.
What each priority requires, from the site’s mitigation actions:
| Risk priority | Requirement testing | Functional testing | User training | User manual |
|---|---|---|---|---|
| Not relevant | Not required | Not required | — | — |
| Low | Not required | Not required | Required | Required |
| Medium | Required by sample (or functional testing) | Required by sample (or requirement testing) | Required | Required |
| High | Required | Required, including negative testing, per risk scenario | Required | Required |
A High priority goes one step further. You define a risk scenario for the requirement: the failure, its effect and its root cause. Then you design functional tests that prove the controls for each scenario, instead of testing everything in general. The priority decides whether and how much a requirement is tested. The system’s class decides how formally: scripted with evidence at Class A, scripted at B, unscripted with a summary record at C. A High priority is always scripted.
Risk must change the work
9 · The verification side, level by level
You go up the right arm in the same order you came down the left. Each verification answers the specification opposite it. The names say what they prove. The IQ/OQ/PQ names are shown too, because suppliers and auditors use them. Which ones you need depends on the GAMP category, not on the label, and not on how nervous the system makes you feel.
Structural / Unit Testing
Is the individual code / config correct?
Verifies that the individual software and hardware units function as designed and stay solid against rigorous testing, typically through Installation Qualification (IQ) protocols, to ensure the system was built and installed as designed, so that it installs and integrates correctly in its operating environment.
What it has to cover
- Each code or configuration unit reviewed against the design / unit specification.
- Installed version, build and checksum verified against what was specified.
- Environment prerequisites, interfaces and integration in the operating environment.
Only Category 5 owes this. If the supplier wrote the code, you assess the supplier and accept their unit testing rather than re-deriving it. What you still verify yourself is the installation: version, build, environment and interfaces.
Functional & Configuration Testing
Do the system’s functions work?
Verifies that the configured system functions as specified, without bugs: usually black box, judging outputs against inputs, plus automated regression tests where the system allows them.
What it has to cover
- Configured functionality: business rules, user access levels and security settings. For instance, that the system blocks an unauthorised user from deleting data.
- Critical controls: calculations, data-limit handling, alarm triggers and error-handling routines.
- Security and audit trails: that password controls work, and that every creation, modification and deletion is recorded contemporaneously in a secure, non-editable audit trail.
Test your configuration, not the supplier’s product. Re-testing standard functionality you already accepted from an assessed supplier spends effort where the risk is not, and buries the parts that are actually yours.
Requirements Testing & User Acceptance
Does the system work for the business process, in reference to the RS?
Documented verification that the system is capable of performing its required activities: complete end-to-end workflows executed by real business users following their SOPs.
What it has to cover
- RS alignment: every requirement demonstrably met within the business process.
- End-to-end workflows run by the people who will actually use the system, following their SOPs.
- Expected and unexpected user behaviour: “day in the life” testing.
It has to be the people who will actually use the system, on their own process and their own SOPs. A validation team member clicking the happy path is not user acceptance.
Validation Reporting & Release
Is it fit for intended use?
The report that closes the validation: what was verified, what went wrong, what is still open, and the signed statement that the system is fit for its intended use.
What it has to cover
- Every verification executed, with its result and where the evidence is held.
- Every deviation: its grade, its investigation, its corrective action and its closure. Anything still open needs the justification for releasing anyway.
- The traceability matrix: RS → risk → test → result, with no untraced requirement left unexplained.
- Any test recorded as not applicable, with the reason it did not apply.
- The fitness-for-intended-use statement and the release decision, signed by the quality unit.
A report that says only “all tests passed” is not a report. What an inspector turns to first is the deviations section and the justification for whatever is still open.
How a test is executed and reviewed
- A step passes only if the actual result matches the expected result exactly. Write down what you saw, as you saw it.
- A script passes only if every step passes. One unmet criterion fails the script, even an anomaly that was not in the criteria.
- Capture evidence where the script asks for it. Show the screen that proves the control worked, not a screenshot of you logging in.
- A failure raises a graded deviation before anything else happens. Each re-run gets a number. The failed run stays on the record, linked to its deviation.
- A second person reviews each executed script. DigiVal will not let you review your own run.
Scripted or unscripted? The critical-thinking filter
FDA’s Computer Software Assurance model agrees with GAMP 5 here: do not script every test. Put every requirement through a criticality and risk filter. Spend the scripted, evidenced effort only where a failure could reach patient safety, product quality or data integrity. Most administrative and low-risk features get unscripted assurance. DigiVal applies this filter to every requirement and every test it generates, and shows its reasoning.
How much testing each requirement gets
The critical-thinking filter, applied for you. Override it and write the reason.
Every requirement
Each requirement, with its FMEA score, its category and the system’s impact class.
Scripted
A pre-approved, step-by-step script: each action paired with the exact expected result, executed in order and recorded contemporaneously.
Unscripted
Ad-hoc or exploratory assurance: the feature is exercised against its requirement and the outcome recorded (who, when, what was exercised and what happened) without a step-by-step script.
Scripted, with evidence when a failure could reach patient safety, product quality or data integrity. That means a critical or high risk, a control over the record (data integrity, audit trail, access, signatures, interfaces), or a Class A system. Unscripted assurance for administrative and low-risk behaviour. Try it, record what you did and what happened, and move on.
- Scripted with evidence: a High risk priority, or a Class A system’s control over the record.
- Scripted: the requirement covers data integrity, the audit trail, access, signatures or an interface, or is marked critical.
- Unscripted assurance: usability, performance, reporting or infrastructure behaviour at low risk on a Class C system, a “could have” requirement, or anything that is not GxP-relevant.
- Not sure? A GxP requirement with no risk assessment yet stays scripted until the assessment says otherwise.
- You can always override the filter. Lowering the rigor asks for a reason, and the reason is kept on the test script.
Requirements Testing is never optional
- A step passes only if the actual result matches the expected result exactly. Write down what you actually saw.
- A script passes only if every step passes. A single unmet criterion fails the script, even an anomaly not in the criteria.
- Screenshots are needed where the script asks for evidence, not for proving you logged in or opened a screen.
- Re-executions are numbered runs. The failed run stays on the record, linked to its deviation.
- A different person reviews the executed script. DigiVal will not let you review your own run.
10 · How a deliverable gets signed
DigiVal works the state out each time. It never stores it. Each signature records the SHA-256 fingerprint of the content it was made on, so any edit changes the answer.
To review, Sent back and Changed since approval all wait for the same thing: a reviewer’s signature. A version’s reviewer does not approve it. The validation lead signs neither. A scripted test runs only against an approved protocol.
11 · Deviations
Can lead to a significant risk to patient safety, data integrity or product quality. Blocks the following validation phases and requires immediate corrective action and retest.
Failure to meet the system’s intended use, but does not block the following phases. Needs a high-priority corrective action plan followed up in the validation report.
Neither critical nor major, often formal. Does not block, but still needs a corrective action plan and follow-up.
12 · Data integrity: ALCOA+
Attributable
Who did it, and when.
Legible
Readable for its whole retention period.
Contemporaneous
Recorded at the time it happened.
Original
The first capture, or a certified true copy.
Accurate
Correct, with any correction traceable.
Complete
Nothing missing, including re-runs.
Consistent
In sequence, with sane timestamps.
Enduring
Survives for the retention period.
Available
Retrievable when an inspector asks.
13 · 21 CFR Part 11 & EU GMP Annex 11: the clauses you will meet most
| Topic | Part 11 | Annex 11 | What it asks for |
|---|---|---|---|
| Validation | 11.10(a) | §4 | Systems are validated to ensure accuracy, reliability and consistent intended performance. |
| Accurate copies | 11.10(b) | §8 | Records can be produced in human-readable and electronic form for inspection. |
| Record protection | 11.10(c) | §7 | Records are protected and retrievable throughout the retention period. |
| Access control | 11.10(d) | §12 | Access is limited to authorised individuals. |
| Audit trail | 11.10(e) | §9 | Secure, computer-generated, time-stamped audit trails of create, modify and delete actions. |
| Authority checks | 11.10(g) | §12 | Only authorised people can sign, alter records or operate the system. |
| E-signatures | 11.50 · 11.70 | §14 | Signatures show printed name, date/time and meaning, and are bound to their record. |
| Backup | 211.68(b) | §7.1–7.2 | Regular backups, with restore verified. |
| Periodic review | — | §11 | Systems are periodically evaluated to confirm they remain valid. |
| Change control | — | §10 | Changes are made in a controlled manner per a defined procedure. |
14 · Who does what
System Owner
Owns a set of systems: their registry entries, periodic reviews and validations. Sees only their own.
Tester
Executes test scripts on the systems they are assigned to, and raises what they find.
AQ
Independent quality oversight: sees everything and takes the quality decisions, but does not edit the record it judges.
Suppliers often write specifications and test their own software. You do not need to re-test everything. Assess the supplier. Accept their evidence where it is sound. Focus your OQ/PQ on your configuration and your process.
15 · AI-built and AI-tested software
An application an AI assistant generated in an afternoon is Category 5 custom software under GAMP, however small. The code has no supplier, no history, and often no author who fully understands it. That does not make it impossible to validate. It makes discipline matter more, not less.
- Write the RS first, before prompting. The requirements are your contract with the model, and with the auditor.
- Keep the prompts and the generated code under version control. The prompt is part of your design record.
- Demand automated tests that trace to script and requirement IDs. DigiVal’s build brief asks for them.
- Review the code: at least the parts that touch GxP data, calculations, access control and the audit trail.
- Run real Requirements Testing with the people who will use it, on their actual process.
- Put it under change control the moment it is released. Every regeneration is a change.
How DigiVal runs the loop
Developers’ own tools, AI included, run automated tests. That is the standard way to build and prove custom software. The tools do the work. DigiVal keeps the record a regulator expects.
- Develop from the build brief. Specifications tab → Build brief gives the AI tool every requirement, the test scripts to automate and the naming rule (the script’s ID in the test name,
test_TC_FCT_004_…). It also says what the tool must never do: skip, delete or weaken a failing test. - Test in the pipeline. Unit, functional and configuration tests run from a clean checkout of a tagged version. They write a JUnit XML report.
- Let the pipeline send the report. The CI run that wrote it sends it to DigiVal with GitHub’s identity token, which proves the repository, the commit and the run. Otherwise, Tests tab → Import automated results. Each result becomes a run of the script it names, step by step, with the version, the tools and the report’s fingerprint. A test that names only a requirement becomes a new automated script. A scripted test still needs its protocol approved first.
- Review and sign. Someone who did not import the report reviews every run in it, under one e-signature. A failure is raised as a deviation, like any failed run.
- Review the code. The Standard library’s custom software scripts record the source code review of GAMP 5 Appendix D4 (the reviewer is not the author). They also check the unit and functional suites.
- Trust the tools. Every AI model, framework and pipeline behind the evidence is assessed for adequacy (Annex 11 §4.7) on Build & test tools. Only results from an adequate tool are accepted. A new version is assessed again.
16 · How the AI is kept in check
Think of a control loop. A limiter keeps the output inside safe bounds whatever the input does, but it does not correct the error inside those bounds. That takes a closed loop: a sensor that reads the output and a correction that follows. With an AI, DigiVal’s refusals are the limiter, and the person who signs is the sensor. A sensor nobody checks drifts, so DigiVal also measures it.
1. The limiter: what DigiVal refuses, whatever the AI was told
- An AI never signs. No tool approves, reviews, closes, releases, classifies a system or assesses a tool, and none may ever be added: each of those asks for a password, and an AI has none.
- It works as one person, and no more. It reaches DigiVal with that person’s token (or, for ChatGPT, the access they allowed with their password): their permissions, the records they can see, their name in the audit trail, marked as coming through the AI’s connection.
- Everything it writes is a draft marked as drafted by an AI, which counts only once a person signs the deliverable holding it.
- It cannot repeat the record. A requirement that says what another says, or a script that runs a test another script runs, is refused, naming the one it repeats.
- It cannot bring evidence to a Class A system. An AI could write a test report as easily as run the tests, so a Class A system takes automated evidence only from the pipeline or from a person.
2. The evidence: where a test report came from
A report the CI run sends is from the pipeline: GitHub signs the run’s identity, and only a run on the main or a protected branch counts, where the workflow itself passed review. A report a person uploads, or an AI sends, says so wherever it is read, and its reviewer confirms checking it against the test tool’s own output before signing.
3. The sensor: the person who signs
Each deliverable says how many of its items an AI drafted, and lists them. Its reviewer and its approver each confirm reading every one before their password signs, and the signature records it (“of its 26 items, 12 were drafted by an AI; the signer confirmed reading each one”). The validation report prints it.
4. Checking the sensor
The Approvals tab counts, per validation, the AI’s drafts, how many people then changed in substance and how many they withdrew. Good drafts exist, so a low number proves nothing on its own. A long run of AI drafts signed with none changed is the signal to read more closely before the next signature.
5. What stays with the site
- A procedure for AI in validation: which uses are allowed, what a reviewer of AI drafts must do, and how often the AI’s drafts are checked (DigiVal’s draft is in the repository,
docs/sop/AI-IN-VALIDATION.md, for QA to adopt). - Training of the people who sign AI drafts, recorded like any other.
- What may leave DigiVal: an AI app sends what it reads to its provider. Connect one only where the site allows it.
17 · Using DigiVal, end to end
- 1Plan the year in the CSV plan. Import your planning workbook, then link each activity to its systems and validation.
- 2Register the system in the registry, or find it there. Your inventory is already imported. Pick its type: platform, equipment, spreadsheet or infrastructure.
- 3Run the impact assessment. Answer four pillars about the business process, and QA approves it. The class sets the rigor. The category comes from its own questions: six about the workbook for a spreadsheet, a few about the software for anything else. Equipment is Category 3 and refers to its vendor qualification documents.
- 4Start a validation. The phases your category needs are switched on. The others are marked not required. The standard requirements are already written.
- 5Review the standard requirements. Then describe the business process and let the copilot draft what is specific to you. When you have reviewed the first round, press “Suggest more” for another.
- 6Assess the risks. Ten yes/no answers per risk give its level and priority by the site’s method. The priority decides how each requirement is tested. The copilot can propose failure modes. Accept the ones you agree with.
- 7Create test scripts from the library, from AI drafts, or by hand. The library picks only the checkpoints your workbook or machine needs. Link each script to the requirements it proves.
- 8Send each deliverable through the Approvals tab. The reviewer signs, then the QA approver. Nothing is printed to be signed.
- 9Run each test step by step. Paste screenshots straight into the step as evidence. Raise a deviation for any failure.
- 10Have a second person review each run. Once everything a V-model phase needs is approved, close the phase with your signature.
- 11Check release readiness and sign the release decision. It issues the validation report, the one document to print for the archive.
- 12Operate the system. Periodic reviews and change requests keep it in its validated state.
18 · Rules the code will not bend
- Audit trail. Every record holding GxP data is audited. Audit entries are never updated or deleted, and each chains to the one before by hash.
- Signatures. Approve, review and close all go through the e-signature. DigiVal verifies the person first, then applies the change.
- Independence. Nobody reviews their own test run. QA never approves their own assessment. A Dev Request’s requester never signs it.
- Access. Permissions, never roles. Each applies only to the records the person may see, on every list and every figure.
- Derived, not picked. The GAMP category, the impact class, the rigor and the risk priority all come from a complete set of answers. A partial set is refused, with a count of what is missing.
- Structure and depth. The category decides which phases are needed. The class decides how deeply each one is done. Nobody sets either by hand on a validation.
- AI is a proposal. Copilot output is held back and becomes a record only when a person accepts it. With no API key, DigiVal’s own rules make the proposals.
- Time. Stored in UTC, so the audit trail cannot be rewritten. Shown on the site clock (Africa/Algiers). The audit CSV stays in UTC and says so.
- One report. The validation report is written once and rendered twice, Word and PDF, from the same record at the same moment.
- Nothing is hard-deleted. Deleting a system or validation is signed, soft and restorable, and refused once it holds signed evidence.
19 · Glossary
- CSV
- Computerized System Validation: documented evidence that a system does what it is meant to do, every time.
- GxP
- Good Practice regulations (GMP, GLP, GCP, GDP…) governing regulated product work.
- RS
- Requirement Specification: what the business needs and the functions that meet those needs. It replaced the URS and the FS.
- CS / SS
- Configuration and Structural Specifications: more technical detail added on top of the RS, one step at a time.
- Risk priority
- The risk level (severity × occurrence) adjusted for detectability: High, Medium, Low or Not relevant. It decides how a requirement is tested.
- Rigor
- How deeply you work through the V (maximal, moderate or compensatory). The impact class sets it. Nobody chooses it.
- IQ / OQ / PQ
- Installation, Operational and Performance Qualification: the older names for Design Review & Unit Testing, Functional & Configuration Testing and Requirements Testing. Still what most suppliers and auditors write.
- UAT
- User Acceptance Testing: commonly used as a synonym for PQ.
- Traceability matrix
- The table linking each requirement to its risks, tests and results.
- Validation report
- The one printed record of an electronic validation, issued by the release decision. Older files call it the VSR.
- CAPA
- Corrective and Preventive Action.
- QRM
- Quality Risk Management, per ICH Q9.
- Audit trail
- A secure, time-stamped record of who changed what, when, and what the old value was.