Skip to content
Toolkit

ADR-0138 — An unpriced rung is not a free rung

Status: Accepted · Date: 2026-08-30 · Track: 011 phase 05 (first slice) · Supersedes: nothing · Builds on: ADR-0077, ADR-0134

Context

Phase 05 seeds the tier rows with prices left empty, because what each rung costs is the charter's Blocker 1 and a seeded price is a figure customers are charged from. So every seeded row spends some interval — possibly a long one — carrying no price at all while the owner fills them in through 004's admin form.

The catalogue was not ready for that interval. PlansPage answered "Free" to two different facts:

) : price === 0 || price === null ? (
  <div className="section-title">{t('plans.free')}</div>

plans.monthly_price and its siblings are nullable, and the client type says so (number | null) — a price of zero somebody stored and no price at all arrive distinguishable and were then conflated. Under that branch, the first visible effect of the tier seed would have been a ladder of rungs all announcing themselves as free, at every frequency the owner had not yet priced.

This is ADR-0077's finding one column over. There, the page inferred the viewer's current plan from a price and labelled every zero-price plan everybody's; the fix was that identity is a fact, not an inference from a number. Here the missing fact is the price itself, and absence was read as a value.

Decision

Free is a price of zero that somebody stored, and only that. A plan carrying no price for the selected frequency says it is not sold at that frequency — neither a price nor a promise — and gets no purchase action, which is what CreateCheckout's refusal of price <= 0 already meant and the card already did.

The page draws three states rather than two, from a fact it is already served:

stored valuecard saysaction
a positive pricethe priceSubscribe
0Freenone — the checkout refuses it
absentnot sold at this frequencynone

Nothing is inferred about why a price is absent. A tier the owner has not priced yet and a tier deliberately not sold annually are the same fact to this page, and it says the one thing true of both rather than guessing between them.

Consequences

The tier seed can now land unpriced without the catalogue lying about it, which is what makes the shape/price split of Blocker 1 safe to ship: the mechanics are a session's work, the figures are the owner's, and the surface in between states neither on the other's behalf.

The ladder ledger's tiers row names this branch as part of its store half, beside CheckoutHandler's refusal — the two things that must not change under the seed — so deleting either fails npm run check:ladder (R2) in the commit that deletes it. The row itself stays open: a seed with no reader is not a rung, and it closes when the tier rows exist and the catalogue serves them.

Watched failing on the branch it replaces: with price === 0 || price === null restored, an unpriced plan renders no such line and the phase's test fails.

Source: docs/decisions/0138-an-unpriced-rung-is-not-a-free-rung.md

Library