docs/GATE-30-PORTFOLIO-AND-TRACKB-CONTINGENCY-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-30-PORTFOLIO-AND-TRACKB-CONTINGENCY-PROTOCOL.md · SHA-256: eb061cc627c54ecd…
- **Mandatory Outcome-Blind Hash-Pinned Pre-Registered Donor Roster & Fixed-Horizon Analysis Plan (Raw-Set Pre-Dedup Reconciliation), Cluster-Conservative Distribution-Free Clopper–Pearson Suppression, Typed Contradiction-Guarded `GY-018` Justification & Fixed-Roster Bonferroni `FWER <= 0.05` Proof:** Authorization-grade overall `PASS` or donor-based `FAIL` REQUIRES a mandatory closed-schema **`preregistered_donor_family_roster`** block (`roster_id`, ISO-8601 UTC `preregistration_timestamp_utc`, `outcome_blind_lock_attestation == True`, **`single_look_fixed_horizon_plan_locked == True`**, **`planned_analysis_looks == 1`**, `roster_donor_ids` of `>= 3` unique unpadded canonical T1D donor IDs [`>= 9` for confirmatory suppression `PASS`], `planned_t1d_donor_family_n == len(roster_donor_ids)`, **fixed per-donor cytotoxicity sample size `predeclared_per_donor_unit_count_n >= 60` or exact per-donor map `predeclared_per_donor_unit_counts`**, and exact lowercase 64-hex `roster_sha256` over canonical sorted compact UTF-8 JSON committing **the full fixed-horizon plan `{planned_analysis_looks, predeclared_per_donor_unit_counts, preregistration_timestamp_utc, roster_donor_ids, roster_id, single_look_fixed_horizon_plan_locked[, predeclared_per_donor_unit_count_n]}`**), reconciled **100% on ALL raw submitted and excluded donor IDs AND fixed-horizon per-donor sample size `N` across ALL raw submitted rostered donor rows BEFORE duplicate-donor exclusion** (so even a conflicted duplicate rostered donor with e.g. `[60, 70]` or `[70, 60]` unit counts populates `roster_sample_size_plan_mismatched_donors`, sets `authorization_grade_fwer_bound_valid = False`, and withholds donor-cohort authorization rather than letting duplicate skipping hide a fixed-`N` violation), reconciling every raw submitted rostered row's `raw_independent_units_n`, `apc_cytotoxicity_n_eff`, and `gy018_independence_justification.predeclared_per_donor_unit_count_n` against the hash-pinned commitment (any unrostered ad-hoc donor — even if duplicated — omitted roster donor, multi-look/unverified plan, or sample-size mismatch such as peeking at `17/170` under a roster digest committed at `N=66` sets `authorization_grade_fwer_bound_valid = False` and fails closed to non-authorizing `HOLD_INVALID_OR_MISSING_INPUT` for donor adjudication, while independent valid non-donor SPR failures remain fail-first `FAIL` with `failure_domain = "INDEPENDENT_NON_DONOR_SPR"` and out-of-spec physicochemical SEC-MALS/DLS material holds strictly as unqualified material with `failure_domain = None`). Confirmatory cytotoxicity `PASS` additionally requires **100% measured valid cytotoxicity evidence across EVERY rostered donor (`0` pre-assay exclusions; any documented pre-assay exclusion withholds confirmatory `PASS` to `HOLD` while keeping `N_roster` fixed for conservative Bonferroni `FAIL`)**. Every donor record MUST supply explicit typed T1D eligibility (**`t1d_diagnosis_confirmed == True`**, **`donor_clinical_cohort == "T1D"`**, and non-empty unpadded string **`t1d_prequalification_ref`**), a qualifying T1D `hla_genotype` from the allowlist (`HLA-DQ2.5`, `HLA-DQ8`, `HLA-DQ8-trans`, `HLA-DQ2.2` or canonical allele pairs), unpadded **`assay_run_id`**, **`cocktail_mixture_id`** bound to a passing physical mixture in `sec_mals_dls_monomer_coformulation.qualified_coformulation_mixtures`, top-level **`donor_sampling_and_independence_design`**, mandatory typed contradiction-guarded **`gy018_independence_justification`** (`independent_unit_class`, `within_donor_units_physically_independent == True`, `clustering_controls_present_and_verified == True`, `shared_well_technical_reads_excluded == True`, unpadded `independence_evidence_record_id`, `independent_experimental_unit`, `predeclared_per_donor_unit_count_n == raw_independent_units_n >= 60`, `clustering_controls`), exact **`GY-018` `design_effect_deff == 1.0` with zero tolerance preserved as exact `Decimal` through `load_strict_json_text`**, `cytotoxicity_independence_model == "EXACT_BINOMIAL_INDEPENDENT_UNITS"`, and `apc_cytotoxicity_n_eff == raw_independent_units_n >= 60` per donor (`4.870291%` = `1 - 0.05^(1/60)` max zero-event one-sided 95% Clopper–Pearson upper bound at `0/60`; caller-supplied `L95`/`U95` deviating by `> 0.05` pp two-sided fails closed). **Cluster-Conservative Distribution-Free Suppression Inference (`suppression_student_t_authorizing = False`, assay acceptance range `[-1000.0, 100.0]%`):** Declared confirmatory estimand is the **HLA-DQ-eligible (`HLA-DQ2.5`, `HLA-DQ8`, `HLA-DQ8-trans`, or `HLA-DQ2.2`) T1D donor** responder proportion `p_resp = P(donor_suppression_pct >= 70.0%)` over immutable `N_roster` (every excluded/missing/non-evaluable rostered donor counts as `Y_i = 0`) AND evaluated cluster-conservatively across expression-batch connected components, assay-run clusters, and joint `(batch U run)` connected components (`eff_L95_CP = min(donor, batch-cluster, run-cluster, joint-cluster)`, retaining every submitted donor's validated batch/run links independently of unrelated per-donor optional APC CI/summary errors so disqualifying a bridge donor never splits a connected component into singletons, and requiring `donor_topology_complete_for_suppression = True`), **authorized STRICTLY for simple random or consecutive independent cohorts (`sampling_design_class == "SIMPLE_RANDOM_OR_CONSECUTIVE_INDEPENDENT_T1D_COHORT"`; stratified cohorts such as `"STRATIFIED_INDEPENDENT_T1D_HLA_DQ_COHORT"` set `suppression_inference_authorized_by_sampling_design = False` and route unweighted suppression to `HOLD` with `STRATIFIED_COHORT_REQUIRES_TARGET_WEIGHTED_SUPPRESSION_ESTIMATOR` without certifying `PASS` or firing unweighted suppression `FAIL`)**. **Explicit donor & cluster probability condition and descriptive-only U95 scope:** for each independent connected component `C_j`, the all-positive event probability `P(all donors in C_j meet threshold)` is bounded above by the applicable single-donor marginal probability `p_donor` **only** under independent components with non-informative cluster sizes and identical marginal response distributions across assay conditions (informative cluster sizes or systematically differing batch/run assay conditions remain external sampling/laboratory QA assumptions not verified by ID graph topology alone); only the one-sided lower bounds drive `PASS`/`FAIL` adjudication while `suppression_responder_u95_clopper_pearson_pct` carries `suppression_responder_u95_scope = "DESCRIPTIVE_DIAGNOSTIC_ONLY_NO_MARGINAL_UPPER_COVERAGE_GUARANTEE"` (no general marginal upper-coverage guarantee under cluster-all-positive events). Adjudicated by exact one-sided Clopper–Pearson `L95_CP(k_ge_70, N_roster, alpha=0.05) >= 70.0%` (requiring `>= 9` disjoint batch/run clusters for confirmatory `PASS`, where `9/9` disjoint clusters gives `71.687116% >= 70.0%` with exact null false-`PASS` `0.70^9 = 0.040354 <= 0.05`, whereas sharing batches or assay runs across donors collapses cluster-level `L95_CP` -> `HOLD`, `N = 3` `[80, 80, 80]` gives `36.840315% -> HOLD`, and `8/9` gives `57.086445% -> HOLD`) plus hard anti-enhancement safety guard `min_donor_suppression >= 0.0%` (negative enhancement values in `[-1000.0, 0.0)%` such as `-5.0%` are accepted as valid measurements and routed to `HOLD`, whereas values `< -1000.0%` such as `-1e200` fail closed to `HOLD_INVALID_OR_MISSING_INPUT` with overflow-immune diagnostics) plus cohort mean `>= 70.0%`; biological suppression `FAIL` triggers strictly when `suppression_inference_authorized_by_sampling_design == True` and `donor_topology_complete_for_suppression == True` and cluster-conservative `L95_CP(k_lt_40, N_roster, alpha=0.05) > 60.0%` (exact null false-`FAIL <= 0.05` for all `N_roster`). **Fixed-Roster Cytotoxicity `FWER <= 0.05` Proof (`cohort_t_lower_authorizing = False`):** Primary authorization-grade estimand is `H0_all: max_{i=1..N_roster} p_i <= 5.0%`, tested by exact one-sided Clopper–Pearson Bonferroni lower bounds at fixed `alpha_donor = 0.05 / N_roster` where `N_roster = len(preregistered_donor_family_roster.roster_donor_ids)` NEVER shrinks under row exclusions (`simultaneous_worst_donor_bonferroni_lower_pct > 5.0%` -> `FAIL` strictly when `authorization_grade_fwer_bound_valid = True`, remaining active on stratified cohorts; `fwer_bound_scope = "FIXED_ROSTER_DONOR_CYTOTOXICITY_FAMILY_ONLY_NOT_UNION_WITH_SPR_OR_SUPPRESSION"`, NOT the union with SPR or suppression). **External Custody & Local-Replay Scope Condition (`external_preregistration_custody_required = True`):** Exact distribution-free fixed-horizon `FWER <= 0.05` Boole bound (scoped strictly to the fixed-roster, fixed-per-donor-`N`, single-look donor cytotoxicity family) and cluster-conservative suppression calibration hold mathematically conditional on external outcome-blind pre-readout custody/time-stamping of the **full analysis plan** inside `preregistered_donor_family_roster` (donor roster membership + fixed per-donor `N` + single-look horizon `planned_analysis_looks == 1`) prior to assay readouts and genuine physical independence across declared donor/batch/run units (verified by external laboratory QA, not from JSON strings alone); local JSON replay verifies internal cryptographic hash integrity, per-mixture physical co-formulation binding, matched WT15/6DFX comparator-batch coverage, strict closed-schema canonical allowlists, retained topology, and timestamps only, and unpinned, tampered, multi-look, sample-size-mismatched, or incompletely reconciled submissions fail closed to non-authorizing `HOLD_INVALID_OR_MISSING_INPUT` for donor adjudication. Overflow-immune signed Student-t bounds (`suppression_l95_t_diagnostic_only_pct` on `[-1000.0, 100.0]%` guaranteeing non-inverted `L <= mean <= U` on negative values such as nine `-5.0%` observations yielding `[-5.0%, -5.0%]`, `cohort_mean_cytotoxicity_t_lower_diagnostic_only_pct` on `[0.0, 100.0]%`, tabulated identically for `df = 1..30` + Cornish–Fisher `df > 30`) and `unadjusted_donor_l95_diagnostic_only` are strictly **non-authorizing descriptive diagnostics**, while cytotoxicity `U95` uses conservative `max(U95_t_across_donors, max_donor_U95_clopper_pearson)`.
- **Zero-Credit Modules Pending Wet Lab:** `Islet-SORT` (`0.00 pp` credit until 5–10 sibling screen resolves `ITGA2` paralog inversion vs WT `ITGA1`) and `Islet-GUARD` (`0.00 pp` credit; aligns primarily to Blueprint `Gate 3` thrombo-inflammation / peri-graft bleeding in Route 1 context, not Gate 4 cytoprotection; pending mammalian/insect expression confirming folding and activity of the 18-Cys / 9-disulfide / 2-N-glycan-sequon construct [UniProt `P07204` reference expectations; unmeasured in expressed product] and surgical-site bleeding-risk assay clearance; Stage-0 registration and standalone gate policy restricts `Islet-GUARD` strictly to `ROUTE_1_CAO2_HYDROGEL` arms `A, X` only).