GxPHistorian GxP Industrial Historian — Commercial 21 CFR Part 11 Validation Binder

FDA 21 CFR Part 11 • EU EudraLex Annex 11 • ISPE GAMP 5 (2nd Ed.) • FDA Computer Software Assurance (CSA) • Generated: 2026-11-11T02:40:42Z

Overall Validation Verdict
PASS (100% Qualified)
URS Traceability Coverage
21 / 21 Verified (0 Gaps)
Executed IQ / OQ Tests
21 / 21 Passed
Part 11 WORM Audit Chain
168 Linked SHA-256 Rows
Audit Head SHA-256
7021277189c36456e2eb69b8...

Document 01 — Validation Master Plan (VMP)

Document IDVersionEffective Date (UTC)System NameRegulatory ScopeStatus
VMP-GXPHISTORIAN-2026-0011.02026-11-11T02:40:42ZGxPHistorian GxP Industrial Historian (ClickHouse + PostgreSQL Part 11 Control Plane)21 CFR Part 11, EU GMP Annex 11, ISPE GAMP 5 (2nd Ed.), FDA CSAAPPROVED

1. Purpose & Regulatory Scope

This Validation Master Plan (VMP) establishes the Computerized System Validation (CSV) and Computer Software Assurance (CSA) governance framework for the GxPHistorian GxP Industrial Historian deployed at BioCorp Fremont Biomanufacturing Operations. The platform replaces legacy proprietary OSIsoft PI System components with a 4-Pillar open-source architecture engineered for 21 CFR Part 11, EU EudraLex Volume 4 Annex 11, and ALCOA+ data integrity compliance.

2. System Classification (ISPE GAMP 5 Second Edition)

Subsystem PillarComponentGAMP 5 CategoryValidation Strategy
Pillar 1: Edge CollectorTelegraf 1.32 + Disk WAL + Python Deadband WorkerCategory 4 / Category 5Automated IQ + Scripted OQ on Stage 1 Exception/Deadband logic & WAL persistence
Pillar 2: Telemetry ArchiveClickHouse Server 24.8 LTS (MergeTree / AggregatingMergeTree)Category 4Automated IQ on lossless codecs (DoubleDelta, Gorilla) + Scripted OQ on quality >= 192 filtering, LTTB, and interpolation
Pillar 3: Control PlanePostgreSQL 16 + FastAPI (historian-api)Category 4 / Category 5Scripted OQ on PL/pgSQL Part 11 WORM audit triggers, SHA-256 hash chaining, and §11.200 electronic signatures
Pillar 4: Operator HMIGrafana OSS 11.2 + Excel DataLink UDF/Power QueryCategory 4Automated IQ on provisioned datasources/dashboards + OQ on DataLink CSV/JSON parity

3. Roles & Responsibilities

RoleDesignated PersonnelGxP Responsibilities
System OwnerDirector of Manufacturing IT/OTAccountable for system availability, access control, backup/restore drills, and GitOps change control.
Process OwnerHead of Upstream & Downstream MSATDefines User Requirements (URS), engineering units, alarm limits (low_limit, high_limit), and batch Event Frame templates.
Quality Assurance (QA)Lead CSV / Part 11 Qualified Person (qa_approver_01)Approves VMP, URS, Risk Assessment, executes/reviews IQ/OQ evidence, and signs batch/excursion Event Frames.
Validation EngineeringSenior CSV Automation EngineerAuthors and maintains executable pytest IQ/OQ qualification suites and generates the cryptographic validation binder.

4. Validation Lifecycle (IQ → OQ → PQ)

  • Installation Qualification (IQ): Automated verification (test_01_iq_infrastructure.py) of container health, non-default credentials, PostgreSQL extensions (ltree, btree_gist, pgcrypto), ClickHouse lossless compression codecs, and dictionary bridging.
  • Operational Qualification (OQ): Scripted positive and adversarial negative testing (test_02_oq_part11_compliance.py & test_03_oq_historian_core.py) verifying 21 CFR Part 11 WORM immutability, SHA-256 hash chain verification, electronic signature credential challenges, bad quality (quality < 192) rejection, linear vs. LOCF step interpolation, and LTTB peak preservation.
  • Performance Qualification (PQ): Continuous multi-protocol plant telemetry ingestion across 5 GxP tags (101, 102, 103, 301, 401), live Event Frame excursion capture, and Apache Parquet lakehouse exports.

5. Backup, Restore, Disaster Recovery & GitOps Change Control SOP

  • Database & Telemetry Backups: PostgreSQL pi_control_plane (including part11_audit_log) undergoes daily logical pg_dump and continuous WAL archiving to immutable object storage. ClickHouse pi_historian partitions (PARTITION BY toYYYYMM(ts)) are exported to Snappy-compressed Apache Parquet files and backed up via native ClickHouse BACKUP TABLE snapshots.
  • GitOps Change Control (SOP-IT-CHG-014): All infrastructure definitions (docker-compose.yml), database schemas (init-postgres/, init-clickhouse/), and API code (app/main.py, app/pi_parity_engine.py) are version-controlled in Git. Any change requires a pull request, automated execution of the 21-test IQ/OQ pytest suite (100% pass gate), and QA electronic approval prior to production deployment.

6. Hybrid Cloud & Commercial Edition Governance (EU GMP Annex 11 §4.3 & 21 CFR §11.30)

For regulated organizations deploying GxPHistorian Cloud (Managed Single-Tenant Cloud or BYOC Cloud Marketplace across Amazon Web Services, Microsoft Azure, and Google Cloud):

  • Purdue Level 2.5 Edge Autonomy (URS-005): Pillar 1 (edge-collector or pre-qualified GxPHistorian Edge Box DIN-rail IPC) always executes on-premises with a 100 GB local pSLC NVMe Write-Ahead Log (>14-day offline store-and-forward autonomy) and outbound-only TLS 1.3 / mTLS (:8443) transport.
  • Change-Controlled LTS Release Channels (2026.Q4-LTS): Cloud environments never undergo unannounced auto-updates. Every release is promoted to a customer staging environment first, where the 21-test pytest IQ/OQ suite executes automatically and mints a countersigned Validation Summary Report (VSR) prior to production promotion.
  • Quality Technical Agreement (QTA): Governed by the bidirectional Shared Responsibility Matrix in Document 05 (SOUP-GXPHISTORIAN-2026-005), granting annual QA postal/on-site supplier audit rights and guaranteeing 15-year 21 CFR 211.180 WORM retention (AWS S3 Object Lock COMPLIANCE, Azure Immutable Blob Storage, or GCP Bucket Lock).

Document 02 — User Requirements Specification (URS)

Document ID: URS-GXPHISTORIAN-2026-002 | Generated (UTC): 2026-11-11T02:40:42Z | Total Requirements: 21

1. Formal User Requirements Catalog (URS-001 to URS-021)

URS IDRequirement Title & Operational StatementGxP RiskALCOA+ AttributesRegulation RefAcceptance Criteria (FRS)
URS-001Multi-Service Container Infrastructure & Non-Default GxP Security Credentials
The system shall deploy isolated PostgreSQL Control Plane, ClickHouse Telemetry Archive, Edge Collector, FastAPI Control Plane, and Grafana HMI services using non-default authenticated credentials.
MediumAttributable, Contemporaneous21 CFR §11.10(d), EU GMP Annex 11 §12FRS-INFRA-001: All database, API, and HMI endpoints enforce non-default credentials configured via environment variables and pass readiness health checks.
URS-002PostgreSQL 16 Control Plane Extensions & Core GxP Schema Qualification
The PostgreSQL Control Plane shall enable ltree, btree_gist, and pgcrypto extensions and provision tables for asset_templates, assets, tags, event_frames, users, and part11_audit_log.
MediumLegible, Enduring21 CFR §11.10(a), GAMP 5 Appendix M4FRS-PG-002: PostgreSQL 16 initializes ltree, btree_gist, and pgcrypto extensions, GiST hierarchy indexes, and all 6 required GxP tables.
URS-003ClickHouse Lossless Time-Series Compression Codecs Verification
The ClickHouse Telemetry Archive shall store high-frequency sensor data using lossless Delta, DoubleDelta, Gorilla, and T64 codecs layered with ZSTD(1).
LowOriginal, Accurate, Enduring21 CFR §11.10(b), EU GMP Annex 11 §7.1FRS-CH-003: Table pi_historian.sensor_data enforces CODEC(Delta, ZSTD(1)) on tag_id, CODEC(DoubleDelta, ZSTD(1)) on ts, CODEC(Gorilla, ZSTD(1)) on val, and CODEC(T64, ZSTD(1)) on quality and status_code.
URS-004ISA-95 ltree Asset Hierarchy & ClickHouse In-Memory Dictionary Synchronization
The system shall synchronize ISA-95 hierarchical asset paths and tag metadata from PostgreSQL into ClickHouse via an in-memory FLAT dictionary.
MediumLegible, ConsistentISA-95, 21 CFR §11.10(a)FRS-DICT-004: ClickHouse dictionary pi_historian.pg_asset_tags resolves all seeded GxP tags and their ISA-95 asset_path strings from PostgreSQL v_clickhouse_tag_dict.
URS-005Stage 1 Edge Exception/Deadband Filtering & Disk WAL Store-and-Forward Buffer
The Edge Collector shall perform Stage 1 Exception/Deadband filtering (ExcDev and ExcMax) and persist outbound batches in a disk-backed Write-Ahead Log (WAL) buffer.
HighComplete, Original, AvailableALCOA+ (Complete, Original), EU GMP Annex 11 §7FRS-EDGE-005: Telegraf edge-collector configures buffer_strategy='disk' at /var/lib/telegraf/buffer and applies ExcDev/ExcMax deadband filtering accurately.
URS-00621 CFR Part 11 Mandatory Attribution Context Enforcement
All INSERT, UPDATE, and DELETE operations on GxP configuration and batch Event Frame tables shall require authenticated actor_id and change_reason context or be rejected.
HighAttributable, Contemporaneous21 CFR §11.10(e), ALCOA+ (Attributable)FRS-P11-006: PL/pgSQL trigger fn_enforce_part11_audit() raises '21 CFR Part 11 Violation: app.actor_id and app.change_reason are mandatory' when session context is missing.
URS-00721 CFR Part 11 §11.10(e) WORM Audit Trail Immutability
The computer-generated, time-stamped audit trail (part11_audit_log) shall be strictly append-only (Write-Once-Read-Many) and block UPDATE, DELETE, and TRUNCATE operations.
HighOriginal, Enduring, Complete21 CFR §11.10(e), EU GMP Annex 11 §9FRS-P11-007: PL/pgSQL trigger fn_prevent_audit_tampering() unconditionally raises '21 CFR Part 11 WORM Violation: Audit trail records are immutable' on UPDATE, DELETE, or TRUNCATE.
URS-00821 CFR Part 11 §11.200 Electronic Signature Rejection of Unauthorized Credentials
The system shall reject electronic signature attempts with invalid user IDs, wrong passwords, or missing change reasons.
HighAttributable, Accurate21 CFR §11.10(d), §11.200(a)FRS-P11-008: POST /api/v1/event-frames/{event_id}/sign verifies password against pgcrypto bcrypt hash and returns HTTP 401 on invalid credentials without altering the record.
URS-00921 CFR Part 11 §11.50 & §11.70 Electronic Signature Manifestation & HMAC Binding
Signed Event Frames shall record the signer's user ID, timestamp, signature meaning, and cryptographic HMAC-SHA256 signature hash linked to the audit trail.
HighAttributable, Legible, Enduring21 CFR §11.50, §11.70, §11.200FRS-P11-009: POST /api/v1/event-frames/{event_id}/sign authenticates qa_approver_01, binds HMAC-SHA256 over (event_id, user_id, signature_meaning, signed_at), and logs to part11_audit_log.
URS-01021 CFR Part 11 Cryptographic SHA-256 Audit Hash-Chain Verification
Every audit trail entry shall chain the previous record's SHA-256 hash from GENESIS_0000000000000000, and the API shall verify end-to-end cryptographic integrity.
HighOriginal, Accurate, Enduring21 CFR §11.10(e), ALCOA+ (Enduring, Accurate)FRS-P11-010: GET /api/v1/audit-trail/verify recomputes the SHA-256 hash chain across all part11_audit_log records and confirms chain_valid == true.
URS-011Multi-Protocol Telemetry Ingestion (OPC UA, BACnet/IP, Siemens S7, Legacy OPC DA)
The historian shall ingest and normalize real-time telemetry across OPC UA, BACnet/IP, Siemens S7, and legacy Windows OPC DA bridges into ClickHouse.
MediumContemporaneous, Original21 CFR §211.68, ALCOA+ (Contemporaneous)FRS-HIST-011: All 5 multi-protocol tags (101, 102, 103, 301, 401) plus HTTP /ingest batches are archived in pi_historian.sensor_data with UTC millisecond timestamps.
URS-012Bad OPC Signal Quality (quality < 192) Exclusion from GMP Rollups
Telemetry points flagged with Bad (0) or Uncertain (64) OPC quality codes shall be stored in raw history for diagnostics but strictly excluded from 1-minute GMP rollups.
HighAccurate, Consistent21 CFR §211.188, ALCOA+ (Accurate)FRS-HIST-012: Materialized view pi_historian.mv_sensor_rollup_1m filters WHERE quality >= 192, excluding injected quality=0 fault spikes (e.g., val=9999.0) from min/max/avg rollups.
URS-013PI DataLink Parity: Linear Interpolation vs. Discrete Step (LOCF) Sampling
The sampled data endpoint shall linearly interpolate continuous analog tags (is_step_tag=False) and apply Last Observation Carried Forward (LOCF) to discrete step tags (is_step_tag=True).
HighAccurate, Complete21 CFR §11.10(b), GAMP 5FRS-DL-013: GET /api/v1/datalink/sampled computes exact linear midpoints for continuous tags and strict integer LOCF states for step tags without fractional artifacts.
URS-014PI Vision PlotValues Parity: LTTB Visual Downsampling Peak Preservation
Visual trend downsampling shall use ClickHouse largestTriangleThreeBuckets (LTTB) to preserve exact local excursion peaks and valleys.
MediumAccurate, Legible21 CFR §11.10(b)FRS-LTTB-014: GET /api/v1/trends/plot-values preserves the exact timestamp and magnitude of a synthetic spike when downsampling high-density telemetry.
URS-015ISA-88 Event Frame Excursion Capture & Zero-ETL Apache Parquet Lakehouse Export
The system shall automatically detect parameter excursions into Event Frames with summary KPIs and export enriched telemetry to Apache Parquet files with 100% fidelity.
HighAvailable, Enduring, Complete21 CFR §11.10(b), ISA-88FRS-LAKE-015: POST /api/v1/event-frames/evaluate captures excursion metrics in PostgreSQL and POST /api/v1/lakehouse/export-parquet writes a valid Snappy-compressed Parquet file verified via pyarrow.
URS-016Pydantic AI Advisory Deviation Investigator & Read-Only Model Context Protocol (gxphistorian-mcp)
The AI Co-Pilot and MCP Server shall execute all time-series and audit queries deterministically in ClickHouse (WHERE quality >= 192, LINEAR vs LOCF_STEP) and PostgreSQL while loading specialist forensic capabilities on demand.
HighAccurate, Consistent, AvailableISPE GAMP 5 Appendix D11, 21 CFR §11.10(e)FRS-AI-016: POST /api/v1/ai/event-frames/{event_id}/investigate and GET /api/v1/ai/mcp/manifest return a validated DeviationInvestigationBrief with part11-forensics capability and unbroken SHA-256 chain verification.
URS-017Pydantic AI Human-in-the-Loop 21 CFR Part 11 Deferred Tool Approval Gate
Any AI-proposed GxP tag provisioning shall validate engineering bounds via args_validator, pause execution with ApprovalRequired (DeferredToolRequests), and require human approval with X-Actor-Id and X-Change-Reason headers.
HighAttributable, Contemporaneous, Original21 CFR §11.10(e), EU GMP Annex 11 §11, FDA CSAFRS-AI-017: POST /api/v1/ai/copilot/propose-tag pauses with approval_required when approved=False, rejects missing Part 11 headers with HTTP 400, and records WORM audit logs upon approved=True.
URS-018AVEVA PI DataLink & PI Web API StreamSets Analytical Parity (PICurrVal, PIArcVal, PICompDat, PIAdvCalcDat, PITimeFilter)
The system shall provide full analytical parity with AVEVA PI DataLink and PI Web API StreamSets, including current snapshot value, exact-timestamp archive value, compressed recorded values, time-weighted vs. event-weighted summary integration, and condition duration time-filtering.
HighAccurate, Complete, Consistent21 CFR §11.10(b), ALCOA+ (Accurate, Complete)FRS-DL-018: GET /api/v1/datalink/{current,archive-value,recorded,calculated,time-filter} and POST /api/v1/streamsets/{end,interpolated} enforce WHERE quality >= 192 and LINEAR trapezoidal vs. LOCF_STEP weighting.
URS-019PI Analysis Service & GxP Calculation Engine (ICH Q1A MKT, USP <1229> F0 Lethality, SQC SPC & Golden Batch Overlay)
The system shall compute ICH Q1A(R2) Mean Kinetic Temperature (MKT), USP <1229> steam sterilization cumulative lethality (F0), Western Electric Statistical Process Control (SQC) rules, and PI BatchView relative-time Golden Batch comparisons.
HighAccurate, Complete, EnduringICH Q1A(R2), USP <1079>, USP <1229>, FDA Stage 3 CPVFRS-AN-019: GET /api/v1/analytics/{mkt,f0-lethality,sqc} and POST /api/v1/batches/compare compute Arrhenius MKT, F0 lethality minutes, 3-sigma SPC rules, and relative batch time residuals.
URS-020PI Asset Framework Template Auto-Instantiation, Canonical UOM Conversion, Digital State Sets & PI Manual Logger
The system shall support template-driven ISA-95 asset and tag auto-instantiation, canonical UOM conversions, Digital State Sets, and 21 CFR Part 11 manual/lab data entry with dual-person verification.
HighAttributable, Contemporaneous, Original21 CFR §11.10(e), §11.200, EU GMP Annex 11 §6FRS-AF-020: POST /api/v1/assets/instantiate-template, /api/v1/af/uom/convert, /api/v1/af/digital-state-sets, and /api/v1/manual-logger/entries enforce Part 11 attribution, dual-verifier auth, and WORM audit logging.
URS-021Stage 2 Swinging Door Compression, Event Frame TrueFor Debounce Backfill, Multi-Stage E-Signatures & Multi-Channel PI Notifications (Email, SMS, Mobile Push)
The system shall implement Stage 2 Swinging Door Trending (SDT) slope compression, Event Frame historical backfill with TrueFor duration debounce, multi-stage electronic signature chains, and automated multi-channel PI Notifications (Email, SMS, Mobile Push, Webhook) with Escalation Teams, Non-Repetition/Resend intervals, Two-Way SMS ACK, and Send-on-Close.
HighAttributable, Accurate, Available21 CFR §11.50, §11.200, ISA-88, ISA-18.2FRS-EF-021: POST /api/v1/compression/swinging-door-evaluate, POST /api/v1/event-frames/backfill, GET /api/v1/event-frames/{id}/signatures, and /api/v1/notifications/{channels,rules,preview,evaluate,acknowledge,sms-webhook,deliveries} verify SDT compression, TrueFor spike suppression, multi-signer chains, and multi-channel alert dispatch.

Document 03 — Functional & Design Specification (FDS)

Document ID: FDS-GXPHISTORIAN-2026-003 | Effective Date (UTC): 2026-11-11T02:40:42Z


1. 4-Pillar System Architecture

  • Pillar 1 — Multi-Protocol Edge Collector (edge-collector):
  • Built on telegraf:1.32-alpine with buffer_strategy = "disk" at /var/lib/telegraf/buffer (metric_buffer_limit = 1000000).
  • Exposes [[inputs.http_listener_v2]] on :8080/ingest for Windows localhost COM OPC DA forwarders (opcda_windows_forwarder.py) and async bacpypes3 BACnet/IP workers (bacnet_cov_worker.py).
  • Executes multi_protocol_simulator.py via [[inputs.execd]] implementing Stage 1 Exception/Deadband filtering (ExcDev and ExcMax) and Stage 2 Swinging Door Trending (CompDev and CompMax).
  • Pillar 2 — Immutable Telemetry Archive (clickhouse-archive):
  • clickhouse/clickhouse-server:24.8-alpine database pi_historian.
  • Table pi_historian.sensor_data (ENGINE = MergeTree() PARTITION BY toYYYYMM(ts) ORDER BY (tag_id, ts)):
  • tag_id UInt32 CODEC(Delta, ZSTD(1))
  • ts DateTime64(3, 'UTC') CODEC(DoubleDelta, ZSTD(1))
  • val Float64 CODEC(Gorilla, ZSTD(1))
  • str_val LowCardinality(String) DEFAULT '' CODEC(ZSTD(1))
  • quality UInt8 DEFAULT 192 CODEC(T64, ZSTD(1))
  • status_code UInt16 DEFAULT 0 CODEC(T64, ZSTD(1))
  • Real-time 1-minute rollup table pi_historian.sensor_rollup_1m (AggregatingMergeTree()) populated by mv_sensor_rollup_1m (WHERE quality >= 192).
  • In-memory dictionary pi_historian.pg_asset_tags (LAYOUT(FLAT()) LIFETIME(MIN 5 MAX 15)) and external table pi_historian.pg_event_frames.
  • Pillar 3 — PostgreSQL 16 Part 11 Control Plane, FastAPI, AVEVA PI Parity Engine & Pydantic AI / MCP (postgres-control + historian-api):
  • PostgreSQL 16 extensions: ltree, btree_gist, pgcrypto.
  • Tables: asset_templates, assets (GiST index on asset_path), tags, event_frames, event_frame_templates, event_frame_signatures, digital_state_sets, manual_logger_entries, notification_rules, notification_deliveries, users, and part11_audit_log.
  • Trigger fn_enforce_part11_audit() enforces current_setting('app.actor_id', true) and current_setting('app.change_reason', true) and computes row_hash = encode(digest(prev_hash || recorded_at::text || actor_id || operation || coalesce(new_payload::text, ''), 'sha256'), 'hex').
  • Trigger fn_prevent_audit_tampering() blocks UPDATE, DELETE, and TRUNCATE on part11_audit_log.
  • AVEVA PI System Parity Engine (pi_parity_engine.py) provides full PI DataLink (PICurrVal, PIArcVal, PICompDat, PIAdvCalcDat, PITimeFilter), PI Web API StreamSets, GxP calculations (MKT, F0, SQC), Golden Batch overlay, AF Template auto-instantiation, UOM conversion, PI Manual Logger, TrueFor Event Frame backfill, multi-stage e-signatures, and PI Notifications.
  • Pydantic AI Co-Pilot (gxp_ai_agent.py) & gxphistorian-mcp (mcp_server.py) provide read-only deterministic tools, progressive disclosure capabilities (part11-forensics, brownfield-onboarding), and human-in-the-loop ApprovalRequired (DeferredToolRequests) Part 11 change control.
  • Pillar 4 — Operator HMI & Excel DataLink (grafana-vision + excel-datalink-client):
  • Grafana OSS 11.2.0 pre-provisioned with clickhouse_core and postgres_control datasources and the asset-relative dashboard GxPHistorian Vision — GxP Bioreactor & Cleanroom HMI.
  • Excel DataLink UDF module (gxphistorian_datalink_udf.py) with 8 worksheet functions and native Power Query CSV endpoint (/api/v1/datalink/sampled?format=csv).

Document 04 — FDA CSA Functional Risk Assessment (FRA)

Document ID: FRA-GXPHISTORIAN-2026-004 | Generated (UTC): 2026-11-11T02:40:42Z | Methodology: ISPE GAMP 5 & FDA Computer Software Assurance (CSA)

1. Functional Risk Assessment Matrix

URS IDFailure Mode / GxP HazardFMEA ScoreCSA Risk ClassRequired Testing RigorTechnical Control & Verification Reference
URS-001Unauthorized network access using default vendor credentialsS=3, O=1, D=1MediumAutomated IQ VerificationNon-default secrets in .env verified by IQ test_iq_01
URS-002Missing database extensions or corrupted control plane schemaS=3, O=1, D=1MediumAutomated IQ VerificationAutomated DDL init script + IQ schema inspection test_iq_02
URS-003Uncompressed storage exhaustion or lossy float precision lossS=2, O=1, D=1LowAutomated IQ VerificationLossless Gorilla/DoubleDelta codecs verified via system.columns in test_iq_03
URS-004Stale or unmapped ISA-95 asset path in analytical queriesS=3, O=2, D=1MediumAutomated IQ VerificationClickHouse FLAT dictionary with 5-15s refresh verified in test_iq_04
URS-005Telemetry loss during temporary ClickHouse or network outageS=4, O=2, D=1HighScripted OQ / IQ VerificationTelegraf disk WAL buffer (/var/lib/telegraf/buffer) + ExcDev/ExcMax verified in test_iq_05
URS-006Unattributed modification of GxP tag limits or Event FramesS=5, O=2, D=1HighScripted OQ (Negative & Positive Testing)PL/pgSQL fn_enforce_part11_audit() blocks mutations lacking actor_id/change_reason (test_oq_01)
URS-007Malicious DBA or superuser deletion/alteration of audit trailS=5, O=1, D=1HighScripted OQ (Adversarial Tamper Challenge)BEFORE UPDATE/DELETE/TRUNCATE WORM trigger fn_prevent_audit_tampering() (test_oq_02)
URS-008Spoofed or unauthorized electronic signature on Batch Event FrameS=5, O=2, D=1HighScripted OQ (Negative Security Testing)pgcrypto bcrypt password verification returns HTTP 401 on invalid password (test_oq_03)
URS-009Detached or repudiated electronic signature on batch releaseS=5, O=1, D=1HighScripted OQHMAC-SHA256 signature binding over (event_id, user_id, meaning, signed_at) (test_oq_04)
URS-010Undetected offline tampering of historical audit trail rowsS=5, O=1, D=1HighScripted OQContinuous SHA-256 hash chain from GENESIS_0000000000000000 verified via API (test_oq_05)
URS-011Protocol silo dropping OPC DA, BACnet/IP, S7, or OPC UA tagsS=3, O=2, D=1MediumAutomated OQ VerificationUnified multi-protocol collector verified across tags 101, 102, 103, 301, 401 (test_oq_06)
URS-012Broken sensor spike (quality=0, val=9999.0) corrupting batch CQA averagesS=5, O=3, D=1HighScripted OQ (Fault Injection Challenge)Mandatory WHERE quality >= 192 filter in mv_sensor_rollup_1m verified by fault injection (test_oq_07)
URS-013Linear interpolation creating invalid fractional states (1.5) on discrete valve/agitator tagsS=4, O=2, D=1HighScripted OQ (Mathematical Boundary Verification)Metadata-driven LOCF step vs. LINEAR interpolation in /api/v1/datalink/sampled (test_oq_08)
URS-014Visual trend downsampling hiding brief critical thermal excursion spikesS=4, O=2, D=1MediumScripted OQClickHouse largestTriangleThreeBuckets(LTTB) preserves exact local peaks (test_oq_09)
URS-015Corrupted or incomplete batch telemetry export to enterprise data lakehouseS=4, O=1, D=1HighScripted OQPyArrow Snappy Parquet export verified for 100% row/column fidelity (test_oq_10)
URS-016AI agent hallucinating time-series statistics or ignoring OPC quality < 192S=4, O=2, D=1HighScripted OQ (Deterministic FunctionModel & TestModel Qualification)All telemetry math executed deterministically in ClickHouse via Pydantic AI tools & gxphistorian-mcp (test_oq_11)
URS-017Autonomous AI agent mutating GxP tag catalog without human Part 11 attributionS=5, O=2, D=1HighScripted OQ (Negative & Positive Human-in-the-Loop Gate Testing)Pydantic AI ApprovalRequired (DeferredToolRequests) + mandatory X-Actor-Id/X-Change-Reason gate (test_oq_12)
URS-018Event-weighted averaging distorting non-uniformly sampled process totals or durationsS=4, O=2, D=1HighScripted OQ (Mathematical Integration & Boundary Verification)Trapezoidal & LOCF time-weighted integration in /api/v1/datalink/calculated & time-filter (test_oq_13)
URS-019Inaccurate stability MKT or autoclave F0 lethality calculation leading to invalid batch releaseS=5, O=2, D=1HighScripted OQ (Pharmacopeial Formula & SPC Verification)ClickHouse ICH Q1A MKT, USP <1229> F0, Western Electric SQC & Golden Batch overlay (test_oq_14)
URS-020Unverified manual lab entry or unit conversion error corrupting GxP batch recordsS=5, O=2, D=1HighScripted OQ (Positive & Negative Dual-Verification Testing)Part 11 Manual Logger dual-verification, canonical UOM dimension checks & AF template instantiation (test_oq_15)
URS-021Single-sample sensor noise triggering nuisance excursion alarms or overwriting prior e-signaturesS=4, O=2, D=1HighScripted OQStage 2 Swinging Door compression, TrueFor debounce backfill, multi-stage signatures & PI Notifications (test_oq_16)

Document 05 — SOUP / Open-Source Software (OSS) Vendor Qualification Dossier

Document ID: SOUP-GXPHISTORIAN-2026-005 | Generated (UTC): 2026-11-11T02:40:42Z | Standard: GAMP 5 Category 3/4 & ISO/IEC 62304 SOUP Qualification

1. Qualified Open-Source Software & Live Container SHA-256 Digest Matrix

Service ContainerSoftware ComponentLicenseCorporate / Foundation BackingGAMP CategoryLive Container Image @sha256 DigestSupply-Chain & GxP Controls
clickhouse-archiveClickHouse Server 24.8 LTSApache-2.0ClickHouse, Inc.Category 4 (Configured Time-Series Archive)sha256:b002e56ed5c16e224c312527f6fcba7e77216fec5d7a88a7828f59efc614feb5Alpine 3.20 minimal base, pinned @sha256 digest, read-only init mounts, non-default auth
postgres-controlPostgreSQL 16 (ltree + pgcrypto)PostgreSQL License (OSI Approved)PostgreSQL Global Development GroupCategory 4 (Configured Relational Control Plane)sha256:0cefaabd882e42bcb2a2f3dc56d3ce4770560ba62fd7f197f1a2e008fd5731abAlpine minimal image, cryptographic pgcrypto SHA-256 & bcrypt triggers, WORM enforcement
instrument-mock-serverMulti-Protocol Biopharma Instrument Mock Server (OPC UA / Modbus / BACnet / S7 / Serial / OPC DA)MIT / Apache-2.0GxPHistorian / Python Software FoundationCategory 5 (Multi-Protocol Qualification Simulator)sha256:9f4f81952a21b788e256f6fb4b873ec77e9d32798c430fb84a7a987839a9cb3aIsolated Docker network listeners (:4840, :5020, :47808/udp, :1102, :4001, :8095), deterministic wire-format verification
edge-collectorInfluxData Telegraf 1.32 + Python 3.12 Execd WorkerMIT License / PSF LicenseInfluxData / Python Software FoundationCategory 4 / Category 5 (Custom Deadband Script)sha256:9de1dcae40fc61806c658969e09fd86aacc5f582955dfb96ede1378cce7b6ae3Disk-backed WAL (/var/lib/telegraf/buffer), local localhost COM/HTTP isolation
historian-apiFastAPI 0.115 / Uvicorn / PyArrow 17 / Psycopg 3MIT / Apache-2.0 / LGPL-3.0FastAPI / Apache Software FoundationCategory 5 (Custom GxP Application Layer)sha256:96fb56029e8fd8b05b72abdd1acfc1151b338b76dac180dc25390b747b0bfea0Pinned requirements.txt versions, mandatory Part 11 header enforcement, 100% OQ test coverage
gxphistorian-mcpPydantic AI 2.0 + FastMCP Streamable HTTP ServerMIT / Apache-2.0Pydantic Services Inc. / Prefect TechnologiesCategory 5 (Advisory AI Co-Pilot & MCP Server)sha256:c62392606c8d6cf57cd4167d53aff39afc78a199b11c3810ddaeb19c362d2d62Read-only quality >= 192 queries, ApprovalRequired Part 11 mutation gate, zero e-signature bypass
grafana-visionGrafana OSS 11.2.0 + ClickHouse Datasource PluginAGPL-3.0 / Apache-2.0Grafana LabsCategory 4 (Configured HMI Visualization)sha256:408afb9726de5122b00a2576763a8a57a3c86d5b0eff5305bc994ceb3eb96c3fRead-only provisioned datasources, non-default admin credentials, zero direct DB write privileges

2. EU GMP Annex 11 §4.3 Cloud Supplier Qualification & Quality Technical Agreement (QTA) Schedule

Regulatory ClauseCloud IaaS/PaaS Provider (AWS / Azure / GCP)GxPHistorian Cloud Control Plane (Managed or BYOC)Regulated Pharmaceutical User (QA / OT / MSAT)
21 CFR §11.30 Open System ControlsPhysical data center perimeter, Direct Connect / ExpressRoute / Interconnect fiber encryption, FIPS 140-3 KMS HSMsEnforces outbound-only TLS 1.3 / mTLS (:8443) from Purdue L2.5 edge-collector, PG_SSLMODE=verify-full, and CH_SECURE=trueApproves plant firewall outbound rule (:8443) and manages corporate IdP (Okta / Entra ID) user lifecycle
21 CFR §11.10(e) & ALCOA+ Contemporaneous CaptureMulti-AZ compute, NVMe block durability, and private VPC/VNet routingMonitors Purdue L2.5 100 GB Telegraf Disk WAL (>14-day autonomy per URS-005) via /api/v1/cloud/edge-agents/heartbeatMaintains physical power/UPS to Purdue L2.5 DIN-rail Edge Box (Advantech UNO-2484G / OnLogic Karbon 800)
21 CFR 211.180 & EU Annex 11 §17 15-Year WORM RetentionHardware-enforced object immutability (AWS S3 Object Lock COMPLIANCE, Azure Locked Immutability, GCP Bucket Lock)Automates ClickHouse zero-copy cold tiering (gxp_10yr_nvme_15yr_worm) and encrypted pgBackRest PITR snapshotsRetains Customer-Managed KMS Key (CMK/CMEK) ownership and reviews annual restoration drill evidence
EU Annex 11 §4.3 & GAMP 5 Change ControlSOC 1/2/3, ISO/IEC 27001, ISO/IEC 27017/27018 continuous compliance attestationsPins tenant to approved LTS Release Channel (2026.Q4-LTS), runs automated 21/21 pytest IQ/OQ in staging, and issues signed VSRCountersigns electronic Change Control & Validation Summary Report (VSR-GXPHISTORIAN-2026-008) prior to production promotion

Document 06 — Executed IQ/OQ Protocol & Cryptographic Evidence Report

Document ID: EPR-GXPHISTORIAN-2026-006 | Session Start (UTC): 2026-11-11T02:40:33.812407+00:00 | Session End (UTC): 2026-11-11T02:40:41.977411+00:00 | Verdict: PASS (21/21 Passed, 100.0%)

1. Executed Automated IQ/OQ Test Results (oq_execution_results.json)

Test IDPytest Node IDStart (UTC)Duration (s)Executed Assertions & Evidence SummaryVerdict
TC-01gxp-validation-package/tests/test_01_iq_infrastructure.py::test_iq_01_services_and_non_default_credentials2026-11-11T02:40:34.260233+00:000.1255Verified PostgreSQL, ClickHouse, FastAPI, gxphistorian-mcp, instrument-mock-server, and Grafana (live ClickHouse/PostgreSQL datasources + 4-panel HMI dashboard) health with non-default GxP secrets.PASS
TC-02gxp-validation-package/tests/test_01_iq_infrastructure.py::test_iq_02_postgres_extensions_and_schema2026-11-11T02:40:34.397388+00:000.0116Verified PostgreSQL 16 extensions (btree_gist, ltree, pgcrypto), all 12 GxP tables (including all 10 Part 11 trigger-enforced tables), and seeded Part 11 users.PASS
TC-03gxp-validation-package/tests/test_01_iq_infrastructure.py::test_iq_03_clickhouse_compression_codecs2026-11-11T02:40:34.419637+00:000.005Verified ClickHouse pi_historian.sensor_data column codecs (Delta, DoubleDelta, Gorilla, T64 + ZSTD(1)) and AggregatingMergeTree 1m rollup engines.PASS
TC-04gxp-validation-package/tests/test_01_iq_infrastructure.py::test_iq_04_clickhouse_postgres_dictionary_sync2026-11-11T02:40:34.438319+00:000.0392Verified all 5 seeded GxP tags and ISA-95 ltree paths resolve in ClickHouse pg_asset_tags dictionary and /api/v1/assets/tree.PASS
TC-05gxp-validation-package/tests/test_01_iq_infrastructure.py::test_iq_05_edge_collector_wal_and_deadband2026-11-11T02:40:34.479239+00:000.0049Verified disk-backed WAL buffer configuration, Stage 1 ExceptionDeadbandFilter, BACnet Status_Flags quality mapper, and OPC DA local JSONL store-and-forward spooler.PASS
TC-06gxp-validation-package/tests/test_02_oq_part11_compliance.py::test_oq_01_reject_mutations_without_actor_or_reason2026-11-11T02:40:34.501725+00:000.1129Confirmed PostgreSQL PL/pgSQL trigger across all 10 GxP tables and FastAPI reject unattributed mutations.PASS
TC-07gxp-validation-package/tests/test_02_oq_part11_compliance.py::test_oq_02_worm_audit_log_immutability2026-11-11T02:40:34.624221+00:000.0034Verified UPDATE, DELETE, and TRUNCATE on part11_audit_log unconditionally raise 21 CFR Part 11 WORM Violation.PASS
TC-08gxp-validation-package/tests/test_02_oq_part11_compliance.py::test_oq_03_electronic_signature_rejects_invalid_credentials2026-11-11T02:40:34.635484+00:000.1143Verified POST /api/v1/event-frames/{id}/sign rejects invalid password with HTTP 401.PASS
TC-09gxp-validation-package/tests/test_02_oq_part11_compliance.py::test_oq_04_electronic_signature_approval_and_hmac2026-11-11T02:40:34.757445+00:000.0732Verified dual-challenge electronic signature execution, HMAC-SHA256 binding, and audit trail logging.PASS
TC-10gxp-validation-package/tests/test_02_oq_part11_compliance.py::test_oq_05_cryptographic_hash_chain_verification2026-11-11T02:40:34.836591+00:000.1062Verified 100% of part11_audit_log records form an unbroken SHA-256 hash chain from GENESIS_0000000000000000, including 8-thread concurrent write serialization via pg_advisory_xact_lock(21011).PASS
TC-11gxp-validation-package/tests/test_03_oq_historian_core.py::test_oq_06_multi_protocol_telemetry_ingestion2026-11-11T02:40:34.950511+00:000.0917Verified all 6 mock instrument protocol listeners (direct host TCP/UDP sockets + HTTP endpoints + PI UFL SHA-256 CSV drop) and active telemetry ingestion across all 5 GxP tags.PASS
TC-12gxp-validation-package/tests/test_03_oq_historian_core.py::test_oq_07_bad_quality_exclusion_in_rollup2026-11-11T02:40:35.049606+00:000.0096Proved mv_sensor_rollup_1m excludes quality=0 fault spike (9999.0), computing exact GMP rollup avg=37.5, max=38.0.PASS
TC-13gxp-validation-package/tests/test_03_oq_historian_core.py::test_oq_08_datalink_linear_and_locf_step_interpolation2026-11-11T02:40:35.073198+00:000.0797Verified exact linear midpoint (37.0) on BR201_TEMP_PV (JSON + CSV) and integer LOCF ([1, 1, 2]) on BR201_AGIT_STATE.PASS
TC-14gxp-validation-package/tests/test_03_oq_historian_core.py::test_oq_09_lttb_downsampling_preserves_local_peak2026-11-11T02:40:35.165529+00:000.0184Verified ClickHouse LTTB 10x downsampling (100 -> 10 points) preserved exact peak magnitude (845.75 mAU) and timestamp (12:00:50Z).PASS
TC-15gxp-validation-package/tests/test_03_oq_historian_core.py::test_oq_10_event_frame_excursion_and_parquet_lakehouse_export2026-11-11T02:40:35.190378+00:000.2812Verified Event Frame evaluation and Apache Parquet export with 100% row/value fidelity via pyarrow.PASS
TC-16gxp-validation-package/tests/test_04_ai_agent_and_mcp.py::test_oq_11_pydantic_ai_deviation_investigator_and_mcp2026-11-11T02:40:35.478086+00:005.1535Verified Pydantic AI gxp_deviation_investigator_agent produces a validated DeviationInvestigationBrief with part11-forensics capability and gxphistorian-mcp manifest.PASS
TC-17gxp-validation-package/tests/test_04_ai_agent_and_mcp.py::test_oq_12_pydantic_ai_part11_human_in_the_loop_tag_approval2026-11-11T02:40:40.637153+00:000.1094Verified Pydantic AI ApprovalRequired (DeferredToolRequests / DeferredToolResults), args_validator ModelRetry recovery, and 21 CFR Part 11 WORM audit logging.PASS
TC-18gxp-validation-package/tests/test_05_oq_aveva_pi_parity.py::test_oq_13_pi_datalink_and_streamsets_parity2026-11-11T02:40:40.758674+00:000.5933Verified AVEVA PI DataLink & StreamSets parity (REST + all 8 =GXPHISTORIAN_* Excel UDFs): PICurrVal UOM/DigitalState resolution, PIArcVal exact linear/LOCF retrieval, PICompDat bad-quality exclusion, PIAdvCalcDat Time-Weighted (38.0) vs Event-Weighted (37.6667) integration, PITimeFilter duration (360s / 60%), and StreamSets bulk queries.PASS
TC-19gxp-validation-package/tests/test_05_oq_aveva_pi_parity.py::test_oq_14_pi_analytics_mkt_f0_sqc_and_golden_batch2026-11-11T02:40:41.364677+00:000.1316Verified ICH Q1A MKT (27.821 °C vs 27.5 °C mean), USP <1229> F0 (15.0 min, PASS), Western Electric SQC Rule 1 detection, and PI BatchView relative-time Golden Batch overlay (RMSE=0.4201).PASS
TC-20gxp-validation-package/tests/test_05_oq_aveva_pi_parity.py::test_oq_15_pi_af_template_uom_digital_states_and_manual_logger2026-11-11T02:40:41.501657+00:000.1442Verified UOM conversion (100 °C -> 212 °F), Digital State Set creation & catalog, PI AF Template auto-instantiation of Bioreactor_202 (4 standard tags), and Part 11 PI Manual Logger with dual-person verification and ClickHouse archival (status_code=5).PASS
TC-21gxp-validation-package/tests/test_05_oq_aveva_pi_parity.py::test_oq_16_swinging_door_truefor_backfill_multisig_and_notifications2026-11-11T02:40:41.662449+00:000.3138Verified Stage 2 Swinging Door compression (81.82% reduction), Event Frame TrueFor=60s backfill (suppressed 1 transient spike, captured event a95b670f-5379-462c-b386-c7db6b66a447), multi-channel PI Notifications (Email HTML, 160-char SMS, Mobile Push APNs/FCM/PagerDuty, Webhook/Teams), Tier 2 Escalation Team dispatch, Two-Way SMS ACK escalation halt, Send-on-Close recovery, and 2-stage e-signature chain.PASS

2. Live 21 CFR Part 11 Cryptographic Audit Trail Evidence (part11_audit_log)

Audit IDRecorded At (UTC)Actor IDChange ReasonTarget TableRecord PKOpprev_hash Prefixrow_hash Prefix
12026-11-11 02:39:03.641477+00system_bootstrapInitial GxP Qualification Seedasset_templates1INSERTGENESIS_000000000000...f60cbe201c153e50e277...
22026-11-11 02:39:03.64323+00system_bootstrapInitial GxP Qualification Seedasset_templates2INSERTf60cbe201c153e50e277...cef806f502c9dc6a1838...
32026-11-11 02:39:03.643313+00system_bootstrapInitial GxP Qualification Seedasset_templates3INSERTcef806f502c9dc6a1838...a2cda6a80a9060a8447a...
42026-11-11 02:39:03.64468+00system_bootstrapInitial GxP Qualification Seedassets1INSERTa2cda6a80a9060a8447a...79e209d061b8218fe291...
52026-11-11 02:39:03.645258+00system_bootstrapInitial GxP Qualification Seedassets2INSERT79e209d061b8218fe291...50738bc7930b1ffaafe1...
62026-11-11 02:39:03.645364+00system_bootstrapInitial GxP Qualification Seedassets3INSERT50738bc7930b1ffaafe1...b662f14b0553b2a1845c...
72026-11-11 02:39:03.646469+00system_bootstrapInitial GxP Qualification Seedtags101INSERTb662f14b0553b2a1845c...912cf2ea54d4dcc98ad2...
82026-11-11 02:39:03.647078+00system_bootstrapInitial GxP Qualification Seedtags102INSERT912cf2ea54d4dcc98ad2...77fe340b63421bbf50f2...
92026-11-11 02:39:03.647231+00system_bootstrapInitial GxP Qualification Seedtags103INSERT77fe340b63421bbf50f2...fad0672e3524833e0bf9...
102026-11-11 02:39:03.647355+00system_bootstrapInitial GxP Qualification Seedtags301INSERTfad0672e3524833e0bf9...a40ae496f03cbbe7bffc...
112026-11-11 02:39:03.647474+00system_bootstrapInitial GxP Qualification Seedtags401INSERTa40ae496f03cbbe7bffc...5382bce5e511d215ddb2...
122026-11-11 02:39:03.648764+00system_bootstrapInitial GxP Qualification Seeddigital_state_sets1INSERT5382bce5e511d215ddb2...d9114f4c91b17ef1f405...
132026-11-11 02:39:03.649513+00system_bootstrapInitial GxP Qualification Seeddigital_state_sets2INSERTd9114f4c91b17ef1f405...39a9d59590243ac4d9e0...
142026-11-11 02:39:03.649609+00system_bootstrapInitial GxP Qualification Seeddigital_state_sets3INSERT39a9d59590243ac4d9e0...ef793cbe6a946f0043ac...
152026-11-11 02:39:03.65045+00system_bootstrapInitial GxP Qualification Seedevent_frame_templates1INSERTef793cbe6a946f0043ac...6105530000729692a263...

3. Live Signed ISA-88 Event Frames (event_frames)

Event IDEvent NameTemplateSeverityStart TimeSigned BySignature MeaningHMAC-SHA256 Signature Hash
a60964ee-7e64-4940-88c9-a87b38f71c09BR201_TEMP_PV_High_Limit_ExcursionTemp_ExcursionCRITICAL2026-11-11 02:37:13.855+00qa_approver_01Batch Release Approval4746152bebc9ed3f54ba772f...
4af43193-a957-410f-a632-e1c81c5f9b75BR201_TEMP_PV_Temp_Excursion_TrueFor_30sTemp_Excursion_TrueFor_30sCRITICAL2026-01-16 18:05:00+00qa_approver_01QA Final Disposition Approval — Batch Released7872170e14cbf0e58581609e...
a95b670f-5379-462c-b386-c7db6b66a447BR201_TEMP_PV_Temp_Excursion_TrueFor_30sTemp_Excursion_TrueFor_30sCRITICAL2026-01-16 18:05:00+00qa_approver_01QA Final Disposition Approval — Batch Released8b47b25a0b58e030dac22479...
251127ba-2603-49e8-9b50-7b3014d2210aBR201_TEMP_PV_Temp_Excursion_TrueFor_30sTemp_Excursion_TrueFor_30sCRITICAL2026-01-16 18:05:00+00qa_approver_01QA Final Disposition Approval — Batch Released6e96ebb9f3b68b34b314b024...
d2beb67e-fec9-49c6-8121-3562ea616403USP_Batch_2026_BR201_001Fermentation_BatchINFO2026-11-11 02:36:31.85+00UNSIGNED--...
8c4d3738-3624-4ca2-bb38-1bb42b28cb14BR201_TEMP_PV_High_Limit_ExcursionTemp_ExcursionCRITICAL2026-11-11 02:37:13.855+00UNSIGNED--...

Document 07 — Bidirectional Requirements Traceability Matrix (RTM)

Document ID: RTM-GXPHISTORIAN-2026-007 | Generated (UTC): 2026-11-11T02:40:42Z | Coverage: 100.0% (21/21 URS Verified, 0 Gaps)

URS IDRequirement TitleFRS / Design SpecGAMP Cat.CSA RiskAutomated Pytest Node IDExecuted Timestamp (UTC)Verdict
URS-001Multi-Service Container Infrastructure & Non-Default GxP Security CredentialsFRS-INFRA-001Category 3 / Category 4Mediumgxp-validation-package/tests/test_01_iq_infrastructure.py::test_iq_01_services_and_non_default_credentials2026-11-11T02:40:34.385773+00:00PASS
URS-002PostgreSQL 16 Control Plane Extensions & Core GxP Schema QualificationFRS-PG-002Category 4Mediumgxp-validation-package/tests/test_01_iq_infrastructure.py::test_iq_02_postgres_extensions_and_schema2026-11-11T02:40:34.408976+00:00PASS
URS-003ClickHouse Lossless Time-Series Compression Codecs VerificationFRS-CH-003Category 4Lowgxp-validation-package/tests/test_01_iq_infrastructure.py::test_iq_03_clickhouse_compression_codecs2026-11-11T02:40:34.424626+00:00PASS
URS-004ISA-95 ltree Asset Hierarchy & ClickHouse In-Memory Dictionary SynchronizationFRS-DICT-004Category 4Mediumgxp-validation-package/tests/test_01_iq_infrastructure.py::test_iq_04_clickhouse_postgres_dictionary_sync2026-11-11T02:40:34.477485+00:00PASS
URS-005Stage 1 Edge Exception/Deadband Filtering & Disk WAL Store-and-Forward BufferFRS-EDGE-005Category 4 / Category 5Highgxp-validation-package/tests/test_01_iq_infrastructure.py::test_iq_05_edge_collector_wal_and_deadband2026-11-11T02:40:34.484170+00:00PASS
URS-00621 CFR Part 11 Mandatory Attribution Context EnforcementFRS-P11-006Category 5Highgxp-validation-package/tests/test_02_oq_part11_compliance.py::test_oq_01_reject_mutations_without_actor_or_reason2026-11-11T02:40:34.614643+00:00PASS
URS-00721 CFR Part 11 §11.10(e) WORM Audit Trail ImmutabilityFRS-P11-007Category 5Highgxp-validation-package/tests/test_02_oq_part11_compliance.py::test_oq_02_worm_audit_log_immutability2026-11-11T02:40:34.627641+00:00PASS
URS-00821 CFR Part 11 §11.200 Electronic Signature Rejection of Unauthorized CredentialsFRS-P11-008Category 5Highgxp-validation-package/tests/test_02_oq_part11_compliance.py::test_oq_03_electronic_signature_rejects_invalid_credentials2026-11-11T02:40:34.749754+00:00PASS
URS-00921 CFR Part 11 §11.50 & §11.70 Electronic Signature Manifestation & HMAC BindingFRS-P11-009Category 5Highgxp-validation-package/tests/test_02_oq_part11_compliance.py::test_oq_04_electronic_signature_approval_and_hmac2026-11-11T02:40:34.830679+00:00PASS
URS-01021 CFR Part 11 Cryptographic SHA-256 Audit Hash-Chain VerificationFRS-P11-010Category 5Highgxp-validation-package/tests/test_02_oq_part11_compliance.py::test_oq_05_cryptographic_hash_chain_verification2026-11-11T02:40:34.942746+00:00PASS
URS-011Multi-Protocol Telemetry Ingestion (OPC UA, BACnet/IP, Siemens S7, Legacy OPC DA)FRS-HIST-011Category 4Mediumgxp-validation-package/tests/test_03_oq_historian_core.py::test_oq_06_multi_protocol_telemetry_ingestion2026-11-11T02:40:35.042171+00:00PASS
URS-012Bad OPC Signal Quality (quality < 192) Exclusion from GMP RollupsFRS-HIST-012Category 5Highgxp-validation-package/tests/test_03_oq_historian_core.py::test_oq_07_bad_quality_exclusion_in_rollup2026-11-11T02:40:35.059228+00:00PASS
URS-013PI DataLink Parity: Linear Interpolation vs. Discrete Step (LOCF) SamplingFRS-DL-013Category 5Highgxp-validation-package/tests/test_03_oq_historian_core.py::test_oq_08_datalink_linear_and_locf_step_interpolation2026-11-11T02:40:35.152884+00:00PASS
URS-014PI Vision PlotValues Parity: LTTB Visual Downsampling Peak PreservationFRS-LTTB-014Category 4 / Category 5Mediumgxp-validation-package/tests/test_03_oq_historian_core.py::test_oq_09_lttb_downsampling_preserves_local_peak2026-11-11T02:40:35.183910+00:00PASS
URS-015ISA-88 Event Frame Excursion Capture & Zero-ETL Apache Parquet Lakehouse ExportFRS-LAKE-015Category 5Highgxp-validation-package/tests/test_03_oq_historian_core.py::test_oq_10_event_frame_excursion_and_parquet_lakehouse_export2026-11-11T02:40:35.471581+00:00PASS
URS-016Pydantic AI Advisory Deviation Investigator & Read-Only Model Context Protocol (gxphistorian-mcp)FRS-AI-016Category 5Highgxp-validation-package/tests/test_04_ai_agent_and_mcp.py::test_oq_11_pydantic_ai_deviation_investigator_and_mcp2026-11-11T02:40:40.631587+00:00PASS
URS-017Pydantic AI Human-in-the-Loop 21 CFR Part 11 Deferred Tool Approval GateFRS-AI-017Category 5Highgxp-validation-package/tests/test_04_ai_agent_and_mcp.py::test_oq_12_pydantic_ai_part11_human_in_the_loop_tag_approval2026-11-11T02:40:40.746603+00:00PASS
URS-018AVEVA PI DataLink & PI Web API StreamSets Analytical Parity (PICurrVal, PIArcVal, PICompDat, PIAdvCalcDat, PITimeFilter)FRS-DL-018Category 5Highgxp-validation-package/tests/test_05_oq_aveva_pi_parity.py::test_oq_13_pi_datalink_and_streamsets_parity2026-11-11T02:40:41.351935+00:00PASS
URS-019PI Analysis Service & GxP Calculation Engine (ICH Q1A MKT, USP <1229> F0 Lethality, SQC SPC & Golden Batch Overlay)FRS-AN-019Category 5Highgxp-validation-package/tests/test_05_oq_aveva_pi_parity.py::test_oq_14_pi_analytics_mkt_f0_sqc_and_golden_batch2026-11-11T02:40:41.496256+00:00PASS
URS-020PI Asset Framework Template Auto-Instantiation, Canonical UOM Conversion, Digital State Sets & PI Manual LoggerFRS-AF-020Category 4 / Category 5Highgxp-validation-package/tests/test_05_oq_aveva_pi_parity.py::test_oq_15_pi_af_template_uom_digital_states_and_manual_logger2026-11-11T02:40:41.645864+00:00PASS
URS-021Stage 2 Swinging Door Compression, Event Frame TrueFor Debounce Backfill, Multi-Stage E-Signatures & Multi-Channel PI Notifications (Email, SMS, Mobile Push)FRS-EF-021Category 5Highgxp-validation-package/tests/test_05_oq_aveva_pi_parity.py::test_oq_16_swinging_door_truefor_backfill_multisig_and_notifications2026-11-11T02:40:41.976249+00:00PASS

Document 08 — Validation Summary Report (VSR) & Release Certificate

Document ID: VSR-GXPHISTORIAN-2026-008 | Release Date (UTC): 2026-11-11T02:40:42Z | System Release Status: QUALIFIED FOR GxP PRODUCTION USE


1. Executive Qualification Summary

The GxPHistorian GxP Industrial Historian (ClickHouse 24.8 Telemetry Archive, PostgreSQL 16 Part 11 Control Plane, Telegraf 1.32 Edge Collector, FastAPI Control Plane + Pydantic AI / gxphistorian-mcp, and Grafana 11.2 HMI) has completed all Installation Qualification (IQ), Operational Qualification (OQ), and Performance Qualification (PQ) activities in accordance with VMP-GXPHISTORIAN-2026-001.

MetricTarget Acceptance CriterionActual Executed ResultStatus
User Requirements Coverage (URS-001..021)100% Bidirectional Traceability21 / 21 Requirements Mapped & VerifiedPASS
Automated IQ/OQ Test Suite (pytest)100% Pass Rate (0 Failures)21 / 21 Passed (100.0%)PASS
21 CFR Part 11 Cryptographic Hash Chainchain_valid == true from GENESIS168 Audit Records Verified (head: 7021277189c36456e2eb69b8...)PASS
Validation Deviations / CAPAs0 Open Critical/Major Deviations0 Deviations EncounteredPASS

2. Deviation & Non-Conformance Log

  • Open Deviations: 0
  • Closed Deviations: 0
  • All 21 IQ/OQ test cases passed on execution without protocol exceptions or data integrity discrepancies.

3. Statement of Fitness for Intended GxP Use

Based on the objective cryptographic evidence captured in oq_execution_results.json and the unbroken SHA-256 WORM audit trail in part11_audit_log, the GxPHistorian GxP Industrial Historian is hereby declared fit for its intended GxP manufacturing use under FDA 21 CFR Part 11, EU GMP Annex 11, and ISPE GAMP 5 (Second Edition).

4. 21 CFR Part 11 §11.50 Electronic Release Signatures

Signer RolePrinted NameUser IDSignature MeaningSigned Timestamp (UTC)Cryptographic Verification
System Owner (IT/OT)Sarah Jenkinsoperator_01System Technical Qualification & Operational Handover Approval2026-11-11T02:40:42ZVerified via pgcrypto & Part 11 Audit Chain
Quality Assurance (QP)Dr. Marcus Vanceqa_approver_01Final QA Validation Release & 21 CFR Part 11 Compliance Approval2026-11-11T02:40:42ZHMAC-SHA256 Bound (7021277189c36456e2eb69b880a952ff...)