Skip to content

Repository layout

The repository is organised around stable boundaries rather than deployment units alone.

PathResponsibility
apps/webThe player-facing React/Vite application.
apps/apiThe Fastify API, handlers, routes, caches, telemetry, and runtime integration.
packages/enginePuzzle rules, deterministic generation, runtime snapshots, simulations, and engine CLIs.
packages/contentTheme schemas, registry loading, normalization, and content validation.
packages/content-cliAuthoring and season workflows built on the content package.
packages/dtoZod-backed API request and response contracts.
packages/sharedCross-package types and shared platform constants.
packages/sustainability-enginePublication and sustainability calculations.
packages/soundscape-engineSoundscape runtime used by the web application.
runtime-config/seasonsDate-bounded season definitions used by the runtime.
docsThis static documentation application.

Generated output belongs in dist/, package build directories, or runtime caches. It should not be edited by hand.

The Daily Rule engineering, authoring, editorial, and operations handbook.