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…
## 3. Standalone Verifier Execution Contract - **Default Canonical Fixture Pinning & Strict JSON Decoding:** By default, `--standalone` pins and verifies the exact canonical `IIP-0035` fixture SHA-256 (`31320c0e6ac039773c2ca58160f064e8655d1a58b97050a713dfbf00d283ff99`) BEFORE parity comparison (failing closed on any byte alteration). Two explicit mutually exclusive alternatives to the default canonical pin are exposed: (1) `--expected-shipped-sha256 <64-hex-sha256>` to pin an explicit alternate trusted fixture digest, or (2) `--allow-unpinned-diagnostic` for unpinned diagnostic inspection only. All JSON fixtures use a strict decoder rejecting duplicate keys (`object_pairs_hook`), non-finite JSON constants (`NaN`/`Infinity`), and overflowing float/integer tokens during decoding. - **Mutually Exclusive Modes (Fail-Closed):** `--standalone` and `--cross-track-dir` are **mutually exclusive** (`add_mutually_exclusive_group()`); passing both exits non-zero. `--allow-unpinned-diagnostic` and `--expected-shipped-sha256` are likewise mutually exclusive. - **Portable Read-Only Verification (Cross-Build Semantic Check — Recommended Across Any CPython 3.12.12 Build, Does Not Overwrite Installed Receipt):** `PYTHONDONTWRITEBYTECODE=1 python3 -B scripts/verify_iip0042_master_multilayer_portfolio_crosswalk.py --standalone --check-portable --repo-root .` *(Performs a strict read-only cross-build comparison against `data/extracted/iip0042_master_multilayer_portfolio_crosswalk_v0.8.0.json` ignoring ONLY `runtime_environment.python_version` — verifying exact `portable_payload_sha256` and full field-for-field semantic equality including all numeric tolerances, `24/24` live `IIP-0035` scalars, `74` XREACT + `104` SHIELD-SPR self-tests, and `Gate 30-TOS-QUARANTINE`; repeat with `-O -B` to confirm identical output under optimized Python.)* - **Exact-Build Byte-Compare Example (Live `IIP-0035` Parity — Does Not Overwrite Installed Receipt):** `PYTHONDONTWRITEBYTECODE=1 python3 -B scripts/verify_iip0042_master_multilayer_portfolio_crosswalk.py --standalone --repo-root . --out /tmp/iip0042_standalone_check.json && cmp -s /tmp/iip0042_standalone_check.json data/extracted/iip0042_master_multilayer_portfolio_crosswalk_v0.8.0.json` *(Verifies pinned `IIP-0035` SHA-256, `24/24` live `IIP-0035` scalars exact at the shipped 4-decimal display precision, unrounded `L0` parity `<= 5e-9`, `4,096`-state 3-incumbent-arm projection `<= 1e-12`, crossed paired-donor / run-level positive-control / HLA-E / compromised-IgG-exclusion / pure subtractive cross-run Fab withholding / pre-AUC vehicle validation / vehicle-qualified Fab maxima / rejected-Fab-linkage & vehicle-invalid-Fab isolation / linked-endpoint-conflict-quarantine / AUC / same-run Fab-deconvolution `Gate 30-ATG-XREACT` self-tests [`74` cases], mirrored full typed `Gate 30-SHIELD-SPR` self-tests [`104` cases across `77/77` character-identical shared AST symbols], and full fail-closed `Gate 30-TOS-QUARANTINE` requiring `.openislet_public_bundle` on public-bundle manifests, `17/17` structures, and complete allowlisted inventory; repeat with `-O -B` to confirm identical output under optimized Python. Omitting `--out` writes directly to the installed receipt path.)* - **Full Cross-Track Mode (Fail-Closed):** `PYTHONDONTWRITEBYTECODE=1 python3 -B scripts/verify_iip0042_master_multilayer_portfolio_crosswalk.py --repo-root . --cross-track-dir <dir> --out /tmp/iip0042_crosstrack_check.json` (requires both `EXP-028` and archived `EXP-029` receipts to exist, be non-empty, pass strict JSON decoding, and satisfy numeric parity `<= 1e-12` on raw unrounded fields / exact 4-dp display fields where upstream only emits display precision, never self-comparing missing upstream fields). - **Same-Build Raw Byte Equality vs Cross-Build Portable Semantic Comparison (`--check-portable`) Policy:** Raw `cmp -s` / `diff` byte equality against the committed receipt applies specifically when replayed on the exact same CPython 3.12.12 build timestamp recorded in `runtime_environment.python_version` (and between `-B` and `-O -B` on any single Python build). Because distinct patch builds of CPython 3.12.12 (e.g., Dec 2025 vs Feb 2026) embed different build dates inside `runtime_environment.python_version` while producing byte-identical computation, use `--standalone --check-portable` (which checks exact `portable_payload_sha256` and full semantic equality while ignoring ONLY `runtime_environment.python_version`, keeping all existing `24/24` displayed scalar parity and `<= 1e-12` numeric tolerances unchanged). Across distinct Python minor versions (e.g., `CPython 3.9.6` or `3.11`), cross-interpreter verification verifies **`24/24` displayed scalar parity and `<= 1e-12` numeric tolerance**. <!-- 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 -->