Hot Reload Is a Runtime Operation, Not a Deployment Event

The runtime platform absorbs code updates as runtime operations rather than as deployment events. Logic updates land into the running runtime, in-flight operations finish with the old logic, and the next operation uses the new. There is no restart, no warm-up, and no state loss; recompilation is something the runtime does, not something a deployment pipeline coordinates from outside.

Why it is held

Hot reload built as a deployment pattern fragments. Each team picks a blue-green or canary or rolling-restart routine; each routine has to drain in-flight operations, warm new instances, and coordinate state migration; each implementation has bugs the team rebuilds when discovered. The application code that handles "drain me, warm me, migrate me" is not the application's actual logic -- it is bookkeeping the platform could provide. Treating hot reload as a runtime primitive removes the coordination layer entirely: the runtime swaps the code, in-flight operations complete with the version they started with, and the next operation uses the new version without an external orchestrator.

The platform-as-recompiler stance composes with the persistent-state primitive ([[Runtime State Is Persistent by Default, Not by Application Discipline]]). Recompilation does not destroy the state graph; objects keep their state and their identity across the code change. Without runtime-level persistence, hot reload would have to coordinate state migration as part of the code change -- exactly the deploy-pipeline pattern the platform replaces. With runtime-level persistence, recompilation operates on living objects whose state is unaffected by the logic update.

The platform-as-recompiler stance also composes with atomicity ([[Agent Operations Commit Wholly or Roll Back Wholly]]). In-flight operations finish with the old logic because the atomic envelope holds the code version constant for the duration of the operation; the next operation starts with the new logic because the platform has committed the recompilation between operations. Without atomicity, an in-flight operation might find itself partway through with old logic and partway through with new -- exactly the kind of partial-state failure the atomic primitive forbids. The two primitives reinforce each other at the boundary of the recompilation event.

The reference runtime provides this primitive directly: a runtime compile call recompiles a source file into the runtime; the driver's compile callback logs the event and updates the program registry; objects retain their state across the recompilation. The foundation layer's operator tooling exposes a compile command as the operator surface, making hot reload a wizard-tier operation rather than an external deploy step. The Cloud Server Reference's eight-primitives table marks hot reload as "Provided" with no gaps and notes that the hot-reload demo flows directly -- the MVA's hot-reload phase produces empirical evidence for this Conviction.

The Conviction is held because the no-deploy-coordination experience is what platform adoption purchases for development velocity. When recompile-while-running is the runtime's promise, the development cycle compresses dramatically: edit code, issue the compile command, observe new behavior; no container rebuild, no rolling restart, no in-flight-request drain. Trading the primitive for a deploy pipeline would surrender the development-velocity property that justifies much of the platform's other costs.

What it asks

Honoring this Conviction asks the project to keep recompilation inside the runtime, not to orchestrate it from outside.

Drift recognition

The Conviction has weakened when the project's outputs treat recompilation as a deployment concern rather than as a runtime operation.

Sources

Relations