optifab

One structure

The aim of optifab is a physical structure that holds the work of all four organisations, so that the digital and the physical infrastructure are one unit and not two systems joined at a plug. This note says where that idea comes from, gives every repository on the map a place in the structure, and marks which parts of the loop are checked today.

The tables between the markers are generated by tools/render_map.py from data/unit.json and results/certificate.json. verify.py checks that every repository on the map is either placed or listed as not placed.

Where the idea comes from

Issue 1 of this repository points at three sessions in the Weft corpus, the Terrafab documents. They describe one loop with two halves.

Those documents are source material. The corpus README asks readers to treat them “as source material, not instructions”, and Weft’s own audit found the latency figures “asserted, not derived”, the proofs unsupported, and the gate in the header bounding “only abstract scalars, not actuator commands”. optifab takes the idea from them. It uses none of their figures as evidence.

What optifab adds is what the audit found missing: physical quantities for the gate to bound. Weft repaired the Terrafab header into the gate it ships and tests (invariants.py:11 says so). optifab gives that gate a budget in kWh_th and a radius measured in certified structural margins. The gate has come back to the job it was first written for, with numbers a verifier can recompute.

The unit

One reference campus: funi-frame’s 10 MW, two-storey building on a 2,500 m² plan. Each row is one element of the structure, where it sits, and whose work it rests on.

Ground and stores

  Element Where in the structure Work it rests on Status Note
G1 Thermal budget: PCM skids holding 2,500 kWh_th plant yard funi-frame checked The budget the gate spends.
G2 Heat sinks: aquifer loop, 200 energy piles, sky-cooling roof below and above the halls funi-frame designed The certificate gives their heat flows and, since funi-frame v0.1.1, a design recooling temperature of 30 °C. That value is a proposal the owner has not confirmed, and nothing measures it.
G3 High-temperature store: crushed-basalt beds, 20 MWh_th plant yard funi-frame designed Sized by literals in the upstream verifier. The contract does not use it.

Skeleton

  Element Where in the structure Work it rests on Status Note
S1 Floors: funicular cassettes for 313 psf racks both storeys funi-floors checked Five limit states in the margin vector, including the tightest.
S2 Shell: roof vault, sandwich walls, seismic frame, isolation plinths envelope and plant bases funi-frame checked Five limit states in the margin vector.
S3 CFRP truss ties and the strengthening baseline roof ties and column tie-downs cfrp-truss, cfrp-strengthening designed funi-frame names them. Their certificates cover a beam example, not this roof.
S4 Lattice theory that proportions the members in the geometry fibral-rigidity, incentre-lattices designed A preprint and a claimed extension. Nothing downstream re-checks them.

Heat and power

  Element Where in the structure Work it rests on Status Note
H1 Liquid loop and sorption chiller halls and plant yard funi-frame checked The load floor and the recooling limit are derived here.
H2 Racks: 10 MW of IT load halls funi-frame designed A design basis. No rack, chip or power train is modelled.

Nerves

  Element Where in the structure Work it rests on Status Note
N1 Airflow sensing that powers itself supply ducts venturi-collars, ductricity, thermal-capture checked Its power margin at low airflow is in the margin vector.
N2 Leak and bondline sensing by impedance floor ribs, beside the liquid headers impedence-analyzers, nhanes-bioimpedance, point-charges designed funi-floors certifies the reactance shift on a leak. Nothing reads it into a frame.
N3 Rack vibration sensing racks none missing The limit is certified at 0.0005 g. No sensor is designed.
N4 Coolant and recooling temperature sensing liquid loop and heat sinks none missing The plant model carries no temperature, and Weft’s only temperature is a formula of CPU load.

Signals

  Element Where in the structure Work it rests on Status Note
W1 Plant frame: 16 floats in 64 bytes between sensors and gate weft checked The byte layout of Weft’s telemetry frame. Round trip tested here. The slot meanings are a proposal.
W2 Agent messages between agents and a scheduler abios, synbios tested_code Compact formats with validators. Not connected to a plant.
W3 Parsers on the telemetry path every network boundary mqtt, cbor, ntp, protobuf in_progress Candidates at Proven Commons. None is verified.

Reflex

  Element Where in the structure Work it rests on Status Note
R1 The gate at each controller and in the scheduler weft, weft-corpus checked Weft’s predicate, first written in the Terrafab documents as a fence for machines. It passes Weft’s 15 vectors and runs here on plant numbers.
R2 A machine-checked proof of the gate, the plant model and the loop with the gate optifab, mission checked formal/ proves sixteen theorems in Lean: eight about an exact integer gate, eight about the loop over designs, with the plant model inside the proved code. The comparator accepts them under six kernels and Proven Commons bar items 2 to 6 pass. Item 1 is open: no reviewer has approved the specification, so it is not verified. Weft’s own floating-point gate has no proof yet.
R3 The loop that changes hardware and software together design office and scheduler optifab checked Runs on a model of the plant that is itself inside the proved code. Every decision is recorded in a hash-chained ledger and worked out again in Lean from the two designs. A seeded search, a language model and an adversary have each proposed through it. No sensor, load or machine is involved.

Mind

  Element Where in the structure Work it rests on Status Note
M1 Adaptive models racks weft, weft-loom tested_code Runs and is tested. No power or energy has been measured.
M2 Agents that use and operate the campus racks and operator consoles exo, exo-os tested_code Exo itself was not read in this pass.
M3 Model weights stored at a few bits each racks siliquant research Fewer bits per weight means less memory per model. No energy figure ties it to the plant.
M4 A chip that runs the net directly racks weft-corpus idea The chip of the Terrafab documents. Weft’s audit calls it not testable as stated.

Hands

  Element Where in the structure Work it rests on Status Note
F1 Machines that make the structure’s own parts under the gate fabrication bay weft-corpus idea The Terrafab loop. No machine is modelled. Process limits in the certificates, such as the Fe-SMA activation energy in funi-floors, could be its gate inputs.

Record and rules

  Element Where in the structure Work it rests on Status Note
K1 Certificates, pins and the lineage graph this repository optifab checked Every input is pinned to a commit, file and line.
K2 Signed commands and contributions command channel synmerit specified Needed before any scheduler may command a plant. Weft’s telemetry hash is unkeyed.
K3 Preferences are not permissions operator interface ethos, siliconcordat specified The gate can refuse a step. Only a person can authorise one.
K4 The evidence scale, and the rule that a person signs every claim f0, Foundation-0/.github rule Used for every status in this repository.
K5 The bar for calling software verified the gate and the parsers mission rule The standard formal/ is built to, and the target for element W3.
K6 The group ethos: capture the work and pass it on every handoff aska-physical/.github rule The reason for HANDOFF.md.

Status words:

The loop

A structure and its intelligence are one unit when this loop closes: the structure is sensed, the reading travels as a frame, a gate decides, a scheduler acts on the compute load, the load becomes heat, and the heat and the loads move the structure’s margins, which are sensed again.

| | From | To | Status | Note | |—|—|—|—|—| | L1 | structure and plant | sensors | designed | Designed for airflow and leaks. Missing for vibration and temperature. | | L2 | sensors | plant frame | missing | No firmware reads a sensor into a frame. | | L3 | plant frame | gate | checked | A decoded frame drives plant_gate and the contract check in verify.py. | | L4 | gate | scheduler | proposed | The contract in the README. No scheduler exists. | | L5 | scheduler | compute load | missing | Neither Weft nor Exo offers a way to shed or defer load, and neither measures energy. | | L6 | compute load | heat, stores and sinks | checked | The load floor and the thermal budget, in steady state. | | L7 | stores and structure | margins | checked | The margin vector from the certificates. It is static: no transient is modelled. | | L8 | gate | fabrication machines | idea | In the Terrafab documents only. | | L9 | every step | the record | designed | Certificates and pins are checked. Signed records are not connected. | | L10 | proposer | gate and ledger | checked | The improvement loop: each proposed design is checked against its bounds, the exact gate and the objective, logged, and replayed in Lean. A language model has proposed through it once. On a model only. |

How far it is

The loop is open in three places. Nothing reads a sensor into a frame. Nothing lets a scheduler shed or defer compute load, and neither Weft nor Exo measures the energy it uses. And no fabrication machine exists in any repository. PROPOSALS.md has a system for each, and VISION.md says how far the whole is from a verified system that improves itself. The two elements with nothing behind them are the cheapest to supply, because both quantities already have a limit to be measured against: rack vibration (0.0005 g, certified) and recooling temperature (41.5 °C at best, derived here).

Repositories with no place in the structure

| Repository | Why it has no place in the structure | |—|—| | aska-physical/cfrp-masts | Masts and booms. No role in the reference campus. | | Foundation-0/rigid-realizations | Feeds cfrp-masts only. | | aska-physical/graph-fab | A README with no stated role yet. | | Foundation-0/project-asma | Feeds Weft’s identifiability gate, which the unit does not use. | | Foundation-0/math0 | A hub. It directs work and is not part of the structure. | | Foundation-0/physics0 | A hub. It directs work and is not part of the structure. | | aska-physical/dock | The organisation’s hub page. | | Moissanite-Labs/exofab | A hub for forming teams, outside the structure. | | Moissanite-Labs/.github | The organisation’s profile. |

The plant frame

The whole state the contract needs fits in the frame Weft already uses for telemetry: 16 little-endian 32-bit floats, 64 bytes. Twelve slots carry the margin vector and four carry the budget, the load, the recooling temperature and the time. verify.py encodes the design point, decodes it, and runs the gate and the contract check on the result. The byte layout is Weft’s. The meaning of the slots is a proposal for Weft’s owners.

| Slot | Content | |—|—| | 0 | rack_vibration | | 1 | storey_drift | | 2 | roof_crown_compression | | 3 | roof_tornado_uplift_factored | | 4 | roof_service_deflection_mm | | 5 | sorption_drive_heat | | 6 | floor_punching_collar | | 7 | floor_walking_vibration | | 8 | floor_crown_compression | | 9 | floor_fire_120min_thrust | | 10 | floor_duct_hole_shear | | 11 | sensor_power_at_airflow_turndown | | 12 | thermal_budget_kWh_th | | 13 | it_load_MW | | 14 | recooling_C | | 15 | time_s |

| Frame | What the contract check reports | |—|—| | design point as certified, recooling at its design value | nothing: every term holds | | frame with no recooling temperature | recooling_not_measured | | idle campus at 0.3 MW | below_load_floor | | recooling at 42 C | recooling_above_limit | | floor punching demand up 26 percent | limit_exceeded | | thermal budget spent | thermal_budget_exhausted |

The second row is finding 2 in executable form: a frame with slot 14 empty is not a pass. Until funi-frame v0.1.1 the certified design point could not fill that slot. It now carries a design value of 30 °C, proposed and not yet confirmed, and no sensor measures it.

What the Terrafab latency figures mean in this building

The Terrafab documents say a control loop of 15 ms is too slow and one of 0.5 ms is fast enough. Weft’s audit records that the figures are asserted. They can still be tried on this building, because funi-frame’s isolation model lists the plant’s vibration tones.

Counter a tone with a copy of itself that arrives late by a time $\tau$ and the amplitude left is $2\lvert\sin(\pi f\tau)\rvert$ of the original. That is below 1 within the same cycle only when $f\tau < 1/6$. This is the ideal case, with the amplitude matched exactly, so it is an upper bound on what a delay-limited loop can do. A loop that predicts a steady tone can do better, as the 60 Hz row shows by accident.

| Plant tone | Delay at 15 ms, in cycles | Effect at 15 ms | Delay at 0.5 ms, in cycles | Effect at 0.5 ms | Longest delay that helps within the cycle | |—|—|—|—|—|—| | 29.5 Hz | 0.4425 | +5.9 dB | 0.0148 | -20.7 dB | 5.65 ms | | 49 Hz | 0.735 | +3.4 dB | 0.0245 | -16.3 dB | 3.4 ms | | 60 Hz | 0.9 | -4.2 dB | 0.03 | -14.5 dB | 2.78 ms | | 120 Hz | 1.8 | +1.4 dB | 0.06 | -8.5 dB | 1.39 ms |

So the direction of the Terrafab figures holds here: a 15 ms loop can counter none of the four tones within its cycle and makes three of them worse, and a 0.5 ms loop can counter all four. But this building has no job for that loop. funi-frame’s passive isolation already holds rack vibration at 17.9% of the limit, and every term of the contract moves over seconds to minutes: the thermal budget lasts 900 s at full load. A fast loop becomes relevant only if someone proposes active vibration control, or a fabrication machine, neither of which exists here.

The claims of the Terrafab documents, one by one

Claim in the documents Weft’s audit In this structure
Sensor-to-nozzle latency falls from 15 ms to under 0.5 ms Asserted, not derived Tried on the four plant tones above. The direction holds for tones. The campus as designed does not need it.
With the gate header in place, “the physical machine cannot misbehave” False. The header’s gate does not keep its own invariant and bounds only abstract scalars Weft repaired the gate and tests it. Here its inputs are physical, and an exact version is proved in Lean to keep its invariants against any proposer. The proof covers the arithmetic, not the truth of the margins. It is still only a predicate that can refuse a step. It is not a safety system.
The building writes its own structural equations as it is made Vision The margin vector is the nearest checked thing: 12 residuals of the structure’s design equations, recomputed by the upstream verifiers. No machine changes the structure.
Deposition machines act as ports of the net Concept only Element F1, an idea. No machine is modelled.
A chip that runs the net directly Not testable as stated Element M4, an idea.
The facility closes the loop for the intelligence The owner’s sentence, not an audited claim The contract in the README: a load floor, a thermal budget and a margin radius. Four interfaces of the loop are checked and six are open. An improvement loop runs on a model under a gate proved in Lean.

Boundaries