File size: 10,972 Bytes
fe0ff58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
953904e
fe0ff58
 
 
 
953904e
fe0ff58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
953904e
 
 
 
 
 
 
 
 
 
 
 
fe0ff58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
953904e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
pretty_name: "Zero-Trust Physics Foundry Preview: Stateful Rack Commissioning & Live Fault Forensics"
license: other
license_name: evaluation-only
license_link: LICENSE.md
language: [en]
tags: [physics, rl-environment, rlvr, harbor, mcp, evaluation, digital-twin, zero-trust-physics]
task_categories: [reinforcement-learning, question-answering]
size_categories: [n<1K]
viewer: true
configs:
  - config_name: default
    data_files:
      - split: test
        path: preview_tasks.jsonl
---

# Foundry Preview: Stateful Hardware Commissioning & Live Fault Forensics

<!-- plain-opening -->
**Two runnable `--network none` Harbor `0.26` tasks from the Zero-Trust Physics Foundry Flagship dataset.**

Unlike static one-shot solver prompts, an agent here operates against a **stateful, non-resetting hardware twin** (a 48-sled liquid-cooled AI compute rack coupled across an elastoplastic silicon-to-copper cold plate, 2-pipe Method-of-Characteristics coolant loop, hybrid synchronous/IBR SRF-PLL microgrid + cold-bay 2170 BESS, and cubic Duffing chassis mount + O-band optical backplane):

1. **`foundry-001-dev-00` (Commissioning & 8-Corner Co-Design):** Up to `3` non-resetting hardware probes and `36` component solver calls (`ztp_foundry_mcp`) to identify a hidden 6-parameter specimen state and synthesize a 17-parameter hardware design + 5-parameter controller that survives all `8` coupled stress corners (`C1`–`C8`) at `>= 92%` of the specimen's net-PPA target. Every bench probe mutates battery SOC, coolant warmup, and mechanical wear on the **actual unit that gets graded**.
2. **`foundry-002-dev-00` (Live Fault Forensics & Safe Re-Trim):** Installed hardware is locked; given the unit's commissioning acceptance record, at most `2` non-resetting service probes, and `24` component solves, isolate the active fault class alongside service aging and re-trim `8` field limits + `5` controller gains to restore `8/8` corner safety at `>= 93%` of the unit's reference PPA target.

- **Run offline in 10 seconds:** clone this repository and run `bash verify_preview.sh` (macOS arm64, Linux arm64, Linux amd64; zero internet or API key).
- **Run in Native Harbor `0.26`:** `harbor run -p tasks/harbor/foundry-001-dev-00 -a oracle -e docker` (true `network_mode: none` air gap on agent, root vault sidecar, and separate Breakwater-hardened verifier).
- **Commercial:** four ways to work with the Foundry — Flagship task pack $12,500 (Liquid-Cooled AI Compute Rack; card or same-day invoice), Exclusive batches from $38,000, Custom environments from $20,000, and Runtime & private infrastructure from $75,000/year; managed private deployment under enterprise agreements — at [zerotrustphysics.com/offers/fast-start/](https://zerotrustphysics.com/offers/fast-start/).

---

<!-- ztp-contact -->
> **Protocol Company** · [zerotrustphysics.com](https://zerotrustphysics.com) · **The Foundry:** physics environments of real systems ([free runnable preview](https://huggingface.co/datasets/zero-trust-physics/zero-trust-physics-foundry-preview)) · **Flagship task pack $12,500** (Liquid-Cooled AI Compute Rack; [card](https://buy.stripe.com/aFa5kD9YD4452LudPMbII06) or invoice) · Exclusive batches from $38,000 · Custom environments from $20,000 · Runtime & private infrastructure from $75,000/year — [all offers](https://zerotrustphysics.com/offers/fast-start/) · free open-engine samples: [sample groups 1–5](https://huggingface.co/collections/zero-trust-physics/zero-trust-physics-6ad3b6ef5195b706ac6d041e) · [Open MCP Verifier (`v0.15.3`)](https://mcp.zerotrustphysics.com/mcp) · [Paper v2.0 (`10.5281/zenodo.23517223`)](https://doi.org/10.5281/zenodo.23517223) · [WhatsApp +1 928-264-7883](https://wa.me/19282647883) · [kruze@zerotrustphysics.com](mailto:kruze@zerotrustphysics.com)

## Why Component-Only Solvers + Non-Resetting Probes Defeat Black-Box Shortcut Search

On `foundry_flagship`, the agent container (`uid=1000`, `network_mode: none`) **never receives a coupled whole-plant simulator**. `ztp_foundry_mcp` exposes only the 4 isolated organ solvers (`die_coldplate_fe`, `cdu_loop_moc`, `rack_power_pll`, `chassis_mount_duffing`); the coupled 8-corner plant and hidden specimen state live exclusively inside the root-owned `0700` verifier (`ztp_foundry_preview_verifier`, locked by canonical IEEE-754 SHA-384 allowlist in this preview to `foundry-001-dev-00` and `foundry-002-dev-00` only).

Before any LLM token was spent, all three Foundry Flagship task templates (`foundry-001`, `foundry-002`, and `foundry-003` in the full commercial dataset; this public preview ships the runnable `dev-00` tasks of `foundry-001` and `foundry-002`) were gated on `12` blind held-out tasks against equation-free ML regressors (fitted on `64` frozen training tasks) and full-budget black-box component-solver optimizers (`reports/validation_and_redteam_gates.json`):

| Template | Oracle (`12` held-out) | Reference Physics Policy | Equation-Free ML & Black-Box Solver Attackers (`train=64` + full `solve` budget) | Scripted Contract & Shortcut Cheats |
|---|---:|---:|---|---|
| **`foundry-001`** *(preview shipped)* | `12/12` | `10/12` | **`0/12`–`1/12`** (`0/12` on 36-solve component optimizer, warm-started hybrid, Polynomial Ridge, Decision Tree, Extra Trees, Random Forest; `1/12` on kNN, Ridge, RBF) | `11/11` rejected |
| **`foundry-002`** *(preview shipped)* | `12/12` | `12/12` (`22/24` fresh) | **`0/12` across all `8` baselines** (no-op `0/12`, best fixed recipe given true class `0/12`, kNN/Ridge `0/12`, true diagnosis + class-median re-trim `0/12`, 24-solve black-box search `0/12`) | `16/16` rejected |
| **`foundry-003`** *(single-probe 5-shift envelope, withheld)* | `12/12` | `12/12` (`24/24` fresh) | **`0/12` across all `10` baselines** (factory no-op `0/12`, best fixed recipe `0/12`, ignored probe `0/12`, raw-probe 1-NN/5-NN/Ridge `0/12`, 7-solve diagnosis + 1-NN/5-NN/Ridge `0/12`, 20-solve black-box search `0/12`) | `15/15` rejected |

## Measured Sterile `--network none` Frontier Calibration

Identical unhinted task specifications, `network_mode: none` containers (`uid=1000` agent + `uid=0` daemon sidecar sharing only `/run/ztp/ztp_mcp.sock`), SHA-384-chained `call_ledger.jsonl`, and 96-hex `suite_seal_sha384` recompute verification (`reports/frontier_calibration_summary.json`):

| Harness / Model | Split | Template | Attempts (`k` × tasks) | `pass@1` (`solved / n`, Wilson 95% CI) | Mean `pass@k` | Mean Shaped Score | Ledger & Seal Integrity |
|---|---|---|---:|---|---:|---:|---|
| Frontier model A (`agent`) | `dev` | `foundry-001` | `6` (`2` tasks) | **`66.7%`** (`4/6`, `[30.0%, 90.3%]`) | `100.0%` | `0.923` | `6/6` ledgers · `0` snoops |
| Frontier model A (`agent`) | `dev` | `foundry-002` | `6` (`2` tasks) | **`100.0%`** (`6/6`, `[61.0%, 100.0%]`) | `100.0%` | `1.000` | `6/6` ledgers · `0` snoops |
| Frontier model A (`agent`) | `eval` | `foundry-001` | `4` (`4` tasks) | **`50.0%`** (`2/4`, `[15.0%, 85.0%]`) | `50.0%` | `0.744` | `4/4` ledgers · `0` snoops |
| Frontier model A (`agent`) | `eval` | `foundry-002` | `4` (`4` tasks) | **`75.0%`** (`3/4`, `[30.1%, 95.4%]`) | `75.0%` | `0.861` | `4/4` ledgers · `0` snoops |
| Frontier model B (`agent`) | `dev` | `foundry-001` | `4` (`4` tasks) | **`50.0%`** (`2/4`, `[15.0%, 85.0%]`) | `50.0%` | `0.972` | `4/4` ledgers · `0` snoops |
| Frontier model B (`agent`) | `dev` | `foundry-002` | `4` (`4` tasks) | **`50.0%`** (`2/4`, `[15.0%, 85.0%]`) | `50.0%` | `0.985` | `4/4` ledgers · `0` snoops |
| Frontier model B (`agent`) | `eval` | `foundry-001` | `2` (`2` tasks) | **`100.0%`** (`2/2`, `[34.2%, 100.0%]`) | `100.0%` | `1.000` | `2/2` ledgers · `0` snoops |
| Frontier model B (`agent`) | `eval` | `foundry-002` | `2` (`2` tasks) | **`50.0%`** (`1/2`, `[9.4%, 90.5%]`) | `50.0%` | `0.987` | `2/2` ledgers · `0` snoops |
| Frontier model C (`agent`) | `dev` | `foundry-001` | `1` (`1` tasks) | **`100.0%`** (`1/1`, `[20.6%, 100.0%]`) | `100.0%` | `1.000` | `1/1` ledgers · `0` snoops |
| Frontier model C (`agent`) | `dev` | `foundry-002` | `1` (`1` tasks) | **`100.0%`** (`1/1`, `[20.6%, 100.0%]`) | `100.0%` | `1.000` | `1/1` ledgers · `0` snoops |
| Frontier model C (`agent`) | `eval` | `foundry-001` | `2` (`2` tasks) | **`100.0%`** (`2/2`, `[34.2%, 100.0%]`) | `100.0%` | `1.000` | `2/2` ledgers · `0` snoops |
| Frontier model C (`agent`) | `eval` | `foundry-002` | `2` (`2` tasks) | **`100.0%`** (`2/2`, `[34.2%, 100.0%]`) | `100.0%` | `1.000` | `2/2` ledgers · `0` snoops |

## Breakwater Verifier Hardening (Harbor `0.26` Separate-Verifier Lifecycle)

Every Harbor bundle under `tasks/harbor/` runs three isolated `network_mode: none` containers (`main` agent as `1000:1000`, `ztp_vault` sidecar as `0:0`, and a separate `tests/` recompute grader as `0:0`):
1. **Race-free `submission.json` intake:** Opened with `O_RDONLY | O_NOFOLLOW | O_NONBLOCK` and verified via `fstat(fd)` (`S_ISREG`, `st_nlink == 1`, `<= 4 MiB`), defeating symlink vault reads, hardlinks, and blocking FIFO hangs.
2. **Unprivileged `uid=65534` (`nobody`) JSON sandbox:** Untrusted submission bytes are parsed, depth/key-bounded (`<= 8` levels, `<= 256` keys/items, finite IEEE-754 numbers only), and canonicalized inside a dropped-privilege subprocess (`RLIMIT_AS = 128 MiB`, `RLIMIT_CPU = 5 s`, `RLIMIT_FSIZE = 0`) before `uid=0` touches the payload or invokes the verifier binary.
3. **Runtime binary SHA-384 pinning:** Both `ztp_foundry_mcp` and `ztp_foundry_preview_verifier` are SHA-384 verified against `multiarch_verification.json` prior to execution (`0`-differ cross-ISA parity across `macos-arm64`, `linux-arm64`, `linux-amd64`).

## Repository Layout

| Path | Contents |
|---|---|
| `verify_preview.sh`, `SHA384SUMS` | Offline SHA-384 integrity check, allowlist refusal test, and byte-exact `suite_seal_sha384` recomputation of both `dev-00` tasks. |
| `tasks/harbor/foundry-001-dev-00/`, `foundry-002-dev-00/` | Runnable Native Harbor `0.26` bundles (`harbor lint` `0` findings; `harbor run -a oracle -e docker`). |
| `preview/bin/{macos-arm64,linux-arm64,linux-amd64}/` | Stripped `ztp_foundry_mcp` (4 component solvers) + `ztp_foundry_preview_verifier` (`dev-00` SHA-384 allowlisted). |
| `reference/` | Sealed reference episodes (`submission`, SHA-384 chained `call_ledger.jsonl`, and 8-corner `grade_report`). |
| `reports/` | Environment Cards, 9-attacker blind red-team ledger, and measured frontier `pass@1` rollout autopsies. |
| `LICENSE.md` | Evaluation-only preview terms (no training, redistribution, or binary reverse engineering). |

**Evaluation only.** Withheld training and evaluation splits (`train` + blind `eval`) are never published here and `ztp_foundry_preview_verifier` refuses every non-`dev-00` specimen by SHA-384 digest. For the Flagship task pack, Exclusive batches, Custom environments or Runtime & private infrastructure: https://zerotrustphysics.com/offers/fast-start/ · kruze@zerotrustphysics.com