Summary
Every real-place Scout patch carries one of four authored tiers — Common, Rare, Epic, Legendary — describing how hard the place is to physically reach.
The tier is Scout's own editorial judgement, not a measured statistic. It is not how many people have collected the patch, not how famous the place is, not how good it is, and not how nice the art is.
THE CRITERIA
These are the rules. Everything else in the rarity system — the judging rubric the tiering agents are given, the admin dropdown, the badge — derives from this section. If a tier and this section disagree, this section wins and the tier is a bug.
The question
What is the single hardest thing standing between an average traveler and standing on that spot?
Not the last mile. Not the total distance. The one obstacle you cannot avoid.
The four tiers
| Tier | The obstacle | Canonical example |
|---|---|---|
| Common | None. It is on the drivable road network, you can go today, and you book nothing. | St. Louis · Gateway Arch · Yellowstone |
| Rare | One real obstacle. A mandatory flight to somewhere not road-connected; a scheduled ferry; a seasonal-only road; a long unpaved drive; a serious hike; or a reservation that sells out. | Isle Royale (ferry) · Denali (you cannot drive to Alaska in a day) · Alcatraz (ferry, books out) |
| Epic | An obstacle with no scheduled service. A chartered boat or plane, or a permit plus genuine backcountry effort. | Dry Tortugas (boat or seaplane) · Glacier Bay · Buck Island Reef |
| Legendary | No scheduled service exists at all. Bush plane, air taxi, or an expedition. | Kobuk Valley (bush plane) · Gates of the Arctic · Noatak |
Rules that follow from the question
-
A long drive is not an obstacle — but isolation is. Distance alone never lifts a tier. What lifts it is a trip an ordinary person would call a hassle rather than a drive: hours from any city of size, no real services near the destination, and planning needed around fuel, water or daylight. The test: is this somewhere you just go, or somewhere you organise?
- Yellowstone is Common. Long drive, but there are gateway towns with fuel and beds at the entrances, and four million people a year simply turn up.
- Big Bend is Rare. Paved the whole way, and still five hours from any city, with almost nothing between. You plan that trip.
The remoteness number is actively misleading here and must be ignored. Big Bend reads 18.6 mi from the nearest populated place; Yellowstone reads 30.2. The gazetteer counts Study Butte the same way it counts Gardiner. Judge the character of what is nearby — does it have fuel and beds — not the mileage.
-
A mandatory flight IS an obstacle. Anywhere not connected to the contiguous road network — Hawaii, the territories — is at least Rare, because no amount of driving gets you there. (Alaska is road-connected via the Alaska Highway, but only as a multi-day international drive, which is itself the obstacle. Alaska is at least Rare.)
-
Water without a bridge is an obstacle. An island reached by scheduled ferry is Rare no matter how close it is to a city. Alcatraz sits 4.2 miles from downtown San Francisco and is Rare, for Isle Royale's exact reason.
-
Scheduled beats chartered. If you can book a seat on something that runs to a timetable — a ferry, an airline, a concession boat — that is Rare. If you must charter the whole vessel or aircraft, that is Epic. If nothing scheduled serves the place at all, that is Legendary.
-
Count the hardest obstacle, not how many there are. Two Rare obstacles do not make an Epic. A place needing a flight and a ferry is still Rare.
-
Judge the place, not the visitor. A Fairbanks local finds Denali easy; the tier is not relative to where anyone lives. Use the average American traveler.
-
Judge the patch's boundary, not its deepest corner. You earn a patch by standing anywhere inside its geofence. Denali's park road past mile 15 needs a shuttle, but the entrance does not — and the entrance is inside the boundary. Tier the easiest legitimate way to earn it.
-
Reputation is not an obstacle. Fame, beauty, danger, and "bucket-list" marketing copy in a description are all irrelevant. Ask only about access.
Worked precedents
These are settled. Any new judgement should be consistent with them.
| Place | Tier | Why |
|---|---|---|
| Yellowstone | Common | Gateway towns at five entrances; you just turn up |
| Big Bend | Rare | Paved all the way, and still five hours from any city with nothing in between |
| Great Basin | Rare | Four hours from Salt Lake or Vegas, and Baker is a hamlet |
| Rogers Centre | Common | Downtown Toronto — the 32-mile remoteness reading is a gazetteer artifact |
| Shoshone National Forest | Common | The 32-mile reading is its centroid; trailheads are on the highway |
| Hoover Dam | Common | Park in the garage off US 93 |
| Denali National Park | Rare | Reaching Alaska at all is the obstacle; the entrance itself is drive-up |
| Haleakalā | Rare | Paved road to the summit, but Maui needs a flight |
| Guam · Saipan | Rare | Ocean flight mandatory, then you drive |
| Alcatraz Island | Rare | Ferry only, and it sells out |
| Cumberland Island | Rare | Passenger ferry from St. Marys |
| Grand Canyon-Parashant | Rare | No paved roads; high-clearance 4WD and your own water |
| Chaco Canyon sites (Pueblo Bonito, Chetro Ketl, Una Vida, Pueblo Pintado, Gallo Cliff Dwelling…) | Rare | Reached only by a long rough dirt road into Chaco Culture NHP |
| A pueblo open to visitors only on a feast day or by permit (San Felipe) | Rare | Same reasoning as event-only private clubs: one real access obstacle |
| Death Valley | Common | Two hours from Las Vegas, with fuel and lodging inside the park |
| Baxter State Park | Rare | Gravel roads, day-use reservation, gates fill by dawn |
| Augusta National · Oakmont · Merion (private championship golf clubs) | Rare | Open to visitors only with a ticket to a scheduled tournament; the rest of the year you cannot enter (Alan, 2026-11-24). Public and resort courses (Pebble Beach, Bethpage Black) are Common |
| American Samoa | Epic | Twice-weekly flight from Honolulu, and the Ofu unit needs a small plane |
| Dry Tortugas | Epic | Boat or seaplane from Key West |
| Glacier Bay | Epic | No road in; fly to Gustavus or arrive by ship |
| Kobuk Valley | Legendary | No roads, no scheduled service, bush plane |
| Aniakchak | Legendary | Floatplane, weather permitting; among the least-visited units in the system |
The shape of the catalog
Measured, not projected. Read from the live catalog the app downloads
(GET https://scout-patches.com/api/sync/content, 2026-10-29): 3,553 places,
3,536 of them tiered.
| Tier | Count | Share of all places |
|---|---|---|
| Common | 3,374 | 95.0% |
| Rare | 133 | 3.7% |
| Epic | 17 | 0.5% |
| Legendary | 12 | 0.3% |
| (not yet judged) | 17 | 0.5% |
The 2026-09-24 calibration over the 204-patch pilot predicted "10–15 Legendary, 5–10 Epic, 150–250 Rare, ~85% Common" for a then-1,989-place catalog. The catalog has since nearly doubled (the state-park expansion alone added ~1,300 drive-up parks), and the live shape landed slightly more Common than that guess — which is the expected direction, since almost everything added was Common by construction. The calibration measurement that still holds:
| Patches by remoteness rank (2026-09-24, 1,989 places) | Legendary | Epic | Rare | Common |
|---|---|---|---|---|
| 1–100 (the most remote in the catalog) | 11 | 5 | 17 | 67 |
| 101–200 | 0 | 0 | 10 | 89 |
Remoteness stops predicting difficulty past about 35 miles. Every Legendary and every Epic requires the absence of scheduled service — which in practice means roadless Alaska and a handful of islands. Below that, tiers are driven entirely by mode (a ferry, a mandatory flight, a seasonal closure, a permit), not by distance, and the great majority of American places are simply drive-up.
A Common-heavy catalog is the correct outcome, not a failure. Most places really are easy to reach, and a ladder where a third of the rungs are "hard" would not be believed. The tiers earn their meaning from being rare.
This is a calibration guide, not a quota. If a batch comes back far outside it, the bar has moved — say so and recalibrate, rather than forcing patches up or down a tier to hit a number.
When in doubt
Return no tier. A missing tier renders no badge and is a safe, deliberate state. A wrong Legendary is not safe — it is the one claim a user will challenge.
Status
Live on prod since 2026-09-30 (owner-confirmed). Every tier below was read from the live sync feed on 2026-10-29, not from a local database.
No feature flag. rarity is a nullable column
(backend/prisma/schema.prisma:161), and NULL renders no badge on any
surface — that nullability is the rollout control in place of a flag, which is
what lets the catalog be tiered (and extended) in waves without gating
anything behind a toggle.
3,536 of 3,553 live places are tiered (99.5%). The 17 untiered patches are
all cemeteries added on 2026-10-22 (Burial Hill, Graceland, Bellefontaine,
Trinity Churchyard, Fort Snelling, Golden Gate and Jefferson Barracks national
cemeteries, and ten more) that have not yet been through rarity-apply. They
show no badge anywhere until they are judged.
Where the hard ones are.
- All 12 Legendary patches are in Alaska: eleven National Park Service units (Gates of the Arctic, Kobuk Valley, Katmai, Lake Clark, Noatak, Bering Land Bridge, Cape Krusenstern, Aniakchak, Yukon–Charley Rivers, Alagnak Wild River — plus Mount Okmok on Umnak Island) and one state park, Wood-Tikchik.
- 17 Epic: eleven in Alaska (Glacier Bay and ten volcanoes — Augustine, Iliamna, Redoubt, Spurr, Pavlof, Shishaldin, Makushin, Wrangell, Edgecumbe, Novarupta), two in the U.S. Virgin Islands (Buck Island Reef, Virgin Islands Coral Reef), Kalaupapa (Hawaii), American Samoa National Park, Dry Tortugas (Florida) and Wild Horse Island State Park (Montana).
- 133 Rare, spread over 32 states and territories: Hawaii 44, Alaska 16, California 13, Florida 7, Texas 5. By type: 43 state parks, 21 natural features, 11 parks, 10 monuments, 9 lighthouses.
- Rule 2 holds on the live data: Hawaii, Alaska, American Samoa and the Virgin Islands carry zero Common patches.
Publishing tier data for new patches stays the content owner's job (see CLAUDE.md § Content publishing).
User-facing surfaces
| Surface | Shows Common? | File |
|---|---|---|
| Patch detail hero (Overview tab) | Yes | mobile/src/components/patch-detail-v2/tabs/OverviewTabV2.tsx:45-48 — RarityBadge at size="hero", gated only on patch.rarity !== null |
New Home hero (new_home_screen, default on) |
Yes — one specific patch, so the rule below says show it | mobile/src/components/home-new/HuntHero.tsx:133 — RarityBadge at size="meta" (small pips, the word in sentence case, leading the facts line), gated on rarity. See new-home-screen |
My Patches grid pill (my_patches_screen, default on) |
No — rare+ only, a tier gem before the date | mobile/src/components/patch-grid/PatchGrid.tsx:34-35,63 — the shared grid; see my-patches |
Unlock celebration — previous stage (CelebrationStage, both celebration flags off) |
No — rare+ only | mobile/app/celebration.tsx:680,883 — showRarityBadge = patchRarity !== null && patchRarity !== 'common' |
Unlock celebration — Ember Surge (celebration_ember_surge, default on) |
No — rare+ only (same rule); the tier also drives the reveal's escalation and the ember colour | mobile/src/components/celebration/ember-surge/EmberSurgeStage.tsx:100-101 — showBadge = patchRarity !== null && patchRarity !== 'common'; the ladder is tierFx.ts |
Unlock celebration — Card Pull (celebration_card_pull, default off) |
Yes — the card is one specific patch | mobile/src/components/celebration/card-pull/CelebrationCard.tsx:69-90 — tier word + pips on the card; an unjudged patch shows no tier |
| Celebration share image (both rarity stages) | Ember Surge: No (shows state · collection instead). Card Pull: Yes (it is the card) | mobile/src/components/celebration/share/CelebrationShareCard.tsx:66 |
Onboarding first-unlock reveal (PatchUnlockReveal, mounted only by app/onboarding-reveal.tsx) |
No — rare+ only, shown for the rarest patch in the unlock batch | mobile/src/components/celebration/PatchUnlockReveal.tsx:177-179,310-312 |
Browse grid card pip (PatchCard.tsx) |
No — rare+ only | mobile/src/components/patch-browser-v2/PatchCard.tsx:44,72-74 — top-left corner, pointerEvents="none" |
| Campaign-collection stop grid card pip (art view) | No — rare+ only | mobile/src/components/campaign/CampaignCollectionScreen.tsx:86,525 — same PatchCard as the browse grid, fed by CampaignCollectionPatch.rarity |
| Profile rarity ladder (leads the page, above Collected) | Yes, plus every tier as a row | RarityLadder in mobile/app/(drawer)/profile.tsx:315-357,669-672; component mobile/src/components/profile/RarityLadder.tsx |
| Admin patch editor — Rarity panel (select, note, source pill, Confirm button) | n/a (internal) | backend/admin-ui/src/pages/PatchDetailPage.tsx:1385-1431 (Confirm handler :429-438) |
| Admin patches list — Rarity column + filter (the review queue) | n/a (internal) | backend/admin-ui/src/pages/PatchesPage.tsx:736-761,1139,1168-1171,1267-1290 |
No surface has its own scout:// deep link — the badge is an embellishment on
existing routes (patch-modal/<id>, celebration, onboarding-reveal,
collected-patches, profile), so nothing new was added to
mobile/src/dev/deepLinkRoutes.ts.
The Clasp-pin placeholder (5a148db6, 2026-10-19) did not change the pip
rule. A patch with no art is now drawn as its Clasp pin on the browse card
(PatchCard.tsx:69), the shared grid (PatchGrid.tsx:77) and the Profile
ladder's "rarest" hero (RarityLadder.tsx:52, which is why rarest gained an
id); the rare+-only pip and the ladder's tier rows render exactly as before on
top of that art. See patch-art-placeholder.
How it works
Authoring (no server-side computation). No rule or model assigns a tier —
every one is judged by a human or an LLM agent reading the place against the
criteria above. backend/scripts/enrichment/rarity.ts builds a
RarityBatchRecord per unjudged patch (buildRarityBatchRecord, line 32)
carrying name, type, city/state, description excerpt, coordinates, and
nearestTownMi (from backend/src/locations/remoteness.ts's
nearestPopulatedPlaceMi, :52, which returns null — never Infinity —
outside the US or over open ocean, so an unmeasurable distance can't be misread
as "remote"). rarity-scan/rarity-batch/rarity-apply
(backend/scripts/patch-enrich.ts, help text :761-764, wired at
:2012-2024) emit a batch most-remote-first and write back verdicts;
parseRarityVerdicts rejects any row with an unknown tier by name rather than
writing it (enrichment/rarity.ts:86-89), and cmdRarityApply refuses to
apply the whole file at all if parsing produced any errors (:168-169).
Per-row, it also never overwrites a patch whose raritySource is already
'confirmed' — a confirmed tier is a human decision that nothing automated
overrides (:186-188). The original 1,989-patch pass used 18 independent
judging agents plus a 13-anchor gate that rejects a whole batch on one wrong
anchor answer — mechanics documented in docs/superpowers/plans/rarity-audit/,
not part of the shipped runtime. The same commands tiered the state-park
expansion afterwards.
New patches get judged too. enrich-full (backend/scripts/patch-enrich.ts:1512-1577)
emits a patch's RarityBatchRecord whenever its rarity is still null, so a
patch created after the initial audit doesn't ship un-judged forever — the
verdict is written back through rarity-apply, landing raritySource: 'suggested' for a human to confirm later. verifyOne reports a missing rarity
as a WARNING, never a hard error (patch-enrich.ts:1697-1702) — null is a
deliberate, safe state, not a defect. (The 17 untiered cemeteries above are
exactly this state: created, not yet judged.)
Delivery. mapSyncPatch (backend/src/sync/sync.service.ts:114-118)
copies rarity/rarity_note onto every synced patch and deliberately omits
rarity_source — authoring bookkeeping the app has no use for. On the client,
transformPatch (mobile/src/domain/store.ts:344-345) re-validates the tier
through isPatchRarity before trusting it, so an unrecognized string from a
newer backend renders null (no badge) instead of crashing or falling back to
a default.
Rendering. RarityBadge (mobile/src/components/rarity/RarityBadge.tsx;
sizes pip | inline | hero | meta, :13) draws 1–4 diamond pips
(rarityPips, one per tier step) plus the tier word, each tier in its own
Spectrum hue with a matching glow (since 2026-09-28, board ticket
1c035f64; before that every tier was brass, brightening with rarity): Common
sage #A7B09A, Rare sky #5EAEEA, Epic violet #B784F0, Legendary gold
(narrative.rarity.tiers, mobile/src/theme/narrative.ts:63; the hues are
tokens in mobile/src/theme/tokens.ts:36-38). The glow is a boxShadow, so
it renders on Android as well as iOS. It never renders a default, so every
caller gates on patch.rarity !== null itself. buildRarityBreakdown
(mobile/src/domain/rarityBreakdown.ts:29-49) walks a batch of patches,
returning zero-filled per-tier counts and the single rarest patch held (by
rarityRank), explicitly skipping any patch whose rarity is null rather
than counting it as Common — used by the celebration/reveal surfaces (rarest of
a nested unlock) and by the Profile ladder (rarest of the whole collection).
Admin editing. The Rarity panel's plain Save button posts
buildPatchSavePayload (backend/admin-ui/src/lib/patchRarity.ts:90), which
never includes a raritySource key — so an unrelated field edit can never
silently flip a confirmed tier back to suggested. Only the dedicated "Confirm
this tier" button sends buildConfirmRarityPayload (patchRarity.ts:49-55),
which always sets raritySource: 'confirmed'. On the server, UpdatePatchDto
validates rarity against the four tiers plus null, rarityNote against a
120-char bound, and raritySource against the two source values
(backend/src/admin/dto/index.ts:329-357) — raritySource uses
@ValidateIf, not @IsOptional(), so an explicit raritySource: null is
rejected with a 400 instead of reaching Prisma as a NOT NULL violation; the
controller (backend/src/admin/api/patches-api.controller.ts:433-467) spreads
only the DTO keys actually present in the request body into the Prisma data
object, which is the mechanism that lets a save that never mentions rarity
leave a confirmed row untouched. The patches list's Rarity filter
(backend/admin-ui/src/pages/PatchesPage.tsx:445-451) — All / Not judged /
Common / Rare / Epic / Legendary / Suggested only — is the review queue:
"Suggested only" surfaces every auto-judged tier still waiting on a human to
confirm it; "Not judged" is where the 17 cemeteries sit today.
CreatePatchDto (backend/src/admin/dto/index.ts:223-234) also validates
rarity/rarityNote. It deliberately has no raritySource field: a created
patch always starts at the column default ('suggested'), and only the
dedicated Confirm action may ever stamp 'confirmed'. The create handler
(backend/src/admin/api/patches-api.controller.ts:370-396) passes
dto.rarity/dto.rarityNote straight into the same explicit Prisma data
object as its other authored fields.
Data model
backend/prisma/schema.prisma, on Patch (table patches):
rarity—String? @map("rarity")(schema.prisma:161) — one of'common' | 'rare' | 'epic' | 'legendary', ornullfor "not yet judged." Indexed (idx_patches_rarity,:264).rarityNote—String? @map("rarity_note")(schema.prisma:163) — one short line in the app's voice ("Takes a ferry."), shown only at hero badge size. 3,536 of 3,553 live patches carry one — every tiered patch has a note.raritySource—String @default("suggested") @map("rarity_source")(schema.prisma:166) —'suggested'(an automated pass wrote it) or'confirmed'(a human agreed). Never leaves the server.
Migration: backend/prisma/migrations/20260923120000_patch_rarity/migration.sql.
Content-publish classification. All three columns are publishedColumns on
the patch content-publish entity
(backend/src/content-publish/content-entities.ts:289-294) — authored content,
published from local to prod exactly like short_description.
rarity_source publishes too, deliberately: a tier confirmed locally must stay
confirmed on prod, even though the field itself never reaches the mobile app.
Vocabulary is hand-mirrored, not shared. This repository is not a
monorepo, so the four-tier vocabulary exists as two independent copies with
identical shape: backend/src/patches/rarity.ts (PATCH_RARITIES,
isPatchRarity, rarityRank, plus RARITY_SOURCES) and
mobile/src/domain/rarity.ts (the same three exports, plus display-only
rarityLabel/rarityPips).
API surface
| Endpoint | Auth | Notes |
|---|---|---|
GET /api/sync/content |
None (optional bearer unlocks admin-only rows) | Every patch object carries rarity/rarity_note; rarity_source is never included (sync.service.ts:114-118) |
GET /api/sync/patch/:id |
None | Same shape, single patch — deep-link fallback |
PATCH /api/admin/patches/:id |
AdminGuard + ContentWriteGuard |
Accepts rarity/rarityNote/raritySource; 400 on an unknown tier/source or an over-length note (backend/src/admin/dto/index.ts:329-357, backend/src/admin/api/patches-api.controller.ts:433-467). Read-only in prod like every content-write route (see admin-and-content-ops) |
POST /api/admin/patches |
AdminGuard + ContentWriteGuard |
Accepts rarity/rarityNote (no raritySource — a created patch always starts 'suggested') (backend/src/admin/dto/index.ts:223-234, backend/src/admin/api/patches-api.controller.ts:370-396). Read-only in prod |
Key files
Vocabulary and judging
backend/src/patches/rarity.ts/mobile/src/domain/rarity.ts— the tier vocabulary, hand-mirrored on each side.backend/src/locations/remoteness.ts:52—nearestPopulatedPlaceMi, the "how isolated is this" signal fed to judges (a signal, never the rule).backend/scripts/enrichment/rarity.ts—buildRarityBatchRecord(:32),parseRarityVerdicts(:66),REAL_PLACE_WHERE(:108-110, the merch exclusion),cmdRarityApply(:162, confirmed-row protection:186-188).backend/scripts/patch-enrich.ts:1512-1577,1697-1702,2012-2024— theenrich-fullrarity step, the verify warning, and therarity-scan/rarity-batch/rarity-applyCLI wiring.docs/superpowers/plans/rarity-audit/— the original audit's rubric, anchor gate, and per-batch verdict files; not runtime code.
Delivery
backend/src/sync/sync.service.ts:114-118—mapSyncPatch's rarity fields.mobile/src/domain/store.ts:344-345—transformPatch's guarded tier read.mobile/src/domain/types.ts:790,792— thePatchinterface'srarity/rarityNotefields.
Rendering
mobile/src/components/rarity/RarityBadge.tsx— the shared badge component (pip/inline/hero/meta sizes). Since 2026-10-02 the hero size (patch detail, the onboarding reveal, the previous celebration stage) is drawn the way the Ember Surge celebration draws its tier: pips and word on one row, the note beneath, the pips stamping in one at a time (StampedPip.tsx, shared with the celebration) and the word fading in after; reduced motion lands it at once.mobile/src/domain/rarityBreakdown.ts—buildRarityBreakdown(per-tier counts + rarest patch).mobile/src/theme/narrative.ts:63-82— therarity.tiersSpectrum palette (a hue and a glow per tier, Common included); hue tokens inmobile/src/theme/tokens.ts:34-38(raritySage,raritySky,rarityViolet; Legendary reuses the brass).mobile/src/components/profile/RarityLadder.tsx— the rarity breakdown on Profile: the rarest patch's art (or its Clasp pin) on a glow in its tier's hue, then every tier top-down (Legendary first) as a row with a bar and count; zero tiers stay, dimmed. Common is shown honestly here. Its columns are fixed so every bar starts at the same x: the label column fits "LEGENDARY" on one line (numberOfLines={1}), pinned by__tests__/RarityLadder.test.tsx.mobile/src/components/patch-detail-v2/tabs/OverviewTabV2.tsx:45-48— hero badge.mobile/app/celebration.tsx:680,883— celebration badge on the previous stage (rare+ only).mobile/src/components/celebration/tierFx.ts— the celebration's per-tier escalation (held breath, burst, rings, flash/shake, holo, god-rays, card shakes, ember palette, haptic). Presentation only — nothing is gated on it.fxTierFor(:128) plays an unjudged patch as Common without ever showing Common.mobile/src/components/celebration/PatchUnlockReveal.tsx:177-179,310-312— onboarding reveal badge (rare+ only, rarest of the batch).mobile/src/components/patch-browser-v2/PatchCard.tsx:44,72-74— browse grid pip (rare+ only).mobile/src/components/campaign/CampaignCollectionScreen.tsx:86,525— campaign-collection stop grid pip (rare+ only, samePatchCard).mobile/src/components/patch-grid/PatchGrid.tsx:34-35,63— the shared grid's pill gem on My Patches (rare+ only).mobile/app/(drawer)/profile.tsx:315-357,669-672— the Profile ladder's view model and render (shows Common).
Admin
backend/admin-ui/src/lib/patchRarity.ts—RARITY_LABEL(the one copy of the display labels),rarityToWire,buildConfirmRarityPayload(:49),buildPatchSavePayload(:90).backend/admin-ui/src/pages/PatchDetailPage.tsx:1385-1431— the Rarity panel;handleConfirmRarity:433-438.backend/admin-ui/src/pages/PatchesPage.tsx:445-451,736-761,1139,1267-1290— the Rarity column, filter, and cell.backend/src/admin/dto/index.ts:223-234,329-357—CreatePatchDtoandUpdatePatchDto's rarity fields.backend/src/admin/api/patches-api.controller.ts:370-396,433-467— the create and update handlers.backend/src/content-publish/content-entities.ts:289-294— thepatchentity'spublishedColumnsfor rarity.
Configuration and flags
- No feature flag exists or is needed.
rarity's nullability is the rollout control: anulltier renders no badge anywhere in the app, so the catalog can be tiered (and re-tiered, and extended to new patches) in waves with no toggle to flip. - No environment variable or remote config gates any part of this feature.
Edge cases and known limits
Common shows on four surfaces and is suppressed on the others — deliberately, not inconsistently. This is the single most important thing to know before "fixing" it:
| Surface | Common shown? | Why |
|---|---|---|
| Patch detail hero | Shows | You opened this one specific place; "Common · Drive in, park downtown." is useful information about it |
| New Home hero | Shows | Same reason: the hero is one specific place you are being sent to, and its rarity is a fact about getting there |
| Unlock celebration (previous stage + Ember Surge) + onboarding reveal | Suppressed | A moment, one patch (or the rarest of a batch) per modal — at 95% Common, badging every ordinary unlock would fire on 19 out of 20 |
| Unlock celebration — Card Pull's card | Shows | The card IS one specific patch, the same reason as the detail hero; and an unjudged patch shows no tier, never a default |
| Grid cards (the browser, My Patches' shared grid, campaign stops) | Suppressed | 3,374 cards all saying "unremarkable" is noise; a pip means "this one is special," and showing it on almost every card would defeat that |
| Profile ladder | Shows | A summary of a whole collection; an honestly-Common "your rarest" is real information, not noise |
The rule: show Common when the user is looking at one specific patch or asking for statistics; suppress it when the badge is competing for attention against many other things on screen. The justification is the measured 95% share above — a number the code itself does not contain — so a future edit that "fixes" this asymmetry without re-deriving that number would be undoing a deliberate decision.
- Store-only merch patches never get a tier, and never reach the app.
REAL_PLACE_WHERE(backend/scripts/enrichment/rarity.ts:108-110) excludes any patch sitting exactly at(0, 0)— the Animals, Japan, Dinosaurs and other product-only sets — from every rarity command, and the content sync strips admin-only collections and their patches before the app ever sees them (backend/src/sync/sync.service.ts:203-210). The live feed contains zero(0, 0)patches. "How hard is it to get there" has no meaning for a product. - A patch created outside
enrich-fullcan ship withrarity: nullindefinitely. Nothing else assigns a tier automatically; a patch that skips enrichment, or is hand-inserted via SQL, simply shows no badge until someone runsrarity-batch/rarity-applyorenrich-fullagainst it. The 17 cemeteries added on 2026-10-22 are the live example. - The Maestro flow is still fenced off from the prod suite.
mobile/maestro/tests/patch-rarity.yamlcarries thelocal-backendtag (:36-38) and its header still says prod has no rarity rows. That was true when it was written and has not been true since 2026-09-30 — the flow's target (American Samoa National Park, Epic, "Twice-weekly flight from Honolulu.") is in the live feed with exactly that tier and note. The flow could run against prod today; the tag and comment are stale, not the data. - The catalog being 95% Common is the intended shape, not a bug — see "The shape of the catalog" above.
What this feature does NOT do
- It does not count collectors. Scout does not show how many people have earned a patch, anywhere. No percentages, no drop rates, no "you're the first", and no leaderboard of patches by how rare they turn out to be. A tier is an editorial judgement about a place, never a statistic about other users. (The leaderboard ranks people by how many patches they hold; it says nothing about any one patch's rarity.)
- It does not change what you can do. Rarity is a label. Nothing is gated on it, nothing costs more because of it, and no reward depends on it.
- It does not sort or filter the catalog. You cannot browse by tier in the app. The rarity filter exists only in the internal admin.
- It does not appear on map markers, and it plays no part in achievements.
- It does not cover store-only merch patches (Animals, Japan, After Dark and the other product-only sets). Those are products, not places, so "how hard is it to get there" has no meaning for them — and they are not in the app's catalog at all.
- It is not computed. No rule assigns a tier. Every one was judged by reading the place. The remoteness number is an input a judge sees, never a formula.
- It is not complete. 17 of 3,553 live places are unjudged today and show no badge; nothing promises every patch a tier on day one.
Tests that cover it
Backend
backend/src/patches/__tests__/rarity.spec.ts— the vocabulary: four tiers in ascending order, nothing else accepted, ranks in the right direction.backend/src/sync/__tests__/sync.service.rarity.spec.ts—mapSyncPatchsendsrarity/rarity_note, never sendsrarity_source, and sendsnullfor an unjudged patch.backend/src/locations/__tests__/remoteness.spec.ts—nearestPopulatedPlaceMifinds a real distance for a genuinely remote place and returnsnull(never a number, neverInfinity) outside the US or over open ocean.backend/scripts/__tests__/rarity.spec.ts—buildRarityBatchRecordcarries what a judge needs and degrades safely on missing fields;parseRarityVerdictsrejects an unknown tier by name rather than writing it.backend/scripts/__tests__/patch-enrich-rarity.db.spec.ts—enrich-fullemits aRarityBatchRecordfor an unjudged patch, passes remoteness through asnullrather than a number when unmeasurable, does not re-flag an already-tiered patch, andverifyreports a missing tier as a WARNING, never an error (falsified by reverting the warning to an error).backend/api-tests/patches-rarity.api.spec.ts— real HTTP boundary against the fixture Postgres DB: 400 on an unknown tier/source or an over-length note; persists all three fields together; a save that never mentions rarity leaves a CONFIRMED row untouched; an explicitrarity: nullun-judges a patch; an unauthenticated caller is rejected before validation runs;POST /api/admin/patchespersistsrarity/rarityNoteand defaultsraritySourceto'suggested'; an explicitraritySource: nullis a clean 400, not a 500.backend/src/admin/api/__tests__/patches-api.rarity.spec.ts—UpdatePatchDtovalidation mechanics against a mocked Prisma.backend/admin-ui/src/lib/patchRarity.test.ts—rarityToWire;buildConfirmRarityPayloadalways setsconfirmed;buildPatchSavePayloadnever carries araritySourcekey (not.toHaveProperty, falsified against a version that adds the key back).
Mobile
mobile/src/domain/__tests__/rarity-transform.test.ts—transformPatchcarries tier+note through, staysnullfor an unjudged patch, and rejects a tier the backend should never send.mobile/src/domain/__tests__/rarityBreakdown.test.ts— per-tier counts, rarest picked by rank, unjudged patches excluded from both, empty and all-unjudged batches returnrarest: null.mobile/src/components/rarity/__tests__/RarityBadge.test.tsx— one pip per tier step, pip size shows pips only, hero/inline sizes show the word, a missing note renders no note text.mobile/src/components/profile/__tests__/RarityLadder.test.tsx— every tier label stays on one line (the "LEGENDA / RY" regression), and the rarest hero draws art when it has it and the Clasp pin when it does not.mobile/screen-tests/patch-modal-id.test.tsx— the hero badge renders for a judged patch and is absent for an unjudged one (paired falsification).mobile/screen-tests/celebration.test.tsx— previous stage and Ember Surge show the badge above Common and suppress it for Common and unjudged; Card Pull prints Common and prints no tier for an unjudged patch.mobile/screen-tests/patch-unlock-reveal.test.tsx— the badge names the rarest patch across a mixed batch.mobile/screen-tests/browse-patches.test.tsxandmobile/screen-tests/patch-grid.test.tsx— the grid pip / pill gem renders for a tiered patch and renders neither a pip nor the tier word for Common.mobile/screen-tests/campaign-collection-id.test.tsx— the campaign stop grid pip renders for a Legendary patch and not for a Common one.mobile/screen-tests/profile.test.tsx— the ladder renders the full tier-count breakdown, including a Common "rarest" shown honestly for an all-Common collection, with a real count asserted.
End-to-end
mobile/maestro/tests/patch-rarity.yaml— deep-links American Samoa National Park (Epic, "Twice-weekly flight from Honolulu.") and asserts the pip count, tier word and note through the real sync/detail path. Taggedlocal-backend; see Edge cases — the tag outlived the reason for it.
Open questions
- How many of the 3,536 live tiers are
confirmedversussuggested.rarity_sourcenever leaves the server, so the public feed cannot say; it needs the admin "Suggested only" filter against prod. - Whether the 17 unjudged cemeteries are waiting on a deliberate decision
(cemeteries are drive-up almost by definition) or simply on the next
rarity-applyrun.