## 1. Executable Dual-Evaluator Composite Release Governance Because `scripts/wetlab_contract.py` stays 0-byte frozen under Option-2 Zero-LIMS-Touch invariance, a standalone `READY_FOR_ENCAPSULATION_COMPLETE_STAGE0_EVIDENCE` verdict from `wetlab_contract.py` covers only β-cells (reference design fraction `51.42%` of the modeled `9.335 × 10^8`-cell graft, leaving a reference design fraction of `48.58%` across `α`, `δ`, `PLVAP+ iEC`, and `pericyte` unscored — actual lot cellular composition remains to be measured experimentally and varies across SC-islet and native pancreas preparations) and **never** authorizes clinical lot release on its own. - **Composite Wrapper (`scripts/evaluate_gate0v_composite_release.py`):** Executes BOTH read-only `scripts/wetlab_contract.py` (invoked with preserved canonical `product_variant_id`, `current_lot_id`, and `mcb_id` — never stripped!) AND `scripts/verify_iip0043_wholegraft_gate0v_and_calibration.py --evaluate-lot` on the exact same measured lot bound by shared `lot_id`, `mcb_id`, canonical `product_variant_id` (resolved strictly against `data/protocols/islet1_product_definitions_v0.8.0.json` plus allowlisted `IIP-0041` side-contract `ABX_L2_v2_*` entries; zero substring inference), and canonical `payload_sha256`. Staged `execution_supported: false` comparators (`Design Y-FullStack v2`, `D1b-Auto-C v2`, `ABX_L2_v2_*`) remain held at clinical composite release until promoted. - **Independent External Approval Store (`--trusted-qualification-store `), Mandatory Dual-Replay Composite Bank Archive & Genotype Stratum Binding:** Prior bank or process qualification records embedded inside a submitted lot bundle are **never** accepted as proof of prior approval. `LOT_RELEASE_SURROGATE` and `AUTOLOGOUS_D1B_PROCESS_QUAL` resolve prior qualification records solely from an independently controlled external store, verifying canonical SHA-256, `mcb_id`, canonical `product_variant_id`, canonical product-family-to-tier eligibility, `operational_tier`, `approved_by_authority_id`, and underlying dual-evaluator PASS outcomes. For `LOT_RELEASE_SURROGATE` clinical release, BOTH (a) a recognized canonical `antiviral_genotype_stratum` on the external `BANK_QUALIFICATION` record AND (b) the **verified original archived `BANK_QUALIFICATION` payload** (`archived_bank_payload_verified == true`) in either store layout (embedded-dict registry JSON or file-backed directory store) are **mandatory** (never optional). Thin metadata-only stubs are rejected across both layouts, with strict separation between composite clinical release and the standalone Gate-0V evidence boundary: - **Composite Clinical Release (`evaluate_gate0v_composite_release.py`, `legacy_evaluator` active):** **STRICTLY REQUIRES** a complete **composite bank archive** carrying BOTH `legacy_stage0_observations` AND complete `gate0v_wholegraft_payload` validated through the **exact same shared canonical composite-envelope contract** as direct composite submission (`validate_canonical_composite_envelope`: mandatory canonical top-level `product_variant_id` — never alias-only `product_variant` — plus 100% reconciled `lot_id`, `mcb_id`, canonical `product_variant_id`, and `antiviral_genotype_stratum` across all layers, verified outer and nested `payload_sha256` self-digests, and independent reconciliation of **every** supplied tier field — top-level `qualification_tier`, top-level `operational_tier`, nested Gate-0V `qualification_tier`/`operational_tier`, and any legacy tier fields — against `"BANK_QUALIFICATION"` with zero `or` short-circuiting), AND live re-executes **BOTH** `evaluate_wholegraft_gate0v_and_stress_ap1903` (`archived_bank_payload_live_g0v_revalidation_passed == true`, returning `PASS_WHOLEGRAFT_BANK_QUALIFICATION`), read-only `wetlab_contract.py` (`archived_bank_payload_live_legacy_revalidation_passed == true`, returning `READY_FOR_ENCAPSULATION_COMPLETE_STAGE0_EVIDENCE`), AND live composite bank replay (`archived_bank_payload_live_composite_revalidation_passed == true`, `archived_bank_payload_live_revalidation_passed == true`, returning `PASS_COMPOSITE_BANK_QUALIFICATION`). Any archived composite bank envelope with a conflicting tier field (e.g., `qualification_tier="BANK_QUALIFICATION"` with `operational_tier="LOT_RELEASE_SURROGATE"`) or missing canonical top-level `product_variant_id` (alias-only) fails closed identically to direct composite submission across BOTH store layouts with **`HOLD_ARCHIVED_BANK_ENVELOPE_MISMATCH`** plus the exact direct hold token (`HOLD_COMPOSITE_OPERATIONAL_TIER_MISMATCH` / `HOLD_COMPOSITE_MISSING_TOP_PRODUCT_VARIANT_ID`), `archived_bank_payload_live_revalidation_passed = false` (all live replay booleans `false`), exit `2`. Any plain standalone whole-graft-only bank archive (lacking archived `legacy_stage0_observations`) is rejected immediately in composite mode with **`HOLD_MISSING_ARCHIVED_LEGACY_PAYLOAD_FOR_COMPOSITE_RELEASE`**, **`HOLD_MISSING_OR_INVALID_ARCHIVED_BANK_PAYLOAD`**, and **`HOLD_UNVERIFIED_EXTERNAL_APPROVAL_STORE`** (`archived_bank_payload_verified = false`, `archived_bank_payload_live_legacy_revalidation_passed = false`, exit `2`; NEVER `PASS_COMPOSITE_CLINICAL_RELEASE`), and any composite archive whose archived legacy observations fail live `wetlab_contract.py` replay fails closed identically (exit `2`). - **Standalone `verify_iip0043` Evidence Boundary (`legacy_evaluator=None` only):** Retains support for either a complete canonical standalone `BANK_QUALIFICATION` Gate-0V payload (requiring canonical `product_variant_id`, reconciling any supplied `operational_tier` against `"BANK_QUALIFICATION"`, and carrying all mandatory evidence blocks `gate0v_a_poly_ic_sensing`, `gate0v_b_infectious_challenge` with all 3 pathogens `cvb4_e2`/`cvb3`/`hcmv`, `gate0v_kill_stress_ap1903` with all 5 stress regimes, and `antiviral_genotype_stratum` with verified internal `payload_sha256` self-digest) OR a complete canonical composite bank bundle validated by `validate_canonical_composite_envelope`, requiring live `evaluate_wholegraft_gate0v_and_stress_ap1903` revalidation returning `PASS_WHOLEGRAFT_BANK_QUALIFICATION` (`archived_bank_payload_live_g0v_revalidation_passed == true`). - Absent, non-object, metadata-only stub, self-digest-tampered, nested-identity-contradictory, missing-legacy-in-composite-mode, or failing archived bank payloads fail closed immediately with **`HOLD_MISSING_OR_INVALID_ARCHIVED_BANK_PAYLOAD`** and **`HOLD_UNVERIFIED_EXTERNAL_APPROVAL_STORE`** (`archived_bank_payload_verified = false`, exit `2`; never `PASS_WHOLEGRAFT_LOT_RELEASE_SURROGATE` or `PASS_COMPOSITE_CLINICAL_RELEASE`), and missing/unrecognized/mismatched genotype strata fail closed with **`HOLD_UNVERIFIED_OR_MISMATCHED_BANK_GENOTYPE_STRATUM`** (exit `2`). **Deployment Prerequisite (Organizational & Storage Control):** Software record-content, self-digest, and live evaluator re-verification checks alone do not establish custody; clinical deployment requires independent Quality Assurance (QA) operator administration, write-restricted/tamper-evident independent storage control, and strict separation of duties between lot submitters and `--trusted-qualification-store` administrators. - **Canonical Product-Family-to-Tier Allowlist & Tier-Distinct PASS Codes:** - `BANK_QUALIFICATION` and `LOT_RELEASE_SURROGATE` are strictly restricted to canonical **allogeneic MCB-banked** product families (including allowlisted `IIP-0041` allogeneic `ABX_L2_v2_*` donors). `AUTOLOGOUS_D1B_PROCESS_QUAL` is strictly restricted to canonical **autologous `D1b-Auto-C`** variants (`ISLET1_D1_AUTO_*`). Submitting an allogeneic product (such as `ISLET1_A4_ARM1B`) on `AUTOLOGOUS_D1B_PROCESS_QUAL` — even with a matching external QA process-record digest and product ID — or submitting an autologous `D1b` product on `BANK_QUALIFICATION`/`LOT_RELEASE_SURROGATE` fails closed with **`HOLD_INAPPLICABLE_QUALIFICATION_TIER_FOR_PRODUCT_FAMILY`** (exit `2`). - `BANK_QUALIFICATION` emits **`PASS_WHOLEGRAFT_BANK_QUALIFICATION`** / **`PASS_COMPOSITE_BANK_QUALIFICATION`** (exit `0`, `release_authorizing = false`) plus a canonical SHA-256-bound bank-qualification record (NEVER clinical lot release). - `LOT_RELEASE_SURROGATE` emits **`PASS_WHOLEGRAFT_LOT_RELEASE_SURROGATE`** / **`PASS_COMPOSITE_CLINICAL_RELEASE`** (exit `0`) ONLY when an externally verified prior MCB `BANK_QUALIFICATION` approval AND its canonical, self-digest-verified, nested-identity-reconciled, live-reverified original archived bank payload (`archived_bank_payload_verified == true`, with BOTH `archived_bank_payload_live_g0v_revalidation_passed == true` AND `archived_bank_payload_live_legacy_revalidation_passed == true` on a complete composite bank archive in composite clinical release) are resolved from `--trusted-qualification-store`, current-lot sentinel `CVB4-E2` + 2-regime `AP1903` pass under a valid reconciled `deff == 1.0` sampling-unit basis, and zero adverse or uncalibrated supplemental data are submitted. **Conditional Modeled Release Scope (Machine-Readable on Every Live Response):** Every live API and CLI `PASS_WHOLEGRAFT_*` and `PASS_COMPOSITE_*` response across all tiers (`BANK_QUALIFICATION`, `LOT_RELEASE_SURROGATE`, and `AUTOLOGOUS_D1B_PROCESS_QUAL`), as well as EVERY `NW-08` measured-OCR entry point (`dispatch_and_solve_nw08_measured_ocr`, `evaluate_nw08_measured_ocr_record`, `evaluate_nw08_measured_ocr_file`, and `--dispatch-nw08-ocr`), directly emits `"qualification_scope": "CONDITIONAL_ON_MODELED_ASSUMPTIONS_PENDING_PHYSICAL_QUALIFICATION"` and `"physical_qualification_complete": false` — making explicit in machine-readable form that every software verdict remains conditional on modeled statistical and biophysical assumptions (per-estimand directional confidence scope, the modeled `97.6508%` 15-panel screening/control scope, and the modeled `NW-08` `15.0 mmHg` oxygen floor) and pending physical exact-product qualification. - `AUTOLOGOUS_D1B_PROCESS_QUAL` emits **`PASS_WHOLEGRAFT_AUTOLOGOUS_PROCESS_QUAL`** / **`PASS_COMPOSITE_AUTOLOGOUS_CLINICAL_RELEASE`** (exit `0`, staged path contingent on legacy `execution_supported` promotion) ONLY for canonical `ISLET1_D1_AUTO_*` variants with an externally verified process-qualification record from `--trusted-qualification-store` carrying autologous process-qualification upstream PASS semantics (`PASS_WHOLEGRAFT_AUTOLOGOUS_PROCESS_QUAL` or `PASS_COMPOSITE_AUTOLOGOUS_PROCESS_QUAL` — NEVER allogeneic `PASS_WHOLEGRAFT_BANK_QUALIFICATION`, aligned with the product-family allowlist; linked process archive evidence required prior to activation), current-lot adventitious-agent panel digest, active edited-genotype non-inferiority, 2-regime `AP1903`, and zero adverse or uncalibrated supplemental data. - **Consistent Fail-Closed Adjudication Across Required & Supplemental Arms (Zero Silent Discards):** Every lineage dictionary across required and supplemental stress regimes, pathogen persistence tables, `CD55` strain blocks, and `Gate 0V-A` panels inspects **all** submitted keys; any unexpected non-canonical lineage key fails closed (**`HOLD_UNRECOGNIZED_LINEAGE_KEY_*`**) and is fully adjudicated so adverse raw counts, caspase blockade, or viable viral survivors ALWAYS emit **`FAIL_HARD_STOP`** / **`FAIL_HARD_STOP_COMPOSITE_RELEASE`** (exit `3`). A dedicated pre-schema adverse `per_unit_counts` scanner runs unconditionally BEFORE any sampling-class, required-vs-supplemental, or row-ID schema gating across every arm (required and supplemental stress regimes, pathogen arms, latent `ddPCR` arms/targets, `CD46`/`CD55` addenda) in BOTH single-cell and multi-well modes (and even when `clustering_and_independence_spec` is missing/invalid) with **zero early returns on malformed rows**: any interpretable unit row reporting positive post-`AP1903` viral escape (`HARD_STOP_ADVERSE_PER_UNIT_POST_AP1903_VIRAL_ESCAPE`), viral persistence (`HARD_STOP_ADVERSE_PER_UNIT_VIRAL_PERSISTENCE`), `k_u > n_u`, adverse unit sums exceeding the declared aggregate `k`, or conclusive `AP1903` kill-floor breach (`HARD_STOP_ADVERSE_PER_UNIT_CONTRADICTS_AGGREGATE_OR_BREACHES_KILL_FLOOR`) ALWAYS emits **`FAIL_HARD_STOP`** / **`FAIL_HARD_STOP_COMPOSITE_RELEASE`** (exit `3`, never downgraded to `HOLD` by an unrelated malformed row). Under a concurrent vehicle-control HOLD (`s_veh_L975 < 0.10` or missing/invalid vehicle counts), the 3-state ideal-`s_veh = 1.0` survivor check evaluates ALL `0 <= k <= n` (including zero-event counts `k == 0`) and escalates to **`FAIL_HARD_STOP`** **only** when evidence is conclusively adverse — specifically when exact directional confidence is certified (`deff == 1.0` with a valid reconciled sampling-unit basis) and the one-sided **lower** Clopper-Pearson bound on raw treated survivors exceeds the cap (`L_ideal > 0.001` at `24 h` or `L_ideal > 0.0001` at `72 h`, e.g., `30/5,000` at `24 h` or `10/20,000` at `72 h`), or unconditionally when a deterministic biological hard stop triggers (`post_ap1903_viable_viral_pos_k >= 1`, `caspase9_3_activity_fold_over_vehicle < 5.0`, `k_treated > n_treated`, `cxadr_ko_present == true`). Indeterminate intervals straddling the cutoff (`L_ideal <= cap < U_ideal`, including zero-event cases such as `0/1,000` at `24 h` or `72 h` giving `L_ideal = 0 <= cap < U_ideal = 0.00368208`, as well as `1/5,000` vs `0.001` or `1/20,000` vs `0.0001`) remain **`HOLD_INCOMPLETE_OR_UNDERPOWERED`** tagged **`INDETERMINATE_INTERVAL_STRADDLING_CAP_UNDER_CONTROL_HOLD`** with sentinel hold **`HOLD_INDETERMINATE_INTERVAL_STRADDLING_CAP_UNDER_CONTROL_HOLD`** (exit `2`, NEVER `PASS` and NEVER `FAIL_HARD_STOP`). Every verdict includes an explicit `tested_vs_inherited_scope` manifest separating current-lot tested assays from externally verified inherited scope. - Any malformed, unreadable, ambiguous, schema-invalid-typed (e.g., unhashable JSON list/object values in scalar fields such as `qualification_tier` or `route_id`, or non-boolean `require_trusted_nw08_ocr_record`), excessively nested (`> MAX_JSON_NESTING_DEPTH = 64` containers) or parser `RecursionError`-triggering, out-of-float64-range integer (`abs(val) > 10^300`, e.g., `10^400`), overflowing float (`1e500`), **nonzero float64 underflow** (`-1e-400`, `1e-400`, `-1e-325` -> `NONZERO_FLOAT_UNDERFLOW_REJECTED`), **signed negative zero across all spellings** (JSON integer `-0`, JSON float `-0.0`, and quoted strings `"-0"` / `"-0.0"` -> `INVALID_NEGATIVE_OR_SIGNED_ZERO_BOUNDARY_VALUE`), or non-canonical JSON (enforced across EVERY direct lot, standalone CLI, external registry, directory record, archived payload, and NW-08 measured-OCR intake boundary by ONE shared strict RFC-8259 JSON decoder `strict_json_loads` using exact `Decimal` float-token decoding with exact `Decimal` preservation on adjudication-boundary keys so JSON numbers like `1.00000000000000001` and JSON strings like `"1.00000000000000001"` produce 100% identical fail-closed verdicts with zero float64 precision drift, plus iterative `MAX_JSON_NESTING_DEPTH = 64`, `RecursionError` capture as `JSON_DEPTH_OR_RECURSION_LIMIT_EXCEEDED`, duplicate-key rejection at any nesting depth, and `NaN`/`Infinity` rejection before validation or canonical hashing), missing/invalid sampling-unit specification or unreconciled per-unit partition (`HOLD_INSUFFICIENT_INDEPENDENT_BIOLOGICAL_UNITS`, `HOLD_SAMPLING_UNIT_PARTITION_MISMATCH_OR_INSUFFICIENT_UNITS`, `HOLD_SAMPLING_UNIT_SUBSET_OR_ID_CONTRADICTION`, `HOLD_UNEXPECTED_PER_UNIT_COUNTS_IN_SINGLE_CELL_MODE`), unregistered or mismatched `product_variant_id`/ID/digest, β-only lot, missing ectopic-receptor addendum, forbidden `require_trusted_nw08_ocr_record = true` on `BANK_QUALIFICATION` (`HOLD_NW08_REQUIRED_OCR_NOT_PERMITTED_ON_BANK_QUALIFICATION`), omitted required trusted NW-08 OCR record on clinical release lots (`HOLD_NW08_REQUIRED_OCR_RECORD_MISSING`), clustered `deff > 1.0` (`HOLD_CLUSTERED_DEFF_GT_1_REQUIRES_CLUSTER_LEVEL_INFERENCE`), or single-evaluator HOLD emits structured JSON **`HOLD_COMPOSITE_RELEASE`** / **`HOLD_NW08_REQUIRED_OCR_NOT_PERMITTED_ON_BANK_QUALIFICATION`** / **`HOLD_NW08_REQUIRED_OCR_RECORD_MISSING`** / **`HOLD_CLUSTERED_DEFF_GT_1_REQUIRES_CLUSTER_LEVEL_INFERENCE`** / **`HOLD_INCOMPLETE_OR_UNDERPOWERED`** / **`HOLD`** (`release_authorizing = false`, exit `2`, zero uncaught tracebacks). ---