docs/GATE-35-ROUTE4-OMENTUM-AND-EXVIVO-REST-PROTOCOL.md
Use this file in any AI chat (paste-only or attachment-capable):
Pinned raw file: https://openislet.org/files/gen-eb955f8266035aba/docs/GATE-35-ROUTE4-OMENTUM-AND-EXVIVO-REST-PROTOCOL.md · SHA-256: 02d366fffaf0606a…
## 5. Strict Fail-Closed, Trusted-Store `Gate 35` Adjudicator (Round-14 Blueprint-Alignment Closure)
`evaluate_gate35_route4_omentum_and_exvivo_rest` (compatible alias `evaluate_gate33_route4_omentum_and_exvivo_rest(payload, *, arm_manifest=None, trusted_evidence_store=None)`, **`213/213`** synthetic adjudicator self-tests passing under `-B` and `-O -B`, with ALL synthetic tests returning `promotion_authorized=False`) enforces:
- **Collision-Free `GATE-34` / `GATE-35` Role Enforcement, Live Blueprint §7 `GATE-5` (`OQ-012`) Exact Stringency, Synthetic Fixture Isolation, & Trusted Archives:** Any `SYNTHETIC_FIXTURE` evaluation ALWAYS returns `promotion_authorized=False`. Clinical `promotion_authorized=True` requires `evaluation_scope=='CLINICAL_PROMOTION'`, `scale_mode=='CLINICAL_HUMAN_SCALE'`, `evidence_tier=='AUTHENTICATED_ARCHIVED_WETLAB'`, cryptographic verification of any caller-supplied `arm_manifest` against `3d863780...`, mandatory parent `construct_manifest_sha256` & `bank_id` matching identically across ALL 4 14-field records, alias-consistent cryptographic resolution in `trusted_evidence_store`, rejection of contradictory authority flags, collision-free **`GATE-34`** (accepting payload key `upstream_gate34_record` OR legacy-compatible `upstream_gate32_record` while REJECTING colliding live `gate_source == "GATE-32"` with `UPSTREAM_GATE34_LIVE_GATE32_ROLE_COLLISION_REJECTED`, binding `prerequisite_archive_sha256s` for `GATE-0V` & `GATE-5`), **`GATE-0V`** (exact GY-030 5-lineage `{alpha, beta, delta, pericyte, plvap_iec}`), **live Blueprint §7 `GATE-5` (`OQ-012`)** (`oq012_clonogenic_regrowth_pass == True`, **`survivor_count_k == 0`** [ANY `k >= 1`, including `1/100,000`, FAILS with `FAIL_GATE5_OQ012_NONZERO_SURVIVOR_OR_U95_GT_1E8`], `tested_cells_n >= 1`, `clonogenic_fraction_f in (0, 1]`, `spike_in_detection_efficiency_eta in [0.30, 1.0]` [`< 0.30` FAILS], `effective_clonogenic_trials_n_eff <= floor(n * f * eta)` [`> floor` FAILS; omitted `f`/`eta`/`n_eff` HOLDS with `HOLD_GATE5_OQ012_INCOMPLETE_RECOVERY_DENOMINATOR`], **`n_eff >= 299,573,228`** [`k == 0` with `n_eff < 299,573,228` including `299,573,227` or `0/100,000` HOLDS with `HOLD_GATE5_OQ012_UNDERPOWERED_BELOW_299573228_EFFECTIVE_TRIALS`], and exact 75-digit Decimal Clopper-Pearson **`U95(0, n_eff) <= 1e-8`**), AND mandatory collision-free **`GATE-35` `current_assay_evidence_record`** (REJECTING colliding live `gate_source == "GATE-33"` with `CURRENT_ASSAY_GATE35_LIVE_GATE33_ROLE_COLLISION_REJECTED`; governing all current cutoffs).
- **Live `GY-028` Wall Clearance (`>= 7.5 µm` Minimum), Per-Leaf Area/IEQ Reconciliation, Actual Max-Leaf Steric Packing, Scope-Bound `scale_mode`, Matrix `D_O2`, & Tier Union:** Enforces `wall_clearance = H/2 - |z_c| - d_max/2 >= 7.5 µm` minimum on both construct and per-leaf geometry (`GY028_WALL_CLEARANCE_LT_7P5UM_FAIL` / `LEAF_GY028_WALL_CLEARANCE_LT_7P5UM_FAIL`), validates `40 <= d_min <= d_rms3 <= d_p95 <= d_max <= 65 µm` and `1.0 <= areal_loading <= 1e6` BEFORE packing arithmetic, reconciles `per_leaf_records` (`len >= 2` clinical AND mandatory for ANY `total_implanted_ieq > 100,000`; `ANIMAL_PRECLINICAL_SCALE` strictly returns `STAGE_LIMITED_PRECLINICAL_ONLY` with `promotion_authorized=False`), runs steric packing AFTER per-leaf reconciliation on EVERY leaf and `effective_max_load`, enforces `measured_d_o2_matrix_m2_s >= 9.40254e-10 m²/s`, `direct_o2_sensor_coverage_verified == True`, and monotone `Tier-1 UNION Tier-2`.
- **Stage-1 `DEC-009` `0-NHP` Primary Pathway vs Conditional FDA CBER NHP Exception, Decoupled Partial-Responder Paired C-Peptide/LLOQ Extinction, & End-to-End Exact Lexical `Decimal` Precision:**
- **Authoritative Input & Policy-Threshold Precision Contract (`EXACT_LEXICAL_DECIMAL_PARSE_FLOAT_DECIMAL` / `EXACT_DECIMAL_ZERO_FLOAT_BEFORE_POLICY_DECISION`, `Audit R9-06 / R10-05 / R12-04`):** `load_strict_json_text` parses every JSON floating-point token directly via `parse_float=Decimal` without rounding through IEEE-754 `float64`; context-independent exact `Decimal` arithmetic evaluates **ALL** Gate-35 policy thresholds (dates, strict limits, exact-zero limits including `1e-350`, live `GY-028 >= 7.5 µm`, live `OQ-012` `eta >= 0.30` / `n_eff <= floor(n*f*eta)` / `U95 <= 1e-8`, per-leaf & per-subject bounds, paired `pre > LLOQ` & `post <= LLOQ`, and exact polynomial steric packing) with **ZERO `float(...)` conversion before ANY policy decision** and **ZERO ungoverned tolerance**, converting to `float` ONLY for display metadata or NumPy model computation afterwards. Hostile extreme finite JSON exponents (`1e1000`, `1e99999999`, `-1e99999999`, `1e-99999999`) ALWAYS return structured `FAIL` (`promotion_authorized=False`).
- **Primary `DEC-009` `0-NHP` Primate-Free Pathway (`dec009_primate_free_pathway == True`):** Combines archived subject-level `porcine_subjects` (`n >= 6`; pilot `0/6` one-sided binomial `U95 = 39.3%`; strict ASCII canonical `subject_id`, `followup_duration_days >= 60`, `capsule_sampling_day` & `retrieval_assessment_day in [60, followup]`, typed monitored complications `== False` / `[]`, `month3_capsule_um <= tier_fibrin_max`, `retrieval_mass_pct >= 99.9`, `0.01 <= residual_sampling_fraction <= 1.0`, aggregate reconciliation) with **`DEC-009` Pillar 1 (humanized mouse efficacy), Pillar 2 (50-donor Chandler loop), Pillar 3 (GLP biodistribution/erasure)**, porcine portal-peripheral insulin gradient `>= 1.5×`, and verified post-explant C-peptide extinction. Missing Pillar 1–3 evidence returns `HOLD`; supplying an NHP cohort without FDA CBER exception FAILS (`DEC009_PRIMATE_FREE_PATHWAY_CONTRADICTS_NHP_COHORT_WITHOUT_FDA_EXCEPTION`).
- **Conditional `DEC-009` FDA CBER `INTERACT`/`Pre-IND` Exception NHP Cohort (`nhp_subjects`, `n >= 4`; pilot `>= 3/4` exact one-sided `L95 = 24.9%`):** Requires explicit `dec009_fda_cber_nhp_exception_authorized == True` (`False` -> `FAIL` `DEC009_UNAUTHORIZED_NHP_COHORT_REJECTED`, `None` -> `HOLD` `MISSING_DEC009_FDA_CBER_NHP_EXCEPTION_AUTHORIZATION`). **Full insulin independence (`derived_nhp_qualified_ii_count`, `residual_exogenous_insulin_u_kg_d == 0`, `0 < insulin_indep_day <= 45`, `dose <= 10,000 IEQ/kg`, `paired_dynamic_gsis_pass == True`) is scored INDEPENDENTLY from graft-localization post-explant C-peptide extinction (`derived_nhp_cpeptide_extinction_verified_count`):** any full responder OR partial responder (on residual exogenous insulin) claiming post-omentectomy C-peptide extinction requires ONE complete canonical procedure/extinction tuple (`omentectomy_performed == True`, unique strict-ASCII canonical `omentectomy_procedure_id`, `90 <= omentectomy_day <= followup_duration_days`, `cpeptide_extinction_subject_id == subject_id`, `cpeptide_extinction_procedure_id == omentectomy_procedure_id`, exact `Decimal` closed `[0, 14]`-day post-omentectomy assessment window with **ZERO ungoverned tolerance** [`NHP_CPEP_EXTINCTION_PRECEDES_OMENTECTOMY_PROCEDURE` / `NHP_CPEP_EXTINCTION_EXCEEDS_14D_PROMPT_WINDOW`], explicit archived boolean `post_omentectomy_cpeptide_extinguished` [`MISSING_NHP_POST_OMENTECTOMY_EXTINCTION_OUTCOME` if omitted/`None`], AND paired stimulated C-peptide assay verification `lloq_c_peptide_ng_ml > 0`, `pre_explant_stimulated_c_peptide_ng_ml > lloq`, `post_explant_stimulated_c_peptide_ng_ml <= lloq` [`MISSING_NHP_PAIRED_STIMULATED_CPEPTIDE_OR_LLOQ` if omitted; `pre <= lloq` or `post > lloq` -> `FAIL`]). A partial responder with verified paired C-peptide extinction passes localization cleanly WITHOUT being rejected for prior exogenous insulin AND WITHOUT being miscounted as a full insulin-independent responder. Pairwise alias-group conflict checks, typed monitored complications, `90 <= portal_gradient_assessment_day <= omentectomy_day` on responders, `>= 1%` residual sampling, and zero-div-safe ex-vivo rest ratio guards remain 100% enforced.