ADR-0012: The collection is Resources, and "Links" retires as a user-facing word
- Status: Accepted
- Date: 2026-08-13
- Deciders: Operator (decision 001), renaissance workstream 001
Context
Audit 01's finding was one word doing three jobs. "Links" named the collection
of everything a user creates, and one product inside it, and the links
table. The consequences were not cosmetic: GET /api/v1/links returned every
type, the dashboard merged two of eight types by hand, and the only complete
product list in the app was a dropdown inside a modal titled Create Link.
ADR-0008 and ADR-0009 fixed the endpoints. This is the word.
The collection needed a name before "Links" could stop being one.
docs/GLOSSARY.md recommended Library, on the grounds
that seven pages already carried a Library · … kicker with a six-family
sub-taxonomy — finishing something begun beats inventing. It recorded the
objection to itself in the same breath: library connotes storage and
passivity, and these are live, published, trackable resources.
Decision 001 put the question to the operator, who answered Resource.
Two facts made that answer cheap to adopt and expensive to ignore. The API had
already reached for it: ADR-0009 named the registry-wide read
/api/v1/resources/recent and said explicitly that it would not pre-empt
decision 001 by calling it /library/. And this glossary already recorded
Resource — Decided as the noun for a single member, used that way in
LinkTypeDescriptor and ResourceUrlField. The collection is the plural of a
word three layers had already settled on.
Decision
The collection is Resources. A single member is a resource. The short-link product is a Short link, and "Links" is retired as a user-facing word — it names the table and the route, and nothing a user reads.
Three rules follow, and a gate holds each:
- No user-facing label is a retired word. Bare "Links", "Pages" and
"Notifications" each named more than one thing; "Library" is the collection
noun that was not chosen. The eight
Library · …kickers across seven pages now readResources · …. - A family is named by its product wherever its own name is ambiguous.
Pages is the only such family, and the bio page list is kickered
Resources · Bio pagesrather thanResources · Pages. This avoids coining a new family word to dodge a retired one. - The registry is the vocabulary. A navigation entry pointing at a
registered type's
listPathcarries that type'spackages/link-modellabel — pluralised for a list, singular for a create action, because number is grammar and the word is the vocabulary. Four hand-maintained navigation lists had drifted into three casings of the same eight product names; that is now a build failure.
scripts/check-navigation-parity.mjs enforces all three, in npm run verify
and as a step of the design-system CI job — a seventh gate inside an existing
job, not a seventh job.
Consequences
Easier. The word is the same from the database row to the sidebar:
resources in the API, "resource" in the glossary, "Resources" on the page.
The catalogue surface (phase 01 task 4) and the registry-driven navigation
(task 3) now have a noun to be built under, which is what blocked them.
What the gate does and does not hold. A rename that stops halfway is worse
than no rename, so it matters exactly how far the gate reaches. It reads the
parse tree and checks label positions — nav entries, title, label,
aria-label, kicker, em, itemLabel — for a retired plural, whether
it is the whole string or inside one, allowing it only where a qualifier from
the registry precedes it. It resolves identifiers to their bindings, so a
label extracted into a const is still read. It does not catch:
- A retired singular. "Create Link", "New link". Including singulars flagged 26 sites, nearly all correct English — "Next page", "Rows per page", "Delete link", "Link type". A gate that forces bad copy gets suppressed, and a suppressed gate holds nothing.
- Prose.
description=,placeholder=and rendered sentences get the whole-string rules only. "Serve links from your own branded domains" is wrong under a strict reading and is left, because the app's prose is a larger question than this rename. - A computed string — concatenation, a template with substitutions, a
ternary. The topbar's
aria-label={n ? `Inbox, ${n} unread` : 'Inbox'}is in that class and is unguarded. apps/web/index.html, which no gate walks.
So the honest claim is narrower than "the rename cannot be reversed": every
navigation entry and every plural label is held, and the rest is held by
review. An adversarial pass reverted ten of the rollout's own strings; the
first version of the gate caught none and this one catches four. That number
is in evidence/verification-runs.md rather than rounded up here.
Harder, and accepted. Naming the collection Resources collapses two of
the three senses docs/GLOSSARY.md recorded for that word onto one spelling,
and sharpens the remaining two collisions rather than resolving them:
- The admin portal's
/admin/resourcesgroups domains, projects, pixels, QR codes, splash pages, signatures, teams, handlers and data — precisely the things that are not in the collection. It still needs its own word. The admin portal is out of scope for phase 01, so the gate exempts it and prints the number of exempted files on success rather than hiding the hole. - The dashboard's "Resources" tile tallies collection members plus containers and tracking. Its label is now the collection noun over a count that is not the collection. Narrowing the tally is a counting change, not a labelling one; shipping it inside a rename would have made both unreviewable. Recorded on the ROADMAP under LATER.
Accepted cost. The wire is untouched: the links table, the link_id
column, the eight type values and /api/v1/links all keep their names, so
this is a labelling change with no migration and no /api/v2. In OpenAPI the
tag ids are equally load-bearing — every generated SDK derives a client
namespace from them — so the links tag keeps its id and only its description
and its membership change: the static-page and payment-link operations, which
were tagged links in the collection sense, move to resources.
Not decided here. Whether the Pages family keeps its name once it is rendered anywhere but a kicker; what the admin grouping is called; and whether the dashboard tile is renamed or narrowed.
Alternatives considered
- Library — rejected by the operator. It was this glossary's own recommendation, and the objection recorded against it is the reason it reads as the weaker word: it describes a shelf, and these resources are published and tracked. Its one real advantage — kickers already written on seven pages — cost eight lines to give up.
- Leave the collection unnamed — rejected. It is the status quo that produced the audit, and the defect compounds with every product added; there are ~24 today and one complete list of them exists nowhere.
- A new coinage (Publications, Workspace items) — rejected. It would have required teaching a word to users, to the code and to the API at once, when a word already agreed on by three layers was available.
- Renaming the
linkstable and the/api/v1/linksroute to match — rejected, and out of scope by the phase plan. The table is not user-facing; ADR-0008 already settled that the endpoint is the short-link product and says so in its published summary. A rename there is a migration and a breaking API change bought for nothing.
Source: docs/decisions/0012-the-collection-is-resources.md