Statement
The system shall provide a preview route that renders any content entry (including drafts) in full page context, accessible only in development or via an authenticated surface, and excluded from sitemap and robots outputs.
Rationale
Drafts are currently excluded from all build outputs (REQ-00062, REQ-00063). There is no mechanism to review a draft in its full rendered context without removing the draft flag. A dedicated /preview/[collection]/[id]/ route tree enables content review without risking accidental exposure in production.
Notes
Deferred: primary value is for headless CMS integration, where non-technical editors need authenticated preview URLs to review draft content in full page context. Until a CMS is selected, the auth scheme and preview protocol cannot be designed correctly — most headless CMSes (Sanity, Contentful, Strato) have specific preview conventions the route should conform to. In dev mode, drafts already render at their real URLs via existing guards, so there is no current capability gap.
Topics
Owner: content-authoring
Related: rendering-runtime , seo-metadata