ADR-0118 — The last notice is about the name, so it reaches a resource that has already lapsed
Status: Accepted · Date: 2026-08-30 · Track: 009 URL lifecycle, phase 03 · Supersedes: nothing · Related: 0114, 0115, 0116, 0117
Context
ADR-0117 set the shape of a later rung: claimed off the rung below, handed back
to it on failure, and claimed only for notified rows — because the warning's
sentence is this still serves and will stop, which a lapsed resource has
already done.
The last rung inherits the shape and breaks the scope, and the reason is in the charter's own default windows:
| window | default |
|---|---|
LIFECYCLE_NOTICE_FINAL_DAYS | 118 |
LIFECYCLE_LAPSE_DAYS | 118 |
They are the same day. lifecycle_notice_final_send and lifecycle_lapse
are two daily cron tasks with no ordering between them, so on the day both fall
due one of two things happens. If the notice runs first, the owner is told and
then the resource lapses. If the lapse runs first, the row is lapsed — and a
notified-scoped claim finds nothing, on that run and on every run after it,
because the row never returns to notified. The owner is never sent the last
notice, and thirty days later their name is released.
Registering the tasks in a helpful order does not fix this: it is a schedule, not a guarantee, and a retry, a restart or a second process reorders it. The ledger's own note for this row says what is at stake — an owner released without this row enforced has not been told — and an ordering-dependent notice does not clear that bar.
Decision
The last notice's subject is the name, not the serving. The warning already said the resource would stop serving; by the time this notice is due, that may have happened, and repeating it would be a product describing a future it has already delivered. What is still true, still in the owner's hands, and still worth a message is the address.
So the claim is scoped to models.LifecycleRevivable — notified and lapsed,
the states a resource can still be saved from by using it — and never to
released, where the name may already belong to somebody else and there is
nothing left to offer. ClaimNoticeRung takes the states as an argument, so
each rung names its own: the warning keeps notified alone.
The body states one date: when the address becomes available. It is
last_used_at plus the lapse and release windows, consecutively (ADR-0115's
rule), which is the earliest the name can go — a lapsed row's real release is
that date or later, because the sweep moves a row only once its last use is at
least that old. Naming the earliest is the safe direction for a warning: the
owner acts sooner than they must, never later than they can.
It says that nothing is deleted. The charter's Blocker 4 is answered rather than asked, and the last notice before an address changes hands is exactly where an owner would otherwise assume the worst.
Armed or disarmed follows ADR-0116 unchanged: a deployment that will not take the name says nothing about taking it, in the title as well as the body.
Consequences
- Phase 03 is closed: three notices, one ladder, each rung claimed off the one
below and each honest about what its deployment will do.
check:lifecyclereads 7 of 9. - With phases 03 and 05 both landed, ADR-0115's precondition for arming
LIFECYCLE_TAKING_ENABLEDis one phase from being met. Phase 05 is the remaining half; nothing here arms anything. - A deployment whose windows put the final notice before the lapse gets the notified row and the same message. The scope is a superset, not a reordering, so no configuration makes it send twice — the rung is still claimed once.
models.LifecycleRevivablenow has a second reader. It was minted for the two maintenance paths that revive a resource, and "the states a resource can still be saved from" is the same set for the same reason, which is why this is a reuse rather than a coincidence.
Source: docs/decisions/0118-the-last-notice-is-about-the-name-so-it-reaches-a-resource-that-has-already-lapsed.md