ADR-0081: The native cloud march is retired, and the port is the one cloud renderer

876 words

Status: accepted · 28 Nov 2026. Supersedes ADR-0064. Keeps ADR-0063's frame and rule 69 as they stand.

Context

ADR-0076 made takram's port the WebGPU cloud renderer and kept the native march behind ?clouds=march as a diagnostic. Each job the march did then found another home:

The native march's job Done now by
The volume, its history and its composite The port, drawn where ADR-0063 places the composite (ADR-0076)
A cloud's light through the served body's air takram's atmosphere built from the body's recipe (ADR-0077)
The sun's optical depth, and the shadow on what is under The port's cascades, one term in the ground, the sea and the sphere (ADR-0078)
The far field from orbit The port's march at a stride eased by height (ADR-0079)

What was left for the march was its own instruments. Keeping it cost every change to the frame twice: a second system behind the contract, 37 modules and 40 test files, a worker registry that loaded two of its tasks on every page, and a chunk check that held its march and its Mie table off the page.

Decision

The native march is deleted, with every module only it reached, and ?clouds=march reads as no link. The port is the one cloud renderer.

  • What goes. The march, its density, profile, noise, jitter and geometry; its light (the phase atlas, the sky table's reader, the sun grid, the local volume, the clipmap, the slab source); its history, depth copy, frame and composite; the far atlas; the knots' writer; the path-trace reference, the slab rig and the statistics tables; the worker tasks for the statistics and the phase convolution; and cloudSunSchedule in packages/rendering.
  • What the frame keeps. render/cloudSystem.ts is the contract as types alone: the deps, the frame's inputs, the chain system and its factory, and the front handle. cloudLevers, cloudLayers, cloudOverPass, cloudBuild and cloudQuality stand, and so does rule 69.
  • The front handle stays, and reads clear air. The ring, the plumes and the entry trace are built on it. The port records no transmittance by depth, so its handle follows nothing; render/cloudFront.ts keeps the knots' layout for a renderer that does.
  • The weather stays, and with it the Mie tables. The field's genera read the droplets' table for a level's diffraction share, and apps/ingest generates and reads the native light's tables. The tables are data; nothing draws with them.
  • A canvas asks for no sky table. It was the march's alone; an ask names it in wants or bakes the air's two tables.
  • The capture has one renderer. scripts/weather/capture.mjs boots clouds=1, takes every cornerstone as a still, and holds a volume arm to the picture's weather drawn. G5 and G6 are the casts' baselines, which the panel's rounds leave out. The injected-defect cast goes: it stepped the march's handover through two levers the port does not read. The step detector's positive control is g6/stepped, a step the clouds alone draw: a change of weather at one frame of the slow descent, which cuts the port's history (the clouds §5.4).
  • The measurement runner goes. scripts/clouds/ timed and differenced the march's levers, and every batch, its stances included, sets one the port does not read; a figure across one would time one picture twice. The port's evidence is the capture's, and its cost ir.gpu()'s.
  • The source links of ADR-0063, ADR-0064 and ADR-0066 to the deleted modules are pinned to the last commit of main that holds them.

Alternatives considered

Keep the march as a diagnostic. It answers questions about a renderer nothing draws with. A figure taken on it is no evidence about the port, and the frame contract it shares would keep a second implementation to hold steady through phases E and H.

Keep the weather's GPU maps for the port's weather map. The clouds plan first routed phase E through them. Phase E reads the CPU climate through a patch of the port instead, so the maps and the field read have no reader.

Keep the far atlas for a handover from orbit. ADR-0079's stride made the port draw orbit, and the handover it would have served is not built.

Consequences

The tree loses 87,755 lines: 37 modules and 40 test files, and three landed measurement files. The game's page loads 56 chunks where it loaded 59.

What is lost, and returns only as its own work:

  • The glory and the cloudbow. They were the native light's, through the phase atlas. "Over the deck" is judged without a glory.
  • Transparents seen through a cloud. The knots gave a ring, a plume or a trace beyond a cloud the cloud in front of it. Through the port each reads clear air, and an object over the clouds stays marked for the over pass.
  • The march's instruments. The far atlas against the fine march, the sun grid against a long march, the composite against a joint march of air and cloud, the path-traced slabs, the statistics tables, and the report's census of the march's resources. The levers only the march read (maxSteps, lightTaps, phaseMode, transport and the rest) still validate and hash, and draw nothing.