Skip to content
LITHOEN

Evidence platform and governance

Document

ADR-0011: Keep /entities/[slug]; add hubs; defer typed routes

Repository path
docs/decisions/ADR-0011-public-route-taxonomy.md
Size · SHA-256
1.7 KB · f0bd8b78284a3d30f3298b50054afaf4157a7626d9ff89c64acc3d5b8544fe84

Status: accepted (2026-09-06)

Context

Phase 1 raised the question of typed public routes — /plates/[slug], /rocks/[slug], /volcanoes/[slug] — which read more naturally than a single /entities/ namespace.

Decision

Keep /entities/[slug] as the canonical, permanent entity URL, and defer typed routes. Add instead a small set of curated hubs at /[hub] (/inside-earth, /plate-tectonics, /how-we-know, /earth-materials, /surface-processes, /geologic-time, /earthquakes-and-volcanoes).

Reasoning

  1. Typed routes would create a second indexable surface for the same record. Serving both means duplicate content, and serving only the typed one means breaking permanent URLs — a Phase 0 invariant.
  2. Entity identity is already independent of presentation: the id is entity:<slug> and the URL is derived. A typed route can be introduced later as the canonical form with a redirect from /entities/, once there is a reason better than aesthetics.
  3. Hubs solve the actual navigation problem without duplicating anything. A hub is not a filtered list: it carries its own reviewed overview citing claims, and groups entities with a stated rationale. It is a view, and the only public surface allowed to be one.

Consequences

  • No duplicate indexable surfaces. Enforced by the public-routes rule (which also reserves the application's own route names against hub slugs) and by the post-build route audit, which fails on any duplicated canonical URL or <title>.
  • Hub slugs occupy the site root namespace, so the reserved-route list must be kept in step with the app. The gate covers exactly that.