data/protocols/stage0_decision_tree_v1.json
Use this file in any AI chat (paste-only or attachment-capable):
Pinned raw file: https://openislet.org/files/gen-eb955f8266035aba/data/protocols/stage0_decision_tree_v1.json · SHA-256: 06a4d86a0dd8d14b…
// RFC 6901 JSON Pointer: /wholegraft_gate0v_composite_and_nw08_calibration_iip_0043 · keys nw08_live_3dfvm_dispatch_contract..strict_json_parser_limits_rule
{
"nw08_live_3dfvm_dispatch_contract": "dispatch_and_solve_nw08_measured_ocr wraps the non-authorizing preliminary screen evaluate_nw08_measured_ocr_trigger (which scales linearized vascular OCR share monotonically with baseline_vasc_ocr_mult and emits release_authorizing=false), carries any caller-supplied p_bed_mmhg boundary-pressure or baseline_vasc_ocr_mult override consistently into BOTH the preliminary screen and the live route-specific 3D FVM solver kwargs (bed_po2_mmhg, verified at runtime inside the FVM operator; unsupported or contradictory overrides fail closed with ValueError), unconditionally computes and verifies the native float64 unrounded baseline directly from the 3D FVM solver at the active (route_id, effective_p_bed, baseline_vasc_ocr_mult) on EVERY call path including default bed pressure (immediately raising ValueError on any stale mismatched caller baseline_min_face_mmhg and never labeling a 4-dp display string as unrounded), strictly enforces conservative one-sided confidence quantile z_one_sided_95 >= 1.6448536269514722 (rejecting negative, zero, or sub-95% quantiles with ValueError in both screen and dispatch), and NEVER skips the candidate 3D FVM solve to emit a release PASS outside the provably monotone zero-increase canonical baseline domain (zero parameter overrides, verified native baseline >= 15.0 mmHg, and measured_ocr_u95 <= baseline_vasc_ocr_mult). For EVERY positive vascular OCR increase (measured_ocr_u95 > baseline_vasc_ocr_mult), EVERY p_bed_mmhg or baseline_vasc_ocr_mult override (including near-floor Route-2 overrides such as p_bed=32.0, base=2.0, meas=2.0997527523 and default 40.0 mmHg base=5.0, meas=10.0), EVERY near-boundary case, and EVERY screen trigger, dispatch_and_solve_nw08_measured_ocr ALWAYS executes the live candidate 3D FVM solver and strictly enforces the immutable canonical CANONICAL_NW08_PO2_FLOOR_MMHG = 15.0 mmHg floor on passes_15mmhg_floor_unrounded and adjudicated_verdict (guaranteeing 100% PASS/FAIL agreement with forced always_solve_3d=True; any custom diagnostic floor is reported strictly in non-authorizing diagnostic_custom_floor_mmhg / diagnostic_passes_custom_floor fields), serializing in-process FVM callback hooks under a thread-safe RLock + try/finally guard; canonical baseline/pressure equality uses exact IEEE-754 float64 equality (zero 1e-12 deadband) plus exact Decimal comparison on measured OCR upper confidence bound so any 1-ULP override or positive OCR increase executes live native 3D FVM. On the monotone zero-increase fast path (solver_executed=false), the returned payload carries the verified native float64 baseline (baseline_min_face_unrounded_mmhg) while leaving candidate face value unset (face_min_mmhg_unrounded=None); across all exercised native-solver cases, the physical 15.0 mmHg floor remains conditional on actual graft geometry, boundary conditions, OCR measurement accuracy, and model validity. Standalone unbound --dispatch-nw08-ocr (STANDALONE_UNBOUND_DIAGNOSTIC_ONLY, lot_binding_verified=false) and direct dispatch_and_solve_nw08_measured_ocr ALWAYS emit release_authorizing=false recursively across all nested dicts (separating physical clearance into solver_cleared_oxygen_floor_diagnostic). Whenever a lot declares require_trusted_nw08_ocr_record=true (strictly bool; non-bool -> HOLD) and OCR input is omitted, BOTH Python API and CLI (including uncoupled standalone runs) fail closed to HOLD_NW08_REQUIRED_OCR_RECORD_MISSING (release_authorizing=false, exit 2) while preserving any independent biological FAIL_HARD_STOP / FAIL_HARD_STOP_COMPOSITE_RELEASE (exit 3).",
"nw08_r1_390_coupled_matched_lower_linear_mmhg": 15.0279,
"graveyard_guardrail_id": "OFFGRID_GUARD_020_BETA_ONLY_VIRAL_GATE_AND_UNVERIFIED_STRESSED_AP1903_ERASURE",
"graveyard_card_id": "GY-030",
"gy030_programmatic_parity_check": "verify_iip0043_wholegraft_gate0v_and_calibration.py programmatically checks data/graveyard/idea_graveyard_v0.5.json GY-030 parity against exact tier-specific PASS statuses (PASS_WHOLEGRAFT_BANK_QUALIFICATION, PASS_WHOLEGRAFT_LOT_RELEASE_SURROGATE, PASS_WHOLEGRAFT_AUTOLOGOUS_PROCESS_QUAL) and true Clopper-Pearson U95 <= 0.15% on n >= 20,000 negative controls.",
"playbook_sec4120_untouched": true,
"playbook_sec4120_body_vs_refreshed_footer_distinction": {
"playbook_sec4120_canonical_body_sha256_untouched": "e3fb5ec701678dfdeb62a77c15866327842b60b6b4c503cb86dfc79885a626a8",
"playbook_rendered_layer_scope_footer_sha256_refreshed": "2377b9ca900090493d537884ecc0906eb3e17562eb8bb686cee7480b00846117",
"note": "docs/STAGE-0-EXECUTION-PLAYBOOK.md preserves its §4.1.20 canonical body 0-byte untouched (e3fb5ec7...), strictly distinguished from its deterministically refreshed rendered Layer-scope footer (2377b9ca...) produced by render_documentation.py."
},
"wave5_strict_gate30_hygiene_scope": {
"strict_wave5_files_count": 23,
"decision_tree_blocks_count": 4
},
"citation_attribution_by_hazard": {
"cvb_endocrine_and_vascular_persistence": [
"PMID:11024144",
"PMID:17494992"
],
"hcmv_latent_lytic_and_reactivation_gate": "Proposed precautionary herpesvirus surveillance gate for HLA-I-modified allogeneic grafts (Chehadeh 2000 & Zanone 2007 are CVB studies and do not validate HCMV in this product).",
"cxadr_secretory_granule_localization": [
"PMID:30074059"
],
"antiviral_genotype_ifih1_and_stat1_context": [
"PMID:19264985",
"PMID:28553952",
"PMID:26061776"
],
"tyk2_p1104a_hom_mycobacterial_precaution": [
"PMID:30578352"
],
"icasp9_downstream_escape_cell_line_context": [
"PMID:35013114"
],
"nw08_ocr_and_microvascular_calibration": [
"PMID:26258815",
"PMID:29514070",
"PMID:35883656"
],
"cvb_chehadeh_2000_scope_note": "Chehadeh et al. 2000 (PMID:11024144) observed persistent whole-islet CVB3/CVB4 infection in cultured human islets (up to 30 days) and early double-IF viral positivity in glucagon+ alpha cells and insulin+ beta cells (distinguishing whole-islet culture persistence from early alpha-cell positivity; model-specific rationale for multi-lineage surveillance)."
},
"primary_citations": [
"PMID:11024144",
"PMID:17494992",
"PMID:19264985",
"PMID:26061776",
"PMID:26258815",
"PMID:28553952",
"PMID:29514070",
"PMID:30074059",
"PMID:30578352",
"PMID:35013114",
"PMID:35883656"
],
"mandatory_archived_bank_payload_rule": "Clinical LOT_RELEASE_SURROGATE MANDATES a structurally complete, self-digest-verified, envelope-aligned, live-revalidated archived original BANK_QUALIFICATION payload in --trusted-qualification-store across BOTH store layouts (embedded-dict registry JSON and file-backed directory store). Composite clinical release (evaluate_gate0v_composite_release.py, legacy_evaluator active) STRICTLY REQUIRES a complete composite bank archive containing BOTH legacy_stage0_observations AND 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 — 100% reconciled lot_id/mcb_id/product_variant_id/antiviral_genotype_stratum across all layers, verified outer and inner payload_sha256 digests, and exhaustive reconciliation of EVERY supplied tier field — top-level qualification_tier/operational_tier, nested Gate-0V qualification_tier/operational_tier, and any legacy tier fields — against BANK_QUALIFICATION), AND live evaluate_wholegraft_gate0v_and_stress_ap1903 replay (archived_bank_payload_live_g0v_revalidation_passed == true), live wetlab_contract.py replay (archived_bank_payload_live_legacy_revalidation_passed == true), AND live composite bank replay (archived_bank_payload_live_composite_revalidation_passed == true, archived_bank_payload_live_revalidation_passed == true). Any conflicting tier field or alias-only envelope fails closed identically across direct and archived boundaries in 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) and archived_bank_payload_live_revalidation_passed == false (exit 2). Plain standalone whole-graft-only bank archives lacking archived legacy observations are rejected immediately in composite clinical release with HOLD_MISSING_ARCHIVED_LEGACY_PAYLOAD_FOR_COMPOSITE_RELEASE, HOLD_MISSING_OR_INVALID_ARCHIVED_BANK_PAYLOAD, and HOLD_UNVERIFIED_EXTERNAL_APPROVAL_STORE (exit 2; never PASS_COMPOSITE_CLINICAL_RELEASE), and are accepted strictly at the standalone verify_iip0043 evidence boundary when legacy_evaluator is None (where standalone archives likewise require canonical product_variant_id and reconcile any supplied operational_tier against BANK_QUALIFICATION). Thin metadata-only stubs, tampered digests, contradictory nested identities, or archives failing either live evaluator replay fail closed with HOLD_MISSING_OR_INVALID_ARCHIVED_BANK_PAYLOAD (exit 2).",
"nw08_canonical_po2_floor_mmhg": 15,
"ceg_delta_v33_eight_crosslinks_edge_ids": [
"M0085:L4",
"M0630:L4",
"M0458:L3",
"M0184:L4",
"M0066:L3",
"R1_0287:L4",
"R1_0099:L3",
"R1_0095:L4"
],
"protocol_scope_and_blueprint_gate_mapping": {
"framing": "Introduces and extends Stage-0 candidate qualification checks targeting five pre-IND surveillance and calibration blindspots pending physical confirmation.",
"blueprint_sec1_2_gate_mapping": {
"gates_1_2b_4": "Whole-graft 5-lineage viral persistence, innate sensing, and antiviral genotype non-inferiority resilience.",
"gate_5": "NW-08 microvascular oxygen-bridge 3D FVM calibration and quantitative pan-lineage stressed AP1903 safety-switch clearance."
}
},
"direct_infected_vehicle_denominator_release_rule": "Release-authorizing PASS across BANK_QUALIFICATION, LOT_RELEASE_SURROGATE, AUTOLOGOUS_D1B_PROCESS_QUAL, and composite release REQUIRES validated direct infected-vehicle denominator counts (infected_cell_escape_mode == DIRECT_INFECTED_VEHICLE_DENOMINATOR with measured pretreat_infected_veh_survivor_n out of veh_72h_input_n; sampling-model qualifier DIRECT_EXACT_BINOMIAL_RATIO_WITHOUT_INDIRECT_SURVIVAL_INEQUALITY_CONDITIONAL_ON_REPRESENTATIVE_PAIRED_ALIQUOTS, removing the unverified indirect survival inequality while remaining conditional on valid measured fractions, calibrated detection efficiency eta, and representative paired aliquots). Indirect marginal estimation (bulk_s_veh * p_pre) is computed strictly as CONDITIONAL_INDIRECT_DIAGNOSTIC_ONLY_UNVERIFIED_SURVIVAL_INEQUALITY and ALWAYS emits HOLD_INDIRECT_CONDITIONAL_ESCAPE_UNSUPPORTED_FOR_RELEASE (exit 2, never PASS), while preserving FAIL_HARD_STOP on conclusive adverse findings.",
"exact_component_probability_ratio_bound_rule": "All Gate 0V-Kill ratio bounds (24-h paired, 72-h paired, Estimand 1, Direct Estimand 2, and Indirect diagnostic Estimand 2) use exact conservative component-probability Bonferroni ratio limits computed with outward-directed 80-digit Decimal arithmetic on actual sampling denominators (never adjusted-denominator Clopper-Pearson shortcuts): upper limit u_treated(k, n_treated_eff; alpha_treated) / prod_i L_den_i(k_i, n_i; alpha_i) and paired lower limit l_treated(k_eff, n_treated_eff; alpha_treated) / prod_i U_den_i(k_i, n_i; alpha_i). Because both paired directions reuse the same per-component one-sided tail budgets (alpha_treated, alpha_veh), the upper and lower ratio limits are explicitly labeled as separate directional (one-sided) confidence statements at >= 1 - (alpha_treated + alpha_veh) each (confidence_statement_type = DIRECTIONAL_ONE_SIDED_SEPARATE_AT_1_MINUS_ALPHA_SUM), NOT a simultaneous two-sided confidence interval at that same unsplit alpha. At clustering design effect deff >= 1.0 with n_eff = floor(n / deff), outward-consistent effective numerator counts k_eff_lower = floor(k * n_eff / n) and k_eff_upper = ceil(k * n_eff / n) guarantee 0 <= l_ratio <= empirical_point <= u_ratio unconditionally across the entire admitted domain (0 <= k_t <= n_t, 0 <= k_v <= n_v, deff >= 1.0, 0 < alpha_treated, alpha_veh <= 0.5, alpha_treated + alpha_veh < 1), eliminating the floor(k/deff)/floor(n/deff) > k/n inward-bias bug.",
"cd55_detection_efficiency_assurance_level": "CONDITIONAL_ON_ASSUMED_MINIMUM_ETA_PENDING_LINKED_CALIBRANT_EVIDENCE",
"autologous_process_qualification_verdict_allowlist": [
"PASS_WHOLEGRAFT_AUTOLOGOUS_PROCESS_QUAL",
"PASS_COMPOSITE_AUTOLOGOUS_PROCESS_QUAL"
],
"strict_json_intake_contract": "Single canonical strict RFC-8259 JSON decoder (strict_json_loads) enforced across all direct lot, standalone CLI, external registry, directory record, archived payload, and NW-08 measured-OCR intake boundaries; rejects duplicate object keys at any depth, non-standard NaN/Infinity constants, overflowing non-finite floats (e.g. 1e500), and out-of-float64-range finite integers (abs(val) > 10**300, e.g. 10**400) on all operator/store intake files, paired with isinstance-guarded membership checks and safe float64 conversion so schema-invalid types (e.g. JSON arrays/objects in scalar fields) and out-of-range numerics ALWAYS return structured JSON HOLD (exit 2) with zero uncaught tracebacks.",
"nw08_operator_cli_paths": [
"scripts/verify_iip0043_wholegraft_gate0v_and_calibration.py --dispatch-nw08-ocr <ocr.json>",
"scripts/evaluate_gate0v_composite_release.py --lot-json <lot.json> --trusted-qualification-store <store> --nw08-ocr-json <ocr.json>"
],
"nw08_coupled_composite_lot_binding_contract": "When --nw08-ocr-json is supplied to evaluate_gate0v_composite_release.py (binding_mode=COUPLED_COMPOSITE_LOT_BOUND), the composite lot MUST declare its canonical planned geometry route via nw08_route_id (reconciled across any route aliases; omitted planned route fails closed with HOLD_NW08_COUPLED_LOT_MISSING_PLANNED_ROUTE, exit 2), and the OCR sidecar MUST cryptographically bind matching lot_id, mcb_id, canonical product_variant_id, exact route_id == nw08_route_id, current verified lot_payload_sha256, measurement_record_id, measurement_evidence_sha256 (reconciled with lot nw08_measurement_evidence_sha256 when declared), strict UTC measurement_timestamp_utc, canonical ocr_record_sha256 self-digest, and external --trusted-qualification-store nw08_ocr_records verification whenever active or required. Route swaps, stale lot hashes, tampered digests, or ID mismatches fail closed to HOLD_COMPOSITE_RELEASE (exit 2, solver_executed=false). Standalone --dispatch-nw08-ocr remains unbound diagnostic (binding_mode=STANDALONE_UNBOUND_DIAGNOSTIC_ONLY). Standalone unbound --dispatch-nw08-ocr (STANDALONE_UNBOUND_DIAGNOSTIC_ONLY, lot_binding_verified=false) and direct dispatch_and_solve_nw08_measured_ocr ALWAYS emit release_authorizing=false recursively across all nested dicts (separating physical clearance into solver_cleared_oxygen_floor_diagnostic). Whenever a lot declares require_trusted_nw08_ocr_record=true (strictly bool; non-bool -> HOLD) and OCR input is omitted, BOTH Python API and CLI (including uncoupled standalone runs) fail closed to HOLD_NW08_REQUIRED_OCR_RECORD_MISSING (release_authorizing=false, exit 2) while preserving any independent biological FAIL_HARD_STOP / FAIL_HARD_STOP_COMPOSITE_RELEASE (exit 3). Measured-OCR release gating (require_trusted_nw08_ocr_record=true) applies strictly to clinical LOT_RELEASE_SURROGATE and AUTOLOGOUS_D1B_PROCESS_QUAL lots and is forbidden on BANK_QUALIFICATION across BOTH direct admission and archived bank replay via validate_canonical_composite_envelope (HOLD_NW08_REQUIRED_OCR_NOT_PERMITTED_ON_BANK_QUALIFICATION, release_authorizing=false, bank_qualification_authorized=false, solver_executed=false, exit 2).",
"ceg_delta_v33_eight_crosslinks_scope": "All 8 CEG-DELTA V3.3 cross-link edges are indirect/contextual scoping links (primary_certification_eligible=false); PMID:41403780 (M0066:L3, CD155/CD276 mouse study) provides immune-engraftment context and PMID:38956087 (M0184:L4, human islet stress study) provides stress-response context, both indirect to NW-08.",
"strict_json_parser_limits_rule": "All direct lot, standalone CLI, coupled OCR, external registry, directory record, and archived-payload JSON intake boundaries enforce MAX_JSON_NESTING_DEPTH = 64 via iterative pre-validation and map both excessive nesting depth and parser RecursionError to structured exit-2 HOLD (HOLD_INVALID_INPUT_JSON / JSON_DEPTH_OR_RECURSION_LIMIT_EXCEEDED, release_authorizing=false, zero uncaught tracebacks)."
}