OpenIslet

docs/GATE-30-PORTFOLIO-AND-TRACKB-CONTINGENCY-PROTOCOL.md

Gate 30 Companion Protocol: Master 2^20 Portfolio Crosswalk & Locked Policy Option 1 Contingency Gates (IIP-0042 / DEC-121)

doc Release v0.8.0 gen-eb955f8266035aba 91 KB · 10 sections

Use this file in any AI chat (paste-only or attachment-capable):

Download as text (.txt) Download section (.txt)

Pinned raw file: https://openislet.org/files/gen-eb955f8266035aba/docs/GATE-30-PORTFOLIO-AND-TRACKB-CONTINGENCY-PROTOCOL.md · SHA-256: eb061cc627c54ecd…

### 2.4 `Gate 30-TOS-QUARANTINE` *(Continuous Automated CI Leak-Scan — Exact Enforced Scope by Entry Point)*
- **Full-Inventory Release Quarantine Entry Point (`scripts/verify_iip0042_master_multilayer_portfolio_crosswalk.py::verify_gate30_tos_quarantine_full_inventory`):** Sole authoritative full-inventory Gate 30 quarantine verifier across the complete release tree (distinguishing the full local research-checkout manifest count of `1,729` pinned files shown in the generated header from the exported public-bundle inventory of `865` allowlisted public artifacts verified in public-bundle mode, plus `manifest.json` and `.openislet_public_bundle` = `867` regular files on disk):
  1. **Declared-Manifest SHA-256, Symmetric Public-Bundle Marker Enforcement, Exact Public Disk-Membership & Mandatory `17/17` Structure Verification (Fail-Closed on Truncated Inventories, Missing `.openislet_public_bundle` Marker, Hash Mismatches, or Extra Unmanifested Files):** Parses `manifest.json` (`artifacts`, `public_redistribution_allowlist_spec`, and `public_export_file_inventory` in both `list` and `dict` forms), computes `manifest_file_sha256`, **requires a regular single-hardlink `.openislet_public_bundle` marker file matching `openislet_public_bundle_v0.8.0\n` whenever `manifest.json` declares `public_export_file_inventory` (failing closed with `invalid-public-marker` rather than falling back to research-checkout mode if the marker is deleted, symlinked, or corrupted, matching `scripts/generate_release_manifest.py --verify-public-bundle`)**, verifies **EVERY manifest-declared public artifact's exact SHA-256 digest and byte size against `manifest.json["artifacts"]`**, enforces **exact disk-membership confirming ZERO unmanifested extra files** across the public bundle root (everything outside `manifest.json`, `.openislet_public_bundle`, and `.git` must belong to the declared public inventory — or across all allowlisted public paths in a local checkout), and independently verifies ALL `23` strict Wave-5 public files AND ALL `17/17` hardcoded SHA-256-pinned pre-Wave-5 structures (plus `15` built-in negative self-test probes) before emitting `declared_manifest_sha256_and_disk_membership_verified=true` or `all_clean=true` *(explicitly disclosing via `inventory_trust_boundary_note` that cryptographic authentication of the root `manifest.json` file itself depends on external release verification rather than self-reference)*. Scans EVERY allowlisted public file (all `865` exported public-bundle inventory entries) fail-closed for:
     - Local macOS, Linux, or Windows user-home directory paths (distinguishing `http(s)` URL path segments),
     - Hosted Tier-2 structure-prediction tokens, prediction IDs, endpoints, or numeric outputs (with strict pre-masking scalar-schema validation **only** for the metadata-only 5-item `excluded_tier2_carveout_files_5` inventory inside `data/extracted/iip0044_tier1_metrics_cleanroom_summary_v0.8.0.json`, rejecting nested objects, numeric scores, or extra keys before masking), or
     - PDB/mmCIF atom coordinate rows (scanned across BOTH raw text lines AND recursively decoded JSON string values) anywhere outside the **exact SHA-256-pinned `17/17`** pre-Wave-5 authorized `data/structures/` RCSB-CC0 and pre-existing AFDB v6 origin inventory (rejecting any modified, spoofed, missing, or unmanifested structure file).
  2. **Wave-5 Public Surfaces Full 4-Class Hygiene Gate (Exact `23` Distinct Installed Files + `4` Decision Blocks):** Across ALL `23` distinct published Wave-5 public files (`IIP-0041`/`0042`/`0043`/`0044` scripts, protocols, side contracts, FASTAs, all 6 Wave-5 `data/extracted/` summaries and pinned receipts, BOTH Wave-5 test suites `tests/test_iip0041_iip0042_iip0043_wave5_suite.py` and `tests/test_iip0044_foundry_v1_3_biologics.py` — reported strictly as `23` distinct installed files without double-counting extra scan invocations) AND ALL `4` extracted Wave-5 decision-tree blocks (`DEC-120`, `DEC-121`, `DEC-122`, `DEC-123` from `stage0_decision_tree_v1.json`, failing closed if any declared file or DEC block is missing), additionally fails closed on ANY currency symbols or major ISO fiat currency codes paired with monetary amounts and ANY commercial AI vendor or review-model identifiers. Markdown footer scanning masks **only** the single exact verbatim canonical Layer-2 quarantine disclaimer sentence (never stripping the full footer block); pre-Wave-5 historical blueprints and third-party license notices lie outside the Wave-5 currency/vendor-name rule.
- **Targeted Foundry & Aligned-`IIP-0042` Hygiene Entry Point (`scripts/verify_iip0044_foundry_v1_3_biologics.py`):** In `--installed-check` mode, executes a **targeted `10`-surface** 4-class hygiene scan (`scan_scope = "TARGETED_10_SURFACE_FOUNDRY_AND_ALIGNED_IIP0042_SCAN_ONLY"`, `full_public_manifest_and_disk_inventory_verified_here = false`) strictly across the installed `IIP-0044` Foundry v1.3 artifacts and aligned `IIP-0042` protocol surfaces (`verify_iip0044_foundry_v1_3_biologics.py`, both deposited FASTAs, `iip0044` side contract, `iip0044` Tier-1 cleanroom summary with strict pre-masking 5-item carve-out validation, `FOUNDRY-V1-3-CLEANROOM-BIOLOGICS-PROTOCOL.md`, `DEC-123::stage0_decision_tree_v1.json`, `tests/test_iip0044_foundry_v1_3_biologics.py`, `iip0042` side contract, and `GATE-30-PORTFOLIO-AND-TRACKB-CONTINGENCY-PROTOCOL.md`) plus `14` built-in negative hygiene probes. Its receipt explicitly discloses that complete `manifest.json` SHA-256 authentication, exact public disk membership, `17/17` structure-pin verification, and full `23`-file / `4`-DEC Wave-5 inventory scanning are assigned to `scripts/verify_iip0042_master_multilayer_portfolio_crosswalk.py::verify_gate30_tos_quarantine_full_inventory`.

---