OpenIslet

docs/GATE-28-ABX-CD64T-IL1RN-AND-H1-PROTOCOL.md

Gate 28 Companion Protocol: Clinical H1 Audit, Core A/B/X Mode-B CIITA Exon 5 CD64t + IL1RN Go Scope, & Siglec-7/-9 Research Comparator (IIP-0041 / DEC-120)

doc Release v0.8.0 gen-eb955f8266035aba 67 KB · 7 sections

Use this file in any AI chat (paste-only or attachment-capable):

Download as text (.txt) Download section (.txt)

Pinned raw file: https://openislet.org/files/gen-eb955f8266035aba/docs/GATE-28-ABX-CD64T-IL1RN-AND-H1-PROTOCOL.md · SHA-256: 610aed945e5a4f6b…

     - **Executable Bank/Lot Hierarchy (Pass-0 Unconditional Clinical Ancestry & Rescue Extraction, Zero Unverified Fallback, Unified Manifest-Alias Semantic Canonicalization & Unique WCB-to-MCB Parentage Enforcement), Independent `trusted_clinical_store`, Full Canonical Cohort Digest, All-Disposition Raw CMC Ancestry (Explicit Infused WCB Attestation) & Pre-Validation Bidirectional Rescue Reconciliation, Early-Rejection Explicit-False Invariant, & Prespecified 3-Scenario ICC Sensitivity Enforcement:** A dedicated **Pass-0 raw clinical extraction pass** executes over **EVERY raw row in `recipients` BEFORE any follow-up, endpoint, intercurrent-event, or duplicate-recipient skipping** — rejecting **ANY presence** of undocumented `*rescue*lot*` alias keys (such as `rescue_repeat_lot_id` / `rescue_repeat_lot_ids`, even when value is `null`/`None`/`""`/`[]` or `intercurrent_event = "NONE"`) with `UNRECOGNIZED_CLINICAL_RESCUE_LOT_ALIAS`, collecting all `(recipient_id, lot_id, mcb_id, wcb_id, bank aliases)` AND raw clinical rescue declarations even for rows with missing/invalid `followup_months` or `met_c2b_criteria` and for duplicate `recipient_id` rows (conflicting duplicate clinical recipient ancestry immediately raises `CONFLICTING_DUPLICATE_RECIPIENT_ANCESTRY`; duplicate clinical recipient rows deterministically set `parallel_cmc_ledger_verified = False` with `DUPLICATE_CLINICAL_RECIPIENT_INVALIDATES_CMC_RECONCILIATION`, and ANY single-row or duplicate-row clinical-vs-CMC rescue identity, cardinality, omission, unindexed-rescue, or bank-lineage contradiction [`CLINICAL_CMC_RESCUE_IDENTITY_CONFLICT` / `CLINICAL_RESCUE_LOT_ID_MISMATCH_IN_CMC_LEDGER` / `CLINICAL_RESCUE_OMITTED_FROM_CMC_LEDGER` / `CMC_EXTRA_RESCUE_LOT_OMITTED_FROM_CLINICAL_COHORT` / `CONFLICTING_DUPLICATE_RECIPIENT_RESCUE` / `CONFLICTING_DUPLICATE_RECIPIENT_RESCUE_ANCESTRY`] routes unconditionally through the full fail-closed ancestry nullification path with 100% identical outputs under any row permutation), and cross-reconciling ALL raw clinical claims — including EVERY distinct Pass-0 primary-lot claim across all single and duplicate rows for EVERY clinical recipient against raw CMC lot dispositions (`RELEASED_UNINFUSED`, `FAILED_RELEASE`, or missing/non-infused disposition) and raw infused recipient membership (`CLINICAL_PRIMARY_LOT_CMC_DISPOSITION_CONFLICT`, `CLINICAL_PRIMARY_LOT_MISSING_FROM_CMC_LEDGER`, `CLINICAL_PRIMARY_RECIPIENT_MISSING_FROM_CMC_LOT`, `CMC_INFUSED_RECIPIENT_OMITTED_FROM_CLINICAL_COHORT`) — against BOTH `VERIFIED_LOT_TO_BANK_MANIFEST` AND any attested raw `PARALLEL_CMC_READINESS_LEDGER` in `trusted_clinical_store` **EVEN BEFORE returning on clinical hierarchy errors (such as `CONFLICTING_DUPLICATE_RECIPIENT_ANCESTRY`) AND BEFORE ordinary CMC validation can short-circuit it** (so contradictory duplicate clinical rows collect BOTH `CONFLICTING_DUPLICATE_RECIPIENT_ANCESTRY` AND `CLINICAL_PRIMARY_LOT_CMC_DISPOSITION_CONFLICT` identically across both recipient row orders, both CMC row orders, and `-B`/`-O -B`, never skipping a recipient due to missing follow-up/outcome fields or masking an ancestry, primary-lot disposition, or rescue-identity contradiction behind duplicate-row hierarchy errors or an unrelated CMC record-shape error such as an invalid split-lot `planned_doses_n`). Whenever ANY clinical-vs-manifest, clinical-vs-CMC, clinical-vs-CMC rescue identity/cardinality/omission/lineage contradiction, duplicate-recipient ancestry/rescue contradiction, or raw-CMC ancestry conflict exists — OR on any early/invalid rejection (`n == 0`, empty `recipients`, or non-dict payload) — the evaluator **UNCONDITIONALLY returns explicit `False` (never `None` or omitted) for ALL FOUR verification flags (`parallel_cmc_ledger_verified = False`, `lot_bank_hierarchy_valid = False`, `lot_to_mcb_manifest_verified = False`, `lot_to_wcb_manifest_verified = False`), sets `deff = n_eff = k_eff = None`, and sets `icc_sensitivity_report_attached = False`** (while ordinary clinical holds with valid ancestry retain verified flags, cluster outputs, and the attached 3-scenario ICC sensitivity report). Every recipient carries literal `mcb_id` and `lot_id` (and optional `wcb_id` / `working_cell_bank_id`) linkage reconciled against a verified `lot_to_mcb_manifest` mapping every observed `lot_id` uniquely to ONE `mcb_id` — AND a verified `lot_to_wcb_manifest` whenever ANY recipient or manifest declares a WCB. There is **zero fallback to unverified recipient rows OR unverified inline manifests**: when `trusted_clinical_store` is absent (`None`) or fails to resolve `VERIFIED_LOT_TO_BANK_MANIFEST`, OR when a manifest is missing, empty, invalid, incomplete, contradictory, or mismatched, the evaluator IMMEDIATELY fails closed with `lot_bank_hierarchy_valid = False`, `lot_to_mcb_manifest_verified = False`, `lot_to_wcb_manifest_verified = False`, `deff = None`, `n_eff = None`, `k_eff = None`, `icc_sensitivity_report_attached = False`, and `HOLD_H1_AT_88PCT` (never certifying hierarchy or emitting non-null `deff`/`n_eff`/`k_eff` from an unverified inline payload). **Unified Manifest-Alias & Recipient WCB Semantic Canonicalization & Unique-Parentage Rule:** BOTH cohort payloads and external `VERIFIED_LOT_TO_BANK_MANIFEST` records normalize and validate ALL supported manifest aliases (`lot_to_mcb_manifest`, `lot_to_wcb_manifest`, `lot_to_bank_manifest`) through ONE unified hierarchy validator **BEFORE merging**, and recipient canonicalization normalizes equivalent recipient WCB alias spellings (`working_cell_bank_id` <-> `wcb_id`, including dropping a redundant matching `working_cell_bank_id` alongside `wcb_id`) **BEFORE hashing** while preserving conflicting or invalid non-string/whitespace values untouched in the digest: semantic canonicalization preserves ancestry identity (`working_cell_bank_id` <-> `wcb_id` on infused rows and adding a matching top-level `lot_to_wcb_manifest` alongside identical nested WCB declarations inside `lot_to_mcb_manifest` yield an invariant canonical `cohort_canonical_sha256` so unchanged stored attestations verify cleanly), whereas any semantic ancestry mutation, conflicting WCB alias, control-flag mutation/omission, overlapping contradiction, widening/additional alias declaration, post-attestation addition of `lot_to_bank_manifest`, or unrecognized extra manifest alias key alters `cohort_canonical_sha256` and fails closed (`CONFLICTING_BANK_MANIFEST_ALIASES` / `CONFLICTING_WCB_MANIFEST_ALIAS` / `CONFLICTING_WCB_ALIAS` / `UNRECOGNIZED_BANK_MANIFEST_ALIAS`), AND strict global uniqueness of `wcb_id -> mcb_id` parentage is enforced across the **combined** declarations from all aliases and cohort rows (assigning one literal `wcb_id` to multiple distinct `mcb_id`s anywhere in any alias or row immediately fails closed with `NON_UNIQUE_WCB_PARENTAGE`, `lot_to_wcb_manifest_verified = False`, `lot_bank_hierarchy_valid = False`, and null `deff`/`n_eff`/`k_eff`). Promotion (`PROMOTE_H1_88_TO_90`) strictly requires resolving ALL FOUR records from an independent external **`trusted_clinical_store`** (NEVER trusting self-attested inline caller dicts or bare booleans; operational deployment dependency: independent QA/clinical governance custody, external store provenance confirmation, write-restricted access policy, and separation of duties): (1) authenticated `PRESPECIFICATION_ATTESTATION` and (2) authenticated `SOURCE_VERIFICATION_ATTESTATION` bound to exact `cohort_id` and the **full canonical cohort digest** (`cohort_canonical_sha256`, injectively binding `cohort_id`, all 5 compatibility declarations, `includes_reichman`, top-level decision-control flags `primary_peer_reviewed_full_text_verified` and `parallel_cmc_readiness_ledger_disclosed` with presence/absence tagging and `SOURCE_VERIFICATION_ATTESTATION` conflict reconciliation so deleting, adding, or toggling either flag always alters `cohort_canonical_sha256` and invalidates attestations, `rho_lot`, `rho_bank`, canonicalized `lot_to_mcb_manifest` and `lot_to_wcb_manifest`, `lot_to_bank_manifest`, any extra manifest alias keys, `parallel_cmc_readiness_ledger_sha256` preserving alias conflicts, and canonical recipients), (3) authenticated `VERIFIED_LOT_TO_BANK_MANIFEST` passing unified alias-conflict and unique WCB-to-MCB parentage checks and matching payload MCB/WCB manifests, AND (4) actual `PARALLEL_CMC_READINESS_LEDGER` payload bytes whose SHA-256 matches `parallel_cmc_readiness_ledger_sha256`, passes strict duplicate-key/non-finite-rejecting JSON decoding (any duplicate JSON key or non-finite value fails closed with `parallel_cmc_ledger_verified = False`, `lot_bank_hierarchy_valid = False`, both manifest verification flags `False`, and null `deff`/`n_eff`/`k_eff`), executes unconditional pre-validation raw CMC ancestry auditing AND bidirectional raw clinical-vs-CMC rescue identity/cardinality/lineage reconciliation BEFORE `evaluate_cmc_attempted_lot_readiness(...)` (with typed `CMCAncestryValidationError` propagation; `0` clinical rescues requires `0` CMC infused rescue lots; every clinically declared rescue `>= 1` MUST provide explicit canonical clinical `rescue_lot_id` or unique non-empty `rescue_lot_ids` matching sorted CMC infused rescue lots identically — ANY presence of undocumented `*rescue*lot*` aliases such as `rescue_repeat_lot_id` / `rescue_repeat_lot_ids` even when `null`/`None` and unindexed rescues fail closed with `UNRECOGNIZED_CLINICAL_RESCUE_LOT_ALIAS` / `CLINICAL_RESCUE_MISSING_EXPLICIT_LOT_ID`; duplicate clinical recipient rows deterministically invalidate CMC reconciliation in any row order, and ANY single-row or duplicate-row clinical-vs-CMC rescue identity, cardinality, omission, or lineage contradiction routes unconditionally through the full fail-closed ancestry nullification path even when an unrelated CMC shape error occurs), reconciles infused clinical recipient IDs/lots/MCBs/outcomes (requiring a present reconciled clinical adjudication for EVERY primary CMC recipient), AND reconciles raw CMC row ancestry across **EVERY disposition** (primary, split, pooled, rescue, released-uninfused, manufacturing-failed): **all clinically infused lots (BOTH primary/split lots AND infused rescue lots) MUST carry matching independent verified ancestry in `VERIFIED_LOT_TO_BANK_MANIFEST` AND MUST explicitly declare the matching `wcb_id` (or `working_cell_bank_id`) whenever `VERIFIED_LOT_TO_BANK_MANIFEST` declares a `wcb_id` for that lot** (failing closed with `CMC_INFUSED_LOT_MISSING_FROM_VERIFIED_MANIFEST` or `CMC_INFUSED_LOT_MISSING_DECLARED_WCB_ID` if omitted), while non-infused rows (`RELEASED_UNINFUSED`, `FAILED_RELEASE`) are optional in `VERIFIED_LOT_TO_BANK_MANIFEST` but **MUST NOT contradict** `VERIFIED_LOT_TO_BANK_MANIFEST` or the unified `wcb_id -> mcb_id` parentage tree on ANY declared `lot_id -> mcb_id`, `lot_id -> wcb_id`, or `wcb_id -> mcb_id` (any contradiction across any disposition fails closed immediately with `CMC_ROW_ANCESTRY_CONFLICTS_WITH_VERIFIED_MANIFEST`, `parallel_cmc_ledger_verified = False`, `lot_bank_hierarchy_valid = False`, `lot_to_mcb_manifest_verified = False`, `lot_to_wcb_manifest_verified = False`, null `deff`/`n_eff`/`k_eff`, and `promotion_authorized = False`). Promotion additionally requires ALL structural diversity floors (**`distinct_gmp_lots_n >= 3`**, **`distinct_mcb_n >= 2`**, and **`max_single_lot_share <= 40%`** evaluated via exact context-independent `fractions.Fraction`), **AND** the cluster-adjusted effective sample size
       `DEFF = 1 + rho_lot * ((sum(m_g^2) / n) - 1) + rho_bank * ((sum(b_c^2) / n) - 1)`, `n_eff = n / DEFF`, `k_eff = n_eff * (k / n)` — where `rho_bank = sigma_bank^2 / sigma_tot^2` and `rho_lot = sigma_lot^2 / sigma_tot^2` are **separate additive variance-component ICC shares** under the nested random-effects model `Y_{c,g,i} = mu + u_c + v_{c,g} + e_{c,g,i}` (so correlation between distinct lots from the same MCB is `rho_bank`, total same-lot correlation is `rho_lot + rho_bank`, and residual individual variance share is `1 - rho_lot - rho_bank >= 0`), enforcing conservative prespecified floors `rho_lot >= 0.05` and `rho_bank >= 0.02` AND the variance-component covariance constraint **`0 <= rho_lot`, `0 <= rho_bank`, and `rho_lot + rho_bank <= 1.0`** (failing closed with `INVALID_ICC_SUM_EXCEEDS_ONE` / `INVALID_ICC_DOMAIN`, `icc_sensitivity_report_attached = False`, and null `deff`/`n_eff`/`k_eff` if violated, recovering exact `n_eff = n` when `DEFF = 1.0`) — **AND** attachment and enforcement of the **prespecified 3-scenario same-cohort `icc_sensitivity_report`** on EVERY valid-hierarchy evaluation:
       - **Prespecified 3-Scenario Same-Cohort `icc_sensitivity_report` & 4-State `icc_sensitivity_review_status` Decision Rule (Enforced Programmatically by `evaluate_gate28a_h1_promotion`):** Every valid-hierarchy `Gate 28-A` evaluation attaches `icc_sensitivity_report_attached = True` and `icc_sensitivity_report` containing all three prespecified same-cohort scenarios — (1) `primary_floor` (`rho_lot = 0.05`, `rho_mcb = 0.02`), (2) `moderate_sensitivity` (`rho_lot = 0.10`, `rho_mcb = 0.05`), and (3) `high_clustering_sensitivity` (`rho_lot = 0.15`, `rho_mcb = 0.10`) — each reporting exact `rho_lot`, `rho_mcb`, `deff_cluster`, `n_eff`, `posterior_mean`, `posterior_p_ge_090`, and `meets_reanchor_bar` (clearing BOTH Uniform `Beta(1, 1)` `P(H1 >= 0.90) >= 0.90` AND non-Reichman anchored `Beta(8.8, 1.2)` `P(H1 >= 0.90) >= 0.85`), together with `boundary_sensitive_under_high_icc` (`primary_floor.meets_reanchor_bar and moderate_sensitivity.meets_reanchor_bar and not high_clustering_sensitivity.meets_reanchor_bar`), deterministic 4-state `icc_sensitivity_review_status`, and explicit `probability_interpretation` / `calibration_scope_note` disclosures. **Decision-Model & Nominal-CI Scope Disclosure (Not Independent Calibration):** All cluster-adjusted Beta-Binomial probabilities (`uniform_cluster_adjusted_p_ge_90`, `anchored_cluster_adjusted_p_ge_90`, and every scenario output in `icc_sensitivity_report`) are **prespecified decision-model quantities conditional on the assumed lot/bank variance-component ICCs (`rho_lot`, `rho_bank`) and cohort exchangeability assumptions — NOT independently calibrated empirical probabilities**; attaching `icc_sensitivity_report` documents sensitivity across the three prespecified variance-component grids rather than providing independent calibration of those ICCs. Likewise, the reported exact binomial `clopper_pearson_95_ci_pct` interval is paired directly in machine-readable outputs with `"clopper_pearson_95_ci_scope": "NOMINAL_IID_UNADJUSTED_RECIPIENT_COUNTS_ONLY_NOT_CLUSTER_ADJUSTED"` because clustered lot/bank outcomes can alter empirical coverage even when binomial arithmetic on raw recipient counts `(k, n)` is exact:
         - `ROBUST_ACROSS_ALL_THREE_PRESPECIFIED_ICC_SCENARIOS`: all 3 scenarios clear the reanchor bar -> promotion may proceed if all other Gate 28-A requirements pass.
         - `BOUNDARY_SENSITIVE_DISCLOSED_CLEARS_PRIMARY_AND_MODERATE`: `primary_floor` and `moderate_sensitivity` clear the bar while `high_clustering_sensitivity` holds (e.g., balanced `60`-recipient / `15`-lot / `3`-MCB cohort: `primary_floor` `DEFF = 1.53`, `n_eff = 39.215686` [PASS]; `moderate_sensitivity` `DEFF = 2.25`, `n_eff = 26.666667` [PASS]; `high_clustering_sensitivity` `DEFF = 3.35`, `n_eff = 17.910448 < 20.854345` [HOLD]) -> promotion may proceed ONLY with this attached sensitivity report disclosing `boundary_sensitive_under_high_icc = True` and the high-ICC hold.
         - `HOLD_FAILS_MODERATE_ICC_SENSITIVITY`: `moderate_sensitivity` `(0.10, 0.05)` FAILS the bar -> **HARD `HOLD`** (`HOLD_H1_AT_88PCT`, NEVER `PROMOTE_H1_88_TO_90`).
         - `HOLD_FAILS_PRIMARY_ICC_FLOOR`: `primary_floor` `(0.05, 0.02)` FAILS the bar -> **HARD `HOLD`** (`HOLD_H1_AT_88PCT`).
       - And clears **BOTH** non-overlapping posteriors on supplied `(k_eff, n_eff)`:
       - **Uniform `Beta(1, 1)` posterior `P(H1 >= 0.90) >= 0.90`** (`21/21` [`90.1523%`; `20/20 = 89.0581%` fails] and `36/37` [`90.4705%`; `35/36 = 89.6369%` fails] are **nominal integer lower bounds** under unclustered `DEFF = 1.0` i.i.d. assumptions only; under the continuous fractional all-success Uniform approximation, the exact transition occurs at `n_eff ≈ 20.854345`, and near the threshold, exchangeability and ICC assumptions dominate over display rounding — skewed splits such as `20 + 1` or single-bank `21/21` cohorts fail closed!), **AND**
       - **Non-overlapping Reichman-anchored `Beta(8.8, 1.2)`** updated solely on a compatible non-Reichman post-release cohort achieves **`P(H1 >= 0.90) >= 0.85`**, **AND**
       - Primary peer-reviewed full-text PDFs verify `>= 6`-month sustained `C2b` durability, quantitative stimulated C-peptide, full per-recipient adjudication, and transparent parallel disclosure of the separate CMC Readiness Ledger (`P_release_CMC` and `H1_CMC_ATTEMPTED_LOT_READINESS`).