# Gate 38 Companion Protocol: Five-Transgene 72-h Hypoxic ISR Joint Coverage, Fréchet/Copula Reconciliation & Wave-6 Arm Scoping (`IIP-0059` / `DEC-140`)

**Status:** Executable Zero-LIMS-Touch Stage-0 companion protocol (`GATE-38`, `v0.9.0` open draft)  
**Proposal Reference:** `IIP-0059` ([GitHub Issue #59](https://github.com/OpenIslet/openislet/issues/59)), credited to `giufra` (`@frafra013`), `outcome:changed-blueprint`  
**Side Contract:** `data/protocols/iip0059_five_transgene_joint_coverage_side_contract_v0.9.0.json`  
**Executable Verifier:** `scripts/verify_iip0059_five_transgene_joint_coverage_gate.py` (`11/11` adversarial self-tests)  
**Verification Receipt:** `data/extracted/iip0059_five_transgene_joint_coverage_verification_v0.9.0.json`  
**Scope Lock:** Zero mutations to frozen `scripts/wetlab_contract.py`, `scripts/ingest_wetlab_results.py`, `data/protocols/wetlab_endpoint_contract_v0.8.0.json` (`366` endpoints), `data/protocols/wetlab_endpoint_contract_v0.9.0.json` (`366` endpoints), construct FASTAs, `data/graveyard/idea_graveyard_v0.5.json` (`36` rules), or live published odds (`+0.00 percentage points`).

---

## Plain-English Summary

Engineered hypoimmune islet cells carry up to five protective transgenes (`CD47`, `HLA-E`, `PD-L1`, `SERPINB9`, and the `iCasp9` safety switch). Under `DEC-053 / DEC-078`, Stage-0 release requires at least **90% of stressed live beta cells** (`lower95 >= 0.90`) to clear all five thresholds simultaneously after 72 hours of low oxygen and inflammatory stress (`obs_hypoxic_72h_five_transgene_joint_above_threshold_fraction`).

Community audit **`IIP-0059`** (independently verified and stress-tested against `v0.8.0` and `v0.9.0` contracts, `layer2_regulatory_and_perturbation_atlas.json`, and `wave6_canonical_arm_manifest.json`) identified five concrete internal calibration and scoping defects:

1. **Premise & bound-direction mismatch in `DEC-053` rationale:** The written justification cites the Fréchet lower bound `1 - 5*(1 - 0.98) = 0.90` for **98%** per-transgene marginals, whereas every single-cell feeding gate in `v0.8.0` and `v0.9.0` is a **10th-percentile (`p10`) floor** certifying only **90%** (`Fréchet lower = 0.50`, independent `0.90^5 = 0.59049`, `Fréchet upper = 0.90`). Moreover, a shared PERK–eIF2α hypoxic ISR bottleneck induces positive co-failure approaching the Fréchet **upper** bound (`min p_i`), not the lower bound—and only `CD47` and `HLA-E` even carry 72-h `p10` endpoints (`SERPINB9` and `PD-L1` are Hour-0 bulk only, and `iCasp9` has no single-cell `p10` endpoint or Hour-0 `µM` concentration prior in Layer 2).
2. **Minimum qualifying lot cannot pass `lower95 >= 0.90` in expectation:** At the atlas's own minimum remediated lot (`Hour-0 CD47 = 320,000`, `Hour-0 HLA-E = 26,144`, `f_ISR = 0.85`, `σ_ln = 0.28`), 72-h `P(HLA-E >= 15,000) = 0.90000` exactly. Even under perfect comonotonic co-failure (`ρ = 1.0`, Fréchet upper bound `0.90000`), `wetlab_contract.py`'s `crit_95_mult = 1.644854` at `default_se = 0.01` requires a point estimate **`>= 0.91645 > 0.90000`**. Conversely, a lot carrying genuine headroom above the floors (`Hour-0 CD47 = 366,000`, `HLA-E = 32,000`, `f_ISR = 0.85`, `σ_ln = 0.28`) reaches **`93.69%` joint coverage even under independence (`ρ = 0`)**, clearing `lower95 >= 0.90` across all `ρ ∈ [0, 1]`.
3. **Unmeasured dependence, missing `σ_ln`, and mixed calibration chains:** Neither `v0.8.0` nor `v0.9.0` (`374` total endpoints scanned) records the five per-axis 72-h marginals, empirical dependence diagnostics, or observed `σ_ln` (despite naming operational target `σ_ln <= 0.28`), and the 5-axis vector mixes QuantiBRITE surface molecules (`CD47`/`HLA-E`/`PD-L1`) with cytosolic `µM` (`SERPINB9`) and dimerizable `µM` (`iCasp9`).
4. **Severe `f_ISR = 0.50` floor discontinuity:** `wetlab_contract.py` accepts `obs_hypoxic_15mmhg_f_isr_translation_ratio >= 0.50`, whereas every clearing Layer-2 trajectory assumes `f_ISR = 0.75` or `0.85`. Evaluated at `f_ISR = 0.50` (`σ_ln = 0.28`), even a remediated `366k CD47 / 32k HLA-E` lot collapses to `58.0% / 57.5%` marginals and `29.67%–57.54%` joint coverage (clearing `p10` at `f_ISR = 0.50` requires `Hour-0 CD47 >= 495,166` and `HLA-E >= 43,437`).
5. **Arm-scoping & O₂-regime mismatches:** `wetlab_contract.py` applies the 5-transgene joint gate without declaring product scoping across Wave-6 arms (where core `Design B`, Wave-6 `ISLET1_DESIGN_B_V090`, Wave-6 `ISLET1_DESIGN_X_V090`, and autologous `Design D` carry distinct 3-transgene subsets), and `DEC-053` specifies `1% O2` whereas `DEC-050..052` specify `2% O2` (`15 mmHg`).

---

## 1. Verified Literature Scope & Provenance Check

All seven primary PubMed records linked to `DEC-047 / DEC-053 / DEC-078` in `layer2_regulatory_and_perturbation_atlas.json` were verified live on PubMed (`0` missing, `0` retracted, `7/7` in `doc_citation_metadata_cache.json`): Hu et al. 2024 (PMID:37156915), Starck et al. 2016 (PMID:26823435), Harding et al. 2000 (PMID:11106749), Koritzinsky et al. 2006 (PMID:16467844), Latour et al. 2001 (PMID:11509594), Veres et al. 2019 (PMID:31068696), and Morrissey et al. 2020 (PMID:32768386). None of these citations derive the `0.90` joint fraction or `98%` Fréchet marginals; `0.90` is an internal OpenIslet calibration choice governed by `GATE-38`.

---

## 2. Complete `f_ISR × σ_ln` Trajectory Grid & Equicorrelated Copula Stress Audit

### Hour-0 Mean Requirements to Clear 72-h `p10` (`90%`) vs. `p02` (`98%`) Floors

| `f_ISR` | `σ_ln` | `CD47` Hour-0 (`p10`) | `CD47` Hour-0 (`p02`) | `HLA-E` Hour-0 (`p10`) | `HLA-E` Hour-0 (`p02`) |
| ---: | ---: | ---: | ---: | ---: | ---: |
| `0.50` | `0.28` | `495,166` | `614,684` | `43,437` | `53,922` |
| `0.50` | `0.32` | `527,504` | `675,369` | `46,274` | `59,245` |
| `0.50` | `0.45` | `655,113` | `927,318` | `57,468` | `81,347` |
| `0.75` | `0.28` | `347,775` | `431,717` | `29,500` | `36,620` |
| `0.75` | `0.32` | `370,486` | `474,338` | `31,426` | `40,235` |
| `0.75` | `0.45` | `460,111` | `651,291` | `39,028` | `55,245` |
| `0.85` | `0.28` | `310,773` | `385,784` | `26,144` | `32,454` |
| `0.85` | `0.32` | `331,068` | `423,870` | `27,851` | `35,658` |
| `0.85` | `0.45` | `411,157` | `581,996` | `34,589` | `48,961` |

### Equicorrelated Gaussian-Copula Joint Coverage (`ρ ∈ [0, 1]`; `lower95 >= 0.90` needs `>= 0.91645` at `SE = 0.01`)

| Scenario | Fréchet Lower | `ρ = 0.00` | `ρ = 0.50` | `ρ = 0.75` | `ρ = 0.90` | `ρ = 1.00` (Fréchet Upper) |
| :--- | ---: | ---: | ---: | ---: | ---: | ---: |
| 5× equal `p10` (`0.90` each) | `0.5000` | `0.5905` | `0.7078` | `0.7750` | `0.8265` | `0.9000` (fails `lower95`) |
| 5× equal `p02` (`0.98` each) | `0.9000` | `0.9039` | `0.9250` | `0.9432` | `0.9585` | `0.9800` |
| Atlas min lot (`320k/26.144k`, `f=0.85`, `σ=0.28`) | `0.8064` | `0.8165` | `0.8423` | `0.8620` | `0.8787` | `0.9000` (fails `lower95`) |
| Upper remediated (`366k/32k`, `f=0.85`, `σ=0.28`) | `0.9356` | `0.9369` | `0.9451` | `0.9535` | `0.9611` | `0.9690` (passes all `ρ`) |
| Remediated at `f_ISR = 0.50` floor (`366k/32k`, `σ=0.28`) | `0.0433` | `0.2967` | `0.4055` | `0.4634` | `0.5073` | `0.5754` (fails all `ρ`) |

---

## 3. Binding `GATE-38` Stage-0 Rules

1. **Premise & Anti-Escalation Rule (`GY-018` / `IIP-0047` / `OQ-008`):** `DEC-053`'s `98%` Fréchet lower-bound statement is formally reclassified as a stringency-calibration remark, not a derivation from `p10` floors. Blindly raising `CD47` feeding floors to `p02` is **prohibited** (`BLOCK_GY018_BLIND_P02_CD47_ESCALATION`) until upper-bound hypoxic `CD47` + `TSP-1` + `UPR` safety is qualified under `IIP-0047`.
2. **Empirical Marginals, Dependence Index & Observed `σ_ln`:** Every Stage-0 lot submitting `obs_hypoxic_72h_five_transgene_joint_above_threshold_fraction` must export from the same flow run: (a) all active per-axis 72-h above-threshold marginals, (b) observed `σ_ln` on `CD47` and `HLA-E` (tracked against operational ceiling `0.28`), and (c) verified Fréchet containment (`frechet_lower <= p_joint <= frechet_upper`; same-event violations fail closed) plus the empirical dependence index `(p_joint - ∏p_i) / (min p_i - ∏p_i)`.
3. **Matched O₂ Stress Regime & Mixed-Unit Calibration Chains:** Marginals and joint coverage must be measured under the exact same declared 72-h hypoxia+cytokine regime (`1% O2` or `2% O2 / 15 mmHg`; cross-regime comparisons fail closed). Separate calibration-chain provenance is required for QuantiBRITE surface counts (`CD47`/`HLA-E`/`PD-L1`), cytosolic `0.5 pL` `SERPINB9` `µM`, and Hour-0/72-h dimerizable `iCasp9` `µM` (closing Layer 2's missing Hour-0 `iCasp9 µM` prior).
4. **`f_ISR = 0.50` Floor Scrap-Risk Policy:** `wetlab_contract.py`'s `f_ISR >= 0.50` floor remains 0-byte invariant; lots in `f_ISR ∈ [0.50, 0.75)` trigger `F_ISR_IN_SCRAP_RISK_BAND` and are expected to fail the 72-h `p10` and `0.90` joint gates unless empirical ISR-bypass leaders are demonstrated.
5. **Exact Wave-6 + Legacy Arm Scoping (`wave6_canonical_arm_manifest.json`):**
   - **Full 5-transgene vector (`CD47`, `HLA-E`, `PD-L1`, `SERPINB9`, `iCasp9`):** `ISLET1_DESIGN_A_V080_REF`, `ISLET1_DESIGN_A_V090_TBP_CANDIDATE`, `ISLET1_DESIGN_Y_V3` (`Design Y-FullStack v2`), `ISLET1_ARM_Z_ENSC_V090`, and legacy `v0.8.0` `Design X`.
   - **Active-subset joint vector only (never requiring absent transgenes):** `v0.8.0` Core `Design B` (`PD-L1`, `SERPINB9`, `iCasp9`), Wave-6 `ISLET1_DESIGN_B_V090` (`CD47`, `PD-L1`, `iCasp9`), Wave-6 `ISLET1_DESIGN_X_V090` (`PD-L1`, `SERPINB9`, `iCasp9`, HLA-C-retained), and Wave-6 autologous `ISLET1_DESIGN_D1B_LEAN_K2` (`PD-L1`, `SERPINB9`, `iCasp8`).
