ADR-0120 — An archive page shows the name it lost and offers no way back to it
Status: Accepted · Date: 2026-08-30 · Track: 009 URL lifecycle, phase 04 · Supersedes: nothing · Related: 0092, 0102, 0105, 0119
Context
ADR-0119 minted the archive address and the payload at it. What stood there was JSON: nothing rendered it. This slice is the page, and every question it raised turned out to be a version of the same one — an archive is addressed by a key, but everything a public surface habitually does is addressed by a name, and this resource no longer has one.
Decision
1. The summary is the card's own, moved rather than copied. summarise and
its per-type switch moved out of PublicCardPage into lib/cardSummary, and
both pages import it. ADR-0105 says a card is a projection of the payload the
type already serves, never a second one; two surfaces summarising one payload
through two switches is precisely that second one, free to drift into showing a
key the card does not. The archive passes the card's shape with three things
absent — no owner, no target, no checkout_host — so the payment line
does not draw, and the absence needs no branch of its own.
2. Nothing on the page is clickable to the former name. Every other public
surface ends in an action that opens the resource. Here the name is free:
SlugTaken treats a released name as available (ADR-0115), so an anchor built
from it would hand the reader to whoever holds it now, under the old owner's
identity. So the name is drawn as text with the reason beside it, and that is
also how the page says the address is gone — by stating it as a past fact
rather than by offering a link and then explaining why it fails.
3. A gated archive offers no door. The card, the event and the payment page
all send a gated visitor to /u/{url}, and that interstitial resolves the gate
by name — the one thing a released resource does not have. Following it
would unlock a stranger's resource or nothing at all. So a gated archive draws
the fact of the gate and stops. A grant already in the query is still forwarded
and still honoured by the server; what is withdrawn is the invitation to go and
earn one.
4. A type whose document is bytes is named, not re-served. For file and
static the archive shows the document's identity and one sentence: the bytes
are not served at this address, and nothing was deleted. That is not a hedge —
ADR-0102's serving path is addressed by the slug, so re-serving here would mean
minting a second byte route keyed on the archive key, which is a slice with its
own security bar (an archived document is readable by anyone holding the key,
forever). Whether the archive should serve bytes at all is recorded as an open
item rather than answered in passing.
5. The path is configuration on both halves, and the gate holds them equal.
The API reads ARCHIVE_PATH_PREFIX at boot and mints the address; a route
pattern is fixed at build time, so the SPA reads VITE_ARCHIVE_PATH_PREFIX and
builds ARCHIVE_ROUTE from it, normalised by the same rule. Two settings that
must agree with nothing checking them is how an archive address ends up served
by the catch-all's redirect to / — invisible from either side alone. So
check:lifecycle gained rule L7: both halves must read the prefix from the
environment, and their defaults must be the same string.
Blocker 1 is untouched by all of this. An owner who answers with a domain sets
ARCHIVE_ORIGIN and neither half is rewritten.
Consequences
- An archive can never show more than the card does, because there is one summariser and the server narrowed the payload before either saw it.
- A visitor who lost a gated resource's password cannot recover it through the archive. That is correct: the gate outlives the name, and the name is what the recovery path was addressed by.
- The prefix can be changed, but only in both places, and the build says so.
- 010's artifact hosting inherits question 4: if it lands a byte route keyed on something other than a slug, the archive's stored documents can follow it.
Source: docs/decisions/0120-an-archive-page-shows-the-name-it-lost-and-offers-no-way-back-to-it.md