ADR-0114 — A lapse stops serving everywhere, and a taking transition is armed by configuration
Status: Accepted · Date: 2026-08-30 · Track: 009 URL lifecycle, phase 02 · Extends: ADR-0090, ADR-0113
Context
Phase 02's first slice moved a quiet resource from active to notified. That
transition takes nothing: a notified URL serves exactly as it did, and any use
revives it. This slice is the next one, and it is the first in the track that
takes something — a lapsed URL stops serving its destination.
Two questions had to be answered to write it, and neither has an obvious default.
What does a visitor see? ADR-0090 settled the neighbouring case: narrowing who a link is for 404s, asking the visitor for something renders. A lapse is neither. The resource is not narrowed and the visitor is not being asked for anything; the owner has stopped turning up.
Where is "the serving path"? The ledger row named the redirect path. But 008 gave the public types their own data endpoints, and the app pages that draw those fetch them directly — so the redirect path is one door of seven.
A third question the slice could not avoid: the charter's own order is that the owner is told before anything is taken, and the notices that tell them are phase 03, unenforced. A sweep merged today would stop serving URLs on a 118-day timer with nobody ever notified.
Decision
1. A lapsed resource stops serving on every public path, through one predicate.
models.LifecycleServes is an allowlist — active and notified serve,
anything else does not — read by all seven resolvers: the redirect path, the
five public data endpoints (biolink, vCard, event, payment, card), and the
unlock endpoint that mints gate grants. An allowlist rather than a list of refusals for 004's
reason: a state added to the vocabulary before its serving rule is written
refuses rather than serves.
A lapse the 302 enforces and the endpoint behind the page does not is a lapse a bookmark walks around, which is 007's whole inversion one track later. The predicate is one function for the same reason the display-rules matcher is: a second copy of it is a defect in a second place.
GetLinkByURL now selects lifecycle_state. Unselected it arrives as "",
which is indistinguishable from a resource with no lifecycle at all — #393's
defect, and this time in seven handlers at once, which is why the assertion
lives in the repository's integration test rather than beside a handler.
2. The refusal is the 404 a missing link shows.
Not a page saying the URL lapsed. Such a page would tell anyone probing slugs that this name is taken and that its owner has stopped turning up — an inference the owner never consented to and a squatter would pay for. It is the disclosure rule ADR-0109 set for the attributed 409 and ADR-0110 for an outsider's comment, applied to time.
No click is recorded, for the reason the other silent refusals record none: nothing resolved. That also keeps a crawler from reviving a lapsed URL by visiting it.
What was there stays readable — at the archive address, which is phase 04's
and whose address is the owner's Blocker 1. A lapse still deletes nothing, and
an edit or a click returns the resource to active until the name is released.
3. A transition that takes something is armed by configuration, and disarmed by default.
LIFECYCLE_TAKING_ENABLED, default false. The lifecycle_lapse cron task is
registered and runs daily; disarmed, it never reaches the store. Disarmed has to
mean exactly that — a transition saved only by its WHERE clause is one edit
away from taking something.
This is where the charter's order is actually held. A deployment arms the taking transitions once it is sending phase 03's notices and has answered the retention windows (Blocker 3). Until then the lifecycle observes: it notices quiet, it stores the position, and the serving path refuses a lapsed row however one came to exist.
The sweep also moves rows out of notified and never out of active, so
nothing lapses that was not first noticed — the same rule at the level of the
predicate rather than the switch.
Consequences
- The lifecycle's first taking transition ships behind a switch that no deployment has flipped. That is deliberate, and it is the difference between a mechanism being ready and a policy being live.
- Seven resolvers now share one predicate. An eighth public path that resolves a
slug and does not call it is a hole; the ledger's
lapsedrow names all seven so that deleting one fails the build. releasedalready refuses too, by the allowlist, though nothing writes it yet. Phase 05 adds its writer and its own reader — the claim path — and does not have to revisit the serving question.- What an owner sees of any of this is still nothing: no surface draws a resource's lifecycle state. That is one open item, and it wants phase 03's notices beside it.
Source: docs/decisions/0114-a-lapse-stops-serving-everywhere-and-a-taking-transition-is-armed-by-configuration.md