Every ./install.sh restarted the engine, a full boot per update (7 to 8 min
on the 27B, 12 on flash) even when the update touched only the cockpit, the
proxy or opencode. engine-inputs.py finds what the engine reads at start from
its unit (unit, drop-ins, the flash launcher, config files named directly or
through /out, checkpoint configs, image IDs) and tells whether the running
engine already has it. Step 9 keeps the engine when it does, the run changed
none of it by content, and it answers /health; the real smoke test still
runs. RESTART_ENGINE=1 forces a restart, and every restart says why.
The unit, the flash launcher and the patched template are now written only
when their content changes: an identical rewrite dated them after the
engine's start and made every second run restart it.
Reference box: a plain ./install.sh on the serving 27B, 28 s twice in a row,
engine start time unchanged.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>