## 1. Four-Layer Provenance & Independent Audit Contract | Audit Layer | Exact Scope & What Each Verification Mode Does / Does NOT Do | How Anyone WITHOUT CellGemma / GPU Can Verify It | | :--- | :--- | :--- | | **Layer 1: Pure-CPU Frozen Arithmetic & Integrity** | **Default portable mode (6 runtime inputs; standalone distribution requires full Apache-2.0 text per §4(a)):** deterministically verifies strict JSON/nonfinite safety, payload & file SHA-256 pins, embedded **31-file** manifest syntax (external raw bytes are NOT read), exact gene-to-mean `S1`/`S2` & `n_up`/`n_down` arithmetic on `120/139` full-vector profiles (`6,263` embedded 4-decimal NPZ entries) + **`S1`/`S2` residual accounting (NOT recovery of omitted genes)** and composite arithmetic on `19/139` thresholded raw-JSON profiles (**marking the `6` `screen2_resting_h3_top6_followup` profiles among `19/19` thresholded profiles [`70/70` panels flagged unverifiable below `0.05`; `46/70` `S1` nonzero across `17/19` profiles; `70/70` `S2` nonzero across `19/19` profiles]**), **track-specific falsifying Step-0 `G1` checks** (`Track 1 >= 0.25/0.25`; `Track 2 >= 0.15/0.20`; `3x1` vs `5x3`) & **all 8 evaluated `RQC` target/score pairs bound directly in Draft C**, **embedded per-file generation-cap sums** (`142/147`, `272/351`, `36` unknown), **all 23/23 retrospective concordance scalars bound in Draft C**, all `36` core + `40` `omega` + `24` Design B discount `2^20` rows, strict Section-6 live-odds (`+0.00 percentage points`), exact header-role, exact Col-1 ceiling string, BOTH canonical `BPR-05` bounds (`64.61%`, `67.25%`), & promoted-scalar binding (`MAP3K7 -0.321`, `BCL2L11`/`PMAIP1` HLA flags, `BBC3 -0.1741 / -0.0920`, `immune_bad` shares `78.3%`/`95.8%`/`193.4%`), **`60/60` unique PMID body/Section-7 parity** plus **`9` curated `claim_to_source_map` boundary records (`33` unique PMIDs)** body/locator resolution, and **fixed host-independent portable preflight hygiene** across all 6 inputs (identical results regardless of reader account name; canonical OpenIslet release guard `check-science-export.py` remains authoritative at submission; pair with a trusted detached manifest or canonical source for full draft-byte integrity). **Local-source mode (`--verify-local-sources`):** scoped explicitly to the **31 local files listed in `source_file_sha256_manifest`** (rehashes exact bytes/SHA-256 on disk, incl. Track-1/Track-2 truth NPZs & summaries, locked benchmark plan [hash only], scripts, builder, and raw results) plus **60/60 dated NLM snapshot parity** (model weights/config remain pinned to HF; raw NPZ-to-receipt numerical re-extraction and raw sample recounting remain independent external audits). | Run `PYTHONDONTWRITEBYTECODE=1 python3 -W error -B verify_cellgemma_islet_v0_1.py` (and `python3 -W error -O -B`; pure Python stdlib, `< 1s`, zero GPU). Add `--verify-local-sources` in a full local checkout to verify all 31 listed file digests and 60/60 dated NLM snapshot fields. | | **Layer 2: Preregistered Step-0 Hard-Stop Reconciliation, Exact 8 Evaluated `RQC` Targets & Generation-Cap Limits (`cellgemma_e4b_in_silico_prior`)** | **Preregistered Hard-Stop Disclosure (`STEP0_PREREGISTERED_BENCHMARK_PLAN.md:144–167`, pinned by SHA-256 in the 31-file manifest):** Falsifying necessary `G1` conditions failed on **BOTH** tracks (distinct from reconstructing the full locked `G1–G4` pass predicate): (a) **Track 1** locked `G1` required `Pearson r >= 0.25` AND `norm_recovery >= 0.25` across prescribed conditions and post-cutoff `CM`, yet post-cutoff `3'-poly-A GSE254985 D20276` beta `CM` yielded `r = 0.1266` / `norm_recovery = 0.1271` (also failing `G3` vs naive mean-shift `B3a = 0.284`) and the 6-condition `10x Flex` beta aggregate yielded mean `r = 0.0627` (`0.0626833`) / `norm_recovery = 0.0645` (`0.0645333`); (b) **Track 2** locked `G1` required mean `r >= 0.15` AND `norm_recovery >= 0.20`, yet the **runtime-filtered evaluated 8-target `GSE273677` `EndoC-βH1` `RQC` subset** (`run_step0_mlx.py:439–448`, target identities filtered at runtime rather than fixed by name in the plan) yielded exact `R4` Pearson `r` values of **`ABCE1 +0.2889`**, **`ASCC3 +0.0483`**, **`GIGYF2 -0.0243`**, **`HSPA5 +0.1675`**, **`HSPA9 +0.2706`**, **`RACK1 +0.2719`**, **`RPL26 +0.0790`**, and **`XRN1 +0.0383`** — averaging **`r = 0.142525` (`< 0.15` preregistered `G1` floor)**, even though mean normalized recovery (`0.22765`) met its `0.20` clause; and (c) both Step-0 JSONs executed **`3` input pseudobulks × `1` stochastic draw (`3` generated samples/condition/regime)** rather than the locked **`5` input pseudobulks × `3` stochastic draws (`15` generations/condition, plan:147)**. Failing necessary `G1` conditions on both tracks triggered the locked **hard stop with no superseding preregistration issued**; the 4-target high-signal subset (`ABCE1`, `HSPA5`, `HSPA9`, `RACK1`; `mean r = 0.2497`), `8x8` `B2` specificity (`2.35x S2 / 8.69x S1`), and varying-denominator Top-50 `FDR < 0.05` directional percentages (`5/8` targets `84.6%–95.7%`, `7/8` `78.3%–95.7%`; `Panel B` `74.2%`/`84.2%`/`88.2%`) are strictly **exploratory post-hoc diagnostics**, and **Phase 1 rankings are NOT cleared by preregistration**. **Generation-Cap & Summary-Truncation Limits:** **`142/147` Step-0 runs hit `4,096` tokens** (`78/81` 3', `64/66` Flex; saved `top15_up/down`) and **`272/351` Phase-1 runs with retained token counts hit `3,072` tokens** (`82/96` S1, `104/150` S2, `74/93` S3 [`top12_up/down`], `12/12` resting follow-up [`top10_up/dn`]), while **`36` runs** (`phase1_pure_ec_and_nk_verify.json`) have **unknown stopping reasons** and no per-draw arrays; cap-hit outputs entered scoring (`run_step0_mlx.py:637–659`). Primary beta-cell rankings use **one selected donor** (`GSE254985 D20276`, pooled 3-cytokine stressed input, `T = 0.7`, `n = 2–3` draws, no stochastic uncertainty estimate). | Regenerating raw inference requires `google/cellgemma-e4b` (`15.61 GB`, `Apache-2.0`, HF commit `6212145e0131d3744171739ea5232afc6aaa7c76`) plus the pinned local scripts (`run_step0_mlx.py`, `run_phase1_blueprint_discovery.py`) and processed inputs hashed in `source_file_sha256_manifest` on Apple Silicon / CUDA GPU. Saved arrays do NOT retain full raw rollouts. | | **Layer 3: Prospective Wet-Lab Biological Hypothesis Testing (Not Yet Executed)** | Wet-lab gates test the **biological hypotheses** (not CellGemma's numerical outputs): `IIP-0049` Stage 1 & Stage 2 attribution, verified on-target KD + original-input-cell viability rescue (`Gate C-1`), resting beta identity/granule/`IAPP`/`Bcl-xL`/`MCL1`/`CD59`/basal `HLA-E`/`HLA-C` + absolute Hour-0 density floors + full canonical Readout 2 (`Gate C-2`), exact-product `GY-001` & sorted NK subset qualification (`Gate C-3`), and **construct-native safety-switch gates** (`AAVS1-iCasp9` for `A`/`X`/`B2`; Stage-0 `Y-04` + `Y-09` bound by full `DEC-131/Gate 33` + `R3P-05` for `Y`; `D1-04` bound by full `Gate 33` for `D`; supplementing full stressed 5-lineage `Gate 0V-Kill`; `Gate C-4`). | Strictly conditional on passing `IIP-0049` Stage 1–2 and **Gates C-1 through C-4** (`+0.00 pp` live today; zero FASTA minted). | | **Layer 4: Independent Literature Verification** | Dated NLM/NCBI PubMed snapshot (`2026-12-02T16:04:39Z`): 19 live-retrieved PubMed records (zero preprints, zero retracted in snapshot; untruncated upstream titles, exact DOIs, `pubtypes_ncbi`, normalized `publication_type`, and curated `claim_to_source_map` boundary locators pinned). | Read all 19 PubMed records directly (Section 7). Portable verification checks 60/60 body/Section-7 parity + 9 curated claim records (33 unique PMIDs) for locator/body presence; semantic full-text fidelity and live retraction API queries remain human-reviewed checks. | ---