0008. Architecture docs as a separate folder, not guide pages

Status: Accepted (2026-09-30)

Context

deckard.esperinnovations.com is built by .github/workflows/docs.yml from docs/guide alone. Nothing public explains the design. The guide ships in the VSIX, where Help shows it, and guide.test.ts requires every docs/guide/*.md to be registered in GUIDE_PAGES and shipped. Architecture pages are for contributors, and belong in neither.

Decision

The architecture section lives in docs/architecture/. docs.yml stages it beside the guide and gains a path trigger for it. _config.yml gains a “How Deckard is built” nav group, and the site header links Guide and Architecture. Diagrams are Mermaid, loaded by the site layout, and every diagram is backed by prose.

Consequences

Alternatives considered