Plan — docs platform slice
In short
Section titled “In short”This is the checklist that built the documentation site, and it is finished. Seven steps: stand the site up, move the existing documents onto their proper shelves, add the checks that fail the build when something is wrong, generate the current-state page, build the first visual board, publish it behind a login, and add a reminder to the code-review template. Each step carries the test that proves it worked, so “done” is a fact rather than an opinion. It went live on 20 August 2026 on the team’s documentation site, reachable only by people on the invited list. Two small follow-ups are noted at the end; neither blocks anything.
Implements specs/docs-platform.md (approved 2026-08-20). Each step has an
acceptance line; the plan is done when all are true.
- Scaffold
docs-site/— Astro + Starlight reading../docsand../CONTEXT.md; content-collection schema = the frontmatter contract; monochrome zinc tokens, light + dark; Pagefind search; Mermaid at build. Accept:bun run buildproduces a static site with the ADRs, the target tree, the decision record, the brand docs and the glossary. - Move existing docs into the ladder — frontmatter on the five ADRs
(
status: accepted), the target tree (design,approved), the decision record (dated), brand docs;docs/vision.mdwritten as the product vision (no business numbers). Accept: every document underdocs/validates against the schema. - Checks —
bun run docs:lintlocally and in CI: frontmatter schema, internal links, ADR numbering,updatedfreshness on content change. Accept: a doc with a missingstatusfails the build. - Current-state index — generated landing page: decisions by status, systems (specs) with status/owner/updated and plan progress, in-flight plans, open questions extracted from approved specs, last 20 docs commits, commit-hash footer on every page. Accept: the page reflects a status change with no manual edit.
- Board kit + first board — journey lanes, system map, state grid,
mock frame, timeline;
docs/boards/from-invite-to-home.mdx. Accept: the board’s stages are read from the decision record / specs, not typed into the page. - Deploy + gate — build step in the Deploy Site action, output under
/docs/in the existing Pages project; Cloudflare Access application onqren.ai/docs*with the first allow list (operator dashboard step). Accept: an allow-listed teammate opensqren.ai/docs; anyone else hits the Access login. - PR template with the “spec updated?” check.
Done 2026-08-20. Live at qren.ai/docs behind the Access gate (verified:
unauthenticated request → 302 to the PIN login; qren.ai/ stays public).
Follow-ups, not blocking: a pull_request workflow running docs:lint +
docs:freshness; surfacing docs/context/ as a Contributing section.