Instrument code fails differently from normal software
A plausible-looking script can burn a sample, quench a magnet, or — silently — write a dataset that is subtly wrong and gets published. The third failure is the dangerous one, because nothing in the run announces it and the cost lands years later on somebody else's citation.
The knowledge that prevents all three is tribal: limiter ordering, sign-preserving ramps, stale-buffer traps, NaN discipline, lock ordering. It is learned lab by lab, usually by breaking something, and it leaves when the person who learned it leaves. So I wrote it down as things an agent — or a human — can execute rather than merely read.
: scaffold, SCPI validation, static safety check](../media/maglab-instruments-safety.png)