This document defines repository-wide coding and runtime standards that apply across the monorepo.
Read this document before making code changes. Use .github/CONTRIBUTING.md for contributor workflow, issue reporting, and pull request rules.
- .editorconfig is the baseline for whitespace and formatting behavior and must be followed.
biomeis the required formatter and linter for this repository.
- Use
TODOto mark intentionally incomplete work, planned work, or follow-up items.
- Commit messages must follow Conventional Commits.
- Only
feat,fix, andchoremay be used as the top-level commit types. - Use
choreforbuild,ci,docs,style,refactor,perf,test, andrevertstyle changes. - Commit messages must use the format
type(scope): short description. - Breaking changes must add
!before:. - Use czg when generating commit messages.
- Node runtime applications must import
common/node/loggerand use the globalloggerinstead ofconsole.*. - Node runtime applications must import
common/node/configfor application config loading. .env.jsonfor non-sensitive structured values, exposed globally throughglobalThis.__config.//line comments are allowed..envfor secrets and simple scalar values (should be invaultservice for production) and loaded intoprocess.env.
- Secrets must not be committed to the repository.
- Secrets must be stored in environment variables or a secret manager.
- JSON config files must be used only for non-sensitive structured settings.