OpenIslet

docs/GATE-0V-WHOLEGRAFT-PROTOCOL.md

Gate 0V Companion Protocol: Whole-Graft Viral Safety, Stress-State AP1903 Erasure, Composite Dual-Evaluator Release & NW-08 Calibration (IIP-0043 / DEC-122)

doc Release v0.8.0 gen-eb955f8266035aba 82 KB · 10 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-0V-WHOLEGRAFT-PROTOCOL.md · SHA-256: a5a57bd1ff4993d5…

### Round-14 through Round-18 Tightening (`NW-08` Isolated Child-Subprocess Solver & Per-Root Module-Origin Isolation, 3-Grid Mesh-Convergence Guard & 2-Grid Direct-Crossing Early-Stop Exception, Upward Float64 Solver Scaling & Normal `z_{0.95}` Upper Enclosure, Full Calibrant & Negative-Control Sampling-Unit Reconciliation, Strict Positive-SE Enforcement, Outward Student-t Quantiles & Exact Rational `n_eff`)

- **Predeclared 3-Grid `NW-08` Mesh-Convergence Policy (`NW08_THREE_GRID_CONVERGENCE_HOLD_POLICY_V2`, `Fs = 1.25`, Zero Upward Order Clamping, Recorded 2-Grid Direct-Crossing Early-Stop Exception & Policy-vs-Order Status Separation):** Near the `15.0 mmHg` floor (route-family trigger bands: `R1 [14.88, 15.25]`, `R2 [14.75, 15.25]`, `R3P [14.70, 15.30] mmHg`), live 3D FVM dispatch executes predeclared 3-grid refinement ladders (`R1_390`: `80x80x78 -> 96x96x94 -> 112x112x109`; `R1_350`: `80x80x70 -> 96x96x84 -> 112x112x98`; `R2`: `48x48x28 -> 72x72x42 -> 96x96x56`; `R3P`: `28x28x32 -> 42x42x48 -> 56x56x64`) with conservative `Fs = 1.25` ASME V&V-20 / Roache GCI uncertainty intervals (see unified table in Section 3), with one explicitly recorded 2-grid early-stop exception: when `force_mesh_convergence_check=False` and the coarse and medium grids already directly cross the immutable `15.0 mmHg` floor (`min(coarse, medium) < 15.0 <= max(coarse, medium)`), the straddle verdict is already irreversible (`HOLD_NW08_MESH_CONVERGENCE_STRADDLES_15MMHG_FLOOR`, `passes_15mmhg_floor_unrounded = false`) and the fine grid is skipped (`grids_run = 2`, `fine_grid_skipped_already_straddling = true`, `mesh_uncertainty_status = "TWO_GRID_DIRECT_FLOOR_CROSSING_HOLD"`); passing `force_mesh_convergence_check=True` executes all 3 grids unconditionally. Every `mesh_convergence_verification` receipt reports `grids_run` and an explicit `mesh_uncertainty_status` separating policy decisions from numerical order qualification:
  - Single-grid far-from-floor skips (`grids_run == 1`, covering both single-grid solves outside the near-floor trigger band and the monotone zero-increase far-from-floor baseline fast path) report `order_qualified = false`, `interval_valid = false`, and `mesh_uncertainty_status = "SINGLE_GRID_FAR_FROM_FLOOR_POLICY_PASS_ORDER_NOT_EVALUATED"` (or `"SINGLE_GRID_FAR_FROM_FLOOR_POLICY_FAIL_ORDER_NOT_EVALUATED"` for decisive far-below-floor breaches) — never falsely asserting numerical order qualification when only one grid was solved.
  - 3-grid monotone non-asymptotic fallback moving strictly away from `15.0 mmHg` (such as `R3P_35_VPIO120`) reports `order_qualified = false`, `interval_valid = true`, and `mesh_uncertainty_status = "THREE_GRID_MONOTONE_NON_ASYMPTOTIC_FALLBACK_ORDER_NOT_QUALIFIED"`.
  - 3-grid oscillatory ASME V&V-20 half-range bounds report `order_qualified = false`, `interval_valid = true`, and `mesh_uncertainty_status = "THREE_GRID_OSCILLATORY_ASME_VV20_HALF_RANGE_BOUND"`.
  - 3-grid asymptotic Roache GCI (`0.5 <= p_obs <= 2.5`, with mild super-convergence `2.0 < p_obs <= 2.5` conservatively capped downward to formal 2nd-order `p_eff = 2.0`) reports `order_qualified = true`, `interval_valid = true`, and `mesh_uncertainty_status = "THREE_GRID_ASYMPTOTIC_GCI_QUALIFIED"`.
  Any threshold-straddling case (`R1_390_stress @ 1.3164`, `R2_DZ40 @ 2.09975 / p_bed=32`, `R1_350_stress` baseline) routes fail-closed to **`HOLD`** (`HOLD_NW08_MESH_CONVERGENCE_STRADDLES_15MMHG_FLOOR`, exit `2`, `passes_15mmhg_floor_unrounded = false`, `release_authorizing = false`) rather than emitting a grid-sensitive `PASS` or `FAIL`. For monotone converging sequences, observed order `p_obs` is **NEVER** clamped upward to `0.5`: slow sub-asymptotic order (`p_obs < 0.5`, e.g., synthetic R2 counterexample `15.012548, 15.011045, 15.010000` with `p_obs = 0.06` converging to `14.95 < 15.0`), non-positive/unverifiable order, extreme super-convergence (`p_obs > 2.5`), or non-asymptotic drift toward `15.0 mmHg` routes fail-closed to **`HOLD`** (`HOLD_NW08_MESH_CONVERGENCE_UNQUALIFIED_SLOW_OR_NON_ASYMPTOTIC_ORDER`, `order_qualified = false`, `interval_valid = false`, `passes_15mmhg_floor_unrounded = false`, `release_authorizing = false`, exit `2`).
- **Small-Sample OCR Inference Provenance, Strict Positive-SE Enforcement & Outward Student-t Quantiles (`ZERO_UNCERTAINTY_DETERMINISTIC_POINT`, `STUDENT_T_ESTIMATED_SE`, `KNOWN_SIGMA_NORMAL`, `INDEPENDENT_JUSTIFIED_UPPER_BOUND`):** Positive `uncertainty_se > 0` requires an explicit inferential model (`STUDENT_T_ESTIMATED_SE` with finite `df` using provably outward-conservative upper-enclosed one-sided 95% Student-t quantiles `t_{0.95, df} >= exact_quantile` for all `df >= 1`, including `df = 1` Cauchy `cot(pi/20)` and exact 7-dp `t_{0.95, 5} = 2.0150484` for `n = 6` replicates rather than normal `z = 1.6448536`; `KNOWN_SIGMA_NORMAL` strictly with non-placeholder calibration provenance and no finite sample `df`; or `INDEPENDENT_JUSTIFIED_UPPER_BOUND` with `measured_ocr_u95_override` and provenance; `ZERO_UNCERTAINTY_DETERMINISTIC_POINT` applies strictly when `uncertainty_se == 0`). Both undeclared bare positive `uncertainty_se` (`HOLD_NW08_OCR_MISSING_UNCERTAINTY_MODEL_OR_DF`) AND `uncertainty_se <= 0` (`== 0`) submitted under `STUDENT_T_ESTIMATED_SE` or `KNOWN_SIGMA_NORMAL` (`HOLD_NW08_INFERENTIAL_MODEL_REQUIRES_POSITIVE_SE`) fail closed BEFORE the solver (`solver_executed = false`, `release_authorizing = false`, exit `2` across standalone and coupled paths; `ValueError` on direct Python resolver, preserving independent biological `FAIL_HARD_STOP` exit `3` precedence).
- **Exact Arbitrary-Precision Effective Denominator Floor:** Across all ratio and Gate-0V effective-sample-size calculations, `n_eff = floor(n / deff)` is computed via exact arbitrary-precision rational integer floor (`Fraction(n) // Fraction(deff)`), eliminating finite-precision `Decimal` truncation even for enormous synthetic counts (`n = 10^80 + 1, deff = 1 -> 10^80 + 1`).
- **Isolated Child-Subprocess Native Solver Execution, Concurrent Raw-Native Isolation & Per-Root Module-Origin Verification:** Every live `NW-08` 3D FVM solve executes inside a fresh child Python subprocess (`subprocess.run` with `-B`, propagating `-O` when active, `PYTHONDONTWRITEBYTECODE=1`, and stripped `PYTHONPATH`) whose `sys.path` prepends ONLY `openislet_root.resolve() / "scripts"` and verifies `Path(mod.__file__).resolve().is_relative_to(resolved_root)` across all imported OpenIslet solver and helper modules before returning `resolved_solver_module_origins` on live dispatch responses (while emitting only repo-relative paths in portable verification receipts). Because parent `sys.path`, `sys.modules`, and `run_layer4_tissue_and_metabolic_twin.py` callbacks are NEVER mutated, simultaneous raw native Layer-4 calls (without acquiring `_FVM_SOLVER_LOCK`) agree bit-for-bit before, during, and after concurrent `NW-08` dispatch, and sequential requests targeting distinct verified repo copies (`copy_A` then `copy_B`) execute strictly from each requested tree without cross-copy `sys.modules` bleed, while direct `verify_iip0043_wholegraft_gate0v_and_calibration.py`, wrapper `evaluate_gate0v_composite_release.py`, and dynamically imported copies continue sharing one canonical process-wide `_FVM_SOLVER_LOCK` for root-keyed cache synchronization.
- **Statistical Probability-Model Assumptions & Acute-vs-Clonogenic Scope (Minor #1 & #2):** Exact Clopper-Pearson and paired-ratio bounds rely on common-probability `Binomial(n, p)` assumptions (independent units with unequal event probabilities fall outside standard binomial inference; single-cell declarations and multi-well replicate arithmetic establish bounds only under their stated independence models). Acute 24-h/72-h **Gate 0V-Kill** erasure under stressed 5-lineage conditions uses separate directional one-sided 95% bounds per estimand and is strictly distinct from long-horizon pan-lineage clonogenic eradication (`< 1e-8` regrowth bound), which remains owned by **Blueprint Gate 5** and frozen `scripts/wetlab_contract.py` (`ISLET-1-BLUEPRINT.md` §1.2/§4.5).

<!-- OPENISLET_CURRENT_LAYER_SCOPE -->
Layer 2 uses the pinned release pairing Ensembl release 112 / GENCODE v46 (GRCh38.p14, 1-based closed coordinates; ENST00000309268.11 reconciled) and contains 11 literature-anchored stage-specific prior profiles with 1,000 independent prior-scenario draws per endpoint; it is not a fitted dynamic GRN/ODE or held-out validated differentiation predictor. Arm 1B constitutive EEF1A1 drives antisense CD47 and inducible sense 5xISRE drives HLA-E. Computed Arm 1A/1B Hour-0 CD47 is 222,886/253,279 molecules/cell; Arm 1B/WT is 5.28556522x. Resting Arm 1B HLA-E is 11,772 and IFNg24h HLA-E 75,456; the resting endpoint is below the assumed 15,000 threshold. Exact edited beta/alpha/delta/iEC density is unmeasured, with a preregistered Stage-0 acceptance target for Hour-0 density. TYK2-KO Stage-6 prior is 0.360 versus 0.678 WT (-46.9%); this is distinct from the transcript-level endpoint. HNRNPA2B1-proximal 455-bp CpG-core candidate (GRCh38 chr7:26200580-26201034); anti-silencing function requires head-to-head lineage qualification against the published CBX3-side fragment. The local 3,118-row AVI table is quarantined in the private cache: end-to-end batch generation provenance for the full 3,118-row table is incomplete (as a whole it is not a certified model scan), a limited 28 Oct 2026 live re-run against alphagenome v0.10.0 verified 59/59 sampled rows (9 candidate edits plus 50 random rows), AlphaGenome non-commercial output terms conflict with CC-BY-4.0 public redistribution, and zero AlphaGenome outputs are shipped publicly or used as active ranking weights or insertion-safety certifications. Scenario-B P2A profiles are unsupported provisional comparators; the exact 2A-free Scenario-B donor/prediction remains unavailable.

Reference-geometry compatibility screen: 3CDG is a CD94/NKG2A complex. P8-Phe8 contributes 24 heavy-atom contacts to shared CD94 and 0 to NKG2A in copy 1, and 21/0 in copy 2. Removing Phe ring atoms is an atom-truncation diagnostic, not a relaxed Val8 model. This structure cannot discriminate NKG2A from NKG2C. Receptor-specific K_D values are working soluble-ectodomain reference priors; direct SPR and HCMV+ NKG2C+ NK-donor assays remain preregistered. Reference SIRPA V1/V2 sequence and geometry comparison; pan-allelic protection is unverified. Asp101 is inserted in SIRPA V1 (4CMM) relative to V2 (2JJS). Soluble crystal CD47 carries C33G/Cys15-to-Gly; engineered CD47 retains WT Cys15. Reference soluble-C15G structures place CD47 Val115 about 30.93 A from the nearest SIRPA atom. This coarse anchor-distance screen does not model membrane orientation, the engineered WT-Cys15/GPI stalk or V8; binding, membrane and phagocytosis assays remain pending. The 21-residue linker-2 path includes unresolved HLA-E Gly1 between the 20-aa (G4S)4 linker and HLA-E Ser2 N; 73.50 A contour, 0.4234 extension, 9.901 pN are coarse WLC quantities. The 3CDG reference-crystal Arg107 C-alpha distance is 17.02 A, nearest-heavy-atom distance 14.82 A; neither is a measured engineered Gly107 geometry. Foldseek is a cached-hit replay with missing historical database/tool/date provenance, not a reproducible original search. 8H4X was superseded by 8ZCR (Yan, Zhou et al., 2024, Acta Crystallogr F 80:286-293; DOI:10.1107/S2053230X24009439; PMID:39382088). Exact-product function remains unresolved.

Layer 4 is a conditional model, not validated graft survival. The physical source lamina half-width fraction is 0.34; its continuous central volume is derived from that same geometry and control-volume overlap at every mesh. Nominal minimum slab oxygen is 19.92 mmHg at 18 h. The 8.64-mmHg homogenized fixed-surface Dirichlet core is an upper-bound screen; operative uniform-supply / conservative gel-only two-zone cores are 4.08/2.15 mmHg. Physical supply topology remains a Stage-2 assay gate; mesh error is evaluated on unrounded values, with NUMERICALLY_UNRESOLVED whenever an uncertainty interval straddles the threshold. Reference fixed-functional-beta-IEQ ODE curves have pde_coupling_applied=false and cannot inherit a PDE-derived full-product verdict; matched PDE/ODE states are identified separately. Reference ODE outputs: OPENISLET_60_30_10_TRIHORMONAL_G6PC2_WT: minimum 4.59 mM / insulin shutoff t50 4.93 min; BETA_ONLY_MONOCULTURE_NO_ALPHA_DELTA: minimum 3.06 mM / insulin shutoff t50 9.24 min; G6PC2_KO_DISRUPTED_GLYCOLYTIC_RHEOSTAT_GY002: minimum 2.70 mM / insulin shutoff t50 10.44 min. Low-glucose challenge reference-ODE minima: lead 3.9218, composite-reflex OAT1 3.8805, pure-beta-clamp OAT1A 3.9186 mM; these share the specified prior kinetic constants and are not measured clinical protection. Nominal modeled peak peroxide is 0.725 uM and maximum pH 7.405.

Layer 5 is an illustrative assigned-rule population simulator, not a clinical forecast. Personalized analytic expectation is 97.5000%, standardized Plan A analytic 92.5000%; sampled personalized 97.40%. Analytic ancestry gap is 0.40 percentage points; sampled gap 1.80 points, with finite sample/seed scope. Genome-wide off-target enumeration is NOT_ENUMERATED and coding-hit count is null; assigned illustrative three-mismatch panel scores are not exhaustive genome/exome scans or empirical HiFi-SpCas9 specificity. Variant identity is source-verified dbSNP interval identity; rare-variant screening frequencies are explicit assumed priors, with gnomAD row-level AC/AN validation pending. Manufacturing yield is null/NOT_MEASURED; exp(-lambda_K*max(0,K-4))*gamma_B**B is a dimensionless engineering utility discount. The executable optional TYK2 design is PEmax+epegRNA. CGBE remains an unimplemented contingency requiring an engineered SpG/SpRY-compatible PAM, editing-window/bystander ledger and separate validation; no CGBE guide is qualified here.
<!-- OPENISLET_CURRENT_LAYER_SCOPE_END -->