Evidence platform and governance
Document
ADR-0001: Private monorepo; static-first; no database/auth/CMS in Phase 0
- Repository path
- docs/decisions/ADR-0001-private-monorepo-static-first.md
- Size · SHA-256
- 1.2 KB · 8070a7388e0b9e98b8ee5788af6d1c8475104face87d87f411389216546646a6
Status: accepted (2026-09-06)
Context
Lithoen's strategic asset is a private research core; the public site is one surface. Phase 0 must be simple to operate solo yet structurally ready to grow for a decade.
Decision
- One private repository holding data, packages, site, docs and gates together, so a
single
pnpm verifycan hold the whole system to one standard, and so private research never needs to cross a repository boundary to be used. - Static-first: the site is fully prerendered from repository state (pnpm + Next.js App Router + TypeScript strict + Tailwind + Zod + Vitest). No database, no auth, no CMS, no GraphQL, no microservices, no queues, no cloud infrastructure.
Consequences
- The whole system is deterministic and reviewable in git; publishing is a git act.
- Corpus scale is bounded by build-time full-tree loading — acceptable for years at curated-growth rates; the escape hatch is ADR-0008/FUTURE_MIGRATIONS A (Postgres behind the same corpus interface).
- Why private even though the site is public: the repo holds INTERNAL/RESTRICTED research beside PUBLIC science; the classification system (ADR-0004) governs what leaves.