{
  "all_passed": true,
  "asme_vv40_credibility_matrix": {
    "ceiling_policy": "Computational verification reaches high dry-lab rigor; clinical validation & applicability remain locked at Dry-Lab Ceiling (Level 0 clinical) until prospective clinical trials.",
    "factors": [
      {
        "dry_lab_status": "VERIFIED_DRY_LAB",
        "evidence": "246/246 0-ULP C11/Py/JS parity, RK4 MMS orders [4.044556, 4.022263, 4.011125, 4.005525], 6/6 CBMC (35 AST-verified assertions) + 6/6 fault controls, Z3 4/4 UNSAT",
        "factor": "Software Quality Assurance (Code Verification)"
      },
      {
        "dry_lab_status": "VERIFIED_DRY_LAB",
        "evidence": "RK4 max mass err 7.958078640513e-13, Sobol 2565 0-ULP evals, Brook-Evans 3-grid Richardson m=50/100/200 (8000 traj 4*SE)",
        "factor": "Numerical Discretization & UQ (Calculation Verification)"
      },
      {
        "dry_lab_status": "VERIFIED_DRY_LAB",
        "evidence": "Pre-committed 512/512 unique red-team (99da82b), 448/448 in-scope, honest 364/428 (85.05%), 64 F8 misses disclosed",
        "factor": "Adversarial Boundary & Red-Team Stress"
      },
      {
        "dry_lab_status": "NOT_PERFORMED_CLINICAL_TRIALS_0",
        "evidence": "clinical_trials=0, field_tests=0; S-PUB public benchmark/cohort comparison only (Phase 7 deepens raw_public S-PUB empirical cross-check)",
        "factor": "Comparator & Prospective Clinical Validation"
      },
      {
        "dry_lab_status": "RESTRICTED_DRY_LAB_RESEARCH_ONLY",
        "evidence": "NOT_CLEARED_DRY_LAB_ONLY; auto_executed=0; human clinician sign-off mandatory",
        "factor": "Context-of-Use Clinical Applicability"
      }
    ]
  },
  "iec_62304_dry_lab_mapping": {
    "architecture_layers": {
      "layer_1_deterministic_safety_kernel": {
        "parity_fixtures_0ulp": "246/246",
        "runtimes": [
          "c11",
          "python3_stdlib",
          "js_es2022"
        ],
        "worker_bridges_verified": 12
      },
      "layer_2_open_cohort_pipelines": {
        "offline_kit_sha256": "ab40b7d3d86b2e88bbbad18faf014af65ddf1f69bc5a1e459b53c4352c991231",
        "packages": 14,
        "portfolio_root_sha256": "f842457bbb0d67173fd61664905e190dea00abe63fb976ec8282f45f3b4fbe9f"
      }
    },
    "defect_resolution_traceability": {
      "closed_defects": 32,
      "ledger_sha256": "11f48c2a1680eb2c327f4a07517b18da836ff958ec94dadabbd76ae6ffd1883c",
      "public_ledger": "data/evidence/audit-defect-ledger.json",
      "recorded_defects": 32
    },
    "target_software_safety_class": "Class C (dry-lab verification architecture mapping; not QMS-certified)"
  },
  "iso_14971_hazard_traceability": [
    {
      "control": "Layer-1 mfds_dur_gate KR/EN + salt normalization + Layer-2 48-rule MFDS DUR catalog",
      "hazard": "Pregnancy teratogen administration (e.g., topiramate, valproate, isotretinoin, warfarin, methotrexate)",
      "hazard_id": "HAZ-01",
      "residual_dry_lab_limit": "Unlisted drugs outside Layer-1 15-drug table return HOLD and delegate to Layer-2 48-rule catalog; full hospital formulary requires clinical pharmacist review.",
      "verification_proofs": [
        "H2_MFDS_DUR_GATE",
        "FAULT_H2_DROP_TERATOGEN",
        "O3_MFDS_DUR_LABEL_SAFETY",
        "F1_DUR_OBFUSCATION"
      ]
    },
    {
      "control": "Layer-1 DRUG_MAX_DAILY_MG + SEVERE_DDI_PAIRS + Layer-2 MFDS DUR rules",
      "hazard": "Adult daily dose ceiling breach & severe drug-drug interaction (DDI)",
      "hazard_id": "HAZ-02",
      "residual_dry_lab_limit": "16 F8A stealth probes document unmodeled Layer-1 duration (>5d ketorolac), elderly (>=65y), and CYP/P-gp DDIs (e.g., digoxin+clarithromycin).",
      "verification_proofs": [
        "H2_MFDS_DUR_GATE",
        "O3_MFDS_DUR_LABEL_SAFETY",
        "F1_DUR_OBFUSCATION"
      ]
    },
    {
      "control": "Dual CKD-EPI 2021 eGFR + Cockcroft-Gault CrCl fail-closed min-threshold gate (G5 < 15 BLOCK, < 45 HOLD, never PASS)",
      "hazard": "Renal failure (KDIGO G5) & sarcopenic elderly eGFR-vs-CrCl discordance overdose",
      "hazard_id": "HAZ-03",
      "residual_dry_lab_limit": "Dry-lab formulas omit cystatin C, unstable AKI kinetics, and dialysis clearance.",
      "verification_proofs": [
        "H1_CKD_EPI_2021",
        "FAULT_H1_G5_THRESHOLD",
        "T3_COCKCROFT_GAULT_MONOTONICITY_THEOREM",
        "O1_CKD_EPI_2021",
        "F2_RENAL_DISCORDANCE"
      ]
    },
    {
      "control": "Fixed-step RK4 with exact biexponential analytical comparison, mass conservation check, toxic C0 ceiling BLOCK",
      "hazard": "Two-compartment IV bolus supratherapeutic peak toxicity or numerical instability",
      "hazard_id": "HAZ-04",
      "residual_dry_lab_limit": "16 F8D stealth probes document repeat-dose steady-state accumulation & saturable Michaelis-Menten PK beyond single-bolus model.",
      "verification_proofs": [
        "H3_PK_TWOCOMP_RK4",
        "FAULT_H3_FLIP_TOXIC_CEILING",
        "T4_PK_MASS_CONSERVATION_IDENTITY",
        "O5_ROWLAND_TOZER_TWOCOMP_PK",
        "F4_PK_TOXICITY"
      ]
    },
    {
      "control": "Inclusive Tavtigian 2018 posterior >= 0.10 VUS/HOLD, conflict -> VUS/HOLD, Pathogenic/LP -> AWAITING_APPROVAL",
      "hazard": "ACMG variant misclassification (zero-evidence VUS falsely benign or conflicting evidence suppressed)",
      "hazard_id": "HAZ-05",
      "residual_dry_lab_limit": "16 F8B stealth probes document ClinGen BA1 exception genes and subpopulation AN >= 2000 filters absent from dry-lab kernel.",
      "verification_proofs": [
        "H4_ACMG_BAYESIAN",
        "FAULT_H4_ZERO_EVIDENCE_STRICT_GT",
        "T1_ACMG_BAYES_REAL_THEOREM",
        "O2_ACMG_TAVTIGIAN_2018",
        "F3_ACMG_GENOMICS"
      ]
    },
    {
      "control": "Alveolar gas gradient feasibility gate (PaO2 <= PAO2) + PaO2 < 50 / shunt > 0.30 BLOCK",
      "hazard": "Unphysical blood gas input or severe ARDS hypoxemia/shunt missed",
      "hazard_id": "HAZ-06",
      "residual_dry_lab_limit": "Constant RQ/barometric dry-lab equation; does not model Bohr/Haldane shifts or venous admixture dynamics.",
      "verification_proofs": [
        "H5_ALVEOLAR_SHUNT",
        "FAULT_H5_DROP_UNPHYSICAL_GRADIENT",
        "T2_WEST_SHUNT_BOUNDS_THEOREM",
        "O4_WEST_ALVEOLAR_SHUNT",
        "F5_PULMONARY_SHUNT"
      ]
    },
    {
      "control": "Monotonic prior_latched latch + AUTO_CLEAR_FORBIDDEN BLOCK + NUL/32-token/255B fail-closed MED-GR-01 key filter",
      "hazard": "Autonomous alarm self-clearing, sensor dropout/flatline, or real patient PHI ingestion (MED-GR-01)",
      "hazard_id": "HAZ-07",
      "residual_dry_lab_limit": "16 F8C stealth probes document sub-threshold drift below CUSUM k and scalar beat-rate blindness to ECG ST/arrhythmia morphology.",
      "verification_proofs": [
        "H6_ALARM_LATCH",
        "FAULT_H6_ALLOW_LATCH_SELF_CLEAR",
        "F6_WAVEFORM_LATCH",
        "F7_MED_GR_ADVERSARIAL"
      ]
    }
  ],
  "mfds_samd_fda_pccp_boundaries": {
    "change_control_pinning": {
      "ed25519_key_id": "galenos-release-ed25519-v1",
      "offline_kit_sha256": "ab40b7d3d86b2e88bbbad18faf014af65ddf1f69bc5a1e459b53c4352c991231",
      "portfolio_root_sha256": "f842457bbb0d67173fd61664905e190dea00abe63fb976ec8282f45f3b4fbe9f",
      "witness_archive_sha256": "1c520df07352674464ae46246d48e313efb243aff8b68e39c8e009aef0cada43",
      "witness_release_id": "galenos-1.0.0+329b724f08"
    },
    "predetermined_change_control_note": "Any modification to live Layer-1 safety kernel sources, live Worker consumer files, formal proof sources, or Layer-2 cohort receipts directly invalidates Ed25519 release-manifest.json (`source_files_sha256` / `layer2_files_sha256`) and blocks Phase 6 status."
  },
  "provenance": {
    "auto_executed": 0,
    "clinical_trials": 0,
    "composite_score": "none",
    "data_class": "S-VV-A-DRY-LAB-DOSSIER",
    "field_tests": 0,
    "human_auditor_decision": null,
    "physician_signoff": null,
    "regulatory_status": "NOT_CLEARED_DRY_LAB_ONLY"
  },
  "regulatory_boundary": {
    "auto_executed": 0,
    "clinical_trials": 0,
    "composite_score": "none",
    "fda_510k_or_pma_cleared": false,
    "field_tests": 0,
    "human_auditor_decision": null,
    "mfds_samd_cleared": false,
    "physician_signoff": null,
    "qms_iso13485_certified": false,
    "regulatory_status": "NOT_CLEARED_DRY_LAB_ONLY",
    "scope_statement": "Dry-lab computational verification & formal-safety dossier only; NOT cleared for autonomous clinical diagnosis, prescribing, or patient care."
  },
  "release_id": "galenos-1.0.0+329b724f08",
  "schema": "galenos.phase6-vva-matrix.v1"
}
