Preflight
Exactly budgeted local acquisitions before a maintained hardware run.
A hosted server cannot call a measure() function that lives beside your instrument. Client 0.5.1 therefore orchestrates the handshake: the endpoint returns a safe configuration, your process applies it and acquires one complete response, and the client posts that response before requesting the next configuration.
The default budget is six acquisitions and the endpoint enforces it exactly. Preflight setup is reported separately from controller cold start and does not debit the hosted runtime key. It is never hidden inside a four-to-six-acquisition controller claim.
The measured diagnostic compares response motion with caller-declared minimum resolution and measured repeatability. A structural registry DECLINE or an out-of-contract local check can decline preflight. A local FIT means every bounded measurement check passed on this plant; evidence_backed_fit separately reports whether a matching positive registry cell supports it.
Preflight does not infer target feasibility from configuration bounds alone, estimate an unknown plant from nothing, or apply a mesh-specific drift number to every substrate.
opt = SWCOptimizer(key, n=len(target), target=target, tolerance=0.05)
report = opt.preflight(measure, x0, budget=6)
x = opt.start(x0)
for _ in range(rounds):
x = opt.step(measure(x))
proof = opt.end()Interpret the verdict
FIT is scoped to the local preflight measurement. evidence_backed_fit is true only when a positive registry cell also matched and the target was observed inside tolerance.
BOUNDARY means named local exceptions remain. A local fit without registry support is still a monitored pilot, not an evidence-backed result.
DECLINE means a checkable registered condition or the bounded diagnostic found no writable observable response above measured repeatability. Correct the interface before starting a maintenance session.
Run preflight, inspect the evidence scope, then compare the active default and your incumbent under one measured budget.
